[kopete-bugs] [Bug 238868] New: [OTR] Kopete crashs when generating key
christian.blaicher at googlemail.com
christian.blaicher at googlemail.com
Wed May 26 11:37:38 CEST 2010
https://bugs.kde.org/show_bug.cgi?id=238868
Summary: [OTR] Kopete crashs when generating key
Product: kopete
Version: unspecified
Platform: Ubuntu Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: general
AssignedTo: kopete-bugs at kde.org
ReportedBy: christian.blaicher at googlemail.com
Application: kopete (1.0.0)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS
-- Information about the crash:
I'm using Kubuntu 10.04 with KDE 4.4.3
Kopete crashes after some time when creating the key. I have tried it with the
ICQ protocol.
Regards
The crash can be reproduced every time.
-- Backtrace:
Application: Kopete (kopete), signal: Aborted
[Current thread is 1 (Thread 0x7ff920613780 (LWP 16879))]
Thread 5 (Thread 0x7ff908881710 (LWP 16880)):
#0 0x00007ff91c564a2d in __pthread_mutex_unlock_usercnt (mutex=0x2e90ed8) at
pthread_mutex_unlock.c:52
#1 __pthread_mutex_unlock (mutex=0x2e90ed8) at pthread_mutex_unlock.c:290
#2 0x00007ff91809cff1 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#3 0x00007ff91809d318 in ?? () from /lib/libglib-2.0.so.0
#4 0x00007ff91809d8fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#5 0x00007ff91e10d566 in QEventDispatcherGlib::processEvents (this=0x26f4820,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#6 0x00007ff91e0e2992 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#7 0x00007ff91e0e2d6c in QEventLoop::exec (this=0x7ff908880d90, flags=) at
kernel/qeventloop.cpp:201
#8 0x00007ff91dfecd59 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#9 0x00007ff91e0c3178 in QInotifyFileSystemWatcherEngine::run (this=0x2ea6930)
at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007ff91dfef775 in QThreadPrivate::start (arg=0x2ea6930) at
thread/qthread_unix.cpp:248
#11 0x00007ff91c5609ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#12 0x00007ff91cab66cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()
Thread 4 (Thread 0x7ff8fe754710 (LWP 16887)):
#0 0x00007ff91caa9f53 in *__GI___poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007ff91809d4a9 in ?? () from /lib/libglib-2.0.so.0
#2 0x00007ff91809d8fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#3 0x00007ff91e10d566 in QEventDispatcherGlib::processEvents (this=0x2c18240,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4 0x00007ff91e0e2992 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#5 0x00007ff91e0e2d6c in QEventLoop::exec (this=0x33061f0, flags=) at
kernel/qeventloop.cpp:201
#6 0x00007ff907116613 in QCA::SyncThread::run() () from /usr/lib/libqca.so.2
#7 0x00007ff91dfef775 in QThreadPrivate::start (arg=0x2e8cb50) at
thread/qthread_unix.cpp:248
#8 0x00007ff91c5609ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#9 0x00007ff91cab66cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
Thread 3 (Thread 0x7ff8fdf53710 (LWP 16888)):
#0 0x00007ff91c564a2d in __pthread_mutex_unlock_usercnt (mutex=0x2c7b7d8) at
pthread_mutex_unlock.c:52
#1 __pthread_mutex_unlock (mutex=0x2c7b7d8) at pthread_mutex_unlock.c:290
#2 0x00007ff91809b869 in g_main_context_acquire () from /lib/libglib-2.0.so.0
#3 0x00007ff91809d295 in ?? () from /lib/libglib-2.0.so.0
#4 0x00007ff91809d8fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#5 0x00007ff91e10d566 in QEventDispatcherGlib::processEvents (this=0x2dab090,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#6 0x00007ff91e0e2992 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#7 0x00007ff91e0e2d6c in QEventLoop::exec (this=0x7ff900001aa0, flags=) at
kernel/qeventloop.cpp:201
#8 0x00007ff9075629a2 in XMPP::SyncThread::run (this=0x2e85ae0) at
../../../../../kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#9 0x00007ff91dfef775 in QThreadPrivate::start (arg=0x2e85ae0) at
thread/qthread_unix.cpp:248
#10 0x00007ff91c5609ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#11 0x00007ff91cab66cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7ff8ff3f5710 (LWP 16896)):
#0 0x00007ff91caa84dd in write () at ../sysdeps/unix/syscall-template.S:82
#1 0x00007ff91ca43133 in _IO_new_file_write (f=0x7ff91cd4c860,
data=0x7ff8ff3f1aa0, n=36) at fileops.c:1276
#2 0x00007ff91ca42fdd in new_do_write (f=0x7ff91cd4c860, data=<value optimized
out>, n=36) at fileops.c:530
#3 _IO_new_file_xsputn (f=0x7ff91cd4c860, data=<value optimized out>, n=36) at
fileops.c:1370
#4 0x00007ff91ca1a981 in buffered_vfprintf (s=0x7ff91cd4c860, format=<value
optimized out>, args=<value optimized out>) at vfprintf.c:2275
#5 0x00007ff91ca155ae in _IO_vfprintf_internal (s=0x7ff91cd4c860,
format=0x7ff912c75199 "select() error: %s\n", ap=0x7ff8ff3f42e0) at
vfprintf.c:1306
#6 0x00007ff91cacdd57 in ___vfprintf_chk (fp=0x7ff91cd4c860, flag=1,
format=0x7ff8ff3f5710 "\020W?\377\370\177", ap=0x24) at vfprintf_chk.c:35
#7 0x00007ff912c13d44 in vfprintf (level=30, fmt=0x7ff912c75199 "select()
error: %s\n", arg_ptr=0x7ff8ff3f42e0) at /usr/include/bits/stdio2.h:128
#8 _gcry_logv (level=30, fmt=0x7ff912c75199 "select() error: %s\n",
arg_ptr=0x7ff8ff3f42e0) at misc.c:132
#9 0x00007ff912c14205 in _gcry_log_error (fmt=0x7ff8ff3f1aa0 "select() error:
Bad file descriptor\n") at misc.c:216
#10 0x00007ff912c54315 in _gcry_rndlinux_gather_random (add=<value optimized
out>, origin=<value optimized out>, length=144, level=<value optimized out>) at
rndlinux.c:144
#11 0x00007ff912c51670 in read_random_source (orgin=<value optimized out>,
length=<value optimized out>, level=<value optimized out>) at
random-csprng.c:1272
#12 0x00007ff912c52b5e 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 0x00007ff912c513df in _gcry_random_bytes_secure (nbytes=20,
level=GCRY_VERY_STRONG_RANDOM) at random.c:203
#15 0x00007ff912c43cfb in generate (sk=0x7ff8ff3f4950, 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 0x00007ff912c44aa1 in dsa_generate_ext (algo=<value optimized out>,
nbits=1024, evalue=<value optimized out>, genparms=0x0, skey=0x7ff8ff3f4bb0,
retfactors=0x7ff8ff3f4c20,
r_extrainfo=0x7ff8ff3f4c18) at dsa.c:825
#17 0x00007ff912c1fc24 in pubkey_generate (r_key=0x7ff8ff3f4cc8, s_parms=<value
optimized out>) at pubkey.c:562
#18 _gcry_pk_genkey (r_key=0x7ff8ff3f4cc8, s_parms=<value optimized out>) at
pubkey.c:2183
#19 0x00007ff907a46ebf in otrl_privkey_generate_FILEp () from
/usr/lib/libotr.so.2
#20 0x00007ff907a4701d in otrl_privkey_generate () from /usr/lib/libotr.so.2
#21 0x00007ff907c6385e in KeyGenThread::run (this=<value optimized out>) at
../../../../kopete/plugins/otr/otrlchatinterface.cpp:802
#22 0x00007ff91dfef775 in QThreadPrivate::start (arg=0x4b491f0) at
thread/qthread_unix.cpp:248
#23 0x00007ff91c5609ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#24 0x00007ff91cab66cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#25 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7ff920613780 (LWP 16879)):
[KCrash Handler]
#5 0x00007ff91ca03a75 in *__GI_raise (sig=<value optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6 0x00007ff91ca075c0 in *__GI_abort () at abort.c:92
#7 0x00007ff91c9fc941 in *__GI___assert_fail (assertion=0x7ff912c5dee1 "*lock
== ((ath_mutex_t) 0)", file=<value optimized out>, line=193,
function=0x7ff912c5df20 "_gcry_ath_mutex_lock")
at assert.c:81
#8 0x00007ff912c1b35a in _gcry_ath_mutex_lock (lock=0x7ff912e81970) at
ath.c:193
#9 0x00007ff912c51620 in lock_pool () at random-csprng.c:298
#10 0x00007ff912c5176e in initialize () at random-csprng.c:327
#11 0x00007ff912c5280e in _gcry_rngcsprng_randomize (buffer=0x41ef,
length=16879, level=6) at random-csprng.c:514
#12 0x00007ff912c513df in _gcry_random_bytes_secure (nbytes=40,
level=GCRY_STRONG_RANDOM) at random.c:203
#13 0x00007ff907a4a1e8 in otrl_dh_gen_keypair () from /usr/lib/libotr.so.2
#14 0x00007ff907a5026f in otrl_auth_start_v2 () from /usr/lib/libotr.so.2
#15 0x00007ff907a4bbca in otrl_message_receiving () from /usr/lib/libotr.so.2
#16 0x00007ff907c646ac in OtrlChatInterface::decryptMessage (this=<value
optimized out>, msg=<value optimized out>, accountId=..., protocol=...,
contactId=<value optimized out>,
chatSession=0x2fd2510) at
../../../../kopete/plugins/otr/otrlchatinterface.cpp:388
#17 0x00007ff907e79726 in OtrMessageHandler::handleMessage (this=0x2b918a0,
event=0x4e02d60) at ../../../../kopete/plugins/otr/otrplugin.cpp:265
#18 0x00007ff91fd15202 in Kopete::ProcessMessageTask::qt_metacall
(this=0x2701e30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
_a=<value optimized out>)
at ./kopetemessagehandlerchain.moc:124
#19 0x00007ff91e0f6e3f in QMetaObject::activate (sender=0x4b376e0, m=<value
optimized out>, local_signal_index=<value optimized out>,
argv=0xffffffffffffffff) at kernel/qobject.cpp:3293
#20 0x00007ff91e0fe65f in QSingleShotTimer::timerEvent (this=0x4b376e0) at
kernel/qtimer.cpp:308
#21 0x00007ff91e0f3a63 in QObject::event (this=0x4b376e0, e=0x7fffc8348970) at
kernel/qobject.cpp:1212
#22 0x00007ff91d22422c in QApplicationPrivate::notify_helper (this=0x2349f30,
receiver=0x4b376e0, e=0x7fffc8348970) at kernel/qapplication.cpp:4300
#23 0x00007ff91d22a6fb in QApplication::notify (this=0x7fffc834a040,
receiver=0x4b376e0, e=0x7fffc8348970) at kernel/qapplication.cpp:4183
#24 0x00007ff91eacc536 in KApplication::notify (this=0x7fffc834a040,
receiver=0x4b376e0, event=0x7fffc8348970) at
../../kdeui/kernel/kapplication.cpp:302
#25 0x00007ff91e0e406c in QCoreApplication::notifyInternal
(this=0x7fffc834a040, receiver=0x4b376e0, event=0x7fffc8348970) at
kernel/qcoreapplication.cpp:704
#26 0x00007ff91e110d42 in QCoreApplication::sendEvent (this=0x234d600) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (this=0x234d600) at
kernel/qeventdispatcher_unix.cpp:603
#28 0x00007ff91e10d824 in timerSourceDispatch (source=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:184
#29 0x00007ff9180998c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x00007ff91809d748 in ?? () from /lib/libglib-2.0.so.0
#31 0x00007ff91809d8fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#32 0x00007ff91e10d513 in QEventDispatcherGlib::processEvents (this=0x22f55d0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#33 0x00007ff91d2d446e in QGuiEventDispatcherGlib::processEvents (this=0x41ef,
flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007ff91e0e6ba6 in QCoreApplication::processEvents (flags=) at
kernel/qcoreapplication.cpp:924
#35 0x00007ff907c61345 in create_privkey (opdata=<value optimized out>,
accountname=0x24e56a0 "296734930", protocol=<value optimized out>) at
../../../../kopete/plugins/otr/otrlchatinterface.cpp:108
#36 0x00007ff907a4c140 in otrl_message_receiving () from /usr/lib/libotr.so.2
#37 0x00007ff907c646ac in OtrlChatInterface::decryptMessage (this=<value
optimized out>, msg=<value optimized out>, accountId=..., protocol=...,
contactId=<value optimized out>,
chatSession=0x2fd2510) at
../../../../kopete/plugins/otr/otrlchatinterface.cpp:388
#38 0x00007ff907e79726 in OtrMessageHandler::handleMessage (this=0x2b918a0,
event=0x4c759c0) at ../../../../kopete/plugins/otr/otrplugin.cpp:265
#39 0x00007ff91fd15202 in Kopete::ProcessMessageTask::qt_metacall
(this=0x4c48c40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
_a=<value optimized out>)
at ./kopetemessagehandlerchain.moc:124
#40 0x00007ff91e0f6e3f in QMetaObject::activate (sender=0x478e790, m=<value
optimized out>, local_signal_index=<value optimized out>,
argv=0xffffffffffffffff) at kernel/qobject.cpp:3293
#41 0x00007ff91e0fe65f in QSingleShotTimer::timerEvent (this=0x478e790) at
kernel/qtimer.cpp:308
#42 0x00007ff91e0f3a63 in QObject::event (this=0x478e790, e=0x7fffc8349cf0) at
kernel/qobject.cpp:1212
#43 0x00007ff91d22422c in QApplicationPrivate::notify_helper (this=0x2349f30,
receiver=0x478e790, e=0x7fffc8349cf0) at kernel/qapplication.cpp:4300
#44 0x00007ff91d22a6fb in QApplication::notify (this=0x7fffc834a040,
receiver=0x478e790, e=0x7fffc8349cf0) at kernel/qapplication.cpp:4183
#45 0x00007ff91eacc536 in KApplication::notify (this=0x7fffc834a040,
receiver=0x478e790, event=0x7fffc8349cf0) at
../../kdeui/kernel/kapplication.cpp:302
#46 0x00007ff91e0e406c in QCoreApplication::notifyInternal
(this=0x7fffc834a040, receiver=0x478e790, event=0x7fffc8349cf0) at
kernel/qcoreapplication.cpp:704
#47 0x00007ff91e110d42 in QCoreApplication::sendEvent (this=0x234d600) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#48 QTimerInfoList::activateTimers (this=0x234d600) at
kernel/qeventdispatcher_unix.cpp:603
#49 0x00007ff91e10d824 in timerSourceDispatch (source=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:184
#50 0x00007ff9180998c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#51 0x00007ff91809d748 in ?? () from /lib/libglib-2.0.so.0
#52 0x00007ff91809d8fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#53 0x00007ff91e10d513 in QEventDispatcherGlib::processEvents (this=0x22f55d0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#54 0x00007ff91d2d446e in QGuiEventDispatcherGlib::processEvents (this=0x41ef,
flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#55 0x00007ff91e0e2992 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#56 0x00007ff91e0e2d6c in QEventLoop::exec (this=0x7fffc8349f90, flags=) at
kernel/qeventloop.cpp:201
#57 0x00007ff91e0e6aab in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:981
#58 0x0000000000415652 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 218570.
Possible duplicates by query: bug 220973, bug 218570.
Reported using DrKonqi
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the kopete-bugs
mailing list