Bug 323907 - Kopete crashes when I cancel password typing while reconnecting to XMPP chatroom
Summary: Kopete crashes when I cancel password typing while reconnecting to XMPP chatroom
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: general (show other bugs)
Version: 1.4.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords: drkonqi
: 310766 313080 329240 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-08-23 03:04 UTC by Ivan Russkikh
Modified: 2014-07-18 00:55 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (23.14 KB, text/plain)
2014-03-09 06:14 UTC, comsomolets
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Russkikh 2013-08-23 03:04:16 UTC
Application: kopete (1.4.5)
KDE Platform Version: 4.10.5 "release 1"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.16-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
To repeat this crash:
1 Connect to XMPP (I use jabber.ru);
2 Join to chatroom which requires password to join;
3 Break connection with XMPP server;
4 Restore connection -- Kopete ask a password (if you wait some time or if this situation will be while your computer wake up after hibernation, there will be a number of password request windows (maximum I saw is 8 or 9));
5 Press Cancel button on one or more windows (depends on it's number);
6 Kopete segfault.
Note: Sometimes this crash repeats even if you type a right password. Sometimes (this time was so) right password isn't accepted -- the password entering windows opens repeatedly and Cancel cause crash.
The settings is set to use Hacker theme with style Light2-Noback, all chats in one window (different tabs), emoticons disabled.
This crash repeating on all my computers (3 pcs) since openSUSE 12.1.

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 0x7f628dd68780 (LWP 17673))]

