Application: kopete (1.0.80) KDE Platform Version: 4.6.00 (4.6.0) Qt Version: 4.7.0 Operating System: Linux 2.6.35-25-generic x86_64 Distribution: Ubuntu 10.10 -- Information about the crash: - What I was doing when the application crashed: I received a mesasge from a contact via Jabber. The contact uses OTR. So do I. For some reason Kopete began generating a new key. Then it crashed. This is reproducible as described above. In general Kopete and OTR seems like a very unstable combination and has been since KDE 4 was released. I use KDE 4.6 now. -- Backtrace: Application: Kopete (kopete), signal: Aborted [Current thread is 1 (Thread 0x7f3c82a7b760 (LWP 6906))] Thread 5 (Thread 0x7f3c6a660700 (LWP 6907)): #0 0x00007f3c7a6cac9d in __pthread_mutex_unlock_usercnt (mutex=0x276ddf8) at pthread_mutex_unlock.c:52 #1 __pthread_mutex_unlock (mutex=0x276ddf8) at pthread_mutex_unlock.c:290 #2 0x00007f3c79e10661 in g_main_context_check () from /lib/libglib-2.0.so.0 #3 0x00007f3c79e11023 in ?? () from /lib/libglib-2.0.so.0 #4 0x00007f3c79e1145c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #5 0x00007f3c804541e6 in QEventDispatcherGlib::processEvents (this=0x26ee2b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417 #6 0x00007f3c80426a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #7 0x00007f3c80426dec in QEventLoop::exec (this=0x7f3c6a65fdb0, flags=) at kernel/qeventloop.cpp:201 #8 0x00007f3c803312fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490 #9 0x00007f3c804065f8 in QInotifyFileSystemWatcherEngine::run (this=0x2686ab0) at io/qfilesystemwatcher_inotify.cpp:248 #10 0x00007f3c8033427e in QThreadPrivate::start (arg=0x2686ab0) at thread/qthread_unix.cpp:266 #11 0x00007f3c7a6c7971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #12 0x00007f3c7edb992d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #13 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f3c5f5db700 (LWP 6911)): #0 __pthread_mutex_lock (mutex=0x2c89118) at pthread_mutex_lock.c:125 #1 0x00007f3c79e10697 in g_main_context_check () from /lib/libglib-2.0.so.0 #2 0x00007f3c79e11023 in ?? () from /lib/libglib-2.0.so.0 #3 0x00007f3c79e1145c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #4 0x00007f3c804541e6 in QEventDispatcherGlib::processEvents (this=0x2c89020, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417 #5 0x00007f3c80426a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #6 0x00007f3c80426dec in QEventLoop::exec (this=0x2c8b2b0, flags=) at kernel/qeventloop.cpp:201 #7 0x00007f3c61e5f613 in QCA::SyncThread::run() () from /usr/lib/libqca.so.2 #8 0x00007f3c8033427e in QThreadPrivate::start (arg=0x2c87390) at thread/qthread_unix.cpp:266 #9 0x00007f3c7a6c7971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #10 0x00007f3c7edb992d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f3c5edda700 (LWP 6912)): #0 __pthread_mutex_lock (mutex=0x2e41b38) at pthread_mutex_lock.c:47 #1 0x00007f3c79e0d190 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #2 0x00007f3c79e112a8 in ?? () from /lib/libglib-2.0.so.0 #3 0x00007f3c79e1145c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #4 0x00007f3c804541e6 in QEventDispatcherGlib::processEvents (this=0x2da4250, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417 #5 0x00007f3c80426a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #6 0x00007f3c80426dec in QEventLoop::exec (this=0x2da75d0, flags=) at kernel/qeventloop.cpp:201 #7 0x00007f3c622bbe05 in XMPP::SyncThread::run (this=0x2e414b0) at ../../../../../kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151 #8 0x00007f3c8033427e in QThreadPrivate::start (arg=0x2e414b0) at thread/qthread_unix.cpp:266 #9 0x00007f3c7a6c7971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #10 0x00007f3c7edb992d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f3c5b2ee700 (LWP 6923)): #0 0x00007f3c7edab78d in write () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007f3c7ed46063 in _IO_new_file_write (f=0x7f3c7f050860, data=0x7f3c5b2eaad0, n=36) at fileops.c:1276 #2 0x00007f3c7ed45f2a in new_do_write (f=0x7f3c7f050860, data=<value optimized out>, n=36) at fileops.c:530 #3 _IO_new_file_xsputn (f=0x7f3c7f050860, data=<value optimized out>, n=36) at fileops.c:1370 #4 0x00007f3c7ed1db41 in buffered_vfprintf (s=0x7f3c7f050860, format=<value optimized out>, args=<value optimized out>) at vfprintf.c:2275 #5 0x00007f3c7ed1884e in _IO_vfprintf_internal (s=0x7f3c7f050860, format=0x7f3c62a0e099 "select() error: %s\n", ap=0x7f3c5b2ed310) at vfprintf.c:1306 #6 0x00007f3c7edd10b7 in ___vfprintf_chk (fp=0x7f3c7f050860, flag=1, format=0x7f3c5b2ee700 "", ap=0x24) at vfprintf_chk.c:35 #7 0x00007f3c629ac434 in vfprintf (level=30, fmt=0x7f3c62a0e099 "select() error: %s\n", arg_ptr=0x7f3c5b2ed310) at //usr/include/bits/stdio2.h:128 #8 _gcry_logv (level=30, fmt=0x7f3c62a0e099 "select() error: %s\n", arg_ptr=0x7f3c5b2ed310) at misc.c:132 #9 0x00007f3c629ac8e5 in _gcry_log_error (fmt=0x7f3c5b2eaad0 "select() error: Bad file descriptor\n") at misc.c:216 #10 0x00007f3c629ed17d in _gcry_rndlinux_gather_random (add=<value optimized out>, origin=<value optimized out>, length=273, level=<value optimized out>) at rndlinux.c:144 #11 0x00007f3c629ea490 in read_random_source (orgin=<value optimized out>, length=<value optimized out>, level=<value optimized out>) at random-csprng.c:1272 #12 0x00007f3c629eb98e in read_pool (buffer=<value optimized out>, length=<value optimized out>, level=GCRY_VERY_STRONG_RANDOM) at random-csprng.c:977 #13 _gcry_rngcsprng_randomize (buffer=<value optimized out>, length=<value optimized out>, level=GCRY_VERY_STRONG_RANDOM) at random-csprng.c:551 #14 0x00007f3c629ea1ff in _gcry_random_bytes_secure (nbytes=20, level=GCRY_VERY_STRONG_RANDOM) at random.c:203 #15 0x00007f3c629dc4c0 in generate (sk=0x7f3c5b2ed970, nbits=<value optimized out>, qbits=160, transient_key=<value optimized out>, domain=<value optimized out>, ret_factors=<value optimized out>) at dsa.c:338 #16 0x00007f3c629dd231 in dsa_generate_ext (algo=<value optimized out>, nbits=1024, evalue=<value optimized out>, genparms=0x0, skey=0x7f3c5b2edbd0, retfactors=0x7f3c5b2edc40, r_extrainfo=0x7f3c5b2edc38) at dsa.c:825 #17 0x00007f3c629b8334 in pubkey_generate (r_key=0x7f3c5b2edce8, s_parms=<value optimized out>) at pubkey.c:562 #18 _gcry_pk_genkey (r_key=0x7f3c5b2edce8, s_parms=<value optimized out>) at pubkey.c:2183 #19 0x00007f3c62c1febf in otrl_privkey_generate_FILEp () from /usr/lib/libotr.so.2 #20 0x00007f3c62c2001d in otrl_privkey_generate () from /usr/lib/libotr.so.2 #21 0x00007f3c62e3be2e in KeyGenThread::run (this=<value optimized out>) at ../../../../kopete/plugins/otr/otrlchatinterface.cpp:802 #22 0x00007f3c8033427e in QThreadPrivate::start (arg=0x3998550) at thread/qthread_unix.cpp:266 #23 0x00007f3c7a6c7971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #24 0x00007f3c7edb992d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #25 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f3c82a7b760 (LWP 6906)): [KCrash Handler] #6 0x00007f3c7ed06ba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #7 0x00007f3c7ed0a6b0 in abort () at abort.c:92 #8 0x00007f3c7ecffa71 in __assert_fail (assertion=0x7f3c629f6de1 "*lock == ((ath_mutex_t) 0)", file=<value optimized out>, line=193, function=0x7f3c629f6e20 "_gcry_ath_mutex_lock") at assert.c:81 #9 0x00007f3c629b3a7a in _gcry_ath_mutex_lock (lock=0x7f3c62c1a970) at ath.c:193 #10 0x00007f3c629ea440 in lock_pool () at random-csprng.c:298 #11 0x00007f3c629ea58e in initialize () at random-csprng.c:327 #12 0x00007f3c629eb63e in _gcry_rngcsprng_randomize (buffer=0x1afa, length=6906, level=6) at random-csprng.c:514 #13 0x00007f3c629ea1ff in _gcry_random_bytes_secure (nbytes=40, level=GCRY_STRONG_RANDOM) at random.c:203 #14 0x00007f3c62c231e8 in otrl_dh_gen_keypair () from /usr/lib/libotr.so.2 #15 0x00007f3c62c2926f in otrl_auth_start_v2 () from /usr/lib/libotr.so.2 #16 0x00007f3c62c24bca in otrl_message_receiving () from /usr/lib/libotr.so.2 #17 0x00007f3c62e3cc7c in OtrlChatInterface::decryptMessage (this=<value optimized out>, msg=<value optimized out>, accountId=..., protocol=..., contactId=<value optimized out>, chatSession=0x2f526c0) at ../../../../kopete/plugins/otr/otrlchatinterface.cpp:388 #18 0x00007f3c63052646 in OtrMessageHandler::handleMessage (this=0x388e010, event=0x388de70) at ../../../../kopete/plugins/otr/otrplugin.cpp:304 #19 0x00007f3c8211c572 in Kopete::ProcessMessageTask::qt_metacall (this=0x2860600, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./kopetemessagehandlerchain.moc:124 #20 0x00007f3c80439bde in QObject::event (this=0x2860600, e=0x1afa) at kernel/qobject.cpp:1219 #21 0x00007f3c7f513fdc in QApplicationPrivate::notify_helper (this=0x21f3b20, receiver=0x2860600, e=0x273faf0) at kernel/qapplication.cpp:4396 #22 0x00007f3c7f519aed in QApplication::notify (this=0x7fff552021a0, receiver=0x2860600, e=0x273faf0) at kernel/qapplication.cpp:4277 #23 0x00007f3c80eb1a36 in KApplication::notify (this=0x7fff552021a0, receiver=0x2860600, event=0x273faf0) at ../../kdeui/kernel/kapplication.cpp:311 #24 0x00007f3c80427cdc in QCoreApplication::notifyInternal (this=0x7fff552021a0, receiver=0x2860600, event=0x273faf0) at kernel/qcoreapplication.cpp:732 #25 0x00007f3c8042ac22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x21a4c90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x21a4c90) at kernel/qcoreapplication.cpp:1373 #27 0x00007f3c80454653 in sendPostedEvents (s=0x21e7ac0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #28 postEventSourceDispatch (s=0x21e7ac0) at kernel/qeventdispatcher_glib.cpp:277 #29 0x00007f3c79e0d342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #30 0x00007f3c79e112a8 in ?? () from /lib/libglib-2.0.so.0 #31 0x00007f3c79e1145c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #32 0x00007f3c80454193 in QEventDispatcherGlib::processEvents (this=0x21a43e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415 #33 0x00007f3c7f5c6a4e in QGuiEventDispatcherGlib::processEvents (this=0x1afa, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #34 0x00007f3c8042afb7 in QCoreApplication::processEvents (flags=) at kernel/qcoreapplication.cpp:952 #35 0x00007f3c62e39c55 in create_privkey (opdata=<value optimized out>, accountname=0x25fa270 "thomasdn@gmail.com", protocol=<value optimized out>) at ../../../../kopete/plugins/otr/otrlchatinterface.cpp:108 #36 0x00007f3c62c25182 in otrl_message_receiving () from /usr/lib/libotr.so.2 #37 0x00007f3c62e3cc7c in OtrlChatInterface::decryptMessage (this=<value optimized out>, msg=<value optimized out>, accountId=..., protocol=..., contactId=<value optimized out>, chatSession=0x2f526c0) at ../../../../kopete/plugins/otr/otrlchatinterface.cpp:388 #38 0x00007f3c63052646 in OtrMessageHandler::handleMessage (this=0x388e010, event=0x3904f20) at ../../../../kopete/plugins/otr/otrplugin.cpp:304 #39 0x00007f3c8211c572 in Kopete::ProcessMessageTask::qt_metacall (this=0x3a46eb0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./kopetemessagehandlerchain.moc:124 #40 0x00007f3c80439bde in QObject::event (this=0x3a46eb0, e=0x1afa) at kernel/qobject.cpp:1219 #41 0x00007f3c7f513fdc in QApplicationPrivate::notify_helper (this=0x21f3b20, receiver=0x3a46eb0, e=0x396b3e0) at kernel/qapplication.cpp:4396 #42 0x00007f3c7f519aed in QApplication::notify (this=0x7fff552021a0, receiver=0x3a46eb0, e=0x396b3e0) at kernel/qapplication.cpp:4277 #43 0x00007f3c80eb1a36 in KApplication::notify (this=0x7fff552021a0, receiver=0x3a46eb0, event=0x396b3e0) at ../../kdeui/kernel/kapplication.cpp:311 #44 0x00007f3c80427cdc in QCoreApplication::notifyInternal (this=0x7fff552021a0, receiver=0x3a46eb0, event=0x396b3e0) at kernel/qcoreapplication.cpp:732 #45 0x00007f3c8042ac22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x21a4c90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #46 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x21a4c90) at kernel/qcoreapplication.cpp:1373 #47 0x00007f3c80454653 in sendPostedEvents (s=0x21e7ac0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #48 postEventSourceDispatch (s=0x21e7ac0) at kernel/qeventdispatcher_glib.cpp:277 #49 0x00007f3c79e0d342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #50 0x00007f3c79e112a8 in ?? () from /lib/libglib-2.0.so.0 #51 0x00007f3c79e1145c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #52 0x00007f3c80454193 in QEventDispatcherGlib::processEvents (this=0x21a43e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415 #53 0x00007f3c7f5c6a4e in QGuiEventDispatcherGlib::processEvents (this=0x1afa, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #54 0x00007f3c80426a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #55 0x00007f3c80426dec in QEventLoop::exec (this=0x7fff552020f0, flags=) at kernel/qeventloop.cpp:201 #56 0x00007f3c8042aebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #57 0x0000000000414432 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kopete/kopete/main.cpp:105 This bug may be a duplicate of or related to bug 265171. Possible duplicates by query: bug 265171, bug 254591, bug 244432, bug 238868. Reported using DrKonqi
Created attachment 68351 [details] New crash information added by DrKonqi kopete (1.1.3) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4 - What I was doing when the application crashed: Tried to start using OTR in Ubuntu 11.10. Same problem. - Custom settings of the application: No special settings, except that I turned OTR on. -- Backtrace (Reduced): #17 0xaf952d23 in gcry_random_bytes_secure () from /lib/i386-linux-gnu/libgcrypt.so.11 #18 0xaf9d8afc in otrl_dh_gen_keypair () from /usr/lib/libotr.so.2 #19 0xaf9ddbb2 in otrl_auth_start_v2 () from /usr/lib/libotr.so.2 #20 0xaf9db531 in otrl_message_receiving () from /usr/lib/libotr.so.2 #21 0xaf9f1490 in OtrlChatInterface::decryptMessage (this=0x9774b00, msg=0xbfd4cdcc, accountId=..., protocol=..., contactId=..., chatSession=0x9b34450) at ../../../../kopete/plugins/otr/otrlchatinterface.cpp:388
*** This bug has been marked as a duplicate of bug 218570 ***