Bug 246652 - Closing the shell via CTRL+D crashes [QObject::disconnect. KActionCollection::removeAssociatedWidget, KXMLGUIClient::prepareXMLUnplug]
Summary: Closing the shell via CTRL+D crashes [QObject::disconnect. KActionCollection:...
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: kpart (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 245676 248933 251012 254158 254875 254914 255033 255684 255863 255870 256204 256269 256371 256643 256707 256747 256800 257174 257385 257503 257535 257543 257661 257926 258071 259165 262249 264347 264653 267664 268143 280414 280822 307127 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-03 23:40 UTC by Marcel Partap
Modified: 2012-09-20 22:03 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.5.4


Attachments
New crash information added by DrKonqi (4.10 KB, text/plain)
2010-08-05 17:28 UTC, Marcel Partap
Details
New crash information added by DrKonqi (5.77 KB, text/plain)
2010-09-29 11:08 UTC, Emil Sedgh
Details
New crash information added by DrKonqi (3.28 KB, text/plain)
2010-10-25 09:48 UTC, Kristjan Ugrin
Details
New crash information added by DrKonqi (3.56 KB, text/plain)
2010-10-25 10:43 UTC, Felix Lemke
Details
New crash information added by DrKonqi (4.76 KB, text/plain)
2010-10-25 15:08 UTC, ZH
Details
New crash information added by DrKonqi (3.69 KB, text/plain)
2010-10-28 17:20 UTC, Steffen Boehme
Details
New crash information added by DrKonqi (2.97 KB, text/plain)
2010-11-04 10:51 UTC, Dennis Schridde
Details
New crash information added by DrKonqi (3.99 KB, text/plain)
2010-11-04 17:02 UTC, Steffen Boehme
Details
New crash information added by DrKonqi (3.97 KB, text/plain)
2010-11-06 00:03 UTC, Kirill
Details
New crash information added by DrKonqi (3.97 KB, text/plain)
2010-11-06 11:05 UTC, Elias Probst
Details
New crash information added by DrKonqi (3.84 KB, text/plain)
2010-11-07 16:32 UTC, Nikos Chantziaras
Details
New crash information added by DrKonqi (4.68 KB, text/plain)
2010-11-08 07:38 UTC, Bruno Friedmann
Details
New crash information added by DrKonqi (2.86 KB, text/plain)
2010-11-08 18:50 UTC, Richard Homonnai
Details
New crash information added by DrKonqi (5.22 KB, text/plain)
2010-11-09 15:46 UTC, Dennis Schridde
Details
New crash information added by DrKonqi (3.96 KB, text/plain)
2010-11-12 09:20 UTC, George V. Kiselyov
Details
New crash information added by DrKonqi (4.21 KB, text/plain)
2010-11-13 11:46 UTC, Gökçen Eraslan
Details
Valgrind session (46.86 KB, text/plain)
2010-11-13 15:49 UTC, Cristian Rodríguez
Details
New crash information added by DrKonqi (2.84 KB, text/plain)
2010-11-14 20:14 UTC, Markus H
Details
New crash information added by DrKonqi (2.54 KB, text/plain)
2010-11-15 06:41 UTC, proDOOMman
Details
Valgrind session of crash (17.44 KB, text/plain)
2010-11-15 20:55 UTC, Gökçen Eraslan
Details
New crash information added by DrKonqi (3.84 KB, text/plain)
2010-11-19 01:49 UTC, Leandro Santiago da Silva
Details
New crash information added by DrKonqi (3.76 KB, text/plain)
2010-11-29 14:48 UTC, Marian Marinov
Details
New crash information added by DrKonqi (4.96 KB, text/plain)
2010-11-30 18:28 UTC, Andrea Nicotra
Details
New crash information added by DrKonqi (2.75 KB, text/plain)
2010-11-30 20:27 UTC, Francisco
Details
New crash information added by DrKonqi (4.70 KB, text/plain)
2010-12-01 05:17 UTC, Ryan Voots
Details
New crash information added by DrKonqi (3.93 KB, text/plain)
2010-12-14 12:03 UTC, -Vlad-
Details
New crash information added by DrKonqi (4.36 KB, text/plain)
2011-01-19 11:09 UTC, Carlo Segato
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Partap 2010-08-03 23:40:52 UTC
Application: yakuake (2.9.7+)
KDE Platform Version: 4.5.62 (KDE 4.5.62 (KDE 4.6 >= 20100729)) (Compiled from sources)
Qt Version: 4.7.0
Operating System: Linux 2.6.35 x86_64
Distribution: "Gentoo Base System release 2.0.1"

-- Information about the crash:
- What I was doing when the application crashed:
working on stuff, having several tabs open, exiting one of the shells inside => B0oM!
Bug has been around for a while, still present with yesterday's QT/KDE code.

The crash can be reproduced every time.

-- Backtrace:
Application: Yakuake (yakuake), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  0x00007fe366b8e66c in QObject::disconnect (sender=0x15811a0, signal=<value optimized out>, receiver=0x158a8b0, method=<value optimized out>) at kernel/qobject.cpp:2722
#7  0x00007fe3681bd495 in KActionCollection::removeAssociatedWidget (this=0x158a8b0, widget=0x15811a0) at /usr/src/debug/kde-base/kdelibs-9999/kdelibs-9999/kdeui/actions/kactioncollection.cpp:726
#8  0x00007fe3683d0b5d in KXMLGUIClient::prepareXMLUnplug (this=0x152a788, w=0x15811a0) at /usr/src/debug/kde-base/kdelibs-9999/kdelibs-9999/kdeui/xmlgui/kxmlguiclient.cpp:726
#9  0x00007fe3683d94f6 in KXMLGUIFactory::removeClient (this=<value optimized out>, client=0x152a788) at /usr/src/debug/kde-base/kdelibs-9999/kdelibs-9999/kdeui/xmlgui/kxmlguifactory.cpp:439
#10 0x00007fe3683d0da1 in ~KXMLGUIClient (this=0x152a788, __in_chrg=<value optimized out>) at /usr/src/debug/kde-base/kdelibs-9999/kdelibs-9999/kdeui/xmlgui/kxmlguiclient.cpp:100
#11 0x00007fe3593b9af7 in ~SessionController (this=0x152a760, __in_chrg=<value optimized out>) at /usr/src/debug/kde-base/konsole-9999/konsole-9999/konsole/src/SessionController.cpp:182
#12 0x00007fe366b88e68 in QObject::event (this=0x152a760, e=0x7fffe79ba4c0) at kernel/qobject.cpp:1194
#13 0x00007fe36755e82c in QApplicationPrivate::notify_helper (this=0x67edc0, receiver=0x152a760, e=0x1576370) at kernel/qapplication.cpp:4392
#14 0x00007fe3675643ad in QApplication::notify (this=0x7fffe79bb1f0, receiver=0x152a760, e=0x1576370) at kernel/qapplication.cpp:4273
#15 0x00007fe3682b43a8 in KApplication::notify (this=0x7fffe79bb1f0, receiver=0x152a760, event=0x1576370) at /usr/src/debug/kde-base/kdelibs-9999/kdelibs-9999/kdeui/kernel/kapplication.cpp:284
#16 0x00007fe366b7716b in QCoreApplication::notifyInternal (this=0x7fffe79bb1f0, receiver=0x152a760, event=0x1576370) at kernel/qcoreapplication.cpp:732
#17 0x00007fe366b7a075 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x655490) at kernel/qcoreapplication.h:215
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x655490) at kernel/qcoreapplication.cpp:1373
#19 0x00007fe366ba35d3 in QCoreApplication::sendPostedEvents (s=0x67cdd0) at kernel/qcoreapplication.h:220
#20 postEventSourceDispatch (s=0x67cdd0) at kernel/qeventdispatcher_glib.cpp:277
#21 0x00007fe362f04399 in g_main_dispatch (context=0x67c120) at gmain.c:1960
#22 IA__g_main_context_dispatch (context=0x67c120) at gmain.c:2513
#23 0x00007fe362f08140 in g_main_context_iterate (context=0x67c120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#24 0x00007fe362f082e2 in IA__g_main_context_iteration (context=0x67c120, may_block=1) at gmain.c:2654
#25 0x00007fe366ba30be in QEventDispatcherGlib::processEvents (this=0x67ec40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#26 0x00007fe36760f2c6 in QGuiEventDispatcherGlib::processEvents (this=0x15811a0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007fe366b75eb2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#28 0x00007fe366b7627d in QEventLoop::exec (this=0x7fffe79bb140, flags=) at kernel/qeventloop.cpp:201
#29 0x00007fe366b7a2db in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#30 0x00000000004160b2 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kde-misc/yakuake-9999/yakuake-9999/app/main.cpp:97

Reported using DrKonqi
Comment 1 Eike Hein 2010-08-04 10:10:28 UTC
Hm, I can't reproduce this here with Qt 4.7 beta2 and KDE 4.4.95 (aka 4.5rc3). Could you perhaps post more accurate steps to reproduce, in case specific conditions are necessary? Attaching your yakuakerc might also be interesting.
Comment 2 Eike Hein 2010-08-04 10:47:47 UTC
Also, could you clarify "for a while"? Does this only occur with post-4.5-branch-off trunk?
Comment 3 Marcel Partap 2010-08-05 17:28:17 UTC
Created attachment 49839 [details]
New crash information added by DrKonqi

yakuake (2.9.7+) on KDE Platform 4.5.62 (KDE 4.5.62 (KDE 4.6 >= 20100729)) using Qt 4.7.0

mmh it might well be since i switched to the qt4.7 experimental branch, but i can not say definitly.
seems it's also not easy to reproduce... i'll examine closer when exactly this is triggered and report back.

-- Backtrace (Reduced):
#6  0x00007f2cdfc5366c in QObject::disconnect (sender=0xbeb5f0, signal=<value optimized out>, receiver=0xc10b30, method=<value optimized out>) at kernel/qobject.cpp:2722
#7  0x00007f2ce1282495 in KActionCollection::removeAssociatedWidget (this=0xc10b30, widget=0xbeb5f0) at /usr/src/debug/kde-base/kdelibs-9999/kdelibs-9999/kdeui/actions/kactioncollection.cpp:726
#8  0x00007f2ce1495b5d in KXMLGUIClient::prepareXMLUnplug (this=0xc9b2a8, w=0xbeb5f0) at /usr/src/debug/kde-base/kdelibs-9999/kdelibs-9999/kdeui/xmlgui/kxmlguiclient.cpp:726
#9  0x00007f2ce149e4f6 in KXMLGUIFactory::removeClient (this=<value optimized out>, client=0xc9b2a8) at /usr/src/debug/kde-base/kdelibs-9999/kdelibs-9999/kdeui/xmlgui/kxmlguifactory.cpp:439
#10 0x00007f2ce1495da1 in ~KXMLGUIClient (this=0xc9b2a8, __in_chrg=<value optimized out>) at /usr/src/debug/kde-base/kdelibs-9999/kdelibs-9999/kdeui/xmlgui/kxmlguiclient.cpp:100
Comment 4 Eike Hein 2010-08-24 22:02:51 UTC
*** Bug 248933 has been marked as a duplicate of this bug. ***
Comment 5 Mikko C. 2010-09-12 13:49:56 UTC
IT just happened here too. I simply typed "exit" in one of the open tabs.

QT 4.6.3
KDE trunk from a week ago.


Thread 1 (Thread 0x7f68c6187760 (LWP 2010)):
[KCrash Handler]
#6  0x00007f68c27002f8 in main_arena () from /lib/libc.so.6
#7  0x00007f68c3f9232e in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f68c4dae9ec in KActionCollection::removeAssociatedWidget (this=0x1ea2aa0, widget=0x1e81780)
    at /var/tmp/paludis/kde-base-kdelibs-9999/work/kdelibs-9999/kdeui/actions/kactioncollection.cpp:726
#9  0x00007f68c4f8f263 in KXMLGUIClient::prepareXMLUnplug (this=0x1e8e938, w=0x1e81780) at /var/tmp/paludis/kde-base-kdelibs-9999/work/kdelibs-9999/kdeui/xmlgui/kxmlguiclient.cpp:726
#10 0x00007f68c4f948ff in KXMLGUIFactory::removeClient (this=<value optimized out>, client=0x1e8e938) at /var/tmp/paludis/kde-base-kdelibs-9999/work/kdelibs-9999/kdeui/xmlgui/kxmlguifactory.cpp:439
#11 0x00007f68c4f91c3a in ~KXMLGUIClient (this=0x1e8e938, __in_chrg=<value optimized out>) at /var/tmp/paludis/kde-base-kdelibs-9999/work/kdelibs-9999/kdeui/xmlgui/kxmlguiclient.cpp:100
#12 0x00007f68b8bd28f5 in Konsole::SessionController::~SessionController() () from /usr/lib/libkonsoleprivate.so
#13 0x00007f68c3f8e41d in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007f68c307047c in QApplicationPrivate::notify_helper (this=0x1c08870, receiver=0x1e8e910, e=0x1e5ae50) at kernel/qapplication.cpp:4302
#15 0x00007f68c3078ae7 in QApplication::notify (this=0x7fff61263f40, receiver=0x1e8e910, e=0x1e5ae50) at kernel/qapplication.cpp:4185
#16 0x00007f68c4e8f890 in KApplication::notify (this=0x7fff61263f40, receiver=0x1e8e910, event=0x1e5ae50) at /var/tmp/paludis/kde-base-kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:310
#17 0x00007f68c3f7cfeb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#18 0x00007f68c3f7de3c in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007f68c3fab74f in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007f68c312a1e9 in QEventDispatcherX11::processEvents (this=0x1be1e30, flags=) at kernel/qeventdispatcher_x11.cpp:152
#21 0x00007f68c3f7b7d2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#22 0x00007f68c3f7bb9d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#23 0x00007f68c3f7e11b in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00000000004158b6 in main ()
Comment 6 Eike Hein 2010-09-12 14:15:43 UTC
It's noteworthy that none of the backtraces contains any Yakuake code, so while it's not impossible for Yakuake to be at fault, this is more likely to be a bug in Konsole or kdelibs or Qt.
Comment 7 Eike Hein 2010-09-13 02:24:40 UTC
*** Bug 251012 has been marked as a duplicate of this bug. ***
Comment 8 Emil Sedgh 2010-09-29 11:08:35 UTC
Created attachment 52066 [details]
New crash information added by DrKonqi

yakuake (2.9.7+) on KDE Platform 4.5.70 (4.6 >= 20100927) using Qt 4.7.0

- What I was doing when the application crashed:
I can reproduce. Qt 4.7 RC1 from Debian experimental, kde from trunk.
Im available for testing patches or any other kind of testing.

-- Backtrace (Reduced):
#7  0x00007ffe9ca5a071 in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) () from /usr/lib/libQtCore.so.4
#8  0x00007ffe9e349365 in KActionCollection::removeAssociatedWidget (this=0x14a87f0, widget=0x149de30) at /home/emilsedgh/kde/src/kdelibs/kdeui/actions/kactioncollection.cpp:726
#9  0x00007ffe9e563ccd in KXMLGUIClient::prepareXMLUnplug (this=0x14a18a8, w=0x149de30) at /home/emilsedgh/kde/src/kdelibs/kdeui/xmlgui/kxmlguiclient.cpp:726
#10 0x00007ffe9e56c8c6 in KXMLGUIFactory::removeClient (this=<value optimized out>, client=0x14a18a8) at /home/emilsedgh/kde/src/kdelibs/kdeui/xmlgui/kxmlguifactory.cpp:439
#11 0x00007ffe9e563fc1 in KXMLGUIClient::~KXMLGUIClient (this=0x14a18a8, __in_chrg=<value optimized out>) at /home/emilsedgh/kde/src/kdelibs/kdeui/xmlgui/kxmlguiclient.cpp:100
Comment 9 Alvaro Aguilera 2010-10-15 15:38:30 UTC
It also happens to me with opensuse packages.

Yakuake 2.9.7
KDE 4.5.2 
Qt 4.7.0
Comment 10 Kristjan Ugrin 2010-10-25 09:48:23 UTC
Created attachment 52845 [details]
New crash information added by DrKonqi

yakuake (2.9.7) on KDE Platform 4.5.2 (KDE 4.5.2) "release 10" using Qt 4.6.3

- What I was doing when the application crashed:

"Exit" or pressing ctrl+d on last active session, sometimes triggers this crash

-- Backtrace (Reduced):
#7  0x00007f4c222fc315 in QObject::disconnect (sender=0xb5f530, signal=0xdd8749 "destroyed(QObject*)", receiver=0xb23d50, method=0xb10089 "_k_associatedWidgetDestroyed(QObject*)")
    at kernel/qobject.cpp:2747
#8  0x00007f4c238f8c55 in KActionCollection::removeAssociatedWidget (this=0xb23d50, widget=0xb5f530) at /usr/src/debug/kdelibs-4.5.2/kdeui/actions/kactioncollection.cpp:726
#9  0x00007f4c23910bdd in KXMLGUIClient::prepareXMLUnplug (this=0xa0a838, w=0xb5f530) at /usr/src/debug/kdelibs-4.5.2/kdeui/xmlgui/kxmlguiclient.cpp:734
#10 0x00007f4c239f830a in KXMLGUIFactory::removeClient (this=<value optimized out>, client=0xa0a838) at /usr/src/debug/kdelibs-4.5.2/kdeui/xmlgui/kxmlguifactory.cpp:439
#11 0x00007f4c239f8881 in KXMLGUIClient::~KXMLGUIClient (this=0xa0a838, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.2/kdeui/xmlgui/kxmlguiclient.cpp:100
Comment 11 Felix Lemke 2010-10-25 10:43:41 UTC
Created attachment 52847 [details]
New crash information added by DrKonqi

yakuake (2.9.7) on KDE Platform 4.5.2 (KDE 4.5.2) using Qt 4.7.0

- What I was doing when the application crashed:
Close a tab (even if it is the last one) in Yakuake using CTRL+D causes a crash. Maybe it happens more often when I close a tab that was open before a suspend (to disk).

-- Backtrace (Reduced):
#7  0x00007f6af29f83f5 in QObject::disconnect (sender=0x680f10, signal=0xba79f9 "destroyed(QObject*)", receiver=0x90eaa0, method=0xa777c9 "_k_associatedWidgetDestroyed(QObject*)")
    at kernel/qobject.cpp:2722
#8  0x00007f6af4075c35 in KActionCollection::removeAssociatedWidget (this=0x90eaa0, widget=0x680f10) at /usr/src/debug/kdelibs-4.5.2/kdeui/actions/kactioncollection.cpp:726
#9  0x00007f6af4087c8d in KXMLGUIClient::prepareXMLUnplug (this=0x92cbc8, w=0x680f10) at /usr/src/debug/kdelibs-4.5.2/kdeui/xmlgui/kxmlguiclient.cpp:734
#10 0x00007f6af414bb6a in KXMLGUIFactory::removeClient (this=<value optimized out>, client=0x92cbc8) at /usr/src/debug/kdelibs-4.5.2/kdeui/xmlgui/kxmlguifactory.cpp:439
#11 0x00007f6af414c0e1 in KXMLGUIClient::~KXMLGUIClient (this=0x92cbc8, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.2/kdeui/xmlgui/kxmlguiclient.cpp:100
Comment 12 ZH 2010-10-25 15:08:14 UTC
Created attachment 52854 [details]
New crash information added by DrKonqi

yakuake (2.9.7) on KDE Platform 4.5.2 (KDE 4.5.2) "release 10" using Qt 4.6.3

- What I was doing when the application crashed:
open several tabs,do somrthing,close the first one,then yakuake crashes.

-- Backtrace (Reduced):
#7  0x00007f062fea1315 in QObject::disconnect (sender=0x9eaa50, signal=0xcdcac9 "destroyed(QObject*)", receiver=0x9f2540, method=0xcdb7b9 "_k_associatedWidgetDestroyed(QObject*)")
    at kernel/qobject.cpp:2747
#8  0x00007f063149dc55 in KActionCollection::removeAssociatedWidget (this=0x9f2540, widget=0x9eaa50) at /usr/src/debug/kdelibs-4.5.2/kdeui/actions/kactioncollection.cpp:726
#9  0x00007f06314b5bdd in KXMLGUIClient::prepareXMLUnplug (this=0x9f13a8, w=0x9eaa50) at /usr/src/debug/kdelibs-4.5.2/kdeui/xmlgui/kxmlguiclient.cpp:734
#10 0x00007f063159d30a in KXMLGUIFactory::removeClient (this=<value optimized out>, client=0x9f13a8) at /usr/src/debug/kdelibs-4.5.2/kdeui/xmlgui/kxmlguifactory.cpp:439
#11 0x00007f063159d881 in KXMLGUIClient::~KXMLGUIClient (this=0x9f13a8, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.2/kdeui/xmlgui/kxmlguiclient.cpp:100
Comment 13 Steffen Boehme 2010-10-28 17:20:56 UTC
Created attachment 52946 [details]
New crash information added by DrKonqi

yakuake (2.9.7) on KDE Platform 4.5.2 (KDE 4.5.2) "release 10" using Qt 4.6.3

- What I was doing when the application crashed:

Closing one of multiple open shells (already closed another shell before, where yakuake did not crashed).

-- Backtrace (Reduced):
#7  0x00007ff70ff85315 in QObject::disconnect (sender=0x1111b60, signal=0x1644ec9 "destroyed(QObject*)", receiver=0x131f410, method=0x15de4f9 "_k_associatedWidgetDestroyed(QObject*)")
    at kernel/qobject.cpp:2747
#8  0x00007ff710b87c55 in KActionCollection::removeAssociatedWidget (this=0x131f410, widget=0x1111b60) at /usr/src/debug/kdelibs-4.5.2/kdeui/actions/kactioncollection.cpp:726
#9  0x00007ff710b9fbdd in KXMLGUIClient::prepareXMLUnplug (this=0x13182c8, w=0x1111b60) at /usr/src/debug/kdelibs-4.5.2/kdeui/xmlgui/kxmlguiclient.cpp:734
#10 0x00007ff710c8730a in KXMLGUIFactory::removeClient (this=<value optimized out>, client=0x13182c8) at /usr/src/debug/kdelibs-4.5.2/kdeui/xmlgui/kxmlguifactory.cpp:439
#11 0x00007ff710c87881 in KXMLGUIClient::~KXMLGUIClient (this=0x13182c8, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.2/kdeui/xmlgui/kxmlguiclient.cpp:100
Comment 14 Eike Hein 2010-10-30 19:29:39 UTC
*** Bug 255684 has been marked as a duplicate of this bug. ***
Comment 15 Eike Hein 2010-11-02 18:03:46 UTC
*** Bug 255863 has been marked as a duplicate of this bug. ***
Comment 16 Eike Hein 2010-11-02 18:03:58 UTC
*** Bug 255870 has been marked as a duplicate of this bug. ***
Comment 17 Dennis Schridde 2010-11-04 10:51:57 UTC
Created attachment 53120 [details]
New crash information added by DrKonqi

yakuake (2.9.7) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

- What I was doing when the application crashed:

Pressed ^D in the last remaining tab in Yakuake. This bug did not happen with kde-4.5.2. Since I updated to kde-4.5.3 this morning the crash happens regularly and reproducible.
kde-misc/yakuake-2.9.7
kde-base/kdelibs-4.5.3

-- Backtrace (Reduced):
#7  0x00007fd9fb2561be in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fd9fc853215 in KActionCollection::removeAssociatedWidget(QWidget*) () from /usr/lib/libkdeui.so.5
#9  0x00007fd9fca613cd in KXMLGUIClient::prepareXMLUnplug(QWidget*) () from /usr/lib/libkdeui.so.5
#10 0x00007fd9fca69f26 in KXMLGUIFactory::removeClient(KXMLGUIClient*) () from /usr/lib/libkdeui.so.5
#11 0x00007fd9fca63b11 in KXMLGUIClient::~KXMLGUIClient() () from /usr/lib/libkdeui.so.5
Comment 18 Steffen Boehme 2010-11-04 17:02:59 UTC
Created attachment 53131 [details]
New crash information added by DrKonqi

yakuake (2.9.7) on KDE Platform 4.5.3 (KDE 4.5.3) "release 8" using Qt 4.6.3

- What I was doing when the application crashed:

Had more then 1 tab opened with several ssh connection to remote server.
Hit CTRL-D and the program crashes.
Happens everytime I hit CTRL-D often fast behind each other, I think it happens not, if I give some 1-2 seconds are enough I think) delay between the CTRL-D.

