Bug 414273

Summary: Kopete segfaults when going online
Product: [Unmaintained] kopete Reporter: Shawn Sörbom <shawn>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bigou
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Shawn Sörbom 2019-11-18 20:08:48 UTC
Application: kopete (1.13.0)

Qt Version: 5.13.1
Frameworks Version: 5.63.0
Operating System: Linux 4.15.0-66-generic x86_64
Distribution: KDE neon User Edition 5.17

-- Information about the crash:
- What I was doing when the application crashed:
At the kopete main window, I selected the "online" status to login to my XMPP account.
- Custom settings of the application:
I am using an XMPP Account at im.koderoot.net, which kopete claims has a self-signed certificate.
I had also recently cleared out my google talk account.

The crash started happening after kopete asked me to accept koderoot's self-signed certificate

-- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbf0614a880 (LWP 6344))]

Thread 7 (Thread 0x7fbecbd93700 (LWP 6357)):
#0  0x00007fbef8dff649 in g_mutex_lock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fbef8db8b33 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbef8db94fb in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbef8db96dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fbf012fb9db in QEventDispatcherGlib::processEvents (this=0x7fbebc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fbf0129beaa in QEventLoop::exec (this=this@entry=0x7fbecbd92c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007fbf010b73ca in QThread::exec (this=this@entry=0x562396df2170) at thread/qthread.cpp:531
#7  0x00007fbece0f1090 in XMPP::NetTrackerThread::run (this=0x562396df2170) at ./protocols/jabber/libiris/src/irisnet/corelib/netinterface.cpp:168
#8  0x00007fbf010b8b72 in QThreadPrivate::start (arg=0x562396df2170) at thread/qthread_unix.cpp:360
#9  0x00007fbefaf566db in start_thread (arg=0x7fbecbd93700) at pthread_create.c:463
#10 0x00007fbf009b588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fbecc594700 (LWP 6356)):
#0  0x00007fbf009a8bf9 in __GI___poll (fds=0x7fbec4004e90, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fbef8db95c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbef8db96dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbf012fb9db in QEventDispatcherGlib::processEvents (this=0x7fbec4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fbf0129beaa in QEventLoop::exec (this=0x7fbec4003ce0, flags=...) at kernel/qeventloop.cpp:225
#5  0x00007fbecda452f1 in QCA::SyncThread::run() () from /usr/lib/x86_64-linux-gnu/libqca-qt5.so.2
#6  0x00007fbf010b8b72 in QThreadPrivate::start (arg=0x562396dc0460) at thread/qthread_unix.cpp:360
#7  0x00007fbefaf566db in start_thread (arg=0x7fbecc594700) at pthread_create.c:463
#8  0x00007fbf009b588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fbed4ffd700 (LWP 6350)):
#0  0x00007fbefaf5c9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562396b5ee48) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x562396b5edf8, cond=0x562396b5ee20) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x562396b5ee20, mutex=0x562396b5edf8) at pthread_cond_wait.c:655
#3  0x00007fbed60b62cb in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fbed60b5ff7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fbefaf566db in start_thread (arg=0x7fbed4ffd700) at pthread_create.c:463
#6  0x00007fbf009b588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fbee5dc8700 (LWP 6349)):
#0  __GI___pthread_getspecific (key=4) at pthread_getspecific.c:56
#1  0x00007fbef8de1680 in g_thread_self () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbef8db845c in g_main_context_acquire () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbef8db9485 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fbef8db96dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fbf012fb9db in QEventDispatcherGlib::processEvents (this=0x7fbed8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007fbf0129beaa in QEventLoop::exec (this=this@entry=0x7fbee5dc7d20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007fbf010b73ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007fbf010b8b72 in QThreadPrivate::start (arg=0x562396829570) at thread/qthread_unix.cpp:360
#9  0x00007fbefaf566db in start_thread (arg=0x7fbee5dc8700) at pthread_create.c:463
#10 0x00007fbf009b588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fbee6fd9700 (LWP 6348)):
#0  0x00007fbf009a40b4 in __GI___libc_read (fd=15, buf=0x7fbee6fd8ae0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007fbef8dfe2d0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbef8db90b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbef8db9570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fbef8db96dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fbf012fb9db in QEventDispatcherGlib::processEvents (this=0x7fbee0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007fbf0129beaa in QEventLoop::exec (this=this@entry=0x7fbee6fd8cf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007fbf010b73ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007fbf02fe80e5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007fbf010b8b72 in QThreadPrivate::start (arg=0x7fbf0325fd80) at thread/qthread_unix.cpp:360
#10 0x00007fbefaf566db in start_thread (arg=0x7fbee6fd9700) at pthread_create.c:463
#11 0x00007fbf009b588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fbeed571700 (LWP 6347)):
#0  0x00007fbf009a8bf9 in __GI___poll (fds=0x7fbeed570c28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fbefdd45747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fbefdd4736a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fbeefd2cf00 in QXcbEventQueue::run (this=0x5623967d82c0) at qxcbeventqueue.cpp:228
#4  0x00007fbf010b8b72 in QThreadPrivate::start (arg=0x5623967d82c0) at thread/qthread_unix.cpp:360
#5  0x00007fbefaf566db in start_thread (arg=0x7fbeed571700) at pthread_create.c:463
#6  0x00007fbf009b588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fbf0614a880 (LWP 6344)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007fbf012d468b in QObject::connect (sender=sender@entry=0x5623969a72b0, signal=0x7fbece11c801 "contactDestroyed(Kopete::Contact*)", signal@entry=0x7fbece11c800 "2contactDestroyed(Kopete::Contact*)", receiver=receiver@entry=0x562396d7eb50, method=0x7fbece11c7d1 "slotSubContactDestroyed(Kopete::Contact*)", method@entry=0x7fbece11c7d0 "1slotSubContactDestroyed(Kopete::Contact*)", type=type@entry=Qt::AutoConnection) at kernel/qobject.cpp:2744
#8  0x00007fbecdf8f77b in JabberGroupContact::addSubContact (this=this@entry=0x562396d7eb50, rosterItem=..., addToManager=addToManager@entry=true) at ./protocols/jabber/jabbergroupcontact.cpp:295
#9  0x00007fbecdf73253 in JabberAccount::slotGroupChatPresence (this=0x562396c51ff0, jid=..., status=...) at ./protocols/jabber/jabberaccount.cpp:1632
#10 0x00007fbecdfc3100 in JabberAccount::qt_static_metacall (_o=0x562396c51ff0, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at ./obj-x86_64-linux-gnu/protocols/jabber/kopete_jabber_autogen/EWIEGA46WW/moc_jabberaccount.cpp:272
#11 0x00007fbf012ce715 in QMetaObject::activate (sender=0x562396d01510, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=16, argv=<optimized out>, argv@entry=0x7ffdf937e900) at kernel/qobject.cpp:3809
#12 0x00007fbf012cedd7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fbece39a780 <JabberClient::staticMetaObject>, local_signal_index=local_signal_index@entry=16, argv=argv@entry=0x7ffdf937e900) at kernel/qobject.cpp:3660
#13 0x00007fbecdfc153a in JabberClient::groupChatPresence (this=<optimized out>, _t1=..., _t2=...) at ./obj-x86_64-linux-gnu/protocols/jabber/kopete_jabber_autogen/EWIEGA46WW/moc_jabberclient.cpp:636
#14 0x00007fbf012ce715 in QMetaObject::activate (sender=sender@entry=0x562396dbda10, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=17, argv=<optimized out>, argv@entry=0x7ffdf937ea30) at kernel/qobject.cpp:3809
#15 0x00007fbf012cedd7 in QMetaObject::activate (sender=sender@entry=0x562396dbda10, m=m@entry=0x7fbece39bec0 <XMPP::Client::staticMetaObject>, local_signal_index=local_signal_index@entry=17, argv=argv@entry=0x7ffdf937ea30) at kernel/qobject.cpp:3660
#16 0x00007fbece08303a in XMPP::Client::groupChatPresence (this=this@entry=0x562396dbda10, _t1=..., _t2=...) at ./obj-x86_64-linux-gnu/protocols/jabber/libiris/moc_xmpp_client.cxx:558
#17 0x00007fbecdfdf4b3 in XMPP::Client::ppPresence (this=0x562396dbda10, j=..., s=...) at ./protocols/jabber/libiris/src/xmpp/xmpp-im/client.cpp:745
#18 0x00007fbece08342d in XMPP::Client::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./obj-x86_64-linux-gnu/protocols/jabber/libiris/moc_xmpp_client.cxx:229
#19 0x00007fbf012ce715 in QMetaObject::activate (sender=sender@entry=0x562396d62ba0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=<optimized out>, argv@entry=0x7ffdf937ec80) at kernel/qobject.cpp:3809
#20 0x00007fbf012cedd7 in QMetaObject::activate (sender=sender@entry=0x562396d62ba0, m=m@entry=0x7fbece394200 <XMPP::JT_PushPresence::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdf937ec80) at kernel/qobject.cpp:3660
#21 0x00007fbece088f77 in XMPP::JT_PushPresence::presence (this=this@entry=0x562396d62ba0, _t1=..., _t2=...) at ./obj-x86_64-linux-gnu/protocols/jabber/libiris/iris_kopete_autogen/J7RYVATOWX/moc_xmpp_tasks.cpp:564
#22 0x00007fbece039ed4 in XMPP::JT_PushPresence::take (this=this@entry=0x562396d62ba0, e=...) at ./protocols/jabber/libiris/src/xmpp/xmpp-im/xmpp_tasks.cpp:803
#23 0x00007fbece03ad2a in XMPP::JT_PushPresence::take (this=0x562396d62ba0, e=...) at ./protocols/jabber/libiris/src/xmpp/xmpp-im/xmpp_tasks.cpp:680
#24 0x00007fbece011d42 in XMPP::Task::take (this=<optimized out>, x=...) at ./protocols/jabber/libiris/src/xmpp/xmpp-im/xmpp_task.cpp:156
#25 0x00007fbecdfe11e0 in XMPP::Client::distribute (this=this@entry=0x562396dbda10, x=...) at ./protocols/jabber/libiris/src/xmpp/xmpp-im/client.cpp:592
#26 0x00007fbecdfe1827 in XMPP::Client::streamReadyRead (this=0x562396dbda10) at ./protocols/jabber/libiris/src/xmpp/xmpp-im/client.cpp:526
#27 0x00007fbece0833c5 in XMPP::Client::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./obj-x86_64-linux-gnu/protocols/jabber/libiris/moc_xmpp_client.cxx:224
#28 0x00007fbf012ce715 in QMetaObject::activate (sender=0x7fbec4171e30, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=<optimized out>, argv@entry=0x0) at kernel/qobject.cpp:3809
#29 0x00007fbf012cedd7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fbece39c420 <XMPP::Stream::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x0) at kernel/qobject.cpp:3660
#30 0x00007fbece084d83 in XMPP::Stream::readyRead (this=<optimized out>) at ./obj-x86_64-linux-gnu/protocols/jabber/libiris/moc_xmpp_stream.cxx:188
#31 0x00007fbece052af5 in XMPP::ClientStream::doReadyRead (this=<optimized out>) at ./protocols/jabber/libiris/src/xmpp/xmpp-core/stream.cpp:964
#32 0x00007fbece084875 in XMPP::ClientStream::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./obj-x86_64-linux-gnu/protocols/jabber/libiris/moc_xmpp_clientstream.cxx:207
#33 0x00007fbf012cf272 in QObject::event (this=0x7fbec4171e30, e=<optimized out>) at kernel/qobject.cpp:1260
#34 0x00007fbf020a2eac in QApplicationPrivate::notify_helper (this=this@entry=0x5623967d4d40, receiver=receiver@entry=0x7fbec4171e30, e=e@entry=0x562396d516e0) at kernel/qapplication.cpp:3703
#35 0x00007fbf020aa4b0 in QApplication::notify (this=0x7ffdf937f820, receiver=0x7fbec4171e30, e=0x562396d516e0) at kernel/qapplication.cpp:3449
#36 0x00007fbf0129dd48 in QCoreApplication::notifyInternal2 (receiver=0x7fbec4171e30, event=0x562396d516e0) at kernel/qcoreapplication.cpp:1095
#37 0x00007fbf0129df1e in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x562396d516e0) at kernel/qcoreapplication.cpp:1490
#38 0x00007fbf012a0667 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5623967d2b60) at kernel/qcoreapplication.cpp:1840
#39 0x00007fbf012a0bf8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1694
#40 0x00007fbf012fc3a3 in postEventSourceDispatch (s=0x56239682ae20) at kernel/qeventdispatcher_glib.cpp:277
#41 0x00007fbef8db9417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fbef8db9650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fbef8db96dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fbf012fb9bf in QEventDispatcherGlib::processEvents (this=0x562396843f30, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#45 0x00007fbf0129beaa in QEventLoop::exec (this=this@entry=0x7ffdf937f740, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#46 0x00007fbf012a5220 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1403
#47 0x0000562394aea6b5 in main (argc=<optimized out>, argv=<optimized out>) at ./kopete/main.cpp:123

Possible duplicates by query: bug 412228, bug 401931, bug 368134, bug 368133, bug 368132.

Reported using DrKonqi
Comment 1 bigou 2020-03-14 13:36:10 UTC
Created attachment 126780 [details]
New crash information added by DrKonqi

kopete (1.13.0) on KDE Platform 4.14.38 using Qt 4.8.7

- What I was doing when the application crashed:
Tried to connect to my XMPP account

- Custom settings of the application:
None (Kopete is as apt installed it)

-- Backtrace (Reduced):
#6  0x00007f27b7f7e772 in QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
[...]
#11 0x00007f2783b56c3a in JabberClient::groupChatPresence(XMPP::Jid const&, XMPP::Status const&) () from /usr/lib/kde4/kopete_jabber.so
[...]
#26 0x00007f27b7f81d11 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007f27b702a03c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007f27b7030f76 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Comment 2 Christoph Feck 2020-08-03 17:50:49 UTC

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