FS#62953 - [telegram-desktop] Crashing on start

Attached to Project: Community Packages
Opened by Paul JOSSE (Anthing) - Thursday, 20 June 2019, 14:11 GMT
Last edited by Jiachen Yang (farseerfc) - Monday, 24 June 2019, 06:13 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Jiachen Yang (farseerfc)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
telegram-desktop suddenly stopped when launched. I just tried to launch it after I installed it... and got that immediate bug report. I guess it's due to my QtCurve configuration ?

Additional info:
* telegram-desktop 1.7.7-2
* here is the shell error message i got :
QApplication: invalid style override passed, ignoring it.
Available styles: Breeze, Oxygen, QtCurve, Windows, Fusion
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = telegram-desktop path = /usr/bin pid = 19497
KCrash: Arguments: /usr/bin/telegram-desktop
KCrash: Attempting to start /usr/lib/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0

* and here is the message from the bug report:

Application: telegram-desktop (telegram-desktop), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5a5f0f0b00 (LWP 19527))]

Thread 9 (Thread 0x7f5a2f7fe700 (LWP 19543)):
#0 0x00007f5a661fa497 in poll () at /usr/lib/libc.so.6
#1 0x00007f5a666a47c0 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f5a666a48ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007f5a66e5227c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4 0x00007f5a66df93ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5 0x00007f5a66c349c5 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6 0x00007f5a66c35bf0 in () at /usr/lib/libQt5Core.so.5
#7 0x00007f5a6661f57f in start_thread () at /usr/lib/libpthread.so.0
#8 0x00007f5a66204f13 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f5a2ffff700 (LWP 19542)):
#0 0x00007f5a66652414 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1 0x00007f5a666a407d in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2 0x00007f5a666a46e6 in () at /usr/lib/libglib-2.0.so.0
#3 0x00007f5a666a48ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4 0x00007f5a66e5227c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5 0x00007f5a66df93ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6 0x00007f5a66c349c5 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7 0x00007f5a66c35bf0 in () at /usr/lib/libQt5Core.so.5
#8 0x00007f5a6661f57f in start_thread () at /usr/lib/libpthread.so.0
#9 0x00007f5a66204f13 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f5a38de0700 (LWP 19541)):
#0 0x00007f5a666a2c07 in () at /usr/lib/libglib-2.0.so.0
#1 0x00007f5a666a3fbb in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2 0x00007f5a666a46e6 in () at /usr/lib/libglib-2.0.so.0
#3 0x00007f5a666a48ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4 0x00007f5a66e5227c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5 0x00007f5a66df93ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6 0x00007f5a66c349c5 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7 0x00007f5a66c35bf0 in () at /usr/lib/libQt5Core.so.5
#8 0x00007f5a6661f57f in start_thread () at /usr/lib/libpthread.so.0
#9 0x00007f5a66204f13 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f5a4ef1e700 (LWP 19532)):
#0 0x00007f5a661fa497 in poll () at /usr/lib/libc.so.6
#1 0x00007f5a666a47c0 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f5a666a57f2 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3 0x00007f5a54382508 in () at /usr/lib/libgio-2.0.so.0
#4 0x00007f5a6667ff21 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f5a6661f57f in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f5a66204f13 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f5a4f71f700 (LWP 19531)):
#0 0x00007f5a66626693 in pthread_getspecific () at /usr/lib/libpthread.so.0
#1 0x00007f5a66683871 in g_thread_self () at /usr/lib/libglib-2.0.so.0
#2 0x00007f5a666a457d in g_main_context_acquire () at /usr/lib/libglib-2.0.so.0
#3 0x00007f5a666a4667 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f5a666a48ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5 0x00007f5a666a4902 in () at /usr/lib/libglib-2.0.so.0
#6 0x00007f5a6667ff21 in () at /usr/lib/libglib-2.0.so.0
#7 0x00007f5a6661f57f in start_thread () at /usr/lib/libpthread.so.0
#8 0x00007f5a66204f13 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f5a560fc700 (LWP 19530)):
#0 0x00007f5a661fa497 in poll () at /usr/lib/libc.so.6
#1 0x00007f5a666a47c0 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f5a666a48ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007f5a66e5227c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4 0x00007f5a66df93ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5 0x00007f5a66c349c5 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6 0x00007f5a66c35bf0 in () at /usr/lib/libQt5Core.so.5
#7 0x00007f5a6661f57f in start_thread () at /usr/lib/libpthread.so.0
#8 0x00007f5a66204f13 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f5a568fd700 (LWP 19529)):
#0 0x00007f5a66628a1c in read () at /usr/lib/libpthread.so.0
#1 0x00007f5a66652961 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f5a666a2f70 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3 0x00007f5a666a4766 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f5a666a48ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5 0x00007f5a66e5227c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6 0x00007f5a66df93ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7 0x00007f5a66c349c5 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8 0x00007f5a670ceb37 in () at /usr/lib/libQt5DBus.so.5
#9 0x00007f5a66c35bf0 in () at /usr/lib/libQt5Core.so.5
#10 0x00007f5a6661f57f in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f5a66204f13 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f5a5df3c700 (LWP 19528)):
#0 0x00007f5a661fa497 in poll () at /usr/lib/libc.so.6
#1 0x00007f5a61b8e630 in () at /usr/lib/libxcb.so.1
#2 0x00007f5a61b902db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3 0x00007f5a5ec99079 in () at /usr/lib/libQt5XcbQpa.so.5
#4 0x00007f5a66c35bf0 in () at /usr/lib/libQt5Core.so.5
#5 0x00007f5a6661f57f in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f5a66204f13 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f5a5f0f0b00 (LWP 19527)):
[KCrash Handler]
#6 0x00007f5a66143755 in raise () at /usr/lib/libc.so.6
#7 0x00007f5a6612e851 in abort () at /usr/lib/libc.so.6
#8 0x000056473fada20e in ()
#9 0x0000564740692bd1 in Window::MainWindow::init() ()
#10 0x00005647406b63cd in Window::Controller::Controller(gsl::not_null<Main::Account*>) ()
#11 0x000056473fda7e99 in Core::Application::run() ()
#12 0x00007f5a66e26d3a in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#13 0x00007f5a6726dfd3 in QGuiApplication::event(QEvent*) () at /usr/lib/libQt5Gui.so.5
#14 0x00007f5a67896cf1 in QApplication::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007f5a6788f485 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007f5a678989b1 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#17 0x000056473fde35b7 in Core::Sandbox::notify(QObject*, QEvent*) ()
#18 0x00007f5a66dfa782 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#19 0x00007f5a66dfd459 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#20 0x00007f5a66e52c64 in () at /usr/lib/libQt5Core.so.5
#21 0x00007f5a666a290f in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#22 0x00007f5a666a4869 in () at /usr/lib/libglib-2.0.so.0
#23 0x00007f5a666a48ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#24 0x00007f5a66e52263 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#25 0x00007f5a66df93ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#26 0x00007f5a66e01056 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#27 0x000056473fde224f in Core::Sandbox::start() ()
#28 0x000056473fdd2326 in Core::Launcher::executeApplication() ()
#29 0x000056473fdd24ed in Core::Launcher::exec() ()
#30 0x000056473fab5fd4 in main ()
[Inferior 1 (process 19527) detached]
This task depends upon

