Bug 160688

Summary: kopete crashes when chat window is closed
Product: [Unmaintained] kopete Reporter: Florian Kriener <florian>
Component: Chat WindowAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Florian Kriener 2008-04-11 09:33:49 UTC
Version:            (using Devel)
Installed from:    Compiled sources

When closing a chat window kopete crashes.

Application: Kopete (kopete), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0x2ae8a308f700 (LWP 6960)]
[New Thread 0x41001950 (LWP 6963)]
[New Thread 0x40800950 (LWP 6962)]
[KCrash handler]
#5  KopeteView::msgManager (this=0x38)
    at /home/leflo/src/kdenetwork-4.0.66+svn791114/kopete/libkopete/ui/kopeteview.cpp:26
#6  0x00002ae8abfd7321 in KopeteChatWindow::setActiveView (this=0x1288b70, 
    widget=0x2ae89b8b8f08)
    at /home/leflo/src/kdenetwork-4.0.66+svn791114/kopete/kopete/chatwindow/kopetechatwindow.cpp:911
#7  0x00002ae8abfdabd1 in KopeteChatWindow::qt_metacall (this=0x1288b70, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff133d2470)
    at /home/leflo/src/kdenetwork-4.0.66+svn791114/obj-x86_64-linux-gnu/kopete/kopete/chatwindow/kopetechatwindow.moc:137
#8  0x00002ae897a51636 in QMetaObject::activate (sender=0x17a1c50, 
    from_signal_index=<value optimized out>, to_signal_index=28, argv=0x41)
    at kernel/qobject.cpp:3010
#9  0x00002ae8993e6f52 in QTabWidget::currentChanged (this=0x38, _t1=0x0)
    at .moc/release-shared/moc_qtabwidget.cpp:172
#10 0x00002ae8993e8745 in QTabWidgetPrivate::_q_showTab (this=0x17dcb10, 
    index=-1) at widgets/qtabwidget.cpp:694
#11 0x00002ae8993e88a5 in QTabWidget::qt_metacall (this=0x17a1c50, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff133d2620) at .moc/release-shared/moc_qtabwidget.cpp:115
#12 0x00002ae8986d9455 in KTabWidget::qt_metacall (this=0x38, _c=2609614600, 
    _id=24760544, _a=0x41)
    at /tmp/buildd/kde4libs-4.0.68+svn794641/obj-x86_64-linux-gnu/kdeui/ktabwidget.moc:118
#13 0x00002ae897a51636 in QMetaObject::activate (sender=0x17dee00, 
    from_signal_index=<value optimized out>, to_signal_index=27, argv=0x41)
    at kernel/qobject.cpp:3010
#14 0x00002ae8993e158e in QTabBar::currentChanged (this=0x38, _t1=-1)
    at .moc/release-shared/moc_qtabbar.cpp:155
#15 0x00002ae8993e5e32 in QTabBar::removeTab (this=0x17dee00, index=0)
    at widgets/qtabbar.cpp:690
#16 0x00002ae8993e80c1 in QTabWidgetPrivate::_q_removeTab (
    this=<value optimized out>, index=-1685352696)
    at widgets/qtabwidget.cpp:701
#17 0x00002ae8993e8846 in QTabWidget::qt_metacall (this=0x17a1c50, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff133d27e0) at .moc/release-shared/moc_qtabwidget.cpp:116
#18 0x00002ae8986d9455 in KTabWidget::qt_metacall (this=0x38, _c=2609614600, 
    _id=24760544, _a=0x41)
    at /tmp/buildd/kde4libs-4.0.68+svn794641/obj-x86_64-linux-gnu/kdeui/ktabwidget.moc:118
#19 0x00002ae897a51636 in QMetaObject::activate (sender=0x17b98e0, 
    from_signal_index=<value optimized out>, to_signal_index=28, argv=0x41)
    at kernel/qobject.cpp:3010
#20 0x00002ae8995a74e1 in QStackedWidget::widgetRemoved (this=0x38, _t1=0)
    at .moc/release-shared/moc_qstackedwidget.cpp:126
#21 0x00002ae8995a7640 in QStackedWidget::qt_metacall (this=0x17b98e0, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff133d2920)
    at .moc/release-shared/moc_qstackedwidget.cpp:78
#22 0x00002ae897a51636 in QMetaObject::activate (sender=0x17dd240, 
    from_signal_index=<value optimized out>, to_signal_index=4, argv=0x41)
    at kernel/qobject.cpp:3010
#23 0x00002ae8995a17fe in QStackedLayout::widgetRemoved (this=0x38, _t1=0)
    at .moc/release-shared/moc_qstackedlayout.cpp:128
#24 0x00002ae89906a449 in QStackedLayout::takeAt (this=0x17dd240, index=0)
    at kernel/qstackedlayout.cpp:276
#25 0x00002ae89905a79a in QLayout::removeWidget (this=0x17dd240, 
    widget=0xc83ec0) at kernel/qlayout.cpp:1402
