Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678024 - net-im/telegram-desktop-bin crashes on wayland if dev-libs/libappindicator is not installed
Summary: net-im/telegram-desktop-bin crashes on wayland if dev-libs/libappindicator is...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Henning Schild
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-14 18:49 UTC by Vladi
Modified: 2021-08-03 14:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladi 2019-02-14 18:49:34 UTC
net-im/telegram-desktop-bin crashes on wayland if dev-libs/libappindicator is not installed


❯ telegram-desktop

(Telegram:31758): GLib-GObject-WARNING **: 10:47:32.636: cannot register existing type 'GdkDisplayManager'

(Telegram:31758): GLib-CRITICAL **: 10:47:32.636: g_once_init_leave: assertion 'result != 0' failed

(Telegram:31758): GLib-GObject-CRITICAL **: 10:47:32.636: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

(Telegram:31758): GLib-GObject-WARNING **: 10:47:32.636: invalid (NULL) pointer instance

(Telegram:31758): GLib-GObject-CRITICAL **: 10:47:32.636: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(Telegram:31758): GLib-GObject-WARNING **: 10:47:32.636: invalid (NULL) pointer instance

(Telegram:31758): GLib-GObject-CRITICAL **: 10:47:32.636: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(Telegram:31758): GLib-GObject-WARNING **: 10:47:32.636: cannot register existing type 'GdkDisplay'

(Telegram:31758): GLib-CRITICAL **: 10:47:32.636: g_once_init_leave: assertion 'result != 0' failed

(Telegram:31758): GLib-GObject-CRITICAL **: 10:47:32.636: g_type_register_static: assertion 'parent_type > 0' failed

(Telegram:31758): GLib-CRITICAL **: 10:47:32.636: g_once_init_leave: assertion 'result != 0' failed

(Telegram:31758): GLib-GObject-CRITICAL **: 10:47:32.636: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
[1]    31758 segmentation fault (core dumped)  telegram-desktop
Comment 1 Vladi 2019-02-14 18:49:50 UTC
❯ sudo emerge --info
Portage 2.3.51 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop/plasma/systemd, gcc-8.2.0, glibc-2.28-r5, 4.20.5+ x86_64)
=================================================================
System uname: Linux-4.20.5+-x86_64-Intel-R-_Core-TM-_i7-5600U_CPU_@_2.60GHz-with-gentoo-2.6
KiB Mem:     8056588 total,    893580 free
KiB Swap:    8991740 total,   8893692 free
Head commit of repository gentoo: a713ea9636e023be24fef9011b3c54b7bd444313

Head commit of repository go-overlay: 987dc60ab2e71948c4d78ab218b13e020a97e350

Head commit of repository rust: c3e8e898529a95395cbba4739c1c72aa18489753

Head commit of repository steam-overlay: 11a4ca7b45e9d9bdf26508bfaa67e2b769b91dae

Head commit of repository tlp: c1512b6f94c4780791a0cd7ab50eb3fb4f1003b2

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.30 p5) 2.30.0
distcc 3.2rc1 x86_64-pc-linux-gnu [enabled]
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            6.4.0::gentoo, 8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

go-overlay
    location: /var/lib/layman/go-overlay
    sync-type: git
    sync-uri: https://github.com/Dr-Terrible/go-overlay.git
    masters: gentoo
    priority: 50

rust
    location: /var/lib/layman/rust-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo/gentoo-rust.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

tlp
    location: /var/lib/layman/tlp
    sync-type: git
    sync-uri: git://github.com/dywisor/tlp-portage.git
    masters: gentoo
    priority: 50

Installed sets: @steam
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=broadwell -pipe -mabm -mrtm"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=broadwell -pipe -mabm -mrtm"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distcc distcc-pump distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en bg"
MAKEOPTS="-j12 -l4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/tmp"
USE="256-color X a52 aac aalib acpi adns alaw alsa alt-font-width amd64 archive asf aspell async autoipd autoreplace avahi bash-completion bluetooth branding btrfs bzip2 c++0x cairo caps cdda cdinstall cdr chroot cli client-libs crypt cryptsetup cups curl custom-cflags custom-optimization cxx dbus declarative dhcp disk-partition divx divx4linux dolphin dri dri3 dts dvd dvdr egl emerald enca encode epub evdev exif faac farstream ffmpeg flac focused-urgency font-styles fpm fts3 fuse g722 gallium gbm gd gdbm gecko-sdk geoclue geoip gif glamor gles glibc-omitfp glitz gmedia gnutls google gphoto2 gps gsm gstreamer gudev hardcoded-tables hddtemp hidpi history hwaccel hwdb i3 ibmacpi iconv id3tag imagemagick imap imlib inotify inspector introspection iproute2 ipv6 ithreads jabber javascript jemalloc jpeg jumbo-build kde kdehiddenvisibility kdenlive kdepim kdexdeltas kipi kwallet lame laptop lcdfilter lcms libcaca libinput libkms libnotify libtirpc lm_sensors logrotate lto lzma lzo mad matroska minizip mmx mmxext mng mobi mousewheel mozbranding moznocompose moznoirc moznomail mozsvg mp3 mp4 mpeg mtp multilib musicbrainz mysql ncurses network networkmanager nfsv3 nonfsv4 nptl nsplugin offensive ogg openconnect opengl openmp optimized-qmake otr pam pango pch pcre pdf pgo phonon pic pie plasma png pnp policykit postproc ppds pulseaudio qml qt5 rar rdesktop readline rpc rss rtc rtmp s3tc samba sasl scrobbler sdl seccomp secondary-wheel secure-delete semantic-desktop shared-dricore sip sipim smi smime smtp sna snmp speex spell sqlite srt sse sse2 sse3 ssl ssse3 stroke svc svg swaybar swaybg swaygrab swaylock swaymsg system-cairo system-ffmpeg system-icu system-jpeg system-libvpx system-sqlite systemd telepathy theora thinkpad threads tidy tiff tinfo tordns truetype udev udisks udisks2 ulaw unicode upower urandom usb user-session userlocales v4l2 vim vim-syntax vnc vorbis vpx wayland wayland-compositor webp widevine widgets wifi windeco wma wmp x264 xattr xcb xcomposite xforms xml xmp xosd xrandr xscreensaver xv xvfb xvid xwayland yahoo zeroconf zip zlib zsh-completion" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="keyboard libinput" KERNEL="linux" L10N="en bg" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Henning Schild 2019-03-10 10:02:58 UTC
So do you think an RDEPENDS="wayland? (dev-libs/libappindicator)" would solve the problem?
Comment 3 Henning Schild 2020-01-10 20:37:48 UTC
ping
Comment 4 Vladi 2020-01-10 21:36:52 UTC
Hi, sorry not sure any more I switched to the telegram-desktop from mva overlay.
Comment 5 Ilia Durov 2021-08-03 14:16:56 UTC
Maybe related bug:
https://bugs.gentoo.org/806292