Bug 205908 - Crashed hours after closed (?) (malloc, QByteArray::resize, opensslQCAPlugin::MyTLSContext::update, QCA::TLS::Private::update)
Summary: Crashed hours after closed (?) (malloc, QByteArray::resize, opensslQCAPlugin:...
Status: RESOLVED WORKSFORME
Alias: None
Product: kopete
Classification: Applications
Component: Jabber Plugin (show other bugs)
Version: 0.70.90
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 213612 215900 215997 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-01 19:00 UTC by Juliano F. Ravasi
Modified: 2018-11-29 04:46 UTC (History)
5 users (show)

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 Juliano F. Ravasi 2009-09-01 19:00:10 UTC
Application that crashed: kopete
Version of the application: 0.70.90
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-15-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
I quit kopete (using the quit command from the tray icon menu), the tray icon disappeared and so I thought that kopete was already gone. About 4 hours later the KDE crash handler appeared reporting this crash. Kopete was still in memory and, apparently, running. The computer was suspended and resumed in the meantime.

 -- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
[Current thread is 0 (LWP 22149)]

Thread 4 (Thread 0x7f7b6da59950 (LWP 22171)):
#0  0x00007f7b7d32ca5b in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x00007f7b7b372812 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f7b7b372a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f7b80f27aae in QEventDispatcherGlib::processEvents (this=0x170e3e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00007f7b80efcf42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1839566560}) at kernel/qeventloop.cpp:149
#5  0x00007f7b80efd314 in QEventLoop::exec (this=0x170fb30, flags={i = 1839566960}) at kernel/qeventloop.cpp:201
#6  0x00007f7b6ec2a2cb in QCA::SyncThread::run () from /usr/lib/libqca.so.2
#7  0x00007f7b80e14d35 in QThreadPrivate::start (arg=0x170d930) at thread/qthread_unix.cpp:188
#8  0x00007f7b7d32b3ba in start_thread () from /lib/libpthread.so.0
#9  0x00007f7b7f54bfcd in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f7b6d258950 (LWP 22172)):
#0  0x00007f7b7f55a6de in ?? () from /lib/libc.so.6
#1  0x00007f7b7f4e4025 in ?? () from /lib/libc.so.6
#2  0x00007f7b7f4e026b in free () from /lib/libc.so.6
#3  0x00007f7b6f075ee6 in ?? () from /usr/lib/kde4/kopete_jabber.so
#4  0x00007f7b6f0ab6e1 in ?? () from /usr/lib/kde4/kopete_jabber.so
#5  0x00007f7b6f0a9ced in ?? () from /usr/lib/kde4/kopete_jabber.so
#6  0x00007f7b80f13ea2 in QMetaObject::activate (sender=0x1cf6a88, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xffffffffffffffff) at kernel/qobject.cpp:3113
#7  0x00007f7b80f0e263 in QObject::event (this=0x1cf6a88, e=0x80) at kernel/qobject.cpp:1075
#8  0x00007f7b80122f4d in QApplicationPrivate::notify_helper (this=0x125d960, receiver=0x1cf6a88, e=0x7f7b6d257de0) at kernel/qapplication.cpp:4056
#9  0x00007f7b8012b18a in QApplication::notify (this=0x7fff8cf08f00, receiver=0x1cf6a88, e=0x7f7b6d257de0) at kernel/qapplication.cpp:4021
#10 0x00007f7b81ae771b in KApplication::notify () from /usr/lib/libkdeui.so.5
#11 0x00007f7b80efe6ac in QCoreApplication::notifyInternal (this=0x7fff8cf08f00, receiver=0x1cf6a88, event=0x7f7b6d257de0) at kernel/qcoreapplication.cpp:610
#12 0x00007f7b80f2b516 in QTimerInfoList::activateTimers (this=0x1dd7610) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#13 0x00007f7b80f27b2d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#14 0x00007f7b7b36f20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#15 0x00007f7b7b3728e0 in ?? () from /usr/lib/libglib-2.0.so.0
#16 0x00007f7b7b372a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#17 0x00007f7b80f27aae in QEventDispatcherGlib::processEvents (this=0x1dd4240, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#18 0x00007f7b80efcf42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1831174176}) at kernel/qeventloop.cpp:149
#19 0x00007f7b80efd314 in QEventLoop::exec (this=0x1d0e670, flags={i = 1831174256}) at kernel/qeventloop.cpp:201
#20 0x00007f7b6f075e33 in ?? () from /usr/lib/kde4/kopete_jabber.so
#21 0x00007f7b80e14d35 in QThreadPrivate::start (arg=0x1714d80) at thread/qthread_unix.cpp:188
#22 0x00007f7b7d32b3ba in start_thread () from /lib/libpthread.so.0
#23 0x00007f7b7f54bfcd in clone () from /lib/libc.so.6
#24 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7b6ca57950 (LWP 22173)):
#0  0x00007f7b7d32f2e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f7b80e15d19 in QWaitCondition::wait (this=0x1e5fa70, mutex=0x1e5fa68, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f7b821aa81c in QHostInfoAgent::run (this=0x1e5fa50) at kernel/qhostinfo.cpp:260
#3  0x00007f7b80e14d35 in QThreadPrivate::start (arg=0x1e5fa50) at thread/qthread_unix.cpp:188
#4  0x00007f7b7d32b3ba in start_thread () from /lib/libpthread.so.0
#5  0x00007f7b7f54bfcd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7b84ec4750 (LWP 22149)):
[KCrash Handler]
#5  0x00007f7b7f4de651 in ?? () from /lib/libc.so.6
#6  0x00007f7b7f4e08f1 in ?? () from /lib/libc.so.6
#7  0x00007f7b7f4e2828 in malloc () from /lib/libc.so.6
#8  0x00007f7b80e17f05 in QByteArray::resize (this=0x7fff8cf08080, size=8192) at tools/qbytearray.cpp:1336
#9  0x00007f7b6dce59ee in opensslQCAPlugin::MyTLSContext::update () from /usr/lib/qt4/plugins/crypto/libqca-ossl.so
#10 0x00007f7b6ec7fc9e in QCA::TLS::Private::update () from /usr/lib/libqca.so.2
#11 0x00007f7b6ec7b7e0 in QCA::TLS::write () from /usr/lib/libqca.so.2
#12 0x00007f7b6f03b7cf in ?? () from /usr/lib/kde4/kopete_jabber.so
#13 0x00007f7b6efbcdf4 in ?? () from /usr/lib/kde4/kopete_jabber.so
#14 0x00007f7b80f13ea2 in QMetaObject::activate (sender=0x228f988, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x27a0170) at kernel/qobject.cpp:3113
#15 0x00007f7b80f0e263 in QObject::event (this=0x228f988, e=0x2020) at kernel/qobject.cpp:1075
#16 0x00007f7b80122f4d in QApplicationPrivate::notify_helper (this=0x125d960, receiver=0x228f988, e=0x7fff8cf08bc0) at kernel/qapplication.cpp:4056
#17 0x00007f7b8012b18a in QApplication::notify (this=0x7fff8cf08f00, receiver=0x228f988, e=0x7fff8cf08bc0) at kernel/qapplication.cpp:4021
#18 0x00007f7b81ae771b in KApplication::notify () from /usr/lib/libkdeui.so.5
#19 0x00007f7b80efe6ac in QCoreApplication::notifyInternal (this=0x7fff8cf08f00, receiver=0x228f988, event=0x7fff8cf08bc0) at kernel/qcoreapplication.cpp:610
#20 0x00007f7b80f2b516 in QTimerInfoList::activateTimers (this=0x1260690) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#21 0x00007f7b80f27b2d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#22 0x00007f7b7b36f20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0x00007f7b7b3728e0 in ?? () from /usr/lib/libglib-2.0.so.0
#24 0x00007f7b7b372a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#25 0x00007f7b80f27a8f in QEventDispatcherGlib::processEvents (this=0x125cc00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#26 0x00007f7b801bbbdf in QGuiEventDispatcherGlib::processEvents (this=0x7f7b7f7d3a00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#27 0x00007f7b80efcf42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1930392016}) at kernel/qeventloop.cpp:149
#28 0x00007f7b80efd314 in QEventLoop::exec (this=0x7fff8cf08e70, flags={i = -1930391936}) at kernel/qeventloop.cpp:201
#29 0x00007f7b80eff5e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#30 0x0000000000415738 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-25 01:50:41 UTC
Another backtrace...

Thread 1 (Thread 0x7f3e4afdd750 (LWP 29061)):
[KCrash Handler]
#5  0x00007f3e475564b5 in *__GI_raise (sig=<value optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f3e47559f50 in *__GI_abort () at abort.c:92
#7  0x00007f3e4758ec97 in __libc_message (do_abort=<value optimized out>,
fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007f3e47598dd6 in malloc_printerr (action=3, str=0x7f3e4765773b
"corrupted double-linked list", ptr=<value optimized out>) at malloc.c:6217
#9  0x00007f3e475991f2 in malloc_consolidate (av=<value optimized out>) at
malloc.c:5103
#10 0x00007f3e4759b4c9 in _int_malloc (av=0x7f3e2c000020, bytes=29061) at
malloc.c:4338
#11 0x00007f3e4759d7ee in *__GI___libc_malloc (bytes=8224) at malloc.c:3638
#12 0x00007f3e487b75ad in QByteArray::resize (this=0x7fff3b813e60, size=8192)
at tools/qbytearray.cpp:1336
#13 0x00007f3e32911ff5 in opensslQCAPlugin::MyTLSContext::update(QByteArray
const&, QByteArray const&) () from /usr/lib/qt4/plugins/crypto/libqca-ossl.so
#14 0x00007f3e389efa2e in QCA::TLS::Private::update() () from
/usr/lib/libqca.so.2
#15 0x00007f3e389eb723 in QCA::TLS::write(QByteArray const&) () from
/usr/lib/libqca.so.2
Comment 2 Dario Andres 2009-11-25 01:50:44 UTC
*** Bug 215997 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2009-11-25 01:52:17 UTC
*** Bug 215900 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2009-11-25 01:52:21 UTC
*** Bug 213612 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2009-11-25 01:52:48 UTC
The missing functions are: (check the full BT on bug 213612)

#9  0x00007fa945859ff5 in opensslQCAPlugin::MyTLSContext::update(QByteArray
const&, QByteArray const&) () from /usr/lib/qt4/plugins/crypto/libqca-ossl.so
#10 0x00007fa94851ba2e in QCA::TLS::Private::update() () from
/usr/lib/libqca.so.2
#11 0x00007fa948517a2c in QCA::TLS::writeIncoming(QByteArray const&) () from
/usr/lib/libqca.so.2
#12 0x00007fa9488df9ad in SecureLayer::writeIncoming (this=0xdaf370) at
../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-core/securestream.cpp:203
#13 SecureStream::bs_readyRead (this=0xdaf370) at
../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-core/securestream.cpp:546
Comment 6 Roman Jarosz 2009-12-27 18:04:03 UTC
glibc or libqca-ossl bug?
Comment 7 Andrew Crouthamel 2018-10-30 00:00:14 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2018-11-14 11:24:50 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Bug Janitor Service 2018-11-29 04:46:03 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!