New comment by whoizit on void-packages repository https://github.com/void-linux/void-packages/issues/14251#issuecomment-528964802 Comment: https://termbin.com/2bfd ``` $ QT_QPA_PLATFORM="" QT_QPA_PLATFORMTHEME="" QT_STYLE_OVERRIDE="" SESSION_MANAGER="" gdb Telegram GNU gdb (GDB) 8.3 Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from Telegram... Reading symbols from /usr/lib/debug//usr/bin/Telegram... (gdb) show env QT_QPA_PLATFORMTHEME= SESSION_MANAGER= QT_STYLE_OVERRIDE= QT_QPA_PLATFORM= SHELL=/bin/bash WINDOWID=4194391 COLORTERM=rxvt-xpm CHROME_FLAGS=--enable-accelerated-video --enable-accelerated-mjpeg-decode PYENV_SHELL=bash I3SOCK=/tmp/1000-runtime-dir/sway-ipc.1000.21236.sock XCURSOR_SIZE=24 EDITOR=vim PWD=/home/user LOGNAME=user HOME=/home/user LANG=en_US.UTF-8 LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.svg=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36: VISUDO_EDITOR=vim SWAYSOCK=/tmp/1000-runtime-dir/sway-ipc.1000.21236.sock WAYLAND_DISPLAY=wayland-0 GITHUB_GIST_TOKEN=81339c94f2dbafea122b27f2652be20285078e9d TERMINFO=/usr/share/terminfo TERM=rxvt-unicode-256color ASDF_DIR=/home/user/.asdf USER=user COLORFGBG=7;default DISPLAY=:0 --Type for more, q to quit, c to continue without paging-- SHLVL=2 MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins XDG_RUNTIME_DIR=/tmp/1000-runtime-dir PYENV_ROOT=/home/user/.pyenv LC_COLLATE=C GDK_BACKEND=wayland PATH=/home/user/.asdf/shims:/home/user/.asdf/bin:/home/user/.pyenv/shims:/home/user/.pyenv/bin:/home/user/.cargo/bin:/home/user/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin MAIL=/var/mail/user _=/bin/gdb LINES=36 COLUMNS=136 (gdb) run Starting program: /usr/bin/Telegram [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7fffedcef700 (LWP 3057)] Qt: Session management error: networkIdsList argument is NULL [New Thread 0x7fffed4e1700 (LWP 3058)] [New Thread 0x7fffecce0700 (LWP 3059)] [Detaching after fork from child process 3060] (Telegram:2967): GLib-GObject-WARNING **: 21:25:53.853: cannot register existing type 'GdkDisplayManager' (Telegram:2967): GLib-CRITICAL **: 21:25:53.853: g_once_init_leave: assertion 'result != 0' failed (Telegram:2967): GLib-GObject-CRITICAL **: 21:25:53.853: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed (Telegram:2967): GLib-GObject-WARNING **: 21:25:53.853: invalid (NULL) pointer instance (Telegram:2967): GLib-GObject-CRITICAL **: 21:25:53.853: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed (Telegram:2967): GLib-GObject-WARNING **: 21:25:53.853: invalid (NULL) pointer instance (Telegram:2967): GLib-GObject-CRITICAL **: 21:25:53.853: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed (Telegram:2967): GLib-GObject-WARNING **: 21:25:53.853: cannot register existing type 'GdkDisplay' (Telegram:2967): GLib-CRITICAL **: 21:25:53.853: g_once_init_leave: assertion 'result != 0' failed (Telegram:2967): GLib-GObject-CRITICAL **: 21:25:53.853: g_type_register_static: assertion 'parent_type > 0' failed (Telegram:2967): GLib-CRITICAL **: 21:25:53.853: g_once_init_leave: assertion 'result != 0' failed (Telegram:2967): GLib-GObject-CRITICAL **: 21:25:53.853: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed Thread 1 "Telegram" received signal SIGSEGV, Segmentation fault. 0x00007fffddbf8391 in IA__gdk_display_open (display_name=) at gdkdisplay-x11.c:170 170 gdkdisplay-x11.c: No such file or directory. (gdb) bt #0 0x00007fffddbf8391 in IA__gdk_display_open (display_name=) at gdkdisplay-x11.c:170 #1 0x00007fffddbc7a92 in IA__gdk_display_open_default_libgtk_only () at gdk.c:324 #2 IA__gdk_display_open_default_libgtk_only () at gdk.c:314 #3 0x00007fffddd91292 in IA__gtk_init_check (argc=, argv=) at gtkmain.c:1008 #4 IA__gtk_init_check (argc=, argv=) at gtkmain.c:1002 #5 0x0000555555f389f4 in Platform::Libs::(anonymous namespace)::setupGtkBase (lib_gtk=...) at /builddir/tdesktop-1.8.2/Telegram/SourceFiles/platform/linux/linux_libs.cpp:114 #6 0x0000555555f39318 in Platform::Libs::start () at /builddir/tdesktop-1.8.2/Telegram/SourceFiles/platform/linux/linux_libs.cpp:254 #7 0x0000555555f4fdd9 in Platform::ThirdParty::start () at /builddir/tdesktop-1.8.2/Telegram/SourceFiles/platform/linux/specific_linux.cpp:407 #8 0x0000555555b44fa3 in ThirdParty::start () at /builddir/tdesktop-1.8.2/Telegram/SourceFiles/core/utils.cpp:351 #9 0x0000555555adba9b in Core::Application::run (this=0x555557dc2140) at /builddir/tdesktop-1.8.2/Telegram/SourceFiles/core/application.cpp:155 #10 0x0000555555b1c8da in std::function::operator()() const (this=) at /builddir/tdesktop-1.8.2/Telegram/SourceFiles/core/sandbox.cpp:498 #11 base::unique_function::operator()() (this=) at /builddir/tdesktop-1.8.2/Telegram/SourceFiles/base/unique_function.h:128 #12 base::InvokeQueuedEvent::invoke (this=) at /builddir/tdesktop-1.8.2/Telegram/SourceFiles/base/invoke_queued.h:27 #13 Core::Sandbox::notifyOrInvoke (this=, receiver=, e=) at /builddir/tdesktop-1.8.2/Telegram/SourceFiles/core/sandbox.cpp:500 #14 Core::Sandbox::notifyOrInvoke (this=, receiver=, e=) at /builddir/tdesktop-1.8.2/Telegram/SourceFiles/core/sandbox.cpp:498 #15 0x0000555555b1c9e6 in Core::Sandbox::notify (this=0x7fffffffe210, receiver=0x7fffffffe210, e=0x555557e16e60) at /builddir/tdesktop-1.8.2/Telegram/SourceFiles/core/sandbox.cpp:519 #16 0x00007ffff489d562 in QCoreApplication::notifyInternal2 (receiver=0x7fffffffe210, event=0x555557e16e60) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142 #17 0x00007ffff48a01f8 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x555557dbdfd0) at kernel/qcoreapplication.cpp:1810 #18 0x00007ffff48f4563 in postEventSourceDispatch (s=0x555557e0fe30) at kernel/qeventdispatcher_glib.cpp:277 #19 0x00007ffff51f7693 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #20 0x00007ffff51f9440 in ?? () from /usr/lib/libglib-2.0.so.0 #21 0x00007ffff51f947f in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #22 0x00007ffff48f3ba1 in QEventDispatcherGlib::processEvents (this=0x555557e08f30, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #23 0x00007ffff489c1bb in QEventLoop::exec (this=this@entry=0x7fffffffdf90, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 --Type for more, q to quit, c to continue without paging-- #24 0x00007ffff48a3d32 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #25 0x00007ffff4c695ac in QGuiApplication::exec () at kernel/qguiapplication.cpp:1788 #26 0x00007ffff7668bb5 in QApplication::exec () at kernel/qapplication.cpp:2896 #27 0x0000555555b1b1d9 in Core::Sandbox::start (this=this@entry=0x7fffffffe210) at /builddir/tdesktop-1.8.2/Telegram/SourceFiles/core/sandbox.cpp:139 #28 0x0000555555b09467 in Core::Launcher::executeApplication (this=) at /builddir/tdesktop-1.8.2/Telegram/SourceFiles/core/launcher.cpp:466 #29 0x0000555555b095f1 in Core::Launcher::exec (this=0x555557db7e50) at /builddir/tdesktop-1.8.2/Telegram/SourceFiles/core/launcher.cpp:282 #30 0x00005555558ce975 in main (argc=, argv=) at /usr/include/c++/9.1/bits/unique_ptr.h:371 (gdb) ```