-- Backtrace (Reduced):
#6  operator!= (this=0x9a9dc0, _t=@0x7fffd1b2ce98) at ../../src/corelib/thread/qbasicatomic.h:75
#7  detachShared (this=0x9a9dc0, _t=@0x7fffd1b2ce98) at ../../src/corelib/tools/qlist.h:127
#8  QList<QAction*>::removeAll (this=0x9a9dc0, _t=@0x7fffd1b2ce98) at ../../src/corelib/tools/qlist.h:662
#9  0x00007f43aa0384c2 in QWidget::removeAction (this=0x10bf0a0, action=0x10c2770) at kernel/qwidget.cpp:3040
#10 0x00007f43ab813c84 in KActionCollection::removeAssociatedWidget (this=0x10c3bc0, widget=0x10bf0a0) at /usr/src/debug/kdelibs-4.5.3/kdeui/actions/kactioncollection.cpp:723
Comment 19 Eike Hein 2010-11-04 21:06:09 UTC
Guys, could you tell me a bit about what distributions you are all using? The initial reporter is using Gentoo; is that also the case for the rest of you? I still can't reproduce the problem, but if there's a distro-related pattern I can look into setting up an install.
Comment 20 Manuel Tortosa 2010-11-04 21:15:03 UTC
I'm using Chakra Linux here, KDE 4.5.3 Kernel 2.6.36
Comment 21 Artur Souza (MoRpHeUz) 2010-11-04 21:47:02 UTC
Slackware 13.1. Qt 4.7 and KDE from trunk, everything compiled by hand :) It seems that the bug started to show up after I changed from Qt 4.6 to Qt 4.7. But it's just a guess.

