Bug 401931

Summary: kopete crashes on connect
Product: [Unmaintained] kopete Reporter: Miguel <migtavares>
Component: Jabber PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Miguel 2018-12-09 17:35:40 UTC
Application: kopete (1.13.0)
 (Compiled from sources)
Qt Version: 5.11.1
Frameworks Version: 5.52.0
Operating System: Linux 4.15.18-gentoo x86_64
Distribution: "Gentoo Base System release 2.6"

-- Information about the crash:
- What I was doing when the application crashed:

As soon as I connect to a xmpp connection kopete segfaults. 
I can see that it manages to get the roaster before crashing.

The crash can be reproduced every time.

-- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8d40616800 (LWP 13249))]

Thread 8 (Thread 0x7f8cfee43700 (LWP 13448)):
#0  0x00007f8d3afe8cf0 in __GI___libc_read (fd=35, buf=0x7f8cfee42ad0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f8d337bb9c0 in g_wakeup_acknowledge () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8d33776892 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8d33776d64 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f8d33776eec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f8d3b942a7b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007f8d3b8ef91a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007f8d3b758db3 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#8  0x00007f8d062029df in XMPP::NetTrackerThread::run() () from /usr/lib64/qt5/plugins/kopete_jabber.so
#9  0x00007f8d3b76299b in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#10 0x00007f8d3583c9aa in start_thread (arg=0x7f8cfee43700) at pthread_create.c:463
#11 0x00007f8d3aff914f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f8cff644700 (LWP 13447)):
#0  0x00007f8d3afe8cf0 in __GI___libc_read (fd=34, buf=0x7f8cff643ba0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f8d337bb9c0 in g_wakeup_acknowledge () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8d33776892 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8d33776d64 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f8d33776eec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f8d3b942a7b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007f8d3b8ef91a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007f8d05b3d8d0 in QCA::SyncThread::run() () from /usr/lib64/libqca-qt5.so.2
#8  0x00007f8d3b76299b in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007f8d3583c9aa in start_thread (arg=0x7f8cff644700) at pthread_create.c:463
#10 0x00007f8d3aff914f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f8d07fff700 (LWP 13297)):
#0  0x00007f8d35843761 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55c7824c9448) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55c7824c93f8, cond=0x55c7824c9420) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55c7824c9420, mutex=0x55c7824c93f8) at pthread_cond_wait.c:655
#3  0x00007f8d13474acb in util_queue_thread_func () from /usr/lib64/dri/r600_dri.so
#4  0x00007f8d13474827 in impl_thrd_routine () from /usr/lib64/dri/r600_dri.so
#5  0x00007f8d3583c9aa in start_thread (arg=0x7f8d07fff700) at pthread_create.c:463
#6  0x00007f8d3aff914f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f8d0cc3f700 (LWP 13296)):
#0  0x00007f8d35843761 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55c782a2669c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55c782a26648, cond=0x55c782a26670) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55c782a26670, mutex=0x55c782a26648) at pthread_cond_wait.c:655
#3  0x00007f8d13474acb in util_queue_thread_func () from /usr/lib64/dri/r600_dri.so
#4  0x00007f8d13474827 in impl_thrd_routine () from /usr/lib64/dri/r600_dri.so
#5  0x00007f8d3583c9aa in start_thread (arg=0x7f8d0cc3f700) at pthread_create.c:463
#6  0x00007f8d3aff914f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f8d21444700 (LWP 13291)):
#0  0x00007f8d3afe8cf0 in __GI___libc_read (fd=9, buf=0x7f8d21443b90, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f8d337bb9c0 in g_wakeup_acknowledge () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8d33776892 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8d33776d64 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f8d33776eec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f8d3b942a7b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007f8d3b8ef91a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007f8d3b758db3 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#8  0x00007f8d3b76299b in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007f8d3583c9aa in start_thread (arg=0x7f8d21444700) at pthread_create.c:463
#10 0x00007f8d3aff914f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f8d2293c700 (LWP 13253)):
#0  0x00007f8d3afed593 in __GI___poll (fds=0x7f8d1c0386c0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8d33776dc6 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8d33776eec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8d3b942a7b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f8d3b8ef91a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f8d3b758db3 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f8d3d234ec5 in QDBusConnectionManager::run() () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f8d3b76299b in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007f8d3583c9aa in start_thread (arg=0x7f8d2293c700) at pthread_create.c:463
#9  0x00007f8d3aff914f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f8d29206700 (LWP 13250)):
#0  0x00007f8d3afed593 in __GI___poll (fds=0x7f8d29205ca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8d35e9e860 in _xcb_conn_wait () from /usr/lib64/libxcb.so.1
#2  0x00007f8d35ea0419 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f8d2b35ec19 in QXcbEventReader::run() () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f8d3b76299b in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f8d3583c9aa in start_thread (arg=0x7f8d29206700) at pthread_create.c:463
#6  0x00007f8d3aff914f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f8d40616800 (LWP 13249)):
[KCrash Handler]
#6  0x00007f8d3b9204dc in QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType) () from /usr/lib64/libQt5Core.so.5
#7  0x00007f8d060b2f6e in JabberGroupContact::addSubContact(XMPP::RosterItem const&, bool) () from /usr/lib64/qt5/plugins/kopete_jabber.so
#8  0x00007f8d060977f4 in JabberAccount::slotGroupChatPresence(XMPP::Jid const&, XMPP::Status const&) () from /usr/lib64/qt5/plugins/kopete_jabber.so
#9  0x00007f8d060e1740 in JabberAccount::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.28] () from /usr/lib64/qt5/plugins/kopete_jabber.so
#10 0x00007f8d3b91a109 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#11 0x00007f8d060dfaaa in JabberClient::groupChatPresence(XMPP::Jid const&, XMPP::Status const&) () from /usr/lib64/qt5/plugins/kopete_jabber.so
#12 0x00007f8d3b91a109 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#13 0x00007f8d0619665a in XMPP::Client::groupChatPresence(XMPP::Jid const&, XMPP::Status const&) () from /usr/lib64/qt5/plugins/kopete_jabber.so
#14 0x00007f8d060f89c4 in XMPP::Client::ppPresence(XMPP::Jid const&, XMPP::Status const&) () from /usr/lib64/qt5/plugins/kopete_jabber.so
#15 0x00007f8d06196e1d in XMPP::Client::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/qt5/plugins/kopete_jabber.so
#16 0x00007f8d3b91a109 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#17 0x00007f8d0619c747 in XMPP::JT_PushPresence::presence(XMPP::Jid const&, XMPP::Status const&) () from /usr/lib64/qt5/plugins/kopete_jabber.so
#18 0x00007f8d0614f7fc in XMPP::JT_PushPresence::take(QDomElement const&) [clone .part.14] () from /usr/lib64/qt5/plugins/kopete_jabber.so
#19 0x00007f8d0615067b in XMPP::JT_PushPresence::take(QDomElement const&) () from /usr/lib64/qt5/plugins/kopete_jabber.so
#20 0x00007f8d06129c72 in XMPP::Task::take(QDomElement const&) () from /usr/lib64/qt5/plugins/kopete_jabber.so
#21 0x00007f8d060fb33f in XMPP::Client::distribute(QDomElement const&) () from /usr/lib64/qt5/plugins/kopete_jabber.so
#22 0x00007f8d060fb8e1 in XMPP::Client::streamReadyRead() () from /usr/lib64/qt5/plugins/kopete_jabber.so
#23 0x00007f8d06196db5 in XMPP::Client::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/qt5/plugins/kopete_jabber.so
#24 0x00007f8d3b91a109 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#25 0x00007f8d06197fd5 in XMPP::ClientStream::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/qt5/plugins/kopete_jabber.so
#26 0x00007f8d3b91b0c9 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#27 0x00007f8d3c5943bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#28 0x00007f8d3c59ba46 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#29 0x00007f8d3b8f0b6a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#30 0x00007f8d3b8f3f36 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#31 0x00007f8d3b942c73 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5Core.so.5
#32 0x00007f8d33776bc7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f8d33776e38 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f8d33776eec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f8d3b942a5f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#36 0x00007f8d2b3e4381 in QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5XcbQpa.so.5
#37 0x00007f8d3b8ef91a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#38 0x00007f8d3b8f81a4 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#39 0x000055c7813fc808 in main ()

Reported using DrKonqi
Comment 1 Christoph Feck 2020-08-03 17:50:09 UTC

*** This bug has been marked as a duplicate of bug 412228 ***