Bug 328171 - Kopete crashes while creating OTR private key
Summary: Kopete crashes while creating OTR private key
Status: RESOLVED DUPLICATE of bug 318255
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: 1.5.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-11-28 09:57 UTC by Bernd Müller
Modified: 2013-11-28 13:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Müller 2013-11-28 09:57:54 UTC
Application: kopete (1.5.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.5
Operating System: Linux 3.11.6-4-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

-- Information about the crash:
Hi!

While creating a private Key, Kopetet crahes.
I think that this bug, has been reportet already, so this report could be seen as a dublicate.

Cherrs

-- Backtrace:
Application: Kopete (kopete), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa804f11880 (LWP 1571))]

Thread 4 (Thread 0x7fa7e9dac700 (LWP 1965)):
#0  0x00007ffff4bfe7c2 in clock_gettime ()
#1  0x00007fa8012aba0d in clock_gettime () from /lib64/libc.so.6
#2  0x00007fa80287fe47 in do_gettime (frac=0x7fa7e9daba70, sec=0x7fa7e9daba68) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x00007fa802959405 in updateCurrentTime (this=0x7fa7e4002860) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0x7fa7e4002860, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0x00007fa802957bac in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fa7e9dabb24) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fa802957c55 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fa7fbbe2c6d in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007fa7fbbe34e3 in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fa7fbbe36cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007fa802957d76 in QEventDispatcherGlib::processEvents (this=0x7fa7e40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#12 0x00007fa802929d0f in QEventLoop::processEvents (this=this@entry=0x7fa7e40013c0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fa80292a005 in QEventLoop::exec (this=0x7fa7e40013c0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007fa7ea7eacd6 in QCA::SyncThread::run() () from /usr/lib64/libqca.so.2
#15 0x00007fa80282b68f in QThreadPrivate::start (arg=0x279c200) at thread/qthread_unix.cpp:338
#16 0x00007fa800d350db in start_thread () from /lib64/libpthread.so.0
#17 0x00007fa80129e90d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fa7e95ab700 (LWP 1966)):
#0  0x00007ffff4bfe7c2 in clock_gettime ()
#1  0x00007fa8012aba0d in clock_gettime () from /lib64/libc.so.6
#2  0x00007fa80287fe47 in do_gettime (frac=0x7fa7e95aaa50, sec=0x7fa7e95aaa48) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x00007fa802959089 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fa7dc002660) at kernel/qeventdispatcher_unix.cpp:354
#5  0x00007fa802957f57 in timerSourceCheckHelper (src=0x7fa7dc002600) at kernel/qeventdispatcher_glib.cpp:150
#6  0x00007fa7fbbe3041 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#7  0x00007fa7fbbe355b in ?? () from /usr/lib64/libglib-2.0.so.0
#8  0x00007fa7fbbe36cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#9  0x00007fa802957d76 in QEventDispatcherGlib::processEvents (this=0x7fa7dc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#10 0x00007fa802929d0f in QEventLoop::processEvents (this=this@entry=0x7fa7e95aac70, flags=...) at kernel/qeventloop.cpp:149
#11 0x00007fa80292a005 in QEventLoop::exec (this=this@entry=0x7fa7e95aac70, flags=...) at kernel/qeventloop.cpp:204
#12 0x00007fa802828fef in QThread::exec (this=this@entry=0x27a41f0) at thread/qthread.cpp:536
#13 0x00007fa7eac48f45 in XMPP::NetTrackerThread::run (this=0x27a41f0) at /usr/src/debug/kopete-4.11.2/protocols/jabber/libiris/src/irisnet/corelib/netinterface.cpp:168
#14 0x00007fa80282b68f in QThreadPrivate::start (arg=0x27a41f0) at thread/qthread_unix.cpp:338
#15 0x00007fa800d350db in start_thread () from /lib64/libpthread.so.0
#16 0x00007fa80129e90d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fa7e2ebc700 (LWP 2216)):
#0  0x00007fa801297913 in select () from /lib64/libc.so.6
#1  0x00007fa7eb374ffc in _gcry_rndlinux_gather_random (add=0x7fa7eb372790 <add_randomness>, origin=RANDOM_ORIGIN_EXTRAPOLL, length=167, level=2) at rndlinux.c:183
#2  0x00007fa7eb372500 in read_random_source (orgin=orgin@entry=RANDOM_ORIGIN_EXTRAPOLL, length=length@entry=300, level=level@entry=2) at random-csprng.c:1283
#3  0x00007fa7eb373612 in read_pool (level=2, length=<optimized out>, buffer=0x7fa7d8003e78 "x") at random-csprng.c:980
#4  _gcry_rngcsprng_randomize (buffer=buffer@entry=0x7fa7d8003e78, length=<optimized out>, length@entry=20, level=<optimized out>, level@entry=GCRY_VERY_STRONG_RANDOM) at random-csprng.c:551
#5  0x00007fa7eb3720d8 in do_randomize (buffer=buffer@entry=0x7fa7d8003e78, length=length@entry=20, level=level@entry=GCRY_VERY_STRONG_RANDOM) at random.c:174
#6  0x00007fa7eb3722e0 in _gcry_random_bytes_secure (nbytes=nbytes@entry=20, level=GCRY_VERY_STRONG_RANDOM) at random.c:203
#7  0x00007fa7eb3650ea in generate (ret_factors=0x7fa7e2ebba90, domain=0x7fa7e2ebb950, transient_key=<optimized out>, qbits=160, nbits=<optimized out>, sk=0x7fa7e2ebb990) at dsa.c:350
#8  dsa_generate_ext (algo=<optimized out>, nbits=<optimized out>, evalue=<optimized out>, genparms=<optimized out>, skey=0x7fa7e2ebbaa0, retfactors=0x7fa7e2ebba90, r_extrainfo=0x7fa7e2ebba98) at dsa.c:837
#9  0x00007fa7eb33e614 in pubkey_generate (r_extrainfo=0x7fa7e2ebba98, retfactors=0x7fa7e2ebba90, skey=0x7fa7e2ebbaa0, genparms=0x7fa7d8002968, use_e=65537, nbits=1024, algorithm=17) at pubkey.c:564
#10 _gcry_pk_genkey (r_key=r_key@entry=0x7fa7e2ebbc80, s_parms=<optimized out>) at pubkey.c:3525
#11 0x00007fa7eb330491 in gcry_pk_genkey (r_key=r_key@entry=0x7fa7e2ebbc80, s_parms=<optimized out>) at visibility.c:687
#12 0x00007fa7eb5ad87f in otrl_privkey_generate_FILEp (us=us@entry=0x22f90c0, privf=privf@entry=0x7fa7d8002b30, accountname=accountname@entry=0x7fa7d8002938 "oberaffe@80.152.207.181", protocol=protocol@entry=0x7fa7d80013d8 "Jabber") at privkey.c:440
#13 0x00007fa7eb5ad9c8 in otrl_privkey_generate (us=0x22f90c0, filename=<optimized out>, accountname=0x7fa7d8002938 "oberaffe@80.152.207.181", protocol=0x7fa7d80013d8 "Jabber") at privkey.c:412
#14 0x00007fa7eb7cb4a2 in KeyGenThread::run (this=<optimized out>) at /usr/src/debug/kopete-4.11.2/plugins/otr/otrlchatinterface.cpp:802
#15 0x00007fa80282b68f in QThreadPrivate::start (arg=0x2c21b40) at thread/qthread_unix.cpp:338
#16 0x00007fa800d350db in start_thread () from /lib64/libpthread.so.0
#17 0x00007fa80129e90d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fa804f11880 (LWP 1571)):
[KCrash Handler]
#6  0x00007fa8011ec849 in raise () from /lib64/libc.so.6
#7  0x00007fa8011edcd8 in abort () from /lib64/libc.so.6
#8  0x00007fa8011e5616 in __assert_fail_base () from /lib64/libc.so.6
#9  0x00007fa8011e56c2 in __assert_fail () from /lib64/libc.so.6
#10 0x00007fa7eb3388ed in _gcry_ath_mutex_lock (lock=0x7fa7eb5a6dc0 <pool_lock>) at ath.c:193
#11 0x00007fa7eb372970 in lock_pool () at random-csprng.c:298
#12 0x00007fa7eb372a6e in initialize () at random-csprng.c:327
#13 0x00007fa7eb3732d0 in _gcry_rngcsprng_randomize (buffer=buffer@entry=0x2b28cb8, length=length@entry=40, level=level@entry=GCRY_STRONG_RANDOM) at random-csprng.c:514
#14 0x00007fa7eb3720d8 in do_randomize (buffer=buffer@entry=0x2b28cb8, length=length@entry=40, level=level@entry=GCRY_STRONG_RANDOM) at random.c:174
#15 0x00007fa7eb3722e0 in _gcry_random_bytes_secure (nbytes=nbytes@entry=40, level=level@entry=GCRY_STRONG_RANDOM) at random.c:203
#16 0x00007fa7eb330dcd in gcry_random_bytes_secure (nbytes=nbytes@entry=40, level=level@entry=GCRY_STRONG_RANDOM) at visibility.c:1267
#17 0x00007fa7eb5b03b2 in otrl_dh_gen_keypair (groupid=groupid@entry=5, kp=kp@entry=0x2a88798) at dh.c:105
#18 0x00007fa7eb5b3f6b in otrl_auth_start_v2 (auth=auth@entry=0x2a88790) at auth.c:115
#19 0x00007fa7eb5b298a in otrl_message_receiving (us=<optimized out>, ops=0x7fa7eb9d4680 <ui_ops>, opdata=0x2b54af0, accountname=0x2c203c8 "oberaffe@80.152.207.181", protocol=0x2c7c4a8 "Jabber", sender=0x2c7bbb8 "vollmilchaffe@80.152.207.181", message=0x2c7e5a8 "b\303\244da? \t  \t\t\t\t \t \t \t    \t\t  \t   \t\t  \t\t", newmessagep=0x7ffff4aed610, tlvsp=0x7ffff4aed618, add_appdata=0x0, data=0x0) at message.c:1248
#20 0x00007fa7eb7c9550 in OtrlChatInterface::decryptMessage (this=0x24a4eb0, msg=msg@entry=0x7ffff4aed6a0, accountId=..., protocol=..., contactId=..., chatSession=chatSession@entry=0x2b54af0) at /usr/src/debug/kopete-4.11.2/plugins/otr/otrlchatinterface.cpp:388
#21 0x00007fa7eb9de97d in OtrMessageHandler::handleMessage (this=0x2b8dd90, event=0x2c7dd30) at /usr/src/debug/kopete-4.11.2/plugins/otr/otrplugin.cpp:304
#22 0x00007fa80294311e in QObject::event (this=0x2c200b0, e=<optimized out>) at kernel/qobject.cpp:1203
#23 0x00007fa801a4b8ac in QApplicationPrivate::notify_helper (this=this@entry=0x20dceb0, receiver=receiver@entry=0x2c200b0, e=e@entry=0x2c829c0) at kernel/qapplication.cpp:4562
#24 0x00007fa801a51e70 in QApplication::notify (this=this@entry=0x7ffff4aee7e0, receiver=receiver@entry=0x2c200b0, e=e@entry=0x2c829c0) at kernel/qapplication.cpp:4348
#25 0x00007fa80339318a in KApplication::notify (this=0x7ffff4aee7e0, receiver=0x2c200b0, event=0x2c829c0) at /usr/src/debug/kdelibs-4.11.2/kdeui/kernel/kapplication.cpp:311
#26 0x00007fa80292b0ad in QCoreApplication::notifyInternal (this=0x7ffff4aee7e0, receiver=receiver@entry=0x2c200b0, event=event@entry=0x2c829c0) at kernel/qcoreapplication.cpp:949
#27 0x00007fa80292e0ff in sendEvent (event=0x2c829c0, receiver=0x2c200b0) at kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x20831f0) at kernel/qcoreapplication.cpp:1573
#29 0x00007fa80292e5a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1466
#30 0x00007fa802958493 in sendPostedEvents () at kernel/qcoreapplication.h:236
#31 postEventSourceDispatch (s=0x20dcdf0) at kernel/qeventdispatcher_glib.cpp:280
#32 0x00007fa7fbbe32d6 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#33 0x00007fa7fbbe3628 in ?? () from /usr/lib64/libglib-2.0.so.0
#34 0x00007fa7fbbe36cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#35 0x00007fa802957d55 in QEventDispatcherGlib::processEvents (this=0x2088a70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#36 0x00007fa801ae8936 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007fa80292e67a in QCoreApplication::processEvents (flags=..., maxtime=maxtime@entry=100) at kernel/qcoreapplication.cpp:1164
#38 0x00007fa7eb7c8db5 in create_privkey (opdata=<optimized out>, accountname=0x28b0c20 "oberaffe@80.152.207.181", protocol=0x20c4220 "Jabber") at /usr/src/debug/kopete-4.11.2/plugins/otr/otrlchatinterface.cpp:108
#39 0x00007fa7eb5b31c1 in otrl_message_receiving (us=0x22f90c0, ops=0x7fa7eb9d4680 <ui_ops>, opdata=0x2b54af0, accountname=0x2c44248 "oberaffe@80.152.207.181", protocol=0x2c1b5b8 "Jabber", sender=<optimized out>, message=0x2c1fc38 "?OTR:AAIKAAAAwANee44c+d83txtzapVoWq6SMn8oxyYcGVjGotIiq+hqGpdswkMbp1ZxdQJABE4a6WL/BuW7owMCvyLFwBPLrP2jhdjGhRTM/9Q/sfNAzibBQ3j2qanQsy1JeRFEV0P3enWgJEiOIX+F+v5AxkDUni6BrKTaqcD9qt5VHFwqbtcMS3Q0qURdQvt0kAT"..., newmessagep=0x7ffff4aedf70, tlvsp=0x7ffff4aedf78, add_appdata=0x0, data=0x0) at message.c:819
#40 0x00007fa7eb7c9550 in OtrlChatInterface::decryptMessage (this=0x24a4eb0, msg=msg@entry=0x7ffff4aee000, accountId=..., protocol=..., contactId=..., chatSession=chatSession@entry=0x2b54af0) at /usr/src/debug/kopete-4.11.2/plugins/otr/otrlchatinterface.cpp:388
#41 0x00007fa7eb9de97d in OtrMessageHandler::handleMessage (this=0x2b8dd90, event=0x2b931f0) at /usr/src/debug/kopete-4.11.2/plugins/otr/otrplugin.cpp:304
#42 0x00007fa80294311e in QObject::event (this=0x2b90760, e=<optimized out>) at kernel/qobject.cpp:1203
#43 0x00007fa801a4b8ac in QApplicationPrivate::notify_helper (this=this@entry=0x20dceb0, receiver=receiver@entry=0x2b90760, e=e@entry=0x2c43fb0) at kernel/qapplication.cpp:4562
#44 0x00007fa801a51e70 in QApplication::notify (this=this@entry=0x7ffff4aee7e0, receiver=receiver@entry=0x2b90760, e=e@entry=0x2c43fb0) at kernel/qapplication.cpp:4348
#45 0x00007fa80339318a in KApplication::notify (this=0x7ffff4aee7e0, receiver=0x2b90760, event=0x2c43fb0) at /usr/src/debug/kdelibs-4.11.2/kdeui/kernel/kapplication.cpp:311
#46 0x00007fa80292b0ad in QCoreApplication::notifyInternal (this=0x7ffff4aee7e0, receiver=receiver@entry=0x2b90760, event=event@entry=0x2c43fb0) at kernel/qcoreapplication.cpp:949
#47 0x00007fa80292e0ff in sendEvent (event=0x2c43fb0, receiver=0x2b90760) at kernel/qcoreapplication.h:231
#48 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x20831f0) at kernel/qcoreapplication.cpp:1573
#49 0x00007fa80292e5a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1466
#50 0x00007fa802958493 in sendPostedEvents () at kernel/qcoreapplication.h:236
#51 postEventSourceDispatch (s=0x20dcdf0) at kernel/qeventdispatcher_glib.cpp:280
#52 0x00007fa7fbbe32d6 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#53 0x00007fa7fbbe3628 in ?? () from /usr/lib64/libglib-2.0.so.0
#54 0x00007fa7fbbe36cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#55 0x00007fa802957d55 in QEventDispatcherGlib::processEvents (this=0x2088a70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#56 0x00007fa801ae8936 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#57 0x00007fa802929d0f in QEventLoop::processEvents (this=this@entry=0x7ffff4aee6e0, flags=...) at kernel/qeventloop.cpp:149
#58 0x00007fa80292a005 in QEventLoop::exec (this=this@entry=0x7ffff4aee6e0, flags=...) at kernel/qeventloop.cpp:204
#59 0x00007fa80292f13b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#60 0x00007fa801a4a06c in QApplication::exec () at kernel/qapplication.cpp:3823
#61 0x000000000041560e in main (argc=3, argv=0x7ffff4aee938) at /usr/src/debug/kopete-4.11.2/kopete/main.cpp:105

The reporter indicates this bug may be a duplicate of or related to bug 318255.

Possible duplicates by query: bug 318255.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-11-28 13:02:48 UTC

*** This bug has been marked as a duplicate of bug 318255 ***