Closed by  Jiachen Yang (farseerfc)
Monday, 24 June 2019, 06:13 GMT
Reason for closing:  Fixed
Additional comments about closing:  telegram-desktop 1.7.9-3 is rebuilt against gcc 9.1.0-2
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 23 June 2019, 05:22 GMT
I actually get this now too:

QApplication: invalid style override passed, ignoring it.
Available styles: Breeze, Windows, Fusion
zsh: segmentation fault (core dumped) telegram-desktop

So it has nothing to do with your QtCuve style.
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 23 June 2019, 05:24 GMT
Do you run Qt 5.13/KDE unstable?
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 23 June 2019, 05:31 GMT
Any idea Jiachen?
Comment by Jiachen Yang (farseerfc) - Sunday, 23 June 2019, 05:47 GMT
If the telegram-desktop is built with gcc 9.1, this might be related to a gcc bug https://bugs.archlinux.org/task/62977 . We need to apply a patch to gcc and build telegram-desktop with the patched gcc.
Waiting for gcc 9.1.0-2 to land and see.
Comment by Antonio Rojas (arojas) - Sunday, 23 June 2019, 07:13 GMT
Note that the OP's crash is unrelated to this: it's a completely different backtrace, and they're using the community package, which is built with gcc 8
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 23 June 2019, 07:44 GMT
Good point. Paul, can you try to start telegram-desktop outside of Qt?
Comment by Paul JOSSE (Anthing) - Sunday, 23 June 2019, 15:37 GMT
Hello Guys !
Thanks for the answers and your reactivity.
To answer your last question Sven-Hendri : can you try to start telegram-desktop outside of Qt?
I did change the "application style" in the setting back to "Breezy" and telegram worked !
So it was effectively about Qt.
However, I switched back to the default presettings of Qt and the telegram also worked fine.
Finally, my guess focused on the "theme" Arc-dark-transparent that I was using. This theme is simply applying a transparent effect on windows and menus....