Thread 3 (Thread 0x7f626f376700 (LWP 17678)):
#0  0x00007f628a11d87d in poll () from /lib64/libc.so.6
#1  0x00007f6284acaaa4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f6284acabc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f628b7d22e6 in QEventDispatcherGlib::processEvents (this=0x7f62600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f628b7a2adf in QEventLoop::processEvents (this=this@entry=0x7f62600013c0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f628b7a2d68 in QEventLoop::exec (this=0x7f62600013c0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f6275b7471e in QCA::SyncThread::run() () from /usr/lib64/libqca.so.2
#7  0x00007f628b6a80cc in QThreadPrivate::start (arg=0x1c17710) at thread/qthread_unix.cpp:338
#8  0x00007f6289bc5e0f in start_thread () from /lib64/libpthread.so.0
#9  0x00007f628a1267dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f626eb75700 (LWP 17679)):
#0  0x00007f6284ac85be in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f6284aca547 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f6284acaa42 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f6284acabc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f628b7d22e6 in QEventDispatcherGlib::processEvents (this=0x7f62640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f628b7a2adf in QEventLoop::processEvents (this=this@entry=0x7f62640013c0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f628b7a2d68 in QEventLoop::exec (this=0x7f62640013c0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f6275f9e04f in XMPP::SyncThread::run (this=0x1c1e290) at /usr/src/debug/kdenetwork-4.10.5/kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#8  0x00007f628b6a80cc in QThreadPrivate::start (arg=0x1c1e290) at thread/qthread_unix.cpp:338
#9  0x00007f6289bc5e0f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f628a1267dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f628dd68780 (LWP 17673)):
[KCrash Handler]
#6  0x00007f6275f0f0a6 in XMPP::Client::streamReadyRead (this=0x2273690) at /usr/src/debug/kdenetwork-4.10.5/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:519
#7  0x00007f628b7b929f in QMetaObject::activate (sender=0x1e18e80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3548
#8  0x00007f628b7b877e in QObject::event (this=0x1e18e80, e=<optimized out>) at kernel/qobject.cpp:1203
#9  0x00007f628a8d086c in QApplicationPrivate::notify_helper (this=this@entry=0x152f3c0, receiver=receiver@entry=0x1e18e80, e=e@entry=0x30b4ed0) at kernel/qapplication.cpp:4562
#10 0x00007f628a8d4ceb in QApplication::notify (this=0x7fff62481f10, receiver=0x1e18e80, e=0x30b4ed0) at kernel/qapplication.cpp:4423
#11 0x00007f628c2087f6 in KApplication::notify (this=0x7fff62481f10, receiver=0x1e18e80, event=0x30b4ed0) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#12 0x00007f628b7a3d8e in QCoreApplication::notifyInternal (this=0x7fff62481f10, receiver=receiver@entry=0x1e18e80, event=event@entry=0x30b4ed0) at kernel/qcoreapplication.cpp:946
#13 0x00007f628b7a76f1 in sendEvent (event=0x30b4ed0, receiver=0x1e18e80) at kernel/qcoreapplication.h:231
#14 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x14cd1f0) at kernel/qcoreapplication.cpp:1570
#15 0x00007f628b7d2133 in sendPostedEvents () at kernel/qcoreapplication.h:236
#16 postEventSourceDispatch (s=0x1523690) at kernel/qeventdispatcher_glib.cpp:279
#17 0x00007f6284aca7d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#18 0x00007f6284acab08 in ?? () from /usr/lib64/libglib-2.0.so.0
#19 0x00007f6284acabc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#20 0x00007f628b7d22c6 in QEventDispatcherGlib::processEvents (this=0x14d2a70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#21 0x00007f628a970c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007f628b7a2adf in QEventLoop::processEvents (this=this@entry=0x7fff624806e0, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007f628b7a2d68 in QEventLoop::exec (this=0x7fff624806e0, flags=...) at kernel/qeventloop.cpp:204
#24 0x00007f628ad849c8 in QDialog::exec (this=0x7fff62480880) at dialogs/qdialog.cpp:554
#25 0x00007f6275eb56dc in JabberAccount::slotGroupChatError (this=0x1a274a0, jid=..., error=<optimized out>, reason=...) at /usr/src/debug/kdenetwork-4.10.5/kopete/protocols/jabber/jabberaccount.cpp:1570
#26 0x00007f6275ebad8d in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdenetwork-4.10.5/build/kopete/protocols/jabber/jabberaccount.moc:147
#27 JabberAccount::qt_static_metacall (_o=0x1a274a0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdenetwork-4.10.5/build/kopete/protocols/jabber/jabberaccount.moc:115
#28 0x00007f628b7b929f in QMetaObject::activate (sender=0x1a48fc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff62480a70) at kernel/qobject.cpp:3548
#29 0x00007f6275ef22db in JabberClient::groupChatError (this=<optimized out>, _t1=..., _t2=401, _t3=...) at /usr/src/debug/kdenetwork-4.10.5/build/kopete/protocols/jabber/jabberclient.moc:349
#30 0x00007f628b7b929f in QMetaObject::activate (sender=0x2273690, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff62480bd0) at kernel/qobject.cpp:3548
#31 0x00007f6275efcb2b in XMPP::Client::groupChatError (this=<optimized out>, _t1=..., _t2=401, _t3=...) at /usr/src/debug/kdenetwork-4.10.5/build/kopete/protocols/jabber/libiris/moc_xmpp_client.cpp:296
#32 0x00007f6275f137dc in XMPP::Client::ppPresence (this=0x2273690, j=..., s=...) at /usr/src/debug/kdenetwork-4.10.5/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:721
#33 0x00007f628b7b929f in QMetaObject::activate (sender=0x20c3ca0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff62480e20) at kernel/qobject.cpp:3548
#34 0x00007f6275efc6d7 in XMPP::JT_PushPresence::presence (this=<optimized out>, _t1=..., _t2=...) at /usr/src/debug/kdenetwork-4.10.5/build/kopete/protocols/jabber/libiris/moc_xmpp_tasks.cpp:441
#35 0x00007f6275f4d8d2 in XMPP::JT_PushPresence::take (this=0x20c3ca0, e=...) at /usr/src/debug/kdenetwork-4.10.5/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_tasks.cpp:777
#36 0x00007f6275f3b765 in XMPP::Task::take (this=<optimized out>, x=...) at /usr/src/debug/kdenetwork-4.10.5/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_task.cpp:139
#37 0x00007f6275f0e798 in XMPP::Client::distribute (this=this@entry=0x2273690, x=...) at /usr/src/debug/kdenetwork-4.10.5/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:581
#38 0x00007f6275f0f06a in XMPP::Client::streamReadyRead (this=0x2273690) at /usr/src/debug/kdenetwork-4.10.5/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:528
#39 0x00007f628b7b929f in QMetaObject::activate (sender=0x1e18e80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3548
#40 0x00007f628b7b877e in QObject::event (this=0x1e18e80, e=<optimized out>) at kernel/qobject.cpp:1203
#41 0x00007f628a8d086c in QApplicationPrivate::notify_helper (this=this@entry=0x152f3c0, receiver=receiver@entry=0x1e18e80, e=e@entry=0x1c3c760) at kernel/qapplication.cpp:4562
#42 0x00007f628a8d4ceb in QApplication::notify (this=0x7fff62481f10, receiver=0x1e18e80, e=0x1c3c760) at kernel/qapplication.cpp:4423
#43 0x00007f628c2087f6 in KApplication::notify (this=0x7fff62481f10, receiver=0x1e18e80, event=0x1c3c760) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#44 0x00007f628b7a3d8e in QCoreApplication::notifyInternal (this=0x7fff62481f10, receiver=receiver@entry=0x1e18e80, event=event@entry=0x1c3c760) at kernel/qcoreapplication.cpp:946
#45 0x00007f628b7a76f1 in sendEvent (event=0x1c3c760, receiver=0x1e18e80) at kernel/qcoreapplication.h:231
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x14cd1f0) at kernel/qcoreapplication.cpp:1570
#47 0x00007f628b7d2133 in sendPostedEvents () at kernel/qcoreapplication.h:236
#48 postEventSourceDispatch (s=0x1523690) at kernel/qeventdispatcher_glib.cpp:279
#49 0x00007f6284aca7d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#50 0x00007f6284acab08 in ?? () from /usr/lib64/libglib-2.0.so.0
#51 0x00007f6284acabc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#52 0x00007f628b7d22c6 in QEventDispatcherGlib::processEvents (this=0x14d2a70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#53 0x00007f628a970c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x00007f628b7a2adf in QEventLoop::processEvents (this=this@entry=0x7fff62481de0, flags=...) at kernel/qeventloop.cpp:149
#55 0x00007f628b7a2d68 in QEventLoop::exec (this=0x7fff62481de0, flags=...) at kernel/qeventloop.cpp:204
#56 0x00007f628b7a7a08 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#57 0x000000000041499b in main (argc=3, argv=0x7fff62482068) at /usr/src/debug/kdenetwork-4.10.5/kopete/kopete/main.cpp:105

