Bug 245676

Summary: Konsole crashes if I close one tab
Product: [Applications] konsole Reporter: Artur Souza (MoRpHeUz) <asouza>
Component: kpartAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: hein, kde
Priority: NOR    
Version: CVS   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The backtrace

Description Artur Souza (MoRpHeUz) 2010-07-24 19:51:11 UTC
Created attachment 49460 [details]
The backtrace

Version:           CVS (using Devel) 
OS:                Linux

Using yakuake, it crashes when I close the tabs. It seems that I need to be working for some time on that tab (have the tab open for some time and doing work) before this happens. I always close the tabs with CTRL+D.

Trying to reproduce with brand new tabs it doesn't happen. After doing some work (any kind) some tabs properly close but suddenly trying to close one of the others it crashes the whole application.

Reproducible: Sometimes

Steps to Reproduce:
Work for some time on one tab and close it using CTRL+D.

Actual Results:  
It crashes yakuake

Expected Results:  
The tab is just closed.

This behavior started after trunk unfreeze (4.5 was tagged and 4.6 cycle started).
Comment 1 Nicolas L. 2010-08-17 12:07:52 UTC
From comment #0 : 

Application: Yakuake (yakuake), signal: Segmentation fault
[KCrash Handler]
#6  0xb6293ac2 in QBasicAtomicInt::operator!= (this=0x0, value=1) at ../../include/QtCore/../../../../qt/src/corelib/thread/qbasicatomic.h:75
#7  0xb62975e2 in QList<QAction*>::detachShared (this=0x8617230) at ../../include/QtCore/../../../../qt/src/corelib/tools/qlist.h:131
#8  0xb6297124 in QList<QAction*>::removeAll (this=0x8617230, _t=@0xbfdd2024) at ../../include/QtCore/../../../../qt/src/corelib/tools/qlist.h:757
#9  0xb6307458 in QWidget::removeAction (this=0x84556b0, action=0x845b418) at /work/projects/qt/src/gui/kernel/qwidget.cpp:3140
#10 0xb6f2efbf in KActionCollection::removeAssociatedWidget (this=0x846a600, widget=0x84556b0) at /usr/local/kde4/src/KDE/kdelibs/kdeui/actions/kactioncollection.cpp:723
#11 0xb717a89a in KXMLGUIClient::prepareXMLUnplug (this=0x84589b4, w=0x84556b0) at /usr/local/kde4/src/KDE/kdelibs/kdeui/xmlgui/kxmlguiclient.cpp:726
#12 0xb717d40d in KXMLGUIFactory::removeClient (this=0x8636438, client=0x84589b4) at /usr/local/kde4/src/KDE/kdelibs/kdeui/xmlgui/kxmlguifactory.cpp:439
#13 0xb7177513 in ~KXMLGUIClient (this=0x84589b4, __in_chrg=<value optimized out>) at /usr/local/kde4/src/KDE/kdelibs/kdeui/xmlgui/kxmlguiclient.cpp:100
#14 0xb2b12bb8 in ~SessionController (this=0x84589a0, __in_chrg=<value optimized out>) at /usr/local/kde4/src/KDE/kdebase/apps/konsole/src/SessionController.cpp:182
#15 0xb5cb017f in qDeleteInEventHandler (o=0x84589a0) at /work/projects/qt/src/corelib/kernel/qobject.cpp:3980
#16 0xb5caaa60 in QObject::event (this=0x84589a0, e=0x8442f60) at /work/projects/qt/src/corelib/kernel/qobject.cpp:1194
#17 0xb62a4ed3 in QApplicationPrivate::notify_helper (this=0x826d800, receiver=0x84589a0, e=0x8442f60) at /work/projects/qt/src/gui/kernel/qapplication.cpp:4392
#18 0xb62a261c in QApplication::notify (this=0xbfdd2a38, receiver=0x84589a0, e=0x8442f60) at /work/projects/qt/src/gui/kernel/qapplication.cpp:3794
#19 0xb7031b76 in KApplication::notify (this=0xbfdd2a38, receiver=0x84589a0, event=0x8442f60) at /usr/local/kde4/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:309
#20 0xb5c91010 in QCoreApplication::notifyInternal (this=0xbfdd2a38, receiver=0x84589a0, event=0x8442f60) at /work/projects/qt/src/corelib/kernel/qcoreapplication.cpp:732
#21 0xb6293f7e in QCoreApplication::sendEvent (receiver=0x84589a0, event=0x8442f60) at ../../include/QtCore/../../../../qt/src/corelib/kernel/qcoreapplication.h:215
#22 0xb5c92105 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x824a878) at /work/projects/qt/src/corelib/kernel/qcoreapplication.cpp:1373
#23 0xb5c91dac in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /work/projects/qt/src/corelib/kernel/qcoreapplication.cpp:1266
#24 0xb6374ee5 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../qt/src/corelib/kernel/qcoreapplication.h:220
#25 0xb5ccabfd in postEventSourceDispatch (s=0x826a120) at /work/projects/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#26 0xb51520f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0xb5155990 in ?? () from /usr/lib/libglib-2.0.so.0
#28 0xb5155ac3 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0xb5ccbd57 in QEventDispatcherGlib::processEvents (this=0x8267cd8, flags=...) at /work/projects/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:415
#30 0xb6381263 in QGuiEventDispatcherGlib::processEvents (this=0x8267cd8, flags=...) at /work/projects/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#31 0xb5c8e1fa in QEventLoop::processEvents (this=0xbfdd29ec, flags=...) at /work/projects/qt/src/corelib/kernel/qeventloop.cpp:149
#32 0xb5c8e32f in QEventLoop::exec (this=0xbfdd29ec, flags=...) at /work/projects/qt/src/corelib/kernel/qeventloop.cpp:201
#33 0xb5c91713 in QCoreApplication::exec () at /work/projects/qt/src/corelib/kernel/qcoreapplication.cpp:1009
#34 0xb62a220f in QApplication::exec () at /work/projects/qt/src/gui/kernel/qapplication.cpp:3668
#35 0x08059792 in main (argc=3, argv=0xbfdd2ba4) at /usr/local/kde4/src/extragears/yakuake/app/main.cpp:97
Comment 2 Eike Hein 2010-11-07 17:12:27 UTC

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