So, what I did : I selected the default presetting and I changed the opacity... And then Telegram couldn't be launched anymore.
Maybe the opacity setting caused a problem. Here the bug report (and it's different from the first one I reported in my post) :
Application: telegram-desktop (telegram-desktop), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f00bd748b00 (LWP 3524))]

Thread 15 (Thread 0x7f00837fe700 (LWP 3542)):
#0 0x00007f00c4863453 in __libc_enable_asynccancel () at /usr/lib/libc.so.6
#1 0x00007f00c484b47f in poll () at /usr/lib/libc.so.6
#2 0x00007f00c4cf57c0 in () at /usr/lib/libglib-2.0.so.0
#3 0x00007f00c4cf58ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4 0x00007f00c54a327c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5 0x00007f00c544a3ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6 0x00007f00c52859c5 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7 0x00007f00c5286bf0 in () at /usr/lib/libQt5Core.so.5
#8 0x00007f00c4c7057f in start_thread () at /usr/lib/libpthread.so.0
#9 0x00007f00c4855f13 in clone () at /usr/lib/libc.so.6

Thread 14 (Thread 0x7f0083fff700 (LWP 3541)):
#0 0x00007f00c484b497 in poll () at /usr/lib/libc.so.6
#1 0x00007f00c4cf57c0 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f00c4cf58ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007f00c54a327c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4 0x00007f00c544a3ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5 0x00007f00c52859c5 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6 0x00007f00c5286bf0 in () at /usr/lib/libQt5Core.so.5
#7 0x00007f00c4c7057f in start_thread () at /usr/lib/libpthread.so.0
#8 0x00007f00c4855f13 in clone () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7f009cfce700 (LWP 3540)):
#0 0x00007f00c4ca3414 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1 0x00007f00c4cf565e in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f00c4cf58ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007f00c54a327c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4 0x00007f00c544a3ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5 0x00007f00c52859c5 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6 0x00007f00c5286bf0 in () at /usr/lib/libQt5Core.so.5
#7 0x00007f00c4c7057f in start_thread () at /usr/lib/libpthread.so.0
#8 0x00007f00c4855f13 in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7f009dffb700 (LWP 3535)):
#0 0x00007f00c4c7672c in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f00c528cc5c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2 0x00007f00c528cda9 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3 0x00007f00c528a353 in () at /usr/lib/libQt5Core.so.5
#4 0x00007f00c5286bf0 in () at /usr/lib/libQt5Core.so.5
#5 0x00007f00c4c7057f in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f00c4855f13 in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7f009e7fc700 (LWP 3534)):
#0 0x00007f00c4c7672c in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f00c528cc5c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2 0x00007f00c528cda9 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3 0x00007f00c528a353 in () at /usr/lib/libQt5Core.so.5
#4 0x00007f00c5286bf0 in () at /usr/lib/libQt5Core.so.5
#5 0x00007f00c4c7057f in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f00c4855f13 in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7f009effd700 (LWP 3533)):
#0 0x00007f00c4c7672c in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f00c528cc5c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2 0x00007f00c528cda9 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3 0x00007f00c528a353 in () at /usr/lib/libQt5Core.so.5
#4 0x00007f00c5286bf0 in () at /usr/lib/libQt5Core.so.5
#5 0x00007f00c4c7057f in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f00c4855f13 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7f009f7fe700 (LWP 3532)):
#0 0x00007f00c4c7672c in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f00c528cc5c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2 0x00007f00c528cda9 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3 0x00007f00c528a353 in () at /usr/lib/libQt5Core.so.5
#4 0x00007f00c5286bf0 in () at /usr/lib/libQt5Core.so.5
#5 0x00007f00c4c7057f in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f00c4855f13 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f009ffff700 (LWP 3531)):
#0 0x00007f00c4c7672c in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f00c528cc5c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2 0x00007f00c528cda9 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3 0x00007f00c528a353 in () at /usr/lib/libQt5Core.so.5
#4 0x00007f00c5286bf0 in () at /usr/lib/libQt5Core.so.5
#5 0x00007f00c4c7057f in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f00c4855f13 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f00b0c88700 (LWP 3530)):
#0 0x00007f00c4c7672c in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f00c528cc5c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2 0x00007f00c528cda9 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3 0x00007f00c528a353 in () at /usr/lib/libQt5Core.so.5
#4 0x00007f00c5286bf0 in () at /usr/lib/libQt5Core.so.5
#5 0x00007f00c4c7057f in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f00c4855f13 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f00b156d700 (LWP 3529)):
#0 0x00007f00c484b497 in poll () at /usr/lib/libc.so.6
#1 0x00007f00c4cf57c0 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f00c4cf67f2 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3 0x00007f00b82cc508 in () at /usr/lib/libgio-2.0.so.0
#4 0x00007f00c4cd0f21 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f00c4c7057f in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f00c4855f13 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f00b1d6e700 (LWP 3528)):
#0 0x00007f00c484b497 in poll () at /usr/lib/libc.so.6
#1 0x00007f00c4cf57c0 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f00c4cf58ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007f00c4cf5902 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f00c4cd0f21 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f00c4c7057f in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f00c4855f13 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f00b3fff700 (LWP 3527)):
#0 0x00007f00c4cf3df0 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#1 0x00007f00c4cf5766 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f00c4cf58ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007f00c54a327c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4 0x00007f00c544a3ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5 0x00007f00c52859c5 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6 0x00007f00c5286bf0 in () at /usr/lib/libQt5Core.so.5
#7 0x00007f00c4c7057f in start_thread () at /usr/lib/libpthread.so.0
#8 0x00007f00c4855f13 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f00b8f55700 (LWP 3526)):
#0 0x00007f00c484b497 in poll () at /usr/lib/libc.so.6
#1 0x00007f00c4cf57c0 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f00c4cf58ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007f00c54a327c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4 0x00007f00c544a3ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5 0x00007f00c52859c5 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6 0x00007f00c571fb37 in () at /usr/lib/libQt5DBus.so.5
#7 0x00007f00c5286bf0 in () at /usr/lib/libQt5Core.so.5
#8 0x00007f00c4c7057f in start_thread () at /usr/lib/libpthread.so.0
#9 0x00007f00c4855f13 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f00bc594700 (LWP 3525)):
#0 0x00007f00c484b497 in poll () at /usr/lib/libc.so.6
#1 0x00007f00c01e6630 in () at /usr/lib/libxcb.so.1
#2 0x00007f00c01e82db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3 0x00007f00bd2f1079 in () at /usr/lib/libQt5XcbQpa.so.5
#4 0x00007f00c5286bf0 in () at /usr/lib/libQt5Core.so.5
#5 0x00007f00c4c7057f in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f00c4855f13 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f00bd748b00 (LWP 3524)):
[KCrash Handler]
#6 0x00007f00c4794755 in raise () at /usr/lib/libc.so.6
#7 0x00007f00c477f851 in abort () at /usr/lib/libc.so.6
#8 0x000055ca54aae20e in ()
#9 0x000055ca55666bd1 in Window::MainWindow::init() ()
#10 0x000055ca5568a3cd in Window::Controller::Controller(gsl::not_null<Main::Account*>) ()
#11 0x000055ca54d7be99 in Core::Application::run() ()
#12 0x00007f00c5477d3a in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#13 0x00007f00c58befd3 in QGuiApplication::event(QEvent*) () at /usr/lib/libQt5Gui.so.5
#14 0x00007f00c5ee7cf1 in QApplication::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007f00c5ee0485 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007f00c5ee99b1 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#17 0x000055ca54db75b7 in Core::Sandbox::notify(QObject*, QEvent*) ()
#18 0x00007f00c544b782 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#19 0x00007f00c544e459 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#20 0x00007f00c54a3c64 in () at /usr/lib/libQt5Core.so.5
#21 0x00007f00c4cf390f in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#22 0x00007f00c4cf5869 in () at /usr/lib/libglib-2.0.so.0
#23 0x00007f00c4cf58ae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#24 0x00007f00c54a3263 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#25 0x00007f00c544a3ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#26 0x00007f00c5452056 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#27 0x000055ca54db624f in Core::Sandbox::start() ()
#28 0x000055ca54da6326 in Core::Launcher::executeApplication() ()
#29 0x000055ca54da64ed in Core::Launcher::exec() ()
#30 0x000055ca54a89fd4 in main ()
[Inferior 1 (process 3524) detached]

