Bug 213447

Summary: while chat window was open closing history caused crash of kopete
Product: [Unmaintained] kopete Reporter: Karl Ferdinand Ebert <kfebert>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Karl Ferdinand Ebert 2009-11-06 18:43:31 UTC
Application that crashed: kopete
Version of the application: 0.80.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.30-2-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
I had one chat window open, I searched first the history of another person, then the history of the active chat window. Closing it caused kopete to crash!

 -- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f784bd55750 (LWP 3656))]

Thread 4 (Thread 0x7f7836d77950 (LWP 3733)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f784963e499 in QWaitConditionPrivate::wait (this=0x116dde0, mutex=0x116ddd8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x116dde0, mutex=0x116ddd8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f78469cb3b4 in QHostInfoAgent::run (this=0x116ddc0) at kernel/qhostinfo.cpp:260
#4  0x00007f784963d4a5 in QThreadPrivate::start (arg=0x116ddc0) at thread/qthread_unix.cpp:188
#5  0x00007f7844066f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f784842f56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f783451b950 (LWP 3735)):
#0  0x00007f7844068358 in __pthread_mutex_lock (mutex=0x13f4cd8) at pthread_mutex_lock.c:86
#1  0x00007f78442b4b73 in g_main_context_query () from /lib/libglib-2.0.so.0
#2  0x00007f78442b96a7 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f78442b9b3c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f784974b3b6 in QEventDispatcherGlib::processEvents (this=0xf76a00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#5  0x00007f7849721562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f7849721934 in QEventLoop::exec (this=0x11bf7e0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f7835c4a14b in QCA::SyncThread::run() () from /usr/lib/libqca.so.2
#8  0x00007f784963d4a5 in QThreadPrivate::start (arg=0x13d5e90) at thread/qthread_unix.cpp:188
#9  0x00007f7844066f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f784842f56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 2 (Thread 0x7f7833d1a950 (LWP 3736)):
#0  0x00007f7848426d36 in *__GI___poll (fds=0x13d4060, nfds=1, timeout=4150) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f78442b9859 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f78442b9b3c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f784974b3b6 in QEventDispatcherGlib::processEvents (this=0x13ec820, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007f7849721562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7849721934 in QEventLoop::exec (this=0xe58410, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f7836099bb3 in XMPP::SyncThread::run (this=0x13d5cc0) at ../../../../../kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#7  0x00007f784963d4a5 in QThreadPrivate::start (arg=0x13d5cc0) at thread/qthread_unix.cpp:188
#8  0x00007f7844066f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f784842f56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 1 (Thread 0x7f784bd55750 (LWP 3656)):
[KCrash Handler]
#5  QWidget::hide (this=0x172cb10, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/include/qt4/QtGui/qwidget.h:477
#6  ~KHTMLPart (this=0x172cb10, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../khtml/khtml_part.cpp:612
#7  0x00007f7842eea527 in KParts::Part::slotWidgetDestroyed (this=0x172cb10) at ../../kparts/part.cpp:354
#8  0x00007f7842eea618 in KParts::Part::qt_metacall (this=0x172cb10, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff060582b0) at ./part.moc:76
#9  0x00007f7842eea665 in KParts::ReadOnlyPart::qt_metacall (this=0x0, _c=4294967295, _id=6531841, _a=0x63aa20) at ./part.moc:154
#10 0x00007f783925ae1d in KHTMLPart::qt_metacall (this=0x0, _c=4294967295, _id=6531841, _a=0x63aa20) at ./khtml_part.moc:246
#11 0x00007f7849737df2 in QMetaObject::activate (sender=0x2078f30, from_signal_index=<value optimized out>, to_signal_index=1, argv=0x63aa20) at kernel/qobject.cpp:3112
#12 0x00007f7849738284 in QObject::destroyed (this=0x0, _t1=0x2078f30) at .moc/release-shared/moc_qobject.cpp:143
#13 0x00007f78497390de in ~QObject (this=0x2078f30, __in_chrg=<value optimized out>) at kernel/qobject.cpp:757
#14 0x00007f7848be7707 in ~QWidget (this=0x2078f30, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1380
#15 0x00007f7849730fe1 in QObjectPrivate::deleteChildren (this=0x229a360) at kernel/qobject.cpp:1846
#16 0x00007f7848be7562 in ~QWidget (this=0x2120740, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1367
#17 0x00007f7849730fe1 in QObjectPrivate::deleteChildren (this=0x206f4d0) at kernel/qobject.cpp:1846
#18 0x00007f7848be7ed2 in ~QWidget (this=0x16cbba0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1367
#19 0x00007f7848fb35e0 in ~QSplitter (this=0x16cbba0, __in_chrg=<value optimized out>) at widgets/qsplitter.cpp:1008
#20 0x00007f7849730fe1 in QObjectPrivate::deleteChildren (this=0x20bd5c0) at kernel/qobject.cpp:1846
#21 0x00007f7848be7562 in ~QWidget (this=0x1869820, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1367
#22 0x00007f7849730fe1 in QObjectPrivate::deleteChildren (this=0x2089050) at kernel/qobject.cpp:1846
#23 0x00007f7848be7ed2 in ~QWidget (this=0x172ea90, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1367
#24 0x00007f7837863217 in ~HistoryDialog (this=0x172ea90, __in_chrg=<value optimized out>) at ../../../../kopete/plugins/history/historydialog.cpp:187
#25 0x00007f78497326e5 in QObject::event (this=0x172ea90, e=0xffffffff) at kernel/qobject.cpp:1093
#26 0x00007f7848bebbed in QWidget::event (this=0x172ea90, event=0x220cdf0) at kernel/qwidget.cpp:7951
#27 0x00007f7848b9c01d in QApplicationPrivate::notify_helper (this=0xb45760, receiver=0x172ea90, e=0x220cdf0) at kernel/qapplication.cpp:4065
#28 0x00007f7848ba407a in QApplication::notify (this=0x7fff06059250, receiver=0x172ea90, e=0x220cdf0) at kernel/qapplication.cpp:4030
#29 0x00007f784a3370db in KApplication::notify (this=0x7fff06059250, receiver=0x172ea90, event=0x220cdf0) at ../../kdeui/kernel/kapplication.cpp:302
#30 0x00007f7849722c9c in QCoreApplication::notifyInternal (this=0x7fff06059250, receiver=0x172ea90, event=0x220cdf0) at kernel/qcoreapplication.cpp:610
#31 0x00007f78497238e4 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0xb22180) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xb22180) at kernel/qcoreapplication.cpp:1247
#33 0x00007f784974b7d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#34 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#35 0x00007f78442b612a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x00007f78442b9988 in ?? () from /lib/libglib-2.0.so.0
#37 0x00007f78442b9b3c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x00007f784974b39c in QEventDispatcherGlib::processEvents (this=0xb21de0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#39 0x00007f7848c32f1f in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#40 0x00007f7849721562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007f7849721934 in QEventLoop::exec (this=0x7fff060591c0, flags=...) at kernel/qeventloop.cpp:201
#42 0x00007f7849723ba4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#43 0x0000000000415758 in main (argc=3, argv=0x7fff0605a088) at ../../../kopete/kopete/main.cpp:104

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-10 00:13:00 UTC
Fixed after KDE 4.3.2 release (4.3.2+, 4.3.3, 4.4.x). Check bug 209960. Thanks

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