This bug may be a duplicate of or related to bug 313080.

Possible duplicates by query: bug 317735, bug 313080, bug 311554, bug 310766, bug 310422.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-08-23 03:42:20 UTC
*** Bug 313080 has been marked as a duplicate of this bug. ***
Comment 2 Jekyll Wu 2013-08-23 03:42:21 UTC
*** Bug 310766 has been marked as a duplicate of this bug. ***
Comment 3 Pali Rohár 2013-09-06 19:02:31 UTC
> #6  0x00007f6275f0f0a6 in XMPP::Client::streamReadyRead (this=0x2273690) at /usr/src/debug/kdenetwork-4.10.5/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:519

This means Kopete crashing in libiris library. In Kopete from KDE4.11 was updated libiris to new version, so please test if this problem is still there.
Comment 4 Jekyll Wu 2014-01-24 07:35:39 UTC
*** Bug 329240 has been marked as a duplicate of this bug. ***
Comment 5 comsomolets 2014-03-09 06:14:26 UTC
Created attachment 85486 [details]
New crash information added by DrKonqi

kopete (1.3.5) on KDE Platform 4.9.5 using Qt 4.8.3

It also crashes if there are troubles in internet connection.

-- Backtrace (Reduced):
#6  0x00007f56dd8cdd66 in XMPP::Client::streamReadyRead (this=0x4d56910) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:518
[...]
#8  0x00007f56f625643e in QObject::event (this=0x4d5f7f0, e=<optimized out>) at kernel/qobject.cpp:1195
#9  0x00007f56f536de9c in QApplicationPrivate::notify_helper (this=this@entry=0x25a2fc0, receiver=receiver@entry=0x4d5f7f0, e=e@entry=0x4d6ab60) at kernel/qapplication.cpp:4562
#10 0x00007f56f537230a in QApplication::notify (this=0x7fff36445590, receiver=0x4d5f7f0, e=0x4d6ab60) at kernel/qapplication.cpp:4423
#11 0x00007f56f6c7f1f6 in KApplication::notify (this=0x7fff36445590, receiver=0x4d5f7f0, event=0x4d6ab60) at ../../kdeui/kernel/kapplication.cpp:311
Comment 6 Ivan Russkikh 2014-07-18 00:55:07 UTC
Problem fixed. Tested in Kopete 1.5.5 using KDE Development Platform 4.11.5.
Thanks to all.