Cheers,
Comment 22 Emil Sedgh 2010-11-04 21:50:15 UTC
Qt 4.7 RC1 from Debian (experimental) with self built KDE from trunk.
Comment 23 Eike Hein 2010-11-04 21:53:27 UTC
I've been using Qt 4.7 here for half a year or so, too, hm ..
Comment 24 Felix Lemke 2010-11-05 00:34:38 UTC
I use openSUSE 11.3. Since the update yesterday I can not reproduce the crash. Now I have (all installed from repos):
Qt: 4.7.0
KDE Development Platform: 4.5.3 (KDE 4.5.3)
Yakuake: 2.9.7+
Comment 25 titofh 2010-11-05 11:44:55 UTC
openSUSE 11.3 with KDE:KDE4:Factory:Desktop repository.

crash is still reproducable with latest updates:
 start yakuake -> open some tabs -> change profile -> ctrl+d all tabs -> crash. on subsequent runs, changing the profile alone will crash.

my tip would be recent changes to the way konsole / kdebase4-session handles profiles. i've always noticed slight discrepancies between the profiles menu in yakuake and konsole.
Comment 26 Eike Hein 2010-11-05 11:58:22 UTC
The profiles menu in Yakuake isn't actually in Yakuake, but rather opened by the Konsole KPart component, and identical to the one used by Konsole. Yakuake actually has no hand in or influence over profiles at all.

