Version: 0.70.2 (using 4.2.2 (KDE 4.2.2), Debian packages) Compiler: cc OS: Linux (x86_64) release 2.6.29-bpo.2-amd64 Hello: I allowed a contact to use OTR plugin using encryption, after we actually move to sacure mode, kopete chrashed on my side. The other part uses pidgin. Aplicación: Kopete (kopete), señal SIGSEGV 0x00007ff6cb000ff1 in nanosleep () from /lib/libc.so.6 [Current thread is 0 (LWP 20662)] Thread 4 (Thread 0x4096f950 (LWP 20690)): #0 0x00007ff6cb029b66 in poll () from /lib/libc.so.6 #1 0x00007ff6c6cc04df in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007ff6c6cc07dc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007ff6cc3854de in QEventDispatcherGlib::processEvents (this=0x1a85f60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:326 #4 0x00007ff6cc35a6f2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1083633504}) at kernel/qeventloop.cpp:149 #5 0x00007ff6cc35aabd in QEventLoop::exec (this=0x1a80fe0, flags={i = 1083633904}) at kernel/qeventloop.cpp:200 #6 0x00007ff6b7b4369b in QCA::SyncThread::run () from /usr/lib/libqca.so.2 #7 0x00007ff6cc273742 in QThreadPrivate::start (arg=0x1a85600) at thread/qthread_unix.cpp:189 #8 0x00007ff6c90b6fc7 in start_thread () from /lib/libpthread.so.0 #9 0x00007ff6cb0325ad in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () Thread 3 (Thread 0x41170950 (LWP 20691)): #0 0x00007ff6c90bad29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007ff6cc274739 in QWaitCondition::wait (this=0x1cdc6e0, mutex=0x1cdc6d8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 0x00007ff6c935569c in QHostInfoAgent::run (this=0x1cdc6c0) at kernel/qhostinfo.cpp:260 #3 0x00007ff6cc273742 in QThreadPrivate::start (arg=0x1cdc6c0) at thread/qthread_unix.cpp:189 #4 0x00007ff6c90b6fc7 in start_thread () from /lib/libpthread.so.0 #5 0x00007ff6cb0325ad in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 2 (Thread 0x41971950 (LWP 20692)): #0 0x00007ff6cb02bce2 in select () from /lib/libc.so.6 #1 0x00007ff6b7593c7a in posix_timer_do () from /usr/lib/libortp.so.8 #2 0x00007ff6b7594a05 in rtp_scheduler_schedule () from /usr/lib/libortp.so.8 #3 0x00007ff6c90b6fc7 in start_thread () from /lib/libpthread.so.0 #4 0x00007ff6cb0325ad in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 1 (Thread 0x7ff6cf3dd6f0 (LWP 20662)): [KCrash Handler] #5 0x00007ff6b855905c in OtrlChatInterface::decryptMessage (this=0x1508d10, msg=0x7fffd7522560, accountId=@0x7fffd7522550, protocol=@0x7fffd7522530, contactId=@0x7fffd7522540, chatSession=0x1941bf0) at ../../../../kopete/plugins/otr/otrlchatinterface.cpp:416 #6 0x00007ff6b876ad10 in OtrMessageHandler::handleMessage (this=0x1d62ca0, event=0x14917f0) at ../../../../kopete/plugins/otr/otrplugin.cpp:249 #7 0x00007ff6ce434e2a in Kopete::ProcessMessageTask::qt_metacall (this=0x1d91b80, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=<value optimized out>) at ./kopetemessagehandlerchain.moc:110 #8 0x00007ff6cc371862 in QMetaObject::activate (sender=0x1a659e0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3120 #9 0x00007ff6cc376b9f in QSingleShotTimer::timerEvent (this=0x1a659e0) at kernel/qtimer.cpp:298 #10 0x00007ff6cc36bb43 in QObject::event (this=0x1a659e0, e=0x0) at kernel/qobject.cpp:1082 #11 0x00007ff6cb7994fd in QApplicationPrivate::notify_helper (this=0xfca420, receiver=0x1a659e0, e=0x7fffd7522d30) at kernel/qapplication.cpp:4057 #12 0x00007ff6cb7a177a in QApplication::notify (this=0x7fffd7523070, receiver=0x1a659e0, e=0x7fffd7522d30) at kernel/qapplication.cpp:4022 #13 0x00007ff6ccf5955b in KApplication::notify (this=0x7fffd7523070, receiver=0x1a659e0, event=0x7fffd7522d30) at ../../kdeui/kernel/kapplication.cpp:307 #14 0x00007ff6cc35be4c in QCoreApplication::notifyInternal (this=0x7fffd7523070, receiver=0x1a659e0, event=0x7fffd7522d30) at kernel/qcoreapplication.cpp:610 #15 0x00007ff6cc389036 in QTimerInfoList::activateTimers (this=0xff5260) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213 #16 0x00007ff6cc38555d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:164 #17 0x00007ff6c6cbcf7a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #18 0x00007ff6c6cc0640 in ?? () from /usr/lib/libglib-2.0.so.0 #19 0x00007ff6c6cc07dc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #20 0x00007ff6cc3854bf in QEventDispatcherGlib::processEvents (this=0xfaddb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324 #21 0x00007ff6cb831c7f in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202 #22 0x00007ff6cc35a6f2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -682479712}) at kernel/qeventloop.cpp:149 #23 0x00007ff6cc35aabd in QEventLoop::exec (this=0x7fffd7522fe0, flags={i = -682479632}) at kernel/qeventloop.cpp:200 #24 0x00007ff6cc35cd84 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #25 0x0000000000448e2c in main (argc=3, argv=0x7fffd7523e28) at ../../../kopete/kopete/main.cpp:102 This may be a dupe of https://bugs.kde.org/show_bug.cgi?id=181342
I have a similar backtrace here. I was setting my status to online, when a window with an incoming message showed up for a moment and then Kopete crashed. The backtrace: Application: Kopete (kopete), signal SIGSEGV 0x00007f8dfd348491 in nanosleep () from /lib/libc.so.6 [Current thread is 0 (LWP 3456)] Thread 3 (Thread 0x7f8decf6c950 (LWP 3959)): #0 0x00007f8dfec97a09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f8dfef07d7b in QWaitConditionPrivate::wait (this=0xaaa970, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 0x00007f8dfef078db in QWaitCondition::wait (this=0xbfef30, mutex=0xbfef28, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159 #3 0x00007f8e002df181 in QHostInfoAgent::run (this=0xbfef10) at kernel/qhostinfo.cpp:260 #4 0x00007f8dfef07597 in QThreadPrivate::start (arg=0xbfef10) at thread/qthread_unix.cpp:189 #5 0x00007f8dfec93097 in start_thread () from /lib/libpthread.so.0 #6 0x00007f8dfd37577d in clone () from /lib/libc.so.6 #7 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f8dec2ea950 (LWP 3961)): #0 0x00007fff0aeba73c in clock_gettime () #1 0x00007f8df9dd81e9 in clock_gettime () from /lib/librt.so.1 #2 0x00007f8dff022dcc in QTimerInfoList::getTime (this=0xc75c20, t=@0xc75c60) at kernel/qeventdispatcher_unix.cpp:339 #3 0x00007f8dff023097 in QTimerInfoList::updateCurrentTime (this=0xc75c20) at kernel/qeventdispatcher_unix.cpp:297 #4 0x00007f8dff023749 in QTimerInfoList::timerWait (this=0xc75c20, tm=@0x7f8dec2e9ab0) at kernel/qeventdispatcher_unix.cpp:420 #5 0x00007f8dff020c1d in timerSourcePrepare (source=0xc75bc0, timeout=0x7f8dec2e9ba8) at kernel/qeventdispatcher_glib.cpp:140 #6 0x00007f8df9b0f8ca in IA__g_main_context_prepare (context=0xc57250, priority=0x7f8dec2e9ce0) at gmain.c:2464 #7 0x00007f8df9b1075c in g_main_context_iterate (context=0xc57250, block=1, dispatch=1, self=0xc46f50) at gmain.c:2758 #8 0x00007f8df9b10b3e in IA__g_main_context_iteration (context=0xc57250, may_block=1) at gmain.c:2841 #9 0x00007f8dff02055e in QEventDispatcherGlib::processEvents (this=0xc57180, flags=@0x7f8dec2e9df0) at kernel/qeventdispatcher_glib.cpp:325 #10 0x00007f8dfeff1228 in QEventLoop::processEvents (this=0x68d700, flags=@0x7f8dec2e9e50) at kernel/qeventloop.cpp:149 #11 0x00007f8dfeff1435 in QEventLoop::exec (this=0x68d700, flags=@0x7f8dec2e9ff0) at kernel/qeventloop.cpp:196 #12 0x00007f8dede3ab1b in QCA::SyncThread::run () from /usr/lib64/qca2/libqca.so.2 #13 0x00007f8dfef07597 in QThreadPrivate::start (arg=0xc87e70) at thread/qthread_unix.cpp:189 #14 0x00007f8dfec93097 in start_thread () from /lib/libpthread.so.0 #15 0x00007f8dfd37577d in clone () from /lib/libc.so.6 #16 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f8e02def760 (LWP 3456)): [KCrash Handler] #5 0x00007f8defe50357 in KopeteEmailWindow::closeView (this=0xed8130, force=false) at /var/tmp/portage/kde-base/kopete-4.2.2-r1/work/kopete-4.2.2/kopete/kopete/chatwindow/kopeteemailwindow.cpp:486 #6 0x00007f8defe503fe in KopeteEmailWindow::messageSentSuccessfully (this=0xed8130) at /var/tmp/portage/kde-base/kopete-4.2.2-r1/work/kopete-4.2.2/kopete/kopete/chatwindow/kopeteemailwindow.cpp:443 #7 0x00007f8defe50fda in KopeteEmailWindow::qt_metacall (this=0xed8130, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff0ae3b5d0) at /var/tmp/portage/kde-base/kopete-4.2.2-r1/work/kopete_build/kopete/kopete/chatwindow/kopeteemailwindow.moc:103 #8 0x00007f8dff008600 in QMetaObject::activate (sender=0xf464d0, from_signal_index=11, to_signal_index=11, argv=0x0) at kernel/qobject.cpp:3057 #9 0x00007f8dff008a47 in QMetaObject::activate (sender=0xf464d0, m=0x7f8e01d59280, local_signal_index=7, argv=0x0) at kernel/qobject.cpp:3134 #10 0x00007f8e01ac22e0 in Kopete::ChatSession::messageSuccess (this=0xf464d0) at /var/tmp/portage/kde-base/kopete-4.2.2-r1/work/kopete_build/kopete/libkopete/kopetechatsession.moc:257 #11 0x00007f8e01ac22f7 in Kopete::ChatSession::messageSucceeded (this=0xf464d0) at /var/tmp/portage/kde-base/kopete-4.2.2-r1/work/kopete-4.2.2/kopete/libkopete/kopetechatsession.cpp:275 #12 0x00007f8dee1851f6 in JabberChatSession::slotMessageSent (this=0xf464d0, message=@0x7fff0ae3bc80) at /var/tmp/portage/kde-base/kopete-4.2.2-r1/work/kopete-4.2.2/kopete/protocols/jabber/jabberchatsession.cpp:457 #13 0x00007f8dee185d3a in JabberChatSession::qt_metacall (this=0xf464d0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff0ae3bc30) at /var/tmp/portage/kde-base/kopete-4.2.2-r1/work/kopete_build/kopete/protocols/jabber/jabberchatsession.moc:79 #14 0x00007f8dff008600 in QMetaObject::activate (sender=0xf464d0, from_signal_index=9, to_signal_index=10, argv=0x7fff0ae3bc30) at kernel/qobject.cpp:3057 #15 0x00007f8dff0087fe in QMetaObject::activate (sender=0xf464d0, m=0x7f8e01d59280, from_local_signal_index=5, to_local_signal_index=6, argv=0x7fff0ae3bc30) at kernel/qobject.cpp:3154 #16 0x00007f8e01ac2423 in Kopete::ChatSession::messageSent (this=0xf464d0, _t1=@0x7fff0ae3bc80, _t2=0xf464d0) at /var/tmp/portage/kde-base/kopete-4.2.2-r1/work/kopete_build/kopete/libkopete/kopetechatsession.moc:251 #17 0x00007f8e01ac2bba in Kopete::ChatSession::sendMessage (this=0xf464d0, message=@0x7fff0ae3bd30) at /var/tmp/portage/kde-base/kopete-4.2.2-r1/work/kopete-4.2.2/kopete/libkopete/kopetechatsession.cpp:261 #18 0x00007f8df06f3002 in inject_message (opdata=0xf464d0, accountname=0xa42dd0 "milamby@gmail.com", protocol=0xa429e0 "Jabber", recipient=0x9fada0 "somebody@jabber.censored", message=0x1272b30 "���") at /var/tmp/portage/kde-base/kopete-4.2.2-r1/work/kopete-4.2.2/kopete/plugins/otr/otrlchatinterface.cpp:151 #19 0x00007f8df04de33f in otrl_message_fragment_and_send () from /usr/lib64/libotr.so.2 #20 0x00007f8df04deab1 in ?? () from /usr/lib64/libotr.so.2 #21 0x00007f8df04deeac in otrl_message_receiving () from /usr/lib64/libotr.so.2 #22 0x00007f8df06f599e in OtrlChatInterface::decryptMessage (this=0xa9e7e0, msg=0x7fff0ae3c560, accountId=@0x7fff0ae3c550, protocol=@0x7fff0ae3c590, contactId=@0x7fff0ae3c540, chatSession=0xf464d0) at /var/tmp/portage/kde-base/kopete-4.2.2-r1/work/kopete-4.2.2/kopete/plugins/otr/otrlchatinterface.cpp:388 #23 0x00007f8df090a759 in OtrMessageHandler::handleMessage (this=0xf8bf50, event=0x11fea10) at /var/tmp/portage/kde-base/kopete-4.2.2-r1/work/kopete-4.2.2/kopete/plugins/otr/otrplugin.cpp:249 #24 0x00007f8e01ae1a99 in Kopete::MessageHandler::handleMessageInternal (this=0xf8bf50, event=0x11fea10) at /var/tmp/portage/kde-base/kopete-4.2.2-r1/work/kopete-4.2.2/kopete/libkopete/kopetemessagehandler.cpp:60 #25 0x00007f8e01adfdb0 in Kopete::ProcessMessageTask::start (this=0x1276b50) at /var/tmp/portage/kde-base/kopete-4.2.2-r1/work/kopete-4.2.2/kopete/libkopete/kopetemessagehandlerchain.cpp:166 #26 0x00007f8e01adfd42 in Kopete::ProcessMessageTask::qt_metacall (this=0x1276b50, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff0ae3c780) at /var/tmp/portage/kde-base/kopete-4.2.2-r1/work/kopete_build/kopete/libkopete/kopetemessagehandlerchain.moc:112 #27 0x00007f8dff008600 in QMetaObject::activate (sender=0xf8e4e0, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3057 #28 0x00007f8dff008a47 in QMetaObject::activate (sender=0xf8e4e0, m=0x7f8dff2f9280, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3134 #29 0x00007f8dff010f06 in QSingleShotTimer::timeout (this=0xf8e4e0) at .moc/release-shared/qtimer.moc:76 #30 0x00007f8dff011027 in QSingleShotTimer::timerEvent (this=0xf8e4e0) at kernel/qtimer.cpp:298 #31 0x00007f8dff0076e2 in QObject::event (this=0xf8e4e0, e=0x7fff0ae3d100) at kernel/qobject.cpp:1073 #32 0x00007f8dfdf5b0ff in QApplicationPrivate::notify_helper (this=0x6b4110, receiver=0xf8e4e0, e=0x7fff0ae3d100) at kernel/qapplication.cpp:4084 #33 0x00007f8dfdf5b4a9 in QApplication::notify (this=0x7fff0ae3d650, receiver=0xf8e4e0, e=0x7fff0ae3d100) at kernel/qapplication.cpp:3631 #34 0x00007f8dffbea50c in KApplication::notify (this=0x7fff0ae3d650, receiver=0xf8e4e0, event=0x7fff0ae3d100) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/kdeui/kernel/kapplication.cpp:307 #35 0x00007f8dfeff41e8 in QCoreApplication::notifyInternal (this=0x7fff0ae3d650, receiver=0xf8e4e0, event=0x7fff0ae3d100) at kernel/qcoreapplication.cpp:598 #36 0x00007f8dfeff74cf in QCoreApplication::sendEvent (receiver=0xf8e4e0, event=0x7fff0ae3d100) at kernel/qcoreapplication.h:213 #37 0x00007f8dff02369a in QTimerInfoList::activateTimers (this=0x6c7130) at kernel/qeventdispatcher_unix.cpp:572 #38 0x00007f8dff020adb in timerSourceDispatch (source=0x6c70d0) at kernel/qeventdispatcher_glib.cpp:164 #39 0x00007f8df9b0eb48 in g_main_dispatch (context=0x6c6920) at gmain.c:2144 #40 0x00007f8df9b102b8 in IA__g_main_context_dispatch (context=0x6c6920) at gmain.c:2697 #41 0x00007f8df9b108fd in g_main_context_iterate (context=0x6c6920, block=1, dispatch=1, self=0x6b3cd0) at gmain.c:2778 #42 0x00007f8df9b10b3e in IA__g_main_context_iteration (context=0x6c6920, may_block=1) at gmain.c:2841 #43 0x00007f8dff020540 in QEventDispatcherGlib::processEvents (this=0x694dd0, flags=@0x7fff0ae3d4a0) at kernel/qeventdispatcher_glib.cpp:323 #44 0x00007f8dfdfff54b in QGuiEventDispatcherGlib::processEvents (this=0x694dd0, flags=@0x7fff0ae3d500) at kernel/qguieventdispatcher_glib.cpp:202 #45 0x00007f8dfeff1228 in QEventLoop::processEvents (this=0x7fff0ae3d5c0, flags=@0x7fff0ae3d560) at kernel/qeventloop.cpp:149 #46 0x00007f8dfeff1435 in QEventLoop::exec (this=0x7fff0ae3d5c0, flags=@0x7fff0ae3d5d0) at kernel/qeventloop.cpp:196 #47 0x00007f8dfeff4a06 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880 #48 0x00007f8dfdf5aefe in QApplication::exec () at kernel/qapplication.cpp:3553 #49 0x000000000044e817 in main (argc=3, argv=0x7fff0ae3e408) at /var/tmp/portage/kde-base/kopete-4.2.2-r1/work/kopete-4.2.2/kopete/kopete/main.cpp:102
This crash report is at least 3 years old and there were no further comments or status updates since then. Therefore we believe that this crash is already fixed in recent KDE 4 versions or the backtrace is no longer applicable to the current KDE 4 sources. If the crash still happens with a recent KDE version (4.10.5 or 4.11), please add an updated backtrace or provide steps to reproduce. For more information, see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports (To prevent automatic closing of this bug in the future, please set the bug status to ASSIGNED or CONFIRMED)
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 218570, bug 298681, 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
I think I have this problem, Kopete is crashing for me once I try to establish a OTR session and then I send a message to my friend, Kopete will crash just right there. How can I get a back trace? Please re-open this bug, or should I start a new one? My system info: Arch Linux x86_64 Qt: 4.8.5 KDE Development Platform: 4.12.0 Kopete: 1.6.0 Thanks.
I also wanted to say that I can reproduce this crash at will, the crash happens when I send a message, once the OTR was established or when it's in the process of being established. Let me know if you want a backtrace.
Diego, 4.12 regression when _sending_ a message is bug 328999.
Christoph, Thanks, I will report my problem in bug 328999 instead. I wasn't aware there was a thread for that issue already.