Bug 298681 - Kopete crashed when contact went online and started OTR session
Summary: Kopete crashed when contact went online and started OTR session
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: 1.2.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-23 17:27 UTC by Mathias Panzenböck
Modified: 2013-10-26 11:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.12


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Panzenböck 2012-04-23 17:27:09 UTC
Application: kopete (1.2.1)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.3.2-1.fc16.x86_64 x86_64
Distribution: "Fedora release 16 (Verne)"

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

A contact went online and an OTR session was automatically started. I heared several "dings" as is normal for the OTR startup (several messages are exchanged), but then kopete crashed.

-- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f967f8a6840 (LWP 2013))]

Thread 4 (Thread 0x7f966bfff700 (LWP 5516)):
#0  0x00000034f00e85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000034efc44fd8 in g_main_context_poll (n_fds=1, fds=0x7f96640023f0, priority=<optimized out>, timeout=-1, context=0x7f96640009a0) at gmain.c:3402
#2  g_main_context_iterate (context=0x7f96640009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084
#3  0x00000034efc4549c in g_main_context_iteration (context=0x7f96640009a0, may_block=1) at gmain.c:3152
#4  0x0000003889da8626 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x0000003889d78a12 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x0000003889d78c67 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x000000388d2693c3 in QCA::SyncThread::run() () from /usr/lib64/libqca.so.2
#8  0x0000003889c7bb1b in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00000034f0407d90 in start_thread (arg=0x7f966bfff700) at pthread_create.c:309
#10 0x00000034f00f0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f966b7fe700 (LWP 5517)):
#0  0x00000034f00e85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000034efc44fd8 in g_main_context_poll (n_fds=1, fds=0x7f965c0027e0, priority=<optimized out>, timeout=3976, context=0x7f965c0009a0) at gmain.c:3402
#2  g_main_context_iterate (context=0x7f965c0009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084
#3  0x00000034efc4549c in g_main_context_iteration (context=0x7f965c0009a0, may_block=1) at gmain.c:3152
#4  0x0000003889da8626 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x0000003889d78a12 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x0000003889d78c67 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f9671af85d5 in XMPP::SyncThread::run (this=0x1d522f0) at /usr/src/debug/kdenetwork-4.8.2/kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#8  0x0000003889c7bb1b in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00000034f0407d90 in start_thread (arg=0x7f966b7fe700) at pthread_create.c:309
#10 0x00000034f00f0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f966affd700 (LWP 5518)):
#0  0x00000034f00ea403 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f9671736b00 in posix_timer_do () from /usr/lib64/libortp.so.8
#2  0x00007f967173764e in rtp_scheduler_schedule () from /usr/lib64/libortp.so.8
#3  0x00000034f0407d90 in start_thread (arg=0x7f966affd700) at pthread_create.c:309
#4  0x00000034f00f0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f967f8a6840 (LWP 2013)):
[KCrash Handler]
#6  ref (this=0x0) at /usr/include/QtCore/qatomic_x86_64.h:121
#7  QString (other=..., this=0x1e516c0) at /usr/include/QtCore/qstring.h:726
#8  QHashNode (value0=@0x1d59f48, key0=..., this=0x1e516b0) at /usr/include/QtCore/qhash.h:224
#9  QHash<QString, Kopete::ActiveNotification*>::duplicateNode (node=0x1d59f30, newNode=0x1e516b0) at /usr/include/QtCore/qhash.h:532
#10 0x0000003889c97787 in QHashData::detach_helper2(void (*)(QHashData::Node*, void*), void (*)(QHashData::Node*), int, int) () from /usr/lib64/libQtCore.so.4
#11 0x00000030892725e6 in detach_helper (this=0x1f97bd8) at /usr/include/QtCore/qhash.h:584
#12 detach (this=0x1f97bd8) at /usr/include/QtCore/qhash.h:303
#13 QHash<QString, Kopete::ActiveNotification*>::remove (this=0x1f97bd8, akey=...) at /usr/include/QtCore/qhash.h:788
#14 0x00000030892724ef in Kopete::ActiveNotification::~ActiveNotification (this=0x1ea3280, __in_chrg=<optimized out>) at /usr/src/debug/kdenetwork-4.8.2/kopete/libkopete/private/kopeteactivenotification.cpp:40
#15 0x0000003089272549 in Kopete::ActiveNotification::~ActiveNotification (this=0x1ea3280, __in_chrg=<optimized out>) at /usr/src/debug/kdenetwork-4.8.2/kopete/libkopete/private/kopeteactivenotification.cpp:41
#16 0x0000003889d8bc25 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQtCore.so.4
#17 0x0000003889d91efc in QObject::~QObject() () from /usr/lib64/libQtCore.so.4
#18 0x000000388c87d219 in KNotification::~KNotification() () from /usr/lib64/libkdeui.so.5
#19 0x0000003889d927d8 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#20 0x000000388b9c9bc4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#21 0x000000388b9cea43 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#22 0x000000388c851f96 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#23 0x0000003889d798dc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#24 0x0000003889d7d36a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#25 0x0000003889da8193 in ?? () from /usr/lib64/libQtCore.so.4
#26 0x00000034efc44acd in g_main_dispatch (context=0x16184c0) at gmain.c:2441
#27 g_main_context_dispatch (context=0x16184c0) at gmain.c:3011
#28 0x00000034efc452c8 in g_main_context_iterate (context=0x16184c0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#29 0x00000034efc4549c in g_main_context_iteration (context=0x16184c0, may_block=1) at gmain.c:3152
#30 0x0000003889da85bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#31 0x000000388ba6c8ce in ?? () from /usr/lib64/libQtGui.so.4
#32 0x0000003889d78a12 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#33 0x0000003889d78c67 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#34 0x0000003889d7d665 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#35 0x00000000004142ff in main (argc=3, argv=0x7fff577f6ac8) at /usr/src/debug/kdenetwork-4.8.2/kopete/kopete/main.cpp:105

Possible duplicates by query: bug 298570, bug 298466, bug 298185, bug 298104, bug 298007.

Reported using DrKonqi
Comment 1 Michael Zanetti 2013-09-17 17:17:35 UTC
Git commit b977f1f701afd1f9192f35e0263f2f1c04bef53e by Michael Zanetti.
Committed on 24/06/2013 at 22:20.
Pushed by mzanetti into branch 'master'.

ported otr plugin to libotr 4.0.0
Related: bug 195328, bug 218570, bug 304105, bug 306276, bug 309987, bug 318255, bug 204502

M  +1    -3    CMakeLists.txt
M  +5    -5    cmake/modules/FindLibOTR.cmake
M  +17   -16   plugins/otr/authenticationwizard.cpp
M  +1    -1    plugins/otr/authenticationwizard.h
M  +1    -1    plugins/otr/kopete_otr.desktop
M  +1    -1    plugins/otr/otrguiclient.cpp
M  +1    -1    plugins/otr/otrguiclient.h
M  +455  -316  plugins/otr/otrlchatinterface.cpp
M  +42   -7    plugins/otr/otrlchatinterface.h
M  +2    -6    plugins/otr/otrlconfinterface.cpp
M  +1    -1    plugins/otr/otrlconfinterface.h
M  +22   -68   plugins/otr/otrplugin.cpp
M  +1    -1    plugins/otr/otrplugin.h
M  +1    -1    plugins/otr/otrpreferences.cpp
M  +1    -1    plugins/otr/otrpreferences.h
M  +1    -1    plugins/otr/privkeypopup.cpp
M  +1    -1    plugins/otr/privkeypopup.h

http://commits.kde.org/kopete/b977f1f701afd1f9192f35e0263f2f1c04bef53e