In any case, yes, this is very unlikely to be a Yakuake bug since it appeared without changes in Yakuake, and no Yakuake code appears in the backtrace. I'd investigate it anyway if I could reproduce it, which I still can't.
Comment 27 titofh 2010-11-05 14:21:18 UTC
would confirm this to be a konsole kpart bug, since changing profiles in a kate embedded terminal also crashes.
Comment 28 Dennis Schridde 2010-11-05 18:05:08 UTC
I am using Gentoo (that's where the backtrace was generated), but today this bug also appeared on Ubuntu 10.10. Right in the first session after the reboot after updating to KDE 4.5.3 (ppa:kubuntu-ppa).
Comment 29 Kirill 2010-11-06 00:03:35 UTC
Created attachment 53179 [details]
New crash information added by DrKonqi

yakuake (2.9.7) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

- What I was doing when the application crashed:
It crashes every time I press Ctrl+D. After one of updates it worked ok until next update.

-- Backtrace (Reduced):
#6  operator!= (this=0x9ad930, _t=@0x7fffa5f77da8) at ../../src/corelib/thread/qbasicatomic.h:75
#7  detachShared (this=0x9ad930, _t=@0x7fffa5f77da8) at ../../src/corelib/tools/qlist.h:131
#8  QList<QAction*>::removeAll (this=0x9ad930, _t=@0x7fffa5f77da8) at ../../src/corelib/tools/qlist.h:757
#9  0x00007f6caa1c1db2 in QWidget::removeAction (this=0x9c9390, action=0x9cc0c0) at kernel/qwidget.cpp:3167
#10 0x00007f6caae75ca4 in KActionCollection::removeAssociatedWidget (this=0x9ccb50, widget=0x9c9390) at /usr/src/debug/kdelibs-4.5.3/kdeui/actions/kactioncollection.cpp:723
Comment 30 Elias Probst 2010-11-06 11:05:38 UTC
Created attachment 53185 [details]
New crash information added by DrKonqi

yakuake (2.9.7) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.6.3

- What I was doing when the application crashed:
Same happens here too since upgrading to 4.5.3 on Gentoo.

-- Backtrace (Reduced):
#7  0x00007f374a47e042 in QObject::disconnect (sender=0x9482f0, signal=<value optimized out>, receiver=0x962700, method=<value optimized out>) at kernel/qobject.cpp:2739
#8  0x00007f374b00432a in KActionCollection::removeAssociatedWidget (this=0x962700, widget=0x9482f0)
    at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/kdeui/actions/kactioncollection.cpp:726
#9  0x00007f374b1e2835 in KXMLGUIClient::prepareXMLUnplug (this=0x8e36a8, w=0x9482f0) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/kdeui/xmlgui/kxmlguiclient.cpp:734
#10 0x00007f374b1ea899 in KXMLGUIFactory::removeClient (this=<value optimized out>, client=0x8e36a8) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/kdeui/xmlgui/kxmlguifactory.cpp:439
#11 0x00007f374b1e29eb in ~KXMLGUIClient (this=0x8e36a8, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/kdeui/xmlgui/kxmlguiclient.cpp:100
Comment 31 Nikos Chantziaras 2010-11-07 16:32:15 UTC
Created attachment 53223 [details]
New crash information added by DrKonqi

yakuake (2.9.7+) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

Same issue here. It *only* started happening after updating to KDE 4.5.3 (from 4.5.2). It never happened with older versions of KDE (been using KDE 4 since 4.1).

Qt 4.7.0. Gentoo AMD64.

-- Backtrace (Reduced):
#7  0x000000300757dac4 in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x0000003014148225 in KActionCollection::removeAssociatedWidget (this=0x1574a70, widget=0x156dd00) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/kdeui/actions/kactioncollection.cpp:726
#9  0x000000301435c07d in KXMLGUIClient::prepareXMLUnplug (this=0x14423e8, w=0x156dd00) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/kdeui/xmlgui/kxmlguiclient.cpp:734
#10 0x0000003014364d26 in KXMLGUIFactory::removeClient (this=<value optimized out>, client=0x14423e8) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/kdeui/xmlgui/kxmlguifactory.cpp:439
#11 0x000000301435e811 in KXMLGUIClient::~KXMLGUIClient (this=0x14423e8, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/kdeui/xmlgui/kxmlguiclient.cpp:100
Comment 32 Eike Hein 2010-11-07 17:04:13 UTC
*** Bug 255033 has been marked as a duplicate of this bug. ***
Comment 33 Eike Hein 2010-11-07 17:04:19 UTC
*** Bug 256204 has been marked as a duplicate of this bug. ***
Comment 34 Eike Hein 2010-11-07 17:04:24 UTC
*** Bug 256269 has been marked as a duplicate of this bug. ***
Comment 35 Eike Hein 2010-11-07 17:04:45 UTC
*** Bug 254914 has been marked as a duplicate of this bug. ***
Comment 36 Eike Hein 2010-11-07 17:06:03 UTC
Reassigning to Konsole, as the same crash has also been reported against Dolphin and Kate numerous times.
Comment 37 Eike Hein 2010-11-07 17:10:53 UTC
*** Bug 254875 has been marked as a duplicate of this bug. ***
Comment 38 Eike Hein 2010-11-07 17:11:46 UTC
*** Bug 254158 has been marked as a duplicate of this bug. ***
Comment 39 Eike Hein 2010-11-07 17:12:27 UTC
*** Bug 245676 has been marked as a duplicate of this bug. ***
Comment 40 Bruno Friedmann 2010-11-08 07:38:50 UTC
Created attachment 53235 [details]
New crash information added by DrKonqi

yakuake (2.9.7) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

- What I was doing when the application crashed: open yakuake
start top, open a new tab start iostat -k 2, open a new tab (ctrl+shift+n) issue ls -lh
close the third tab with ctrl+d
quit iostat, write exit
quit top, ctrl+d -> the last tab is rebuild/restarted
now right-click -> close this tab
crash

My previous bug 246562 happen in dolphin with console shell.
Actually tested this morning, the same actions and it haven't crash.

Seems to be more yakuake related than konsole ?

-- Backtrace (Reduced):
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#7  0x00007f869adde3cb in node_copy (this=0x7f8699d7b428, alloc=<value optimized out>) at /usr/include/bits/string3.h:52
[...]
#9  0x00007f869adde448 in detachShared (this=0x7f8699d7b428, _t=@0x7fffa8aa3288) at ../../src/corelib/tools/qlist.h:132
#10 QList<QAction*>::removeAll (this=0x7f8699d7b428, _t=@0x7fffa8aa3288) at ../../src/corelib/tools/qlist.h:757
#11 0x00007f869ae2adc2 in QWidget::removeAction (this=0x80d460, action=0x9b2a30) at kernel/qwidget.cpp:3167
Comment 41 Eike Hein 2010-11-08 10:05:44 UTC
Same Konsole bug (no Yakuake code in the backtrace, backtrace the same as the others).
Comment 42 Eike Hein 2010-11-08 15:36:32 UTC

*** This bug has been marked as a duplicate of bug 256371 ***
Comment 43 Eike Hein 2010-11-08 15:37:47 UTC
Arf, dupe'd in the wrong direction ...
Comment 44 Eike Hein 2010-11-08 15:37:59 UTC
*** Bug 256371 has been marked as a duplicate of this bug. ***
Comment 45 Richard Homonnai 2010-11-08 18:50:35 UTC
Created attachment 53256 [details]
New crash information added by DrKonqi

yakuake (2.9.6) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.6.3

- What I was doing when the application crashed:

Closing the tab using Ctrl+D. Also happens when using "exit" or closing the Tab via "-".

This started happening when I updated Qt (4.6.2->4.6.3) and KDE (4.4.5->4.5.2).
Continues happening with 4.5.3.

-- Backtrace (Reduced):
#7  0x00007f7a6ef2a4c6 in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f7a6facd545 in KActionCollection::removeAssociatedWidget(QWidget*) () from /usr/lib/libkdeui.so.5
#9  0x00007f7a6fcd650d in KXMLGUIClient::prepareXMLUnplug(QWidget*) () from /usr/lib/libkdeui.so.5
#10 0x00007f7a6fcdee16 in KXMLGUIFactory::removeClient(KXMLGUIClient*) () from /usr/lib/libkdeui.so.5
#11 0x00007f7a6fcd66d1 in KXMLGUIClient::~KXMLGUIClient() () from /usr/lib/libkdeui.so.5
Comment 46 Dennis Schridde 2010-11-09 15:46:03 UTC
Created attachment 53284 [details]
New crash information added by DrKonqi

yakuake (2.9.7) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

- What I was doing when the application crashed:

Pressed ^D in one shell (some more were remaining)

-- Backtrace (Reduced):
#7  operator!= (this=0xa29e728, action=0xa21fbf8) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:75
#8  detachShared (this=0xa29e728, action=0xa21fbf8) at ../../include/QtCore/../../src/corelib/tools/qlist.h:131
#9  removeAll (this=0xa29e728, action=0xa21fbf8) at ../../include/QtCore/../../src/corelib/tools/qlist.h:757
#10 QWidget::removeAction (this=0xa29e728, action=0xa21fbf8) at kernel/qwidget.cpp:3167
#11 0x003ae3b6 in KActionCollection::removeAssociatedWidget (this=0xa22ae58, widget=0xa29e728) at ../../kdeui/actions/kactioncollection.cpp:723
Comment 47 Kurt Hindenburg 2010-11-10 06:30:37 UTC
This is from my patch for bug 240037

I'll remove from trunk (1194920)  and 4.5 branch (shortly).

Sorry for the issues.
Comment 48 Kurt Hindenburg 2010-11-10 07:14:14 UTC
I"m still looking at this - I don't think the patch caused this.  We'll try to get it fixed for the new release.

It may be a kdelibs issue.
Comment 49 Pino Toscano 2010-11-12 01:40:00 UTC
*** Bug 256643 has been marked as a duplicate of this bug. ***
Comment 50 George V. Kiselyov 2010-11-12 09:20:00 UTC
Created attachment 53347 [details]
New crash information added by DrKonqi

yakuake (2.9.7) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

- What I was doing when the application crashed:

type 'exit' or 'logout' when more that one opened tabs

-- Backtrace (Reduced):
#7  0x061174b7 in QWidget::removeAction(QAction*) () from /usr/lib/libQtGui.so.4
#8  0x010b43b6 in KActionCollection::removeAssociatedWidget(QWidget*) () from /usr/lib/libkdeui.so.5
#9  0x0130280e in KXMLGUIClient::prepareXMLUnplug(QWidget*) () from /usr/lib/libkdeui.so.5
#10 0x0130bb7d in KXMLGUIFactory::removeClient(KXMLGUIClient*) () from /usr/lib/libkdeui.so.5
#11 0x0130522e in KXMLGUIClient::~KXMLGUIClient() () from /usr/lib/libkdeui.so.5
Comment 51 Richard Homonnai 2010-11-12 09:24:43 UTC
I have downgraded to KDE 4.5.2. The Problem is gone, so it doesn't seem Qt related.
Comment 52 Alvaro Aguilera 2010-11-12 12:38:13 UTC
It also happens when you press the "-" button to close the tab, specially if you are working on something important.
Comment 53 Eike Hein 2010-11-12 16:14:48 UTC
*** Bug 256707 has been marked as a duplicate of this bug. ***
Comment 54 David Faure 2010-11-13 00:10:44 UTC
SVN commit 1196295 by dfaure:

Fix use of deleted memory because the pointer returned by getImage() gets deleted+recreated when
updateImageSize emits changedContentSizeSignal() which ends up calling getImage() too.
Please check, I don't really know this code -- but valgrind was clear about the error.
CCMAIL: robertknight@gmail.com

Maybe it solves the crashes from 246652 if they were caused by this memory corruption.
(Hard to tell, without a valgrind log of that crash)
CCBUG: 246652


 M  +6 -3      TerminalDisplay.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1196295
Comment 55 Kurt Hindenburg 2010-11-13 07:14:52 UTC
#54 Thanks for looking at this.  Yes I can still reproduce.  I think I've found a way to do it:

right click (I have left handed mouse) anywhere in session
I get a warning "Konsole::SessionController:showDisplayContextMenu: Unable to display popupmenu for session "Shell"", no GUI factory avabilabe to build popup.

Then do a ^D and it crashes.

i wondered what changed recently to cause this.
Comment 56 Gökçen Eraslan 2010-11-13 11:07:37 UTC
I can reproduce the bug with KDE 4.5.3, Qt 4.7.1 and latest yakuake. Trace is as follows:

#7  operator!= (this=0x9e090a0, _t=@0xbfec2634) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:75
#8  detachShared (this=0x9e090a0, _t=@0xbfec2634) at ../../include/QtCore/../../src/corelib/tools/qlist.h:131
#9  QList<QAction*>::removeAll (this=0x9e090a0, _t=@0xbfec2634) at ../../include/QtCore/../../src/corelib/tools/qlist.h:758
#10 0xb68702dc in QWidget::removeAction (this=0x9f5d2f8, action=0xa026960) at kernel/qwidget.cpp:3178
#11 0xb727b218 in KActionCollection::removeAssociatedWidget (this=0x9ef37e0, widget=0x9f5d2f8) at /var/pisi/kdelibs-4.5.3-84/work/kdelibs-4.5.3/kdeui/actions/kactioncollection.cpp:723
#12 0xb749de5e in KXMLGUIClient::prepareXMLUnplug (this=0x9ef0114, w=0x9f5d2f8) at /var/pisi/kdelibs-4.5.3-84/work/kdelibs-4.5.3/kdeui/xmlgui/kxmlguiclient.cpp:734
#13 0xb74a3bec in KXMLGUIFactory::removeClient (this=0x9ee5b30, client=0x9ef0114) at /var/pisi/kdelibs-4.5.3-84/work/kdelibs-4.5.3/kdeui/xmlgui/kxmlguifactory.cpp:439
#14 0xb749dc5e in KXMLGUIClient::~KXMLGUIClient (this=0x9ef0114, __in_chrg=<value optimized out>) at /var/pisi/kdelibs-4.5.3-84/work/kdelibs-4.5.3/kdeui/xmlgui/kxmlguiclient.cpp:100
#15 0xb2c72216 in Konsole::SessionController::~SessionController (this=0x9ef0100, __in_chrg=<value optimized out>)
Comment 57 Eike Hein 2010-11-13 11:26:47 UTC
*** Bug 256747 has been marked as a duplicate of this bug. ***
Comment 58 Gökçen Eraslan 2010-11-13 11:46:16 UTC
Created attachment 53390 [details]
New crash information added by DrKonqi

yakuake (2.9.7) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.1

- What I was doing when the application crashed:

Pressed control+D and yakuake crashed. That's all.

-- Backtrace (Reduced):
#7  operator!= (this=0x96e1fa8, _t=@0xbff09eb4) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:75
#8  detachShared (this=0x96e1fa8, _t=@0xbff09eb4) at ../../include/QtCore/../../src/corelib/tools/qlist.h:131
#9  QList<QAction*>::removeAll (this=0x96e1fa8, _t=@0xbff09eb4) at ../../include/QtCore/../../src/corelib/tools/qlist.h:758
#10 0xb66e42dc in QWidget::removeAction (this=0x95bfb80, action=0x93ba4a0) at kernel/qwidget.cpp:3178
#11 0xb70ef218 in KActionCollection::removeAssociatedWidget (this=0x93b4368, widget=0x95bfb80) at /var/pisi/kdelibs-4.5.3-84/work/kdelibs-4.5.3/kdeui/actions/kactioncollection.cpp:723
Comment 59 Eike Hein 2010-11-13 15:33:38 UTC
*** Bug 256800 has been marked as a duplicate of this bug. ***
Comment 60 Cristian Rodríguez 2010-11-13 15:49:18 UTC
Created attachment 53394 [details]
Valgrind session

Valgrind log
Comment 61 Kurt Hindenburg 2010-11-13 22:50:16 UTC
SVN commit 1196676 by hindenburg:

Temporary fix for crash that happens in Konsole Part when user has opened
the popup menu and then closes the last session.  The down side is now
no popup menu is displayed.

CCBUG: 246652


 M  +10 -0     SessionController.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1196676
Comment 62 Cristian Rodríguez 2010-11-14 00:03:36 UTC
It works, but of course is less than ideal without the context menu available ;)
Comment 63 Dennis Schridde 2010-11-14 11:18:42 UTC
The fix for people who never use the context menu was committed in comment #54, right?
Comment 64 Thomas Capricelli 2010-11-14 15:51:02 UTC
i've only experienced this bug for the last few days/weeks. Probably since i've updated from qt 4.6/kde 4.4 to qt 4.7/kde 4.5 (and now qt-4.7.1/kde-4.5.3, the crash is still there).
I'm not using suspend/whatever (it's a desktop) and i've never opened a menu in yakuae, so this is probably unrelated to those.
Comment 65 Markus H 2010-11-14 20:14:17 UTC
Created attachment 53412 [details]
New crash information added by DrKonqi

