Bug 190495 - All [Distinct] Konsole Windows Closed when Closing a Single Konsole
Summary: All [Distinct] Konsole Windows Closed when Closing a Single Konsole
Status: RESOLVED LATER
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Other
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 225293 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-24 08:53 UTC by Jeffrey Walton
Modified: 2011-03-06 00:16 UTC (History)
3 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 Jeffrey Walton 2009-04-24 08:53:51 UTC
Version:           KDE 4.1.3, Release 4.10.4 (using KDE 4.1.3)
Compiler:          GCC 4.3 
OS:                Other
Installed from:    SuSE RPMs

When multiple konsoles are open, clicking the red 'X' in one konsole closes all konsoles. Typing exit from the CL also exhibits the behavior.

If another konsole su's, that konsole will also be closed. So one konsole may be 'user', anothe may bee 'root'.

May also be related to 186448 since I also get a message about a Signal 11. If I click the red 'X', I don't get a good dump. If I type exit, the following is offered.

~JW

Application: Konsole (konsole), signal SIGSEGV
[Current thread is 1 (Thread 0xb5f5d700 (LWP 4034))]

Thread 2 (Thread 0xb4922b90 (LWP 4035)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb63c1411 in select () from /lib/libc.so.6
#2  0xb746b917 in QProcessManager::run (this=0x805e9b8) at io/qprocess_unix.cpp:305
#3  0xb739a89e in QThreadPrivate::start (arg=0x805e9b8) at thread/qthread_unix.cpp:189
#4  0xb73301b5 in start_thread () from /lib/libpthread.so.0
#5  0xb63c83be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5f5d700 (LWP 4034)):
[KCrash Handler]
#6  QCoreApplication::postEvent (receiver=0x829a808, event=0x829a2d8, priority=0) at kernel/qcoreapplication.cpp:1004
#7  0xb748db2c in QCoreApplication::postEvent (receiver=0x829a808, event=0x829a2d8) at kernel/qcoreapplication.cpp:965
#8  0xb749d247 in QObject::deleteLater (this=0x829a808) at kernel/qobject.cpp:2017
#9  0xb7fe3a6d in ?? () from /usr/lib/libkdeinit4_konsole.so
#10 0xb749ce3f in QObjectPrivate::deleteChildren (this=0x8272938) at kernel/qobject.cpp:1845
#11 0xb6a7e6bb in ~QWidget (this=0x8272918) at kernel/qwidget.cpp:1373
#12 0xb6e3cd61 in ~QFrame (this=0x8272918) at widgets/qframe.cpp:243
#13 0xb6ea6b0b in ~QSplitter (this=0x8272918) at widgets/qsplitter.cpp:1008
#14 0xb7ff20cd in ?? () from /usr/lib/libkdeinit4_konsole.so
#15 0xb749ce3f in QObjectPrivate::deleteChildren (this=0x827a4d0) at kernel/qobject.cpp:1845
#16 0xb6a7ee2b in ~QWidget (this=0x827a4b8) at kernel/qwidget.cpp:1373
#17 0xb749ce3f in QObjectPrivate::deleteChildren (this=0x821f078) at kernel/qobject.cpp:1845
#18 0xb6a7e6bb in ~QWidget (this=0x821faa8) at kernel/qwidget.cpp:1373
#19 0xb6e59561 in ~QMainWindow (this=0x821faa8) at widgets/qmainwindow.cpp:328
#20 0xb7bdd679 in KMainWindow::~KMainWindow() () from /usr/lib/libkdeui.so.5
#21 0xb7c1cc57 in KXmlGuiWindow::~KXmlGuiWindow() () from /usr/lib/libkdeui.so.5
#22 0xb7ffd1c8 in ?? () from /usr/lib/libkdeinit4_konsole.so
#23 0xb749cb45 in qDeleteInEventHandler (o=0x829a2d8) at kernel/qobject.cpp:3762
#24 0xb749e3bb in QObject::event (this=0x821faa8, e=0x82b0160) at kernel/qobject.cpp:1092
#25 0xb6a83490 in QWidget::event (this=0x821faa8, event=0x82b0160) at kernel/qwidget.cpp:7913
#26 0xb6e5a107 in QMainWindow::event (this=0x821faa8, event=0x82b0160) at widgets/qmainwindow.cpp:1396
#27 0xb7bdc178 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#28 0xb7c1db8c in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#29 0xb6a2d01c in QApplicationPrivate::notify_helper (this=0x805bbe8, receiver=0x821faa8, e=0x82b0160) at kernel/qapplication.cpp:4084
#30 0xb6a353c2 in QApplication::notify (this=0xbfe64614, receiver=0x821faa8, e=0x82b0160) at kernel/qapplication.cpp:4049
#31 0xb7b1757d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#32 0xb748dbbb in QCoreApplication::notifyInternal (this=0xbfe64614, receiver=0x821faa8, event=0x82b0160) at kernel/qcoreapplication.cpp:602
#33 0xb748e805 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x804b938) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#34 0xb748e9fd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1132
#35 0xb74b97ef in postEventSourceDispatch (s=0x805dd10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#36 0xb61779c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#37 0xb617b083 in ?? () from /usr/lib/libglib-2.0.so.0
#38 0xb617b241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#39 0xb74b9438 in QEventDispatcherGlib::processEvents (this=0x80534b0, flags={i = -1075428120}) at kernel/qeventdispatcher_glib.cpp:323
#40 0xb6acbcb5 in QGuiEventDispatcherGlib::processEvents (this=0x80534b0, flags={i = -1075428072}) at kernel/qguieventdispatcher_glib.cpp:202
#41 0xb748c1da in QEventLoop::processEvents (this=0xbfe64590, flags={i = -1075428008}) at kernel/qeventloop.cpp:149
#42 0xb748c61a in QEventLoop::exec (this=0xbfe64590, flags={i = -1075427944}) at kernel/qeventloop.cpp:200
#43 0xb748eac9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#44 0xb6a2ce97 in QApplication::exec () at kernel/qapplication.cpp:3553
#45 0xb7fff322 in kdemain () from /usr/lib/libkdeinit4_konsole.so
#46 0x080487f2 in _start ()
Comment 1 Jeffrey Walton 2009-04-24 14:07:48 UTC
Hi All,

Here's another just in case. It is slightly different from the previous. First, there was only one konsol window closed through the red 'X'. Second, the crash handler claims the back trace is bad. Sounds like a memory issue :(

***************************************

This backtrace appears to be of no use.
This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash.

[?1034h(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb4569b90 (LWP 3924)]
0xffffe430 in __kernel_vsyscall ()
[Current thread is 1 (Thread 0xb5ee5700 (LWP 3923))]

Thread 2 (Thread 0xb4569b90 (LWP 3924)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6349411 in select () from /lib/libc.so.6
#2  0xb73f3917 in QProcessManager::run (this=0x805e9b8) at io/qprocess_unix.cpp:305
#3  0xb732289e in QThreadPrivate::start (arg=0x805e9b8) at thread/qthread_unix.cpp:189
#4  0xb72b81b5 in start_thread () from /lib/libpthread.so.0
#5  0xb63503be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5ee5700 (LWP 3923)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6318e96 in nanosleep () from /lib/libc.so.6
#2  0xb6318c7e in sleep () from /lib/libc.so.6
#3  0xb7b0461a in ?? () from /usr/lib/libkdeui.so.5
#4  0xb7b0504c in KCrash::defaultCrashHandler(int) () from /usr/lib/libkdeui.so.5
#5  <signal handler called>
#6  0x00000011 in ?? ()
#7  0xb7f6a6ef in ?? () from /usr/lib/libkdeinit4_konsole.so
#8  0xb7f6b371 in ?? () from /usr/lib/libkdeinit4_konsole.so
#9  0xb7f6b437 in ?? () from /usr/lib/libkdeinit4_konsole.so
#10 0xb7f6fe8a in ?? () from /usr/lib/libkdeinit4_konsole.so
#11 0xb742bca8 in QMetaObject::activate (sender=0x81d45e8, from_signal_index=0, to_signal_index=1, argv=0xbfcebeec) at kernel/qobject.cpp:3060
#12 0xb742c0e0 in QMetaObject::activate (sender=0x81d45e8, m=0xb75041c8, from_local_signal_index=0, to_local_signal_index=1, argv=0xbfcebeec) at kernel/qobject.cpp:3154
#13 0xb742c16b in QObject::destroyed (this=0x81d45e8, _t1=0x81d45e8) at .moc/release-shared/moc_qobject.cpp:143
#14 0xb742cfa9 in ~QObject (this=0x81d45e8) at kernel/qobject.cpp:769
#15 0xb6a0689f in ~QWidget (this=0x81d45e8) at kernel/qwidget.cpp:1386
#16 0xb7f63a35 in ?? () from /usr/lib/libkdeinit4_konsole.so
#17 0xb7424e3f in QObjectPrivate::deleteChildren (this=0x81a6970) at kernel/qobject.cpp:1845
#18 0xb6a066bb in ~QWidget (this=0x817e2f8) at kernel/qwidget.cpp:1373
#19 0xb6dc4d61 in ~QFrame (this=0x817e2f8) at widgets/qframe.cpp:243
#20 0xb6e34ee5 in ~QStackedWidget (this=0x817e2f8) at widgets/qstackedwidget.cpp:152
#21 0xb7424e3f in QObjectPrivate::deleteChildren (this=0x8196408) at kernel/qobject.cpp:1845
#22 0xb6a06e2b in ~QWidget (this=0x818ddc8) at kernel/qwidget.cpp:1373
#23 0xb7424e3f in QObjectPrivate::deleteChildren (this=0x8158a20) at kernel/qobject.cpp:1845
#24 0xb6a066bb in ~QWidget (this=0x8157128) at kernel/qwidget.cpp:1373
#25 0xb6dc4d61 in ~QFrame (this=0x8157128) at widgets/qframe.cpp:243
#26 0xb6e2eb0b in ~QSplitter (this=0x8157128) at widgets/qsplitter.cpp:1008
#27 0xb7f7a0cd in ?? () from /usr/lib/libkdeinit4_konsole.so
#28 0xb7424e3f in QObjectPrivate::deleteChildren (this=0x8174f98) at kernel/qobject.cpp:1845
#29 0xb6a06e2b in ~QWidget (this=0x8174aa8) at kernel/qwidget.cpp:1373
#30 0xb7424e3f in QObjectPrivate::deleteChildren (this=0x81495c8) at kernel/qobject.cpp:1845
#31 0xb6a066bb in ~QWidget (this=0x8149a90) at kernel/qwidget.cpp:1373
#32 0xb6de1561 in ~QMainWindow (this=0x8149a90) at widgets/qmainwindow.cpp:328
#33 0xb7b65679 in KMainWindow::~KMainWindow() () from /usr/lib/libkdeui.so.5
#34 0xb7ba4c57 in KXmlGuiWindow::~KXmlGuiWindow() () from /usr/lib/libkdeui.so.5
#35 0xb7f851c8 in ?? () from /usr/lib/libkdeinit4_konsole.so
#36 0xb7424b45 in qDeleteInEventHandler (o=0x81a7ba8) at kernel/qobject.cpp:3762
#37 0xb74263bb in QObject::event (this=0x8149a90, e=0x82a62d0) at kernel/qobject.cpp:1092
#38 0xb6a0b490 in QWidget::event (this=0x8149a90, event=0x82a62d0) at kernel/qwidget.cpp:7913
#39 0xb6de2107 in QMainWindow::event (this=0x8149a90, event=0x82a62d0) at widgets/qmainwindow.cpp:1396
#40 0xb7b64178 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#41 0xb7ba5b8c in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#42 0xb69b501c in QApplicationPrivate::notify_helper (this=0x805bbe8, receiver=0x8149a90, e=0x82a62d0) at kernel/qapplication.cpp:4084
#43 0xb69bd3c2 in QApplication::notify (this=0xbfcecc74, receiver=0x8149a90, e=0x82a62d0) at kernel/qapplication.cpp:4049
#44 0xb7a9f57d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#45 0xb7415bbb in QCoreApplication::notifyInternal (this=0xbfcecc74, receiver=0x8149a90, event=0x82a62d0) at kernel/qcoreapplication.cpp:602
#46 0xb7416805 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x804b938) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#47 0xb74169fd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1132
#48 0xb74417ef in postEventSourceDispatch (s=0x805dd10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#49 0xb60ff9c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#50 0xb6103083 in ?? () from /usr/lib/libglib-2.0.so.0
#51 0xb6103241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#52 0xb7441438 in QEventDispatcherGlib::processEvents (this=0x80534b0, flags={i = -1076966584}) at kernel/qeventdispatcher_glib.cpp:323
#53 0xb6a53cb5 in QGuiEventDispatcherGlib::processEvents (this=0x80534b0, flags={i = -1076966536}) at kernel/qguieventdispatcher_glib.cpp:202
#54 0xb74141da in QEventLoop::processEvents (this=0xbfcecbf0, flags={i = -1076966472}) at kernel/qeventloop.cpp:149
#55 0xb741461a in QEventLoop::exec (this=0xbfcecbf0, flags={i = -1076966408}) at kernel/qeventloop.cpp:200
#56 0xb7416ac9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#57 0xb69b4e97 in QApplication::exec () at kernel/qapplication.cpp:3553
#58 0xb7f87322 in kdemain () from /usr/lib/libkdeinit4_konsole.so
#59 0x080487f2 in _start ()
Comment 2 Jeffrey Walton 2009-04-24 15:41:04 UTC
> konsole --version
Qt: 4.5.0
KDE: 4.1.3 (KDE 4.1.3) "release 4.10.4"
Konsole: 2.1
Comment 3 Jeffrey Walton 2009-04-24 15:49:59 UTC
> gdb konsole
...
This GDB was configured as "i586-suse-linux".
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>...
(no debugging symbols found)
(gdb) r
Starting program: /usr/bin/konsole
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]

Program exited normally.
(gdb) KCrash: Application 'konsole' crashing...
sock_file=/home/jeffrey.walton/.kde4/socket-euler/kdeinit4__0
Comment 4 Jeffrey Walton 2009-04-24 19:29:21 UTC
Duplicated with KDE 4.1.3, Release 76.5. New dump with better symbols follows.

> konsole --version
Qt: 4.5.0
KDE: 4.1.3 (KDE 4.1.3) "release 76.5"
Konsole: 2.1

*************************************

Application: Konsole (konsole), signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
[Current thread is 1 (Thread 0xb5fc0700 (LWP 3911))]

Thread 2 (Thread 0xb464ab90 (LWP 3912)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6424411 in select () from /lib/libc.so.6
#2  0xb74ce917 in QProcessManager::run (this=0x805e9b8) at io/qprocess_unix.cpp:305
#3  0xb73fd89e in QThreadPrivate::start (arg=0x805e9b8) at thread/qthread_unix.cpp:189
#4  0xb73931b5 in start_thread () from /lib/libpthread.so.0
#5  0xb642b3be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5fc0700 (LWP 3911)):
[KCrash Handler]
#6  0x0820d2ce in ?? ()
#7  0xb80456ef in Konsole::TabbedViewContainerV2::removeViewWidget (this=0x81adf40, view=0x81da7c8) at /usr/src/debug/kdebase-4.1.3/apps/konsole/src/ViewContainer.cpp:879
#8  0xb8046371 in Konsole::ViewContainer::viewDestroyed (this=0x81adf40, object=0x81da7c8) at /usr/src/debug/kdebase-4.1.3/apps/konsole/src/ViewContainer.cpp:159
#9  0xb8046437 in Konsole::ViewContainer::qt_metacall (this=0x81adf40, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbffca99c)
    at /usr/src/debug/kdebase-4.1.3/build/apps/konsole/src/ViewContainer.moc:94
#10 0xb804ae8a in Konsole::TabbedViewContainerV2::qt_metacall (this=0x81adf40, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbffca99c)
    at /usr/src/debug/kdebase-4.1.3/build/apps/konsole/src/ViewContainer.moc:327
#11 0xb7506ca8 in QMetaObject::activate (sender=0x81da7c8, from_signal_index=0, to_signal_index=1, argv=0xbffca99c) at kernel/qobject.cpp:3060
#12 0xb75070e0 in QMetaObject::activate (sender=0x81da7c8, m=0xb75df1c8, from_local_signal_index=0, to_local_signal_index=1, argv=0xbffca99c) at kernel/qobject.cpp:3154
#13 0xb750716b in QObject::destroyed (this=0x81da7c8, _t1=0x81da7c8) at .moc/release-shared/moc_qobject.cpp:143
#14 0xb7507fa9 in ~QObject (this=0x81da7c8) at kernel/qobject.cpp:769
#15 0xb6ae189f in ~QWidget (this=0x81da7c8) at kernel/qwidget.cpp:1386
#16 0xb803ea35 in ~TerminalDisplay (this=0x81da7c8) at /usr/src/debug/kdebase-4.1.3/apps/konsole/src/TerminalDisplay.cpp:385
#17 0xb74ffe3f in QObjectPrivate::deleteChildren (this=0x81aef20) at kernel/qobject.cpp:1845
#18 0xb6ae16bb in ~QWidget (this=0x8193fa0) at kernel/qwidget.cpp:1373
#19 0xb6e9fd61 in ~QFrame (this=0x8193fa0) at widgets/qframe.cpp:243
#20 0xb6f0fee5 in ~QStackedWidget (this=0x8193fa0) at widgets/qstackedwidget.cpp:152
#21 0xb74ffe3f in QObjectPrivate::deleteChildren (this=0x818cbb8) at kernel/qobject.cpp:1845
#22 0xb6ae1e2b in ~QWidget (this=0x81b0248) at kernel/qwidget.cpp:1373
#23 0xb74ffe3f in QObjectPrivate::deleteChildren (this=0x815ec90) at kernel/qobject.cpp:1845
#24 0xb6ae16bb in ~QWidget (this=0x815d490) at kernel/qwidget.cpp:1373
#25 0xb6e9fd61 in ~QFrame (this=0x815d490) at widgets/qframe.cpp:243
#26 0xb6f09b0b in ~QSplitter (this=0x815d490) at widgets/qsplitter.cpp:1008
#27 0xb80550cd in ~ViewSplitter (this=0x815d490) at /usr/src/debug/kdebase-4.1.3/apps/konsole/src/ViewSplitter.h:48
#28 0xb74ffe3f in QObjectPrivate::deleteChildren (this=0x817b198) at kernel/qobject.cpp:1845
#29 0xb6ae1e2b in ~QWidget (this=0x817ad60) at kernel/qwidget.cpp:1373
#30 0xb74ffe3f in QObjectPrivate::deleteChildren (this=0x8150900) at kernel/qobject.cpp:1845
#31 0xb6ae16bb in ~QWidget (this=0x805a5f0) at kernel/qwidget.cpp:1373
#32 0xb6ebc561 in ~QMainWindow (this=0x805a5f0) at widgets/qmainwindow.cpp:328
#33 0xb7c40679 in ~KMainWindow (this=0x805a5f0) at /usr/src/debug/kdelibs-4.1.3/kdeui/widgets/kmainwindow.cpp:448
#34 0xb7c7fc57 in ~KXmlGuiWindow (this=0x805a5f0, __vtt_parm=0xb8087b54) at /usr/src/debug/kdelibs-4.1.3/kdeui/xmlgui/kxmlguiwindow.cpp:129
#35 0xb80601c8 in Konsole::MainWindow::~MainWindow() () from /usr/lib/libkdeinit4_konsole.so
#36 0xb74ffb45 in qDeleteInEventHandler (o=0x8185448) at kernel/qobject.cpp:3762
#37 0xb75013bb in QObject::event (this=0x805a5f0, e=0x82ce588) at kernel/qobject.cpp:1092
#38 0xb6ae6490 in QWidget::event (this=0x805a5f0, event=0x82ce588) at kernel/qwidget.cpp:7913
#39 0xb6ebd107 in QMainWindow::event (this=0x805a5f0, event=0x82ce588) at widgets/qmainwindow.cpp:1396
#40 0xb7c3f178 in KMainWindow::event (this=0x805a5f0, ev=0x82ce588) at /usr/src/debug/kdelibs-4.1.3/kdeui/widgets/kmainwindow.cpp:1074
#41 0xb7c80b8c in KXmlGuiWindow::event (this=0x805a5f0, ev=0x82ce588) at /usr/src/debug/kdelibs-4.1.3/kdeui/xmlgui/kxmlguiwindow.cpp:133
#42 0xb6a9001c in QApplicationPrivate::notify_helper (this=0x805bbe8, receiver=0x805a5f0, e=0x82ce588) at kernel/qapplication.cpp:4084
#43 0xb6a983c2 in QApplication::notify (this=0xbffcb724, receiver=0x805a5f0, e=0x82ce588) at kernel/qapplication.cpp:4049
#44 0xb7b7a57d in KApplication::notify (this=0xbffcb724, receiver=0x805a5f0, event=0x82ce588) at /usr/src/debug/kdelibs-4.1.3/kdeui/kernel/kapplication.cpp:311
#45 0xb74f0bbb in QCoreApplication::notifyInternal (this=0xbffcb724, receiver=0x805a5f0, event=0x82ce588) at kernel/qcoreapplication.cpp:602
#46 0xb74f1805 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x804b938) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#47 0xb74f19fd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1132
#48 0xb751c7ef in postEventSourceDispatch (s=0x805dd10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#49 0xb61da9c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#50 0xb61de083 in ?? () from /usr/lib/libglib-2.0.so.0
#51 0xb61de241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#52 0xb751c438 in QEventDispatcherGlib::processEvents (this=0x80534b0, flags={i = -1073957384}) at kernel/qeventdispatcher_glib.cpp:323
#53 0xb6b2ecb5 in QGuiEventDispatcherGlib::processEvents (this=0x80534b0, flags={i = -1073957336}) at kernel/qguieventdispatcher_glib.cpp:202
#54 0xb74ef1da in QEventLoop::processEvents (this=0xbffcb6a0, flags={i = -1073957272}) at kernel/qeventloop.cpp:149
#55 0xb74ef61a in QEventLoop::exec (this=0xbffcb6a0, flags={i = -1073957208}) at kernel/qeventloop.cpp:200
#56 0xb74f1ac9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#57 0xb6a8fe97 in QApplication::exec () at kernel/qapplication.cpp:3553
#58 0xb8062322 in kdemain (argc=1, argv=0xbffcb854) at /usr/src/debug/kdebase-4.1.3/apps/konsole/src/main.cpp:104
#59 0x080487f2 in main (argc=262143, argv=0x19) at /usr/src/debug/kdebase-4.1.3/build/apps/konsole/src/konsole_dummy.cpp:3
Comment 5 Jeffrey Walton 2009-04-24 20:56:36 UTC
Hmmm.... removeViewWidget does not seem to be exported. Any idea of what I am doing wrong?

*******************************************

(gdb) file konsole                                                           
Reading symbols from /usr/bin/konsole...Reading symbols from /usr/lib/debug/usr/bin/konsole.debug...done.                          
(gdb) break Konsole::TabbedViewContainerV2::removeViewWidget
Can't find member of namespace, class, struct, or union named "Konsole::TabbedViewContainerV2::removeViewWidget"                                                
Hint: try Konsole::TabbedViewContainerV2::removeViewWidget<TAB>          
(gdb) symbol-file konsole
Load new symbol table from "/usr/bin/konsole"? (y or n) y
Reading symbols from /usr/bin/konsole...Reading symbols from /usr/lib/debug/usr/bin/konsole.debug...done.                                                       
done.     
(gdb) break kdemain         
Breakpoint 1 at 0x8048700
(gdb) r
Starting program: /usr/bin/konsole
[Thread debugging using libthread_db enabled]

Breakpoint 1, kdemain (argc=1, argv=0xbffff524)
    at /usr/src/debug/kdebase-4.1.3/apps/konsole/src/main.cpp:67
67
(gdb) break Konsole::TabbedViewContainer::remove
remove
remove@plt
removeAllToolBars
removeAllToolBars(QDomDocument&)
removeDotsFromPath
removeDotsFromPath(QByteArray*)
removeFromUtmp
removeLayoutItemFromLayout
removeLayoutItemFromLayout(QGraphicsLayout*, QGraphicsLayoutItem*)
removeLineFromUtmp
removeLineFromUtmp@plt
removeOptionalQuotes
removeOptionalQuotes(QString*)
removeWidgetRecursively
removeWidgetRecursively(QLayoutItem*, QWidget*)
remove_slotinfo
removexattr
(gdb) break Konsole::TabbedViewContainer::remove
Comment 6 Robert Knight 2009-04-25 01:58:18 UTC
You have to provide the complete function signature to the 'break' gdb command, not just the function name.  Type an apostrophe before the name of the function you're trying to set a breakpoint on and GDB will auto-complete it.

gdb)  break 'Konsole::TabbedViewContainerV2::removeViewWidget<TAB>

You're welcome to investigate this but I have a feeling that several issues in this area were fixed in KDE 4.2 - which I would suggest upgrading to if you can as its much nicer to look at and use than 4.1.
Comment 7 Jeffrey Walton 2009-04-25 05:15:41 UTC
Hi Robert,

Thanks for the advice. When I'm in GDB and I <TAB>, there is no removeViewWidget for either TabbedViewContainer or TabbedViewContainerV2. The auto completed list is as follows. Any ideas?

Jeff

(gdb) break Konsole::TabbedViewContainerV2::remove<TAB>
remove
remove@plt
removeAllToolBars
removeAllToolBars(QDomDocument&)
removeDotsFromPath
removeDotsFromPath(QByteArray*)
removeFromUtmp
removeLayoutItemFromLayout
removeLayoutItemFromLayout(QGraphicsLayout*, QGraphicsLayoutItem*)
removeLineFromUtmp
removeLineFromUtmp@plt
removeOptionalQuotes
removeOptionalQuotes(QString*)
removeWidgetRecursively
removeWidgetRecursively(QLayoutItem*, QWidget*)
remove_slotinfo
removexattr
(gdb) break Konsole::TabbedViewContainer::remove
Comment 8 Robert Knight 2009-04-25 11:06:23 UTC
Does my comment about putting an apostrophe after the 'break' and before the function name help?  (break 'Konsole...) Those functions being displayed don't have anything to do with the TabbedViewContainerV2 class - they appear to be functions which do not belong to any class in the Qt libraries and others.
Comment 9 Jeffrey Walton 2009-05-20 08:16:56 UTC
Hi Robert,

> Does my comment about putting an apostrophe after the
> 'break' and before the function name help?
I have not tried to get it under GDB recently. The issue moved to QCoreApplication::postEvent. My guess is that symbols are hosed up. Unfortunately, I'm not a Linux whiz, so I don't know how to fix what is broken.

Jeff

Application: Konsole (konsole), signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
[Current thread is 1 (Thread 0xb5fae700 (LWP 4487))]

Thread 2 (Thread 0xb497ab90 (LWP 4488)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6411411 in select () from /lib/libc.so.6
#2  0xb74bb917 in QProcessManager::run (this=0x805e9b8) at io/qprocess_unix.cpp:305
#3  0xb73ea89e in QThreadPrivate::start (arg=0x805e9b8) at thread/qthread_unix.cpp:189
#4  0xb73801b5 in start_thread () from /lib/libpthread.so.0
#5  0xb64183be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5fae700 (LWP 4487)):
[KCrash Handler]
#6  QCoreApplication::postEvent (receiver=0x80fa1d8, event=0x8139378, priority=0) at kernel/qcoreapplication.cpp:1004
#7  0xb74ddb2c in QCoreApplication::postEvent (receiver=0x80fa1d8, event=0x8139378) at kernel/qcoreapplication.cpp:965
#8  0xb74ed247 in QObject::deleteLater (this=0x80fa1d8) at kernel/qobject.cpp:2017
#9  0xb8033a6d in ~TabbedViewContainerV2 (this=0x8139568) at /usr/src/debug/kdebase-4.1.3/apps/konsole/src/ViewContainer.cpp:770
#10 0xb74ece3f in QObjectPrivate::deleteChildren (this=0x810d000) at kernel/qobject.cpp:1845
#11 0xb6ace6bb in ~QWidget (this=0x810cfe0) at kernel/qwidget.cpp:1373
#12 0xb6e8cd61 in ~QFrame (this=0x810cfe0) at widgets/qframe.cpp:243
#13 0xb6ef6b0b in ~QSplitter (this=0x810cfe0) at widgets/qsplitter.cpp:1008
#14 0xb80420cd in ~ViewSplitter (this=0x810cfe0) at /usr/src/debug/kdebase-4.1.3/apps/konsole/src/ViewSplitter.h:48
#15 0xb74ece3f in QObjectPrivate::deleteChildren (this=0x8119388) at kernel/qobject.cpp:1845
#16 0xb6acee2b in ~QWidget (this=0x8119c50) at kernel/qwidget.cpp:1373
#17 0xb74ece3f in QObjectPrivate::deleteChildren (this=0x80d5018) at kernel/qobject.cpp:1845
#18 0xb6ace6bb in ~QWidget (this=0x805a638) at kernel/qwidget.cpp:1373
#19 0xb6ea9561 in ~QMainWindow (this=0x805a638) at widgets/qmainwindow.cpp:328
#20 0xb7c2d679 in ~KMainWindow (this=0x805a638) at /usr/src/debug/kdelibs-4.1.3/kdeui/widgets/kmainwindow.cpp:448
#21 0xb7c6cc57 in ~KXmlGuiWindow (this=0x805a638, __vtt_parm=0xb8074b54) at /usr/src/debug/kdelibs-4.1.3/kdeui/xmlgui/kxmlguiwindow.cpp:129
#22 0xb804d1c8 in Konsole::MainWindow::~MainWindow() () from /usr/lib/libkdeinit4_konsole.so
#23 0xb74ecb45 in qDeleteInEventHandler (o=0x8139378) at kernel/qobject.cpp:3762
#24 0xb74ee3bb in QObject::event (this=0x805a638, e=0x82ef2c0) at kernel/qobject.cpp:1092
#25 0xb6ad3490 in QWidget::event (this=0x805a638, event=0x82ef2c0) at kernel/qwidget.cpp:7913
#26 0xb6eaa107 in QMainWindow::event (this=0x805a638, event=0x82ef2c0) at widgets/qmainwindow.cpp:1396
#27 0xb7c2c178 in KMainWindow::event (this=0x805a638, ev=0x82ef2c0) at /usr/src/debug/kdelibs-4.1.3/kdeui/widgets/kmainwindow.cpp:1074
#28 0xb7c6db8c in KXmlGuiWindow::event (this=0x805a638, ev=0x82ef2c0) at /usr/src/debug/kdelibs-4.1.3/kdeui/xmlgui/kxmlguiwindow.cpp:133
#29 0xb6a7d01c in QApplicationPrivate::notify_helper (this=0x805bbe8, receiver=0x805a638, e=0x82ef2c0) at kernel/qapplication.cpp:4084
#30 0xb6a853c2 in QApplication::notify (this=0xbf8b8904, receiver=0x805a638, e=0x82ef2c0) at kernel/qapplication.cpp:4049
#31 0xb7b6757d in KApplication::notify (this=0xbf8b8904, receiver=0x805a638, event=0x82ef2c0) at /usr/src/debug/kdelibs-4.1.3/kdeui/kernel/kapplication.cpp:311
#32 0xb74ddbbb in QCoreApplication::notifyInternal (this=0xbf8b8904, receiver=0x805a638, event=0x82ef2c0) at kernel/qcoreapplication.cpp:602
#33 0xb74de805 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x804b938) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#34 0xb74de9fd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1132
#35 0xb75097ef in postEventSourceDispatch (s=0x805dd10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#36 0xb61c89c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#37 0xb61cc083 in ?? () from /usr/lib/libglib-2.0.so.0
#38 0xb61cc241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#39 0xb7509438 in QEventDispatcherGlib::processEvents (this=0x80534b0, flags={i = -1081374760}) at kernel/qeventdispatcher_glib.cpp:323
#40 0xb6b1bcb5 in QGuiEventDispatcherGlib::processEvents (this=0x80534b0, flags={i = -1081374712}) at kernel/qguieventdispatcher_glib.cpp:202
#41 0xb74dc1da in QEventLoop::processEvents (this=0xbf8b8880, flags={i = -1081374648}) at kernel/qeventloop.cpp:149
#42 0xb74dc61a in QEventLoop::exec (this=0xbf8b8880, flags={i = -1081374584}) at kernel/qeventloop.cpp:200
#43 0xb74deac9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#44 0xb6a7ce97 in QApplication::exec () at kernel/qapplication.cpp:3553
#45 0xb804f322 in kdemain (argc=1, argv=0xbf8b8a34) at /usr/src/debug/kdebase-4.1.3/apps/konsole/src/main.cpp:104
#46 0x080487f2 in main (argc=135451816, argv=0x0) at /usr/src/debug/kdebase-4.1.3/build/apps/konsole/src/konsole_dummy.cpp:3
Comment 10 Robert Knight 2009-05-20 13:03:03 UTC
Hi Jeffrey - That backtrace looks familiar.  Do you know which version of Qt you have installed?
Comment 11 Shlomi Fish 2010-11-08 16:23:00 UTC
I cannot reproduce this bug on konsole trunk ( kdebase4-4.5.74-0.svn1190490.1mdv2011.0.src.rpm ) on Mandriva Linux Cooker on a Pentium 4 machine. Shouldn't it be closed? KDE-4.1.x is long gone.
Comment 12 Kurt Hindenburg 2011-03-06 00:08:15 UTC
*** Bug 225293 has been marked as a duplicate of this bug. ***
Comment 13 Kurt Hindenburg 2011-03-06 00:16:11 UTC
Reopen if it shows up in a recent version.