Bug 342227 - Konsole crashes when quiting program running in a tab, typing exit
Summary: Konsole crashes when quiting program running in a tab, typing exit
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: tabbar (show other bugs)
Version: 2.13.2
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2014-12-26 17:50 UTC by twtroughton
Modified: 2018-10-27 04:14 UTC (History)
1 user (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 twtroughton 2014-12-26 17:50:31 UTC
Application: konsole (2.13.2)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-43-generic i686
Distribution: Ubuntu 14.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed: I restored konsole with 3 tabs, saved and closed emacs, closed wyrd, Konsole crashed. 2nd time it happens.

- Unusual behavior I noticed: I was playing Kerbal Space Program, the machine was pushed into swap, rendering of window titles and menus degraded, many video artifacts, especially firefox - could not render my zotero library properly. Closed firefox, then went to close Konsole. Still degraded, a logout is now required to restore the rendering of window titles and menus.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb4923740 (LWP 2949))]

Thread 2 (Thread 0xb18d8b40 (LWP 2950)):
#0  0xb7768424 in __kernel_vsyscall ()
#1  0xb7672102 in __GI___clock_gettime (clock_id=1, tp=0xb18d7ff8) at ../sysdeps/unix/clock_gettime.c:115
#2  0xb68e78cc in do_gettime (frac=0xb18d7ff0, sec=0xb18d7fe8) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0xb69d02a2 in updateCurrentTime (this=0xb0f028e4) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0xb0f028e4, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0xb69ce82b in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb18d80ec) at kernel/qeventdispatcher_glib.cpp:143
#7  0xb69ce8bd in timerSourcePrepare (source=0xb0f028b0, timeout=0xb18d80ec) at kernel/qeventdispatcher_glib.cpp:176
#8  0xb53139b3 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb53142df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb5314528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0xb69ce95f in QEventDispatcherGlib::processEvents (this=0xb0f00468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#12 0xb699d823 in QEventLoop::processEvents (this=this@entry=0xb18d8258, flags=...) at kernel/qeventloop.cpp:149
#13 0xb699db49 in QEventLoop::exec (this=this@entry=0xb18d8258, flags=...) at kernel/qeventloop.cpp:204
#14 0xb688a23d in QThread::exec (this=this@entry=0x9bd1978) at thread/qthread.cpp:537
#15 0xb697dc44 in QInotifyFileSystemWatcherEngine::run (this=0x9bd1978) at io/qfilesystemwatcher_inotify.cpp:265
#16 0xb688cb6f in QThreadPrivate::start (arg=0x9bd1978) at thread/qthread_unix.cpp:349
#17 0xb53eaf70 in start_thread (arg=0xb18d8b40) at pthread_create.c:312
#18 0xb766447e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xb4923740 (LWP 2949)):
[KCrash Handler]
#7  0x0a416900 in ?? ()
#8  0xb5f60524 in x11EventSourceDispatch (s=0x9a5cc80, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#9  0xb53141e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb5314468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0xb5314528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#12 0xb69ce93b in QEventDispatcherGlib::processEvents (this=this@entry=0x9a0aeb8, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#13 0xb5f605de in QGuiEventDispatcherGlib::processEvents (this=0x9a0aeb8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#14 0xb699d823 in QEventLoop::processEvents (this=this@entry=0xbffcf378, flags=...) at kernel/qeventloop.cpp:149
#15 0xb699db49 in QEventLoop::exec (this=this@entry=0xbffcf378, flags=...) at kernel/qeventloop.cpp:204
#16 0xb69a38fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#17 0xb5ea9a24 in QApplication::exec () at kernel/qapplication.cpp:3828
#18 0xb775a810 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_konsole.so
#19 0x0804855b in ?? ()
#20 0xb7591a83 in __libc_start_main (main=0x8048540, argc=1, argv=0xbffcf524, init=0x8048660 <__libc_csu_init>, fini=0x80486d0 <__libc_csu_fini>, rtld_fini=0xb7778180 <_dl_fini>, stack_end=0xbffcf51c) at libc-start.c:287
#21 0x0804857e in _start ()

Possible duplicates by query: bug 342216, bug 341830, bug 341641, bug 340885, bug 339947.

Report to https://bugs.kde.org/

Reproducible: Sometimes

Steps to Reproduce:
1. Drive system into swap with Kerbal SPace Program.
2. Have open some tabs, load up programs (bash prompt, wyrd, emacs with open org file)
3. Save and close emacs, type exit, switch tab with mouse 'Q' to close wyrd, type exit.
4. Crash

Actual Results:  
Sometimes it crashes. As I said in my report, the video was having problems, and the windows and menus of KDE were not rendering correctly.

Expected Results:  
Konsole should exit cleanly.
Comment 1 twtroughton 2014-12-26 17:52:40 UTC
Should add that the bug reporting did not let me post this, saying that I was not logged in, even though I was and had reviewed other crashes. Had to save the report and do theo whole process over again. Big waste of time.
Comment 2 Arjun AK 2014-12-27 07:03:09 UTC
Thanks for the report. If this crash is reproducible, please install debug information packages for the konsole package and add a better backtrace. 
For more information, please see https://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 3 Andrew Crouthamel 2018-09-25 03:48:17 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-27 04:14:03 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!