yakuake (2.9.7) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

I entered "exit" in the last open session. Direcly Yakuake crashed with the attached Traceback

-- Backtrace (Reduced):
#8  0xb6db33f7 in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) () from /usr/lib/libQtCore.so.4
#9  0xb7296dd8 in KActionCollection::removeAssociatedWidget(QWidget*) () from /usr/lib/libkdeui.so.5
#10 0xb74a892e in KXMLGUIClient::prepareXMLUnplug(QWidget*) () from /usr/lib/libkdeui.so.5
#11 0xb74ae335 in KXMLGUIFactory::removeClient(KXMLGUIClient*) () from /usr/lib/libkdeui.so.5
#12 0xb74a8b9e in KXMLGUIClient::~KXMLGUIClient() () from /usr/lib/libkdeui.so.5
Comment 66 proDOOMman 2010-11-15 06:41:52 UTC
Created attachment 53425 [details]
New crash information added by DrKonqi

yakuake (2.9.7) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

I type "exit" and yakuake crashed.
May be this bug already fixed in svn...

-- Backtrace (Reduced):
#8  0xb70f2398 in KActionCollection::removeAssociatedWidget(QWidget*) () from /usr/lib/libkdeui.so.5
#9  0xb734080e in KXMLGUIClient::prepareXMLUnplug(QWidget*) () from /usr/lib/libkdeui.so.5
#10 0xb7349b7d in KXMLGUIFactory::removeClient(KXMLGUIClient*) () from /usr/lib/libkdeui.so.5
#11 0xb734322e in KXMLGUIClient::~KXMLGUIClient() () from /usr/lib/libkdeui.so.5
#12 0xb2d87740 in Konsole::SessionController::~SessionController() () from /usr/lib/libkonsoleprivate.so
Comment 67 Gökçen Eraslan 2010-11-15 13:38:02 UTC
Maybe related to that commit[1] and bug 170806, adding dfaure to CC.


