tags 859172 - unreproducible
thanks

Telegram attempts to load libappindicator3 as a plugin (which is why
dpkg-shlibdeps doesn't pick it up). If it fails, telegram tries to
revert to using GTK's indicator API - and this is where we are
crashing. I suspect that's a bug with upstream and, until it is
addressed, Debian just needs to add an explicit dependency on
libappindicator3-1. Even if the upstream bug weren't there, the
dependency may even be a good idea just so the behavior is consistent
for all users.

This is very easy to reproduce on Debian, so I've taken the liberty of
dropping the unreproducible tag.

(gdb) 
#0  0x00007f991eaf337c in gdk_display_open ()
    at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#1  0x00007f991eac2fb2 in gdk_display_open_default_libgtk_only ()
    at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#2  0x00007f991ee89232 in gtk_init_check ()
    at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#3  0x0000009b8cd99ca7 in setupGtkBase (lib_gtk=...)
    at ./Telegram/SourceFiles/platform/linux/linux_libs.cpp:126
#4  0x0000009b8cd9fef1 in Platform::Libs::start() ()
    at ./Telegram/SourceFiles/platform/linux/linux_libs.cpp:255
#5  0x0000009b8cdebc79 in Platform::ThirdParty::start() ()
    at ./Telegram/SourceFiles/platform/linux/specific_linux.cpp:406
#6  0x0000009b8cbc7623 in ThirdParty::start() ()
    at ./Telegram/SourceFiles/core/utils.cpp:261
#7  0x0000009b8d1313b0 in Messenger::Messenger() (this=0x9b8ec3bff0)
    at ./Telegram/SourceFiles/messenger.cpp:87
#8  0x0000009b8cf95727 in make_unique ()
    at /usr/include/c++/7/bits/unique_ptr.h:825
#9  0x0000009b8cf95727 in Application::createMessenger() (this=0x7ffd2fa72b50)
    at ./Telegram/SourceFiles/application.cpp:316
#10 0x0000009b8cf95a90 in Sandbox::launch() ()
    at ./Telegram/SourceFiles/application.cpp:654
#11 0x0000009b8cf95c39 in Application::singleInstanceChecked() 
(this=this@entry=0x7ffd2fa72b50) at ./Telegram/SourceFiles/application.cpp:217
#12 0x0000009b8cf95e78 in 
Application::socketError(QLocalSocket::LocalSocketError) (this=0x7ffd2fa72b50, 
e=<optimized out>)
    at ./Telegram/SourceFiles/application.cpp:196
#13 0x00007f9944e9fe51 in QMetaObject::activate(QObject*, int, int, void**) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f994898b6e1 in QLocalSocket::error(QLocalSocket::LocalSocketError) 
() at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#15 0x00007f9948992d07 in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#16 0x00007f994899357f in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#17 0x00007f994899377a in 
QLocalSocket::connectToServer(QFlags<QIODevice::OpenModeFlag>) () at 
/usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#18 0x0000009b8cf96381 in Application::Application(int&, char**) 
(this=0x7ffd2fa72b50, argc=<optimized out>, argv=<optimized out>)
    at ./Telegram/SourceFiles/application.cpp:107
#19 0x0000009b8ca8282b in main (argc=<optimized out>, argv=0x7ffd2fa72cb8)
    at ./Telegram/SourceFiles/main.cpp:49
(gdb) 
#0  0x00007f991eaf337c in gdk_display_open ()
    at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#1  0x00007f991eac2fb2 in gdk_display_open_default_libgtk_only ()
    at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#2  0x00007f991ee89232 in gtk_init_check ()
    at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#3  0x0000009b8cd99ca7 in setupGtkBase (lib_gtk=...)
    at ./Telegram/SourceFiles/platform/linux/linux_libs.cpp:126
#4  0x0000009b8cd9fef1 in Platform::Libs::start() ()
    at ./Telegram/SourceFiles/platform/linux/linux_libs.cpp:255
#5  0x0000009b8cdebc79 in Platform::ThirdParty::start() ()
    at ./Telegram/SourceFiles/platform/linux/specific_linux.cpp:406
#6  0x0000009b8cbc7623 in ThirdParty::start() ()
    at ./Telegram/SourceFiles/core/utils.cpp:261
#7  0x0000009b8d1313b0 in Messenger::Messenger() (this=0x9b8ec3bff0)
    at ./Telegram/SourceFiles/messenger.cpp:87
#8  0x0000009b8cf95727 in make_unique ()
    at /usr/include/c++/7/bits/unique_ptr.h:825
#9  0x0000009b8cf95727 in Application::createMessenger() (this=0x7ffd2fa72b50)
    at ./Telegram/SourceFiles/application.cpp:316
#10 0x0000009b8cf95a90 in Sandbox::launch() ()
    at ./Telegram/SourceFiles/application.cpp:654
#11 0x0000009b8cf95c39 in Application::singleInstanceChecked() 
(this=this@entry=0x7ffd2fa72b50) at ./Telegram/SourceFiles/application.cpp:217
#12 0x0000009b8cf95e78 in 
Application::socketError(QLocalSocket::LocalSocketError) (this=0x7ffd2fa72b50, 
e=<optimized out>)
    at ./Telegram/SourceFiles/application.cpp:196
#13 0x00007f9944e9fe51 in QMetaObject::activate(QObject*, int, int, void**) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f994898b6e1 in QLocalSocket::error(QLocalSocket::LocalSocketError) 
() at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#15 0x00007f9948992d07 in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#16 0x00007f994899357f in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#17 0x00007f994899377a in 
QLocalSocket::connectToServer(QFlags<QIODevice::OpenModeFlag>) () at 
/usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#18 0x0000009b8cf96381 in Application::Application(int&, char**) 
(this=0x7ffd2fa72b50, argc=<optimized out>, argv=<optimized out>)
    at ./Telegram/SourceFiles/application.cpp:107
#19 0x0000009b8ca8282b in main (argc=<optimized out>, argv=0x7ffd2fa72cb8)
    at ./Telegram/SourceFiles/main.cpp:49

Reply via email to