Comment by Antonio Rojas (arojas) - Sunday, 23 June 2019, 15:57 GMT
That backtrace is exactly the same as in your original post - so this is an issue with your qtcurve theme, please report it to them.
Comment by Paul JOSSE (Anthing) - Sunday, 23 June 2019, 16:06 GMT
ok thanks. Sorry for the inconvenience.
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 23 June 2019, 16:58 GMT
Does it work with the official binary or the snap package?
Comment by Lorenzo Chianura (zero_note) - Monday, 24 June 2019, 01:24 GMT
Hi there,

fresh Arch & KDE installation here, same telegram-desktop segfault on startup.

No custom themes, literally KDE vanilla installation.

Sven, the official binary from https://desktop.telegram.org/ works like a charm.

My coredump is here https://pastebin.com/PyM9AzYN.
Comment by Chih-Hsuan Yen (yan12125) - Monday, 24 June 2019, 02:22 GMT
Lorenzo Chianura's issue is caused by the GCC9 bug.

$ c++filt _ZNK4Data7Session13notifyIsMutedEN3gsl8not_nullIPK8PeerDataEEPl
Data::Session::notifyIsMuted(gsl::not_null<PeerData const*>, long*) const

Most likely it's community/telegram-desktop 1.7.9-1, which is built against the broken core/gcc 9.1.0-1.
Comment by Jiachen Yang (farseerfc) - Monday, 24 June 2019, 05:06 GMT
For the crash from gcc 9.1.0-1 bug, I just pushed out telegram-desktop 1.7.9-3 which is built against gcc 9.1.0-2 and qt 5.12.4. This should fix the crash.
Comment by Lorenzo Chianura (zero_note) - Monday, 24 June 2019, 05:55 GMT
Just installed telegram-desktop 1.7.9-3, can confirm that we have no more issues.

Loading...