[1] http://websvn.kde.org/?view=revision&revision=1182570
Comment 68 David Faure 2010-11-15 18:18:47 UTC
Gökcen: I know about this issue, see #54. And again, I see no relation with r1182570.
And I can't see the warning that #55 mentions here, when right-clicking the terminal, in either konsole or yakuake.
So I'm still waiting for steps to reproduce the bug.
Comment 69 Nikos Chantziaras 2010-11-15 18:58:22 UTC
(In reply to comment #68)
> So I'm still waiting for steps to reproduce the bug.

Only in Yakauke:  Right click inside the konsole part. Press ESC. Press CTRL+D. It always crashes.
Comment 70 Gökçen Eraslan 2010-11-15 20:55:37 UTC
Created attachment 53447 [details]
Valgrind session of crash
Comment 71 David Faure 2010-11-16 01:29:18 UTC
Gökcen: your vg log doesn't have my #54 fix, so it had a lot of noise (the lack --nofork didn't help either), and not enough debug symbols everywhere.
But thanks to #69 I could finally reproduce this bug. Valgrind says:

==20013==    by 0x6D9CFA1: QWidget::d_func() (qwidget.h:143)
==20013==    by 0x6DF39F7: QWidget::removeAction(QAction*) (qwidget.cpp:3162)
==20013==    by 0x6571836: KActionCollection::removeAssociatedWidget(QWidget*) (kactioncollection.cpp:723)
==20013==    by 0x67B3E6B: KXMLGUIClient::prepareXMLUnplug(QWidget*) (kxmlguiclient.cpp:726)
==20013==    by 0x67B6D69: KXMLGUIFactory::removeClient(KXMLGUIClient*) (kxmlguifactory.cpp:453)
==20013==    by 0x67B0CB8: KXMLGUIClient::~KXMLGUIClient() (kxmlguiclient.cpp:100)
==20013==    by 0x1730FF50: Konsole::SessionController::~SessionController() (SessionController.cpp:176)
==20013==    by 0x1730FF97: Konsole::SessionController::~SessionController() (SessionController.cpp:182)
==20013==  Address 0xf7ad878 is 8 bytes inside a block of size 912 free'd
==20013==    at 0x4C25108: operator delete(void*) (vg_replace_malloc.c:387)
==20013==    by 0x1732930D: Konsole::TerminalDisplay::~TerminalDisplay() (TerminalDisplay.cpp:391)
[...]

and now I understand what's happening. Indeed the regression comes from the patch r1145720 for bug 170806, because removeClient() on the guiFactory unplugs actions, i.e. tries to access a widget that doesn't exist anymore (TerminalDisplay).
This tells me that the destruction order is a bit strange in konsole then (when the guiFactory got autocreated in showDisplayContextMenu), but ok, I'll have a look at fixing this in kdeui to restore former behavior.
We only wanted to make the factory forget about the client, not to unplug actions one by one (which sounds slow, too).
Comment 72 David Faure 2010-11-16 01:35:55 UTC
SVN commit 1197480 by dfaure:

Tune down the fix for bug 170806 so that the factory forgets about the client, but doesn't unplug every action one by one
 (which is slow, and which can crash if one of the associated widgets was already deleted like in bug 246652)
BUG: 246652
CCBUG: 170806


 M  +3 -1      kxmlguiclient.cpp  
 M  +5 -0      kxmlguifactory.cpp  
 M  +4 -0      kxmlguifactory.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1197480
Comment 73 Gökçen Eraslan 2010-11-16 08:12:25 UTC
(In reply to comment #71)
> Gökcen: your vg log doesn't have my #54 fix, so it had a lot of noise (the lack
> --nofork didn't help either), and not enough debug symbols everywhere.

I'm not really familiar with valgrind, sorry about that. Anyway, thanks for your help.
Comment 74 Gökçen Eraslan 2010-11-16 11:03:35 UTC
In Konsole there is still a bug about GUI Factory, I'm writing since it may be related to this bug. Steps to reproduce:

1- Open Konsole,
2- Open a new tab
3- Right click to open the context menu
4- Press Esc to cancel context menu and press Control+D to close active konsole tab
5- Right click to open context menu in the tab that we've just switched.

Actual results:
Context menu does not show up, and in .xsession errors there are lines like:

konsole(1532) Konsole::SessionController::showDisplayContextMenu: Unable to display popup menu for session "Shell" , no GUI factory available to build the popup.


Information:
Using Qt 4.7.1 & KDE 4.5.3 with fixes in comment 54 and comment 72.
Comment 75 David Faure 2010-11-16 13:56:49 UTC
SVN commit 1197755 by dfaure:

Remove the crash-workaround which prevents the RMB from appearing.
CCBUG: 246652
#74: does this fix your problem? I couldn't reproduce it (with this local change)


 M  +3 -10     SessionController.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1197755
Comment 76 Gökçen Eraslan 2010-11-16 14:57:31 UTC
(In reply to comment #75)
> SVN commit 1197755 by dfaure:
> 
> Remove the crash-workaround which prevents the RMB from appearing.
> CCBUG: 246652
> #74: does this fix your problem? I couldn't reproduce it (with this local
> change)

I can't apply this since in KDE 4.5.3, I don't have workaround commit introduced in comment 61. I have commits introduced in comment 54 and comment 72 applied to KDE 4.5.3. 


When try to debug this I see that, check of factory pointer below is skipped since factory is not NULL:

    if (!factory()) 
    {
        if (!clientBuilder()) 
            setClientBuilder(new KXMLGUIBuilder(_view));
        
        KXMLGUIFactory* factory = new KXMLGUIFactory(clientBuilder(), this);
        factory->addClient(this);
    }


but popup pointer is set to NULL after this line:

    QMenu* popup = qobject_cast<QMenu*>(factory()->container("session-popup-menu",this));

After that, in else part of popup check, 

Konsole::SessionController::showDisplayContextMenu: Unable to display popup menu for session "Shell" , no GUI factory available to build the popup.

message is displayed with kWarning.
Comment 77 Gökçen Eraslan 2010-11-16 15:58:41 UTC
By the way, in Yakuake I can't reproduce the bug I mentioned. It's reproducable in Konsole only.
Comment 78 Dario Andres 2010-11-17 18:25:24 UTC
*** Bug 257174 has been marked as a duplicate of this bug. ***
Comment 79 David Faure 2010-11-18 21:33:20 UTC
SVN commit 1198536 by dfaure:

Warn when a xmlguiclient was deleted without being removed from the xmlguifactory first.
This would crash until kdelibs-4.5.2, where it crashed in other cases (see r1197480) :)
Now it doesn't crash (hopefully), but it warns because it leaks e.g. popup-menus.
CCBUG: 246652


 M  +12 -5     tests/kxmlgui_unittest.cpp  
 M  +4 -0      xmlgui/kxmlguiclient.cpp  
 M  +1 -1      xmlgui/kxmlguiclient.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1198536
