Bug 303691

Summary: Kopete crashes on authentication to jabber chatroom after unsuspend
Product: [Unmaintained] kopete Reporter: Jussi Schultink <jussi01>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jussi Schultink 2012-07-17 16:58:44 UTC
Application: kopete (1.2.3)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-26-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I unsuspended the PC and kopete prompted me for for passwords to 2 group chats I use on jabber. I entered these and it asked again, I re-entered and then it crashed. The next time I tried after unsuspend, I tried just cancelling the dialogs and it also crashed. 

- Custom settings of the application:
4 groupchats in jabber that are autojoin, 2 passworded.

The crash can be reproduced every time.

-- 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 0x7f034df4c780 (LWP 27453))]

Thread 5 (Thread 0x7f0336465700 (LWP 27454)):
#0  0x00007f0345d3a05d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f0330000a60) at pthread_mutex_unlock.c:290
#2  0x00007f03452975d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f034525b83b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f034525bf5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f034525c164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f034b98a426 in QEventDispatcherGlib::processEvents (this=0x7f03300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f034b959c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f034b959ed7 in QEventLoop::exec (this=0x7f0336464dd0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f034b858fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007f034b9399ff in QInotifyFileSystemWatcherEngine::run (this=0x1753b80) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007f034b85bfcb in QThreadPrivate::start (arg=0x1753b80) at thread/qthread_unix.cpp:298
#12 0x00007f0345d36e9a in start_thread (arg=0x7f0336465700) at pthread_create.c:308
#13 0x00007f034a2ca4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f032f08c700 (LWP 27456)):
#0  0x00007f034a2beb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f034525c036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f034525c49a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f032fd7a406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f034527d9e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0345d36e9a in start_thread (arg=0x7f032f08c700) at pthread_create.c:308
#6  0x00007f034a2ca4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f032d02b700 (LWP 27458)):
#0  0x00007f034a2beb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f034525c036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f034525c164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f034b98a426 in QEventDispatcherGlib::processEvents (this=0x7f03240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f034b959c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f034b959ed7 in QEventLoop::exec (this=0x7f03240013c0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f032dd2c9ba in QCA::SyncThread::run() () from /usr/lib/libqca.so.2
#7  0x00007f034b85bfcb in QThreadPrivate::start (arg=0x1adb0e0) at thread/qthread_unix.cpp:298
#8  0x00007f0345d36e9a in start_thread (arg=0x7f032d02b700) at pthread_create.c:308
#9  0x00007f034a2ca4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f032c82a700 (LWP 27459)):
#0  0x00007f034a2beb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f034525c036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f034525c164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f034b98a426 in QEventDispatcherGlib::processEvents (this=0x7f03180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f034b959c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f034b959ed7 in QEventLoop::exec (this=0x7f03180013c0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f032e16b0c5 in XMPP::SyncThread::run (this=0x1ae2ef0) at ../../../../../kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#7  0x00007f034b85bfcb in QThreadPrivate::start (arg=0x1ae2ef0) at thread/qthread_unix.cpp:298
#8  0x00007f0345d36e9a in start_thread (arg=0x7f032c82a700) at pthread_create.c:308
#9  0x00007f034a2ca4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f034df4c780 (LWP 27453)):
[KCrash Handler]
#6  0x00007f032e0c78e1 in XMPP::Client::streamReadyRead (this=0x2b49030) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:518
#7  0x00007f034b96f281 in QMetaObject::activate (sender=0x417ac10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#8  0x00007f034b974446 in QObject::event (this=0x417ac10, e=<optimized out>) at kernel/qobject.cpp:1195
#9  0x00007f034aa60894 in notify_helper (e=0x1cbd6d0, receiver=0x417ac10, this=0x12e5710) at kernel/qapplication.cpp:4559
#10 QApplicationPrivate::notify_helper (this=0x12e5710, receiver=0x417ac10, e=0x1cbd6d0) at kernel/qapplication.cpp:4531
#11 0x00007f034aa65713 in QApplication::notify (this=0x7fff57e98ed0, receiver=0x417ac10, e=0x1cbd6d0) at kernel/qapplication.cpp:4420
#12 0x00007f034c3c19e6 in KApplication::notify (this=0x7fff57e98ed0, receiver=0x417ac10, event=0x1cbd6d0) at ../../kdeui/kernel/kapplication.cpp:311
#13 0x00007f034b95ae9c in QCoreApplication::notifyInternal (this=0x7fff57e98ed0, receiver=0x417ac10, event=0x1cbd6d0) at kernel/qcoreapplication.cpp:876
#14 0x00007f034b95ec6a in sendEvent (event=0x1cbd6d0, receiver=0x417ac10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1297440) at kernel/qcoreapplication.cpp:1500
#16 0x00007f034b989f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#17 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#18 0x00007f034525bd53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f034525c0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f034525c164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f034b98a3bf in QEventDispatcherGlib::processEvents (this=0x1298d20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#22 0x00007f034ab08d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007f034b959c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#24 0x00007f034b959ed7 in QEventLoop::exec (this=0x7fff57e96af0, flags=...) at kernel/qeventloop.cpp:204
#25 0x00007f034af30936 in QDialog::exec (this=0x7fff57e96b70) at dialogs/qdialog.cpp:554
#26 0x00007f032e06bcfd in JabberAccount::slotGroupChatError (this=0x178a190, jid=..., error=<optimized out>, reason=...) at ../../../../kopete/protocols/jabber/jabberaccount.cpp:1566
#27 0x00007f032e07382d in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=0x178a190, _c=<optimized out>) at ./jabberaccount.moc:147
#28 JabberAccount::qt_static_metacall (_o=0x178a190, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./jabberaccount.moc:115
#29 0x00007f034b96f281 in QMetaObject::activate (sender=0x1904600, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff57e97050) at kernel/qobject.cpp:3547
#30 0x00007f032e0ad09b in JabberClient::groupChatError (this=<optimized out>, _t1=..., _t2=401, _t3=...) at ./jabberclient.moc:349
#31 0x00007f034b96f281 in QMetaObject::activate (sender=0x2b49030, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff57e971b0) at kernel/qobject.cpp:3547
#32 0x00007f032e0b1aeb in XMPP::Client::groupChatError (this=<optimized out>, _t1=..., _t2=401, _t3=...) at moc_xmpp_client.cpp:296
#33 0x00007f032e0ce867 in XMPP::Client::ppPresence (this=0x2b49030, j=..., s=...) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:720
#34 0x00007f034b96f281 in QMetaObject::activate (sender=0x3e45170, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff57e974b0) at kernel/qobject.cpp:3547
#35 0x00007f032e0b5a47 in XMPP::JT_PushPresence::presence (this=<optimized out>, _t1=..., _t2=...) at moc_xmpp_tasks.cpp:441
#36 0x00007f032e10ffca in XMPP::JT_PushPresence::take (this=0x3e45170, e=...) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_tasks.cpp:774
#37 0x00007f032e0fc8bd in XMPP::Task::take (this=<optimized out>, x=...) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_task.cpp:139
#38 0x00007f032e0c6f01 in XMPP::Client::distribute (this=0x2b49030, x=...) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:580
#39 0x00007f032e0c78a7 in XMPP::Client::streamReadyRead (this=0x2b49030) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:527
#40 0x00007f034b96f281 in QMetaObject::activate (sender=0x417ac10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#41 0x00007f034b974446 in QObject::event (this=0x417ac10, e=<optimized out>) at kernel/qobject.cpp:1195
#42 0x00007f034aa60894 in notify_helper (e=0x588b530, receiver=0x417ac10, this=0x12e5710) at kernel/qapplication.cpp:4559
#43 QApplicationPrivate::notify_helper (this=0x12e5710, receiver=0x417ac10, e=0x588b530) at kernel/qapplication.cpp:4531
#44 0x00007f034aa65713 in QApplication::notify (this=0x7fff57e98ed0, receiver=0x417ac10, e=0x588b530) at kernel/qapplication.cpp:4420
#45 0x00007f034c3c19e6 in KApplication::notify (this=0x7fff57e98ed0, receiver=0x417ac10, event=0x588b530) at ../../kdeui/kernel/kapplication.cpp:311
#46 0x00007f034b95ae9c in QCoreApplication::notifyInternal (this=0x7fff57e98ed0, receiver=0x417ac10, event=0x588b530) at kernel/qcoreapplication.cpp:876
#47 0x00007f034b95ec6a in sendEvent (event=0x588b530, receiver=0x417ac10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#48 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1297440) at kernel/qcoreapplication.cpp:1500
#49 0x00007f034b989f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#50 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#51 0x00007f034525bd53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007f034525c0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007f034525c164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007f034b98a3bf in QEventDispatcherGlib::processEvents (this=0x1298d20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#55 0x00007f034ab08d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#56 0x00007f034b959c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#57 0x00007f034b959ed7 in QEventLoop::exec (this=0x7fff57e98e50, flags=...) at kernel/qeventloop.cpp:204
#58 0x00007f034b95ef67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#59 0x000000000041418f in main (argc=3, argv=0x7fff57e99d58) at ../../../kopete/kopete/main.cpp:105

Possible duplicates by query: bug 302346, bug 301989, bug 296611, bug 295737, bug 283032.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-10-05 14:09:21 UTC

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