#26 0x00002ae8986d8e4a in KTabWidget::removePage (this=0x17a1c50, 
    widget=0xc83ec0)
    at /tmp/buildd/kde4libs-4.0.68+svn794641/kdeui/widgets/ktabwidget.cpp:481
#27 0x00002ae8abfd76b7 in KopeteChatWindow::detachChatView (this=0x1288b70, 
    view=0xc83ec0)
    at /home/leflo/src/kdenetwork-4.0.66+svn791114/kopete/kopete/chatwindow/kopetechatwindow.cpp:804
#28 0x00002ae8abfd1a6e in ChatView::closeView (this=0xc83ec0, 
    force=<value optimized out>)
    at /home/leflo/src/kdenetwork-4.0.66+svn791114/kopete/kopete/chatwindow/chatview.cpp:363
#29 0x00002ae8abfd67cc in KopeteChatWindow::queryClose (
    this=<value optimized out>)
    at /home/leflo/src/kdenetwork-4.0.66+svn791114/kopete/kopete/chatwindow/kopetechatwindow.cpp:1189
#30 0x00002ae8abfd5149 in KopeteChatWindow::closeEvent (this=0x1288b70, 
    e=0x7fff133d34a0)
    at /home/leflo/src/kdenetwork-4.0.66+svn791114/kopete/kopete/chatwindow/kopetechatwindow.cpp:1230
#31 0x00002ae8990810cf in QWidget::event (this=0x1288b70, 
    event=0x7fff133d34a0) at kernel/qwidget.cpp:7070
#32 0x00002ae899398fa1 in QMainWindow::event (this=0x1288b70, 
    event=0x7fff133d34a0) at widgets/qmainwindow.cpp:1252
#33 0x00002ae8986be75b in KMainWindow::event (this=0x1288b70, 
    ev=0x7fff133d34a0)
    at /tmp/buildd/kde4libs-4.0.68+svn794641/kdeui/widgets/kmainwindow.cpp:1028
#34 0x00002ae8986ef1b8 in KXmlGuiWindow::event (this=0x38, ev=0x2ae89b8b8f08)
    at /tmp/buildd/kde4libs-4.0.68+svn794641/kdeui/xmlgui/kxmlguiwindow.cpp:123
#35 0x00002ae89903262f in QApplicationPrivate::notify_helper (this=0x6c0a00, 
    receiver=0x1288b70, e=0x7fff133d34a0) at kernel/qapplication.cpp:3766
#36 0x00002ae899037205 in QApplication::notify (this=0x7fff133d3ec0, 
    receiver=0x1288b70, e=0x7fff133d34a0) at kernel/qapplication.cpp:3733
#37 0x00002ae8986096eb in KApplication::notify (this=0x7fff133d3ec0, 
    receiver=0x1288b70, event=0x7fff133d34a0)
    at /tmp/buildd/kde4libs-4.0.68+svn794641/kdeui/kernel/kapplication.cpp:311
#38 0x00002ae897a3d519 in QCoreApplication::notifyInternal (
    this=0x7fff133d3ec0, receiver=0x1288b70, event=0x7fff133d34a0)
    at kernel/qcoreapplication.cpp:587
#39 0x00002ae89907bd18 in QWidgetPrivate::close_helper (this=0x1286050, 
    mode=QWidgetPrivate::CloseWithSpontaneousEvent)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#40 0x00002ae899087262 in QETWidget::translateCloseEvent (
    this=<value optimized out>) at kernel/qapplication_x11.cpp:4879
#41 0x00002ae89908807d in QApplication::x11ClientMessage (
    this=<value optimized out>, w=0x1288b70, event=0x7fff133d3b20, 
    passive_only=224) at kernel/qapplication_x11.cpp:2808
#42 0x00002ae8990955db in QApplication::x11ProcessEvent (this=0x7fff133d3ec0, 
    event=0x7fff133d3b20) at kernel/qapplication_x11.cpp:3365
#43 0x00002ae8990bb263 in x11EventSourceDispatch (s=0x6c3c20, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#44 0x00002ae89c14d0f2 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#45 0x00002ae89c150396 in ?? () from /usr/lib/libglib-2.0.so.0
#46 0x00002ae89c15082f in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#47 0x00002ae897a6675f in QEventDispatcherGlib::processEvents (this=0x698430, 
    flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#48 0x00002ae8990bb0af in QGuiEventDispatcherGlib::processEvents (this=0x38, 
    flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#49 0x00002ae897a3c995 in QEventLoop::processEvents (
    this=<value optimized out>, flags=@0x7fff133d3df0)
    at kernel/qeventloop.cpp:149
#50 0x00002ae897a3caeb in QEventLoop::exec (this=0x7fff133d3e30, 
    flags=@0x7fff133d3e40) at kernel/qeventloop.cpp:200
#51 0x00002ae897a3eb49 in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:845
#52 0x0000000000447f34 in main (argc=3, argv=0x7fff133d4c88)
    at /home/leflo/src/kdenetwork-4.0.66+svn791114/kopete/kopete/main.cpp:102
#0  0x00002ae89b83f241 in nanosleep () from /lib/libc.so.6
Comment 1 Dennis Nienhüser 2008-05-12 17:29:47 UTC

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