Comment 80 Leandro Santiago da Silva 2010-11-19 01:49:25 UTC
Created attachment 53534 [details]
New crash information added by DrKonqi

yakuake (2.9.7+) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

- What I was doing when the application crashed:
I've done a logout from a shell.

- Unusual behavior I noticed:
Yakuake Crashed

- Custom settings of the application:
I tried to use Kubuntu packages and it show this problem. And after compile yakuake from sources, the problem persists

-- Backtrace (Reduced):
#7  0x025684a8 in detachShared (this=0x9681d70, action=0x96fb298) at ../../include/QtCore/../../src/corelib/tools/qlist.h:131
#8  removeAll (this=0x9681d70, action=0x96fb298) at ../../include/QtCore/../../src/corelib/tools/qlist.h:757
#9  QWidget::removeAction (this=0x9681d70, action=0x96fb298) at kernel/qwidget.cpp:3167
#10 0x00e1f3b6 in KActionCollection::removeAssociatedWidget (this=0x96fb2a8, widget=0x9681d70) at ../../kdeui/actions/kactioncollection.cpp:723
#11 0x0106d80e in KXMLGUIClient::prepareXMLUnplug (this=0x96fb604, w=0x9681d70) at ../../kdeui/xmlgui/kxmlguiclient.cpp:734
Comment 81 Dominik Haumann 2010-11-20 13:16:20 UTC
*** Bug 257385 has been marked as a duplicate of this bug. ***
Comment 82 Dario Andres 2010-11-21 14:21:12 UTC
*** Bug 257503 has been marked as a duplicate of this bug. ***
Comment 83 Eike Hein 2010-11-21 20:29:00 UTC
*** Bug 257543 has been marked as a duplicate of this bug. ***
Comment 84 Dominik Haumann 2010-11-21 22:46:50 UTC
*** Bug 257535 has been marked as a duplicate of this bug. ***
Comment 85 Dominik Haumann 2010-11-23 09:21:24 UTC
*** Bug 257661 has been marked as a duplicate of this bug. ***
Comment 86 Christoph Feck 2010-11-26 13:20:01 UTC
*** Bug 257926 has been marked as a duplicate of this bug. ***
Comment 87 Eike Hein 2010-11-27 15:15:03 UTC
*** Bug 258071 has been marked as a duplicate of this bug. ***
Comment 88 Marian Marinov 2010-11-29 14:48:37 UTC
Created attachment 53858 [details]
New crash information added by DrKonqi

yakuake (2.9.6) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.6.3

- What I was doing when the application crashed:

Justo opened Yakuake and then hit Ctrl+D and it crashed. It can be reproduced every time.

-- Backtrace (Reduced):
#8  0x005acda5 in QObject::disconnect (sender=0x8d864b8, signal=0x8de95b1 "destroyed(QObject*)", receiver=0x8d88d20, method=0x8dedb31 "\037k_associatedWidgetDestroyed(QObject*)")
    at kernel/qobject.cpp:2747
#9  0x00bbc2a8 in KActionCollection::removeAssociatedWidget(QWidget*) () from /usr/lib/libkdeui.so.5
#10 0x00dca25f in KXMLGUIClient::prepareXMLUnplug(QWidget*) () from /usr/lib/libkdeui.so.5
#11 0x00dd2262 in KXMLGUIFactory::removeClient(KXMLGUIClient*) () from /usr/lib/libkdeui.so.5
#12 0x00dca82f in KXMLGUIClient::~KXMLGUIClient() () from /usr/lib/libkdeui.so.5
Comment 89 Andrea Nicotra 2010-11-30 18:28:51 UTC
Created attachment 53904 [details]
New crash information added by DrKonqi

yakuake (2.9.6) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

- What I was doing when the application crashed:
Type 'exit' on shell
kde4 
kubuntu 10.04.1

-- Backtrace (Reduced):
#7  QList<QAction*>::detachShared (this=0x1e79a00, action=0x1e7e1e0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:131
#8  QList<QAction*>::removeAll (this=0x1e79a00, action=0x1e7e1e0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:757
#9  QWidget::removeAction (this=0x1e79a00, action=0x1e7e1e0) at kernel/qwidget.cpp:3167
#10 0x00007f92d2a42dd4 in KActionCollection::removeAssociatedWidget (this=0x1e84bf0, widget=0x1e79a00) at ../../kdeui/actions/kactioncollection.cpp:723
#11 0x00007f92d2c573bd in KXMLGUIClient::prepareXMLUnplug (this=0x1e7e538, w=0x1e79a00) at ../../kdeui/xmlgui/kxmlguiclient.cpp:734
Comment 90 Francisco 2010-11-30 20:27:19 UTC
Created attachment 53915 [details]
New crash information added by DrKonqi

yakuake (2.9.6) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.6.3

- What I was doing when the application crashed:

I just type exit and it crashes, also when i hit Ctrl+D.

-- Backtrace (Reduced):
#7  0x05e15029 in QWidget::removeAction(QAction*) () from /usr/lib/libQtGui.so.4
#8  0x0689a646 in KActionCollection::removeAssociatedWidget(QWidget*) () from /usr/lib/libkdeui.so.5
#9  0x06aa85df in KXMLGUIClient::prepareXMLUnplug(QWidget*) () from /usr/lib/libkdeui.so.5
#10 0x06ab05e2 in KXMLGUIFactory::removeClient(KXMLGUIClient*) () from /usr/lib/libkdeui.so.5
#11 0x06aa8baf in KXMLGUIClient::~KXMLGUIClient() () from /usr/lib/libkdeui.so.5
Comment 91 Ryan Voots 2010-12-01 05:17:05 UTC
Created attachment 53930 [details]
New crash information added by DrKonqi

yakuake (2.9.7) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.1

- What I was doing when the application crashed:

Qt: 4.7.1
KDE Development Platform: 4.5.3 (KDE 4.5.3)
Yakuake: 2.9.7

Crashed when right clicking then closing the terminal via "exit" in shell, ctrl+d, or right clicking on tab.

-- Backtrace (Reduced):
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#7  0x00007f28a227c24c in node_copy (this=0x7f28a11aa408, alloc=<value optimized out>) at /usr/include/bits/string3.h:52
[...]
#9  0x00007f28a22c9083 in detach_helper (this=0x11b6300, action=0x1203a10) at ../../src/corelib/tools/qlist.h:710
#10 detachShared (this=0x11b6300, action=0x1203a10) at ../../src/corelib/tools/qlist.h:132
#11 removeAll (this=0x11b6300, action=0x1203a10) at ../../src/corelib/tools/qlist.h:758
Comment 92 Alvaro Aguilera 2010-12-02 12:37:10 UTC
The bug is still reproducible in KDE 4.6 Beta 1. If you try to change the Profile yakuake crashes. 

Yakuake 2.9.7+ 
KDE 4.5.80 (opensuse RPMs)
QT 4.7.1

Dump:


Application: Yakuake (yakuake), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f19079b1732 in ?? () from /usr/lib64/libkonsoleprivate.so
#7  0x00007f19079b17d8 in QVariant Konsole::Profile::property<QVariant>(Konsole::Profile::Property) const () from /usr/lib64/libkonsoleprivate.so
#8  0x00007f19079ebcc8 in Konsole::SessionManager::applyProfile(Konsole::Session*, KSharedPtr<Konsole::Profile>, bool) () from /usr/lib64/libkonsoleprivate.so
#9  0x00007f19079ed5fc in Konsole::SessionManager::updateSession(Konsole::Session*) () from /usr/lib64/libkonsoleprivate.so
#10 0x00007f19079ed7b9 in Konsole::SessionManager::setSessionProfile(Konsole::Session*, KSharedPtr<Konsole::Profile>) () from /usr/lib64/libkonsoleprivate.so
#11 0x00007f19079e3ebf in Konsole::SessionController::changeProfile(KSharedPtr<Konsole::Profile>) () from /usr/lib64/libkonsoleprivate.so
#12 0x00007f19079e9539 in Konsole::SessionController::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkonsoleprivate.so
#13 0x00007f1915c4cfef in QMetaObject::activate (sender=0x951720, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff015abfb0) at kernel/qobject.cpp:3272
#14 0x00007f19079d1a02 in Konsole::ProfileList::profileSelected(KSharedPtr<Konsole::Profile>) () from /usr/lib64/libkonsoleprivate.so
#15 0x00007f19079d1aad in Konsole::ProfileList::triggered(QAction*) () from /usr/lib64/libkonsoleprivate.so
#16 0x00007f19079d2d5b in Konsole::ProfileList::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkonsoleprivate.so
#17 0x00007f1915c4cfef in QMetaObject::activate (sender=0x96bf60, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff015ac160) at kernel/qobject.cpp:3272
#18 0x00007f19165e46df in QActionGroup::triggered(QAction*) () from /usr/lib64/libQtGui.so.4
#19 0x00007f19165e4767 in ?? () from /usr/lib64/libQtGui.so.4
#20 0x00007f19165e4d11 in QActionGroup::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQtGui.so.4
#21 0x00007f1915c4cfef in QMetaObject::activate (sender=0xa32de0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff015ac2a0) at kernel/qobject.cpp:3272
#22 0x00007f19165e1952 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#23 0x00007f19165e1b4a in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#24 0x00007f1916a205b3 in ?? () from /usr/lib64/libQtGui.so.4
#25 0x00007f1916a265ca in ?? () from /usr/lib64/libQtGui.so.4
#26 0x00007f1917220bad in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libkdeui.so.5
#27 0x00007f19166394a8 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#28 0x00007f1916a277bb in QMenu::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#29 0x00007f19165e7cd4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#30 0x00007f19165f0a4a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#31 0x00007f1917252976 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#32 0x00007f1915c37e2c in QCoreApplication::notifyInternal (this=0x7fff015af4f0, receiver=0xc03110, event=0x7fff015acf20) at kernel/qcoreapplication.cpp:732
#33 0x00007f19165e8cd5 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#34 0x00007f1916667144 in ?? () from /usr/lib64/libQtGui.so.4
#35 0x00007f19166655d9 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#36 0x00007f191668d212 in ?? () from /usr/lib64/libQtGui.so.4
#37 0x00007f1911d58a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#38 0x00007f1911d59270 in ?? () from /usr/lib64/libglib-2.0.so.0
#39 0x00007f1911d59510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#40 0x00007f1915c62a8f in QEventDispatcherGlib::processEvents (this=0x655230, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#41 0x00007f191668ceae in ?? () from /usr/lib64/libQtGui.so.4
#42 0x00007f1915c37262 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007f1915c37475 in QEventLoop::exec (this=0x7fff015adba0, flags=...) at kernel/qeventloop.cpp:201
#44 0x00007f1916a23d35 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib64/libQtGui.so.4
#45 0x00007f19079e648d in Konsole::SessionController::showDisplayContextMenu(QPoint const&) () from /usr/lib64/libkonsoleprivate.so
#46 0x00007f19079e9741 in Konsole::SessionController::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkonsoleprivate.so
#47 0x00007f1915c4cfef in QMetaObject::activate (sender=0xdd9470, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff015ade30) at kernel/qobject.cpp:3272
#48 0x00007f19079fc375 in Konsole::TerminalDisplay::configureRequest(QPoint const&) () from /usr/lib64/libkonsoleprivate.so
#49 0x00007f19079ff102 in Konsole::TerminalDisplay::mousePressEvent(QMouseEvent*) () from /usr/lib64/libkonsoleprivate.so
#50 0x00007f1916639799 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#51 0x00007f19079fc49d in Konsole::TerminalDisplay::event(QEvent*) () from /usr/lib64/libkonsoleprivate.so
#52 0x00007f19165e7cd4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#53 0x00007f19165f0a4a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#54 0x00007f1917252976 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#55 0x00007f1915c37e2c in QCoreApplication::notifyInternal (this=0x7fff015af4f0, receiver=0xdd9470, event=0x7fff015ae7c0) at kernel/qcoreapplication.cpp:732
#56 0x00007f19165e8cd5 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#57 0x00007f1916666ef8 in ?? () from /usr/lib64/libQtGui.so.4
#58 0x00007f19166655d9 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#59 0x00007f191668d212 in ?? () from /usr/lib64/libQtGui.so.4
#60 0x00007f1911d58a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#61 0x00007f1911d59270 in ?? () from /usr/lib64/libglib-2.0.so.0
#62 0x00007f1911d59510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#63 0x00007f1915c62a8f in QEventDispatcherGlib::processEvents (this=0x655230, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#64 0x00007f191668ceae in ?? () from /usr/lib64/libQtGui.so.4
#65 0x00007f1915c37262 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#66 0x00007f1915c37475 in QEventLoop::exec (this=0x7fff015af440, flags=...) at kernel/qeventloop.cpp:201
#67 0x00007f1915c3b8db in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#68 0x0000000000415a92 in _start ()
Comment 93 bakytn 2010-12-06 05:01:18 UTC
After last upgrade this issue is no longer actual for me
Comment 94 Pino Toscano 2010-12-07 22:25:37 UTC
*** Bug 259165 has been marked as a duplicate of this bug. ***
Comment 95 titofh 2010-12-09 10:21:37 UTC
kde version: 4.5.85-193.2 
libqt4 version: 4.7.1-150.1
arch: x86_64
builder: obs://build.opensuse.org/KDE

changing profile in konsoles kpart (yakuake, kate terminal, etc) no longer crashes, but the profiles menu no longer shows custom profiles (only a single default profile).
Comment 96 -Vlad- 2010-12-14 12:03:34 UTC
Created attachment 54543 [details]
New crash information added by DrKonqi

yakuake (2.9.6) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

- What I was doing when the application crashed:
I close a last tab by pressed Ctrl-D or by executing "exit" command.

-- Backtrace (Reduced):
#7  0x0574ac37 in QWidget::removeAction(QAction*) () from /usr/lib/libQtGui.so.4
#8  0x00a76726 in KActionCollection::removeAssociatedWidget(QWidget*) () from /usr/lib/libkdeui.so.5
#9  0x00cc527e in KXMLGUIClient::prepareXMLUnplug(QWidget*) () from /usr/lib/libkdeui.so.5
#10 0x00cce5ed in KXMLGUIFactory::removeClient(KXMLGUIClient*) () from /usr/lib/libkdeui.so.5
#11 0x00cc7c9e in KXMLGUIClient::~KXMLGUIClient() () from /usr/lib/libkdeui.so.5
Comment 97 Eike Hein 2011-01-06 00:04:11 UTC
*** Bug 262249 has been marked as a duplicate of this bug. ***
Comment 98 Carlo Segato 2011-01-19 11:09:40 UTC
Created attachment 56186 [details]
New crash information added by DrKonqi

yakuake (2.9.7) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.1

- What I was doing when the application crashed:

I just hit ctrl+d to close the current tab.

-- Backtrace (Reduced):
#14 0xb695ba65 in qBadAlloc () at global/qglobal.cpp:2019
[...]
[...]
#17 0xb5fbc465 in detach_helper (this=0x8acdc80, action=0x8acc568) at ../../include/QtCore/../../src/corelib/tools/qlist.h:710
#18 detachShared (this=0x8acdc80, action=0x8acc568) at ../../include/QtCore/../../src/corelib/tools/qlist.h:132
#19 removeAll (this=0x8acdc80, action=0x8acc568) at ../../include/QtCore/../../src/corelib/tools/qlist.h:758
#20 QWidget::removeAction (this=0x8acdc80, action=0x8acc568) at kernel/qwidget.cpp:3178
Comment 99 Dario Andres 2011-01-29 14:06:21 UTC
*** Bug 264347 has been marked as a duplicate of this bug. ***
Comment 100 Dario Andres 2011-01-29 14:33:42 UTC
[Comment from a bug triager]
@Alvaro Aguilera  (comment 92): your crash is a different one: bug 246054.
Regards
Comment 101 Dario Andres 2011-01-29 14:33:59 UTC
*** Bug 264653 has been marked as a duplicate of this bug. ***
Comment 102 Dennis Schridde 2011-01-29 14:46:11 UTC
> Dario Andres <andresbajotierra@gmail.com> changed:
> ... removed all CCs ...
Who instructed you to do this?
Comment 103 Thomas Capricelli 2011-01-30 03:05:03 UTC
hey....... what happened ? Some guy is vandalizing this report.
Comment 104 Peter Penz 2011-03-05 08:51:34 UTC
*** Bug 267664 has been marked as a duplicate of this bug. ***
Comment 105 Dario Andres 2011-03-11 00:36:13 UTC
*** Bug 268143 has been marked as a duplicate of this bug. ***
Comment 106 Eike Hein 2011-08-19 12:14:47 UTC
*** Bug 280414 has been marked as a duplicate of this bug. ***
Comment 107 Eike Hein 2011-08-26 10:57:53 UTC
*** Bug 280822 has been marked as a duplicate of this bug. ***
Comment 108 Thomas Lindroth 2011-08-26 12:06:09 UTC
I'm still experiencing this bug in kde-4.7.0, qt-4.7.3
Close a tab with ctrl-d and konsole crash. I've only experienced this crash once since I upgraded to 4.7.0 a month ago so it must be quite rare. I used to experience it every few days in older versions.

I didn't have debug symbols compiled in now but I'll get you a backtrack if it happens again.
Comment 109 Jekyll Wu 2012-09-20 22:03:33 UTC
*** Bug 307127 has been marked as a duplicate of this bug. ***