Bug 160220 - Konsole crash after exiting shell
Summary: Konsole crash after exiting shell
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-01 17:33 UTC by Onno Molenkamp
Modified: 2008-05-07 17:43 UTC (History)
0 users

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 Onno Molenkamp 2008-04-01 17:33:38 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc version 4.2.1 (SUSE Linux) 
OS:                Linux

Konsole crashes after I exit the shell running in the last tab. I'm running KDE 4.0.66 from openSUSE's buildservice on openSUSE 10.3 (x86_64).

Application: Konsole (konsole), signal SIGSEGV
[?1034h(no debugging symbols found)
Using host libthread_db library "/lib64/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(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]
[New Thread 0x2ba62eafa030 (LWP 25560)]
[New Thread 0x40800950 (LWP 25561)]
[KCrash handler]
#4  0x00002ba62b766820 in QWidget::setFocus () from /usr/lib64/libQtGui.so.4
#5  0x00002ba62685b7e8 in ?? () from /usr/lib64/libkdeinit4_konsole.so
#6  0x00002ba62b0391fb in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#7  0x00002ba6268527a2 in ?? () from /usr/lib64/libkdeinit4_konsole.so
#8  0x00002ba626852f14 in ?? () from /usr/lib64/libkdeinit4_konsole.so
#9  0x00002ba626855263 in ?? () from /usr/lib64/libkdeinit4_konsole.so
#10 0x00002ba62b0391fb in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#11 0x00002ba62ba7681e in QTabBar::currentChanged ()
   from /usr/lib64/libQtGui.so.4
#12 0x00002ba62ba7b422 in QTabBar::removeTab () from /usr/lib64/libQtGui.so.4
#13 0x00002ba6268542bd in ?? () from /usr/lib64/libkdeinit4_konsole.so
#14 0x00002ba626853f4d in ?? () from /usr/lib64/libkdeinit4_konsole.so
#15 0x00002ba626853fd6 in ?? () from /usr/lib64/libkdeinit4_konsole.so
#16 0x00002ba6268551f5 in ?? () from /usr/lib64/libkdeinit4_konsole.so
#17 0x00002ba62b0391fb in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#18 0x00002ba62b0395b4 in QObject::destroyed () from /usr/lib64/libQtCore.so.4
#19 0x00002ba62b03be07 in QObject::~QObject () from /usr/lib64/libQtCore.so.4
#20 0x00002ba62b765489 in QWidget::~QWidget () from /usr/lib64/libQtGui.so.4
#21 0x00002ba6268506d9 in ?? () from /usr/lib64/libkdeinit4_konsole.so
#22 0x00002ba62b036a6d in QObject::event () from /usr/lib64/libQtCore.so.4
#23 0x00002ba62b76f450 in QWidget::event () from /usr/lib64/libQtGui.so.4
#24 0x00002ba62684effb in ?? () from /usr/lib64/libkdeinit4_konsole.so
#25 0x00002ba62b72588f in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#26 0x00002ba62b72c085 in QApplication::notify () from /usr/lib64/libQtGui.so.4
#27 0x00002ba6279441bb in KApplication::notify () from /usr/lib64/libkdeui.so.5
#28 0x00002ba62b029974 in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#29 0x00002ba62b02abf5 in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib64/libQtCore.so.4
#30 0x00002ba62b7a097f in QEventDispatcherX11::processEvents ()
   from /usr/lib64/libQtGui.so.4
#31 0x00002ba62b028d35 in QEventLoop::processEvents ()
   from /usr/lib64/libQtCore.so.4
#32 0x00002ba62b028ea7 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#33 0x00002ba62b02ae61 in QCoreApplication::exec ()
   from /usr/lib64/libQtCore.so.4
#34 0x00002ba6268633f0 in kdemain () from /usr/lib64/libkdeinit4_konsole.so
#35 0x00002ba62cb3cb54 in __libc_start_main () from /lib64/libc.so.6
#36 0x0000000000400899 in _start ()
#0  0x00002ba62b300acf in waitpid () from /lib64/libpthread.so.0
Comment 1 Robert Knight 2008-04-01 18:43:03 UTC
> Konsole crashes after I exit the shell running in the last tab.
> I'm running KDE 4.0.66 from openSUSE's buildservice

Do you know how recent this build is?  I think this crash has been fixed in trunk.
Comment 2 Onno Molenkamp 2008-04-01 22:21:32 UTC
Qt: 4.4.0-snapshot-20080325
KDE: 4.00.66 (KDE 4.0.66 >= 20080313) "release 6.4"
Konsole: 2.1

The SVN revision they used is 785118.
Comment 3 Robert Knight 2008-04-01 22:56:53 UTC
> The SVN revision they used is 785118. 

Had a quick look at the SVN log.  The fix was rv. 789641.  When the build service gets updated with a newer revision, please let me know if it still occurs.
Comment 4 Onno Molenkamp 2008-04-02 12:12:00 UTC
I just updated to 4.0.67, but it's still happening.

Qt: 4.4.0-snapshot-20080325
KDE: 4.00.67 (KDE 4.0.67 >= 20080325) "release 3.2"
Konsole: 2.1

I can't find the exact SVN revision they used, but the changes made in rev 789641 are in the sources in kdebase4-4.0.67-2.6.src.rpm, so it's probably more recent than that revision.
Comment 5 Robert Knight 2008-04-02 18:34:32 UTC
If debug packages for KDE are available from the build service could you install them.  The backtrace above is unfortunately missing the most useful information, the function calls in libkdeinit4_konsole.so
Comment 6 Onno Molenkamp 2008-04-02 19:26:36 UTC
After installing kdebase4-debuginfo, the trace looks like this:

Application: Konsole (konsole), signal SIGSEGV
[?1034hUsing host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x2ad5faf31030 (LWP 3775)]
[New Thread 0x40800950 (LWP 3779)]
[KCrash handler]
#4  0x00002ad5f7b9d820 in QWidget::setFocus () from /usr/lib64/libQtGui.so.4
#5  0x00002ad5f2c89838 in Konsole::ViewManager::qt_metacall ()
   from /usr/lib64/libkdeinit4_konsole.so
#6  0x00002ad5f74701fb in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#7  0x00002ad5f2c80622 in Konsole::ViewContainer::activeViewChanged ()
   from /usr/lib64/libkdeinit4_konsole.so
#8  0x00002ad5f2c80d94 in Konsole::TabbedViewContainerV2::currentTabChanged ()
   from /usr/lib64/libkdeinit4_konsole.so
#9  0x00002ad5f2c83403 in Konsole::TabbedViewContainerV2::qt_metacall ()
   from /usr/lib64/libkdeinit4_konsole.so
#10 0x00002ad5f74701fb in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#11 0x00002ad5f7ead81e in QTabBar::currentChanged ()
   from /usr/lib64/libQtGui.so.4
#12 0x00002ad5f7eb2422 in QTabBar::removeTab () from /usr/lib64/libQtGui.so.4
#13 0x00002ad5f2c8217d in Konsole::TabbedViewContainerV2::removeViewWidget ()
   from /usr/lib64/libkdeinit4_konsole.so
#14 0x00002ad5f2c81f8d in Konsole::ViewContainer::viewDestroyed ()
   from /usr/lib64/libkdeinit4_konsole.so
#15 0x00002ad5f2c82016 in Konsole::ViewContainer::qt_metacall ()
   from /usr/lib64/libkdeinit4_konsole.so
#16 0x00002ad5f2c83385 in Konsole::TabbedViewContainerV2::qt_metacall ()
   from /usr/lib64/libkdeinit4_konsole.so
#17 0x00002ad5f74701fb in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#18 0x00002ad5f74705b4 in QObject::destroyed () from /usr/lib64/libQtCore.so.4
#19 0x00002ad5f7472e07 in QObject::~QObject () from /usr/lib64/libQtCore.so.4
#20 0x00002ad5f7b9c489 in QWidget::~QWidget () from /usr/lib64/libQtGui.so.4
#21 0x00002ad5f2c7afd9 in Konsole::TerminalDisplay::~TerminalDisplay ()
   from /usr/lib64/libkdeinit4_konsole.so
#22 0x00002ad5f746da6d in QObject::event () from /usr/lib64/libQtCore.so.4
#23 0x00002ad5f7ba6450 in QWidget::event () from /usr/lib64/libQtGui.so.4
#24 0x00002ad5f2c7ba6b in Konsole::TerminalDisplay::event ()
   from /usr/lib64/libkdeinit4_konsole.so
#25 0x00002ad5f7b5c88f in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#26 0x00002ad5f7b63085 in QApplication::notify () from /usr/lib64/libQtGui.so.4
#27 0x00002ad5f3d7ad6b in KApplication::notify () from /usr/lib64/libkdeui.so.5
#28 0x00002ad5f7460974 in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#29 0x00002ad5f7461bf5 in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib64/libQtCore.so.4
#30 0x00002ad5f7bd797f in QEventDispatcherX11::processEvents ()
   from /usr/lib64/libQtGui.so.4
#31 0x00002ad5f745fd35 in QEventLoop::processEvents ()
   from /usr/lib64/libQtCore.so.4
#32 0x00002ad5f745fea7 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#33 0x00002ad5f7461e61 in QCoreApplication::exec ()
   from /usr/lib64/libQtCore.so.4
#34 0x00002ad5f2c91500 in kdemain () from /usr/lib64/libkdeinit4_konsole.so
#35 0x00002ad5f8f73b54 in __libc_start_main () from /lib64/libc.so.6
#36 0x0000000000400899 in _start ()
#0  0x00002ad5f7737acf in waitpid () from /lib64/libpthread.so.0
Comment 7 Robert Knight 2008-04-15 14:29:21 UTC
I added a few fixes in this area.  Can you let me know if it still happens with the next OpenSuse snapshot?
Comment 8 Onno Molenkamp 2008-05-07 09:57:24 UTC
I can't reproduce it anymore, thanks!
Comment 9 Robert Knight 2008-05-07 17:43:20 UTC
Works for the reporter.