Summary: | Kopete crashes when trying to generate keys for off the record (OTR) plugin [assert, libgcrypt, otrl_dh_gen_keypair, .., otrl_message_receiving, OtrlChatInterface::decryptMessage] | ||
---|---|---|---|
Product: | [Unmaintained] kopete | Reporter: | papierfalter <papierfalter> |
Component: | OTR Plugin | Assignee: | Kopete Developers <kopete-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andresbajotierra, carl.gaudreault, christian.blaicher, ivan, jorgegarciar, joshlukas, kde, kdebugs1, m.wege, mue.nicolas, pali.rohar, richard-bugs, thomasdn, ubuntu, volker27 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kopete/b977f1f701afd1f9192f35e0263f2f1c04bef53e | Version Fixed In: | 4.12 |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi New crash information added by DrKonqi |
Description
papierfalter
2009-12-13 21:39:44 UTC
From bug 220973: --- What I was doing when the application crashed: When I'm sending a message to my buddy via Jabber Kopete crashes. Me and my buddy are using Kopete with OTR. Jabber works fine when OTR is disabled on both sides. Thread 1 (Thread 0xb54f16d0 (LWP 5563)): [KCrash Handler] #6 0xffffe430 in __kernel_vsyscall () #7 0xb5f39900 in raise () from /lib/libc.so.6 #8 0xb5f3b238 in abort () from /lib/libc.so.6 #9 0xb5f3270e in __assert_fail () from /lib/libc.so.6 #10 0xb2ea090c in _gcry_ath_mutex_lock (lock=0xb2efc408) at ath.c:186 #11 0xb2eaf070 in lock_pool () at random.c:299 #12 0xb2eaf20c in initialize () at random.c:328 #13 0xb2eb0a42 in _gcry_random_bytes_secure (nbytes=40, level=GCRY_STRONG_RANDOM) at random.c:542 #14 0xb2e98d34 in gcry_random_bytes_secure (nbytes=40, level=GCRY_STRONG_RANDOM) at visibility.c:1074 #15 0xb2f0525b in otrl_dh_gen_keypair () from /usr/lib/libotr.so.2 #16 0xb2f0b66e in otrl_auth_start_v2 () from /usr/lib/libotr.so.2 #17 0xb2f06a6d in otrl_message_receiving () from /usr/lib/libotr.so.2 #18 0xb2f1c334 in OtrlChatInterface::decryptMessage () from /usr/lib/libkopete_otr_shared.so.1 #19 0xb2f5cc0e in ?? () from /usr/lib/kde4/kopete_otr.so #20 0xb7d72e94 in Kopete::MessageHandler::handleMessageInternal () from /usr/lib/libkopete.so.4 ... *** Bug 220973 has been marked as a duplicate of this bug. *** *** Bug 223263 has been marked as a duplicate of this bug. *** *** Bug 225483 has been marked as a duplicate of this bug. *** *** Bug 238868 has been marked as a duplicate of this bug. *** *** Bug 244432 has been marked as a duplicate of this bug. *** From Bug 244432 : Thread 1 (Thread 0x7fb3d1e56820 (LWP 3209)): [KCrash Handler] #6 0x0000003ca8633935 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #7 0x0000003ca8635115 in abort () at abort.c:92 #8 0x0000003ca862c8c5 in __assert_fail (assertion=0x7fb3c413f561 "*lock == ((ath_mutex_t) 0)", file=<value optimized out>, line=193, function=<value optimized out>) at assert.c:81 #9 0x00007fb3c40fe27a in _gcry_ath_mutex_lock (lock=0x7fb3c43624f0) at ath.c:193 #10 0x00007fb3c4132b90 in lock_pool () at random-csprng.c:298 #11 0x00007fb3c4132cde in initialize () at random-csprng.c:327 #12 0x00007fb3c4133d7e in _gcry_rngcsprng_randomize (buffer=0x37fdac8, length=<value optimized out>, level=GCRY_STRONG_RANDOM) at random-csprng.c:514 #13 0x00007fb3c413294f in _gcry_random_bytes_secure (nbytes=40, level=GCRY_STRONG_RANDOM) at random.c:203 #14 0x0000003ca8208868 in otrl_dh_gen_keypair (groupid=<value optimized out>, kp=0x3819658) at dh.c:105 #15 0x0000003ca820e8af in otrl_auth_start_v2 (auth=0x3819650) at auth.c:115 #16 0x0000003ca820a1c0 in otrl_message_receiving (us=0x22070a0, ops=0x7fb3c457b960, opdata=0x23194b0, accountname=0x3819bf8 "carl.gaudreault@gmail.com", protocol=0x255b2c8 "Jabber", sender= 0x3809668 "tinmachin3@gmail.com", message=0x3816238 "weird :S \t \t\t\t\t \t \t \t \t \t \t \t\t \t ", newmessagep=0x7fff4fcdc488, tlvsp=0x7fff4fcdc480, add_appdata=0, data=0x0) at message.c:1248 #17 0x00007fb3c436f93c in OtrlChatInterface::decryptMessage (this=0x22ab380, msg=0x7fff4fcdc6b0, accountId=..., protocol=..., contactId=..., chatSession=0x23194b0) at /usr/src/debug/kdenetwork-4.4.92/kopete/plugins/otr/otrlchatinterface.cpp:388 #18 0x00007fb3c458479f in OtrMessageHandler::handleMessage (this=0x3802110, event=0x2f6d870) at /usr/src/debug/kdenetwork-4.4.92/kopete/plugins/otr/otrplugin.cpp:304 #19 0x000000305f2c0fe2 in Kopete::ProcessMessageTask::qt_metacall (this=0x3100f90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at /usr/src/debug/kdenetwork-4.4.92/x86_64-redhat-linux-gnu/kopete/libkopete/kopetemessagehandlerchain.moc:124 #20 0x000000305476f0ca in QObject::event (this=0x3100f90, e=<value optimized out>) at kernel/qobject.cpp:1211 Created attachment 56257 [details]
New crash information added by DrKonqi
kopete (1.0.80) on KDE Platform 4.5.5 (KDE 4.5.5) using Qt 4.7.0
kopete crashed while generating a key during a chat session. while generating the key before the crash, i was unable to type in any chat windows, even for other contacts from other accounts.
-- Backtrace (Reduced):
#8 0x00007fba287cda71 in __assert_fail (assertion=0x7fba08d05de1 "*lock == ((ath_mutex_t) 0)", file=<value optimized out>, line=193, function=0x7fba08d05e20 "_gcry_ath_mutex_lock") at assert.c:81
#9 0x00007fba08cc2a7a in _gcry_ath_mutex_lock (lock=0x7fba08f29970) at ath.c:193
#10 0x00007fba08cf9440 in lock_pool () at random-csprng.c:298
#11 0x00007fba08cf9f3e in _gcry_rngcsprng_fast_poll () at random-csprng.c:1255
#12 0x00007fba08cce802 in md_open (h=0x7fff072cf3d8, algo=2, secure=<value optimized out>, hmac=<value optimized out>) at md.c:499
(In reply to comment #8) > kopete (1.0.80) on KDE Platform 4.5.5 (KDE 4.5.5) using Qt 4.7.0 > > kopete crashed while generating a key during a chat session. while generating > the key before the crash, i was unable to type in any chat windows, even for > other contacts from other accounts. however, next time i tried to chat with the same contact on the same account, i witnessed the same disabled typing problem, but the key generation succeeded. i can't think of anything i did differently except that this time i had debugging symbols installed via Kubuntu packages (but i think these are split-out debug symbols). Created attachment 66811 [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:
I started a conversation with a contact which has OTR plugin (for pidgin). He started a request of OTR before me and my Kopete crashed while generating the key.
- Custom settings of the application:
OTR plugin on, Jabber account
-- Backtrace (Reduced):
#6 0x00007f1e7e1c73a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7 0x00007f1e7e1cab0b in __GI_abort () at abort.c:92
#8 0x00007f1e7e1bfd4d in __GI___assert_fail (assertion=0x7f1e63dd9866 "*lock == ((ath_mutex_t) 0)", file=<optimized out>, line=193, function=<optimized out>) at assert.c:81
[...]
#11 0x00007f1e681090c7 in otrl_privkey_generate_FILEp () from /usr/lib/libotr.so.2
#12 0x00007f1e6810921d in otrl_privkey_generate () from /usr/lib/libotr.so.2
*** Bug 254591 has been marked as a duplicate of this bug. *** *** Bug 265171 has been marked as a duplicate of this bug. *** *** Bug 265276 has been marked as a duplicate of this bug. *** *** Bug 266311 has been marked as a duplicate of this bug. *** Created attachment 75725 [details]
New crash information added by DrKonqi
kopete (1.3.3) on KDE Platform 4.9.3 using Qt 4.8.4
I was starting a new conversation, when Kopete said that it would generate a private key (for OTR). After a few seconds (probably when the key was generated), it crashed.
-- Backtrace (Reduced):
#9 0x00000037864106fd in _gcry_ath_mutex_lock () from /lib64/libgcrypt.so.11
#10 0x0000003786447bb0 in lock_pool () from /lib64/libgcrypt.so.11
#11 0x000000378644813e in initialize () from /lib64/libgcrypt.so.11
#12 0x00000037864489bb in _gcry_rngcsprng_randomize () from /lib64/libgcrypt.so.11
#13 0x000000378644791f in _gcry_random_bytes_secure () from /lib64/libgcrypt.so.11
For me, it didn't crash anymore after installing kopete-cryptography (which was not installed by default with Kopete on Fedora 18 beta). 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 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 *** Bug 257265 has been marked as a duplicate of this bug. *** |