Bug 335536 - Konsole crashes when closing tab
Summary: Konsole crashes when closing tab
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.13
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-05-29 14:51 UTC by Joe Ferner
Modified: 2018-08-19 04:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.35 KB, text/plain)
2014-06-27 06:13 UTC, Volker Siegel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Ferner 2014-05-29 14:51:30 UTC
Application: konsole (2.13)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-27-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Typed 'exit' in a Konsole tab. After that all of Konsole crashed and I lost my other tabs.

The crash can be reproduced sometimes.

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

Thread 2 (Thread 0x7f00862e3700 (LWP 32097)):
#0  0x00007f0095c357ee in __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7f0080000a60) at pthread_mutex_unlock.c:57
#1  __GI___pthread_mutex_unlock (mutex=0x7f0080000a60) at pthread_mutex_unlock.c:310
#2  0x00007f009538d9c1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f009534ba20 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f009534bf7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f009534c0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f009a6e57be in QEventDispatcherGlib::processEvents (this=0x7f00800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007f009a6b70af in QEventLoop::processEvents (this=this@entry=0x7f00862e2de0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f009a6b73a5 in QEventLoop::exec (this=this@entry=0x7f00862e2de0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f009a5b3c5f in QThread::exec (this=this@entry=0x2893b90) at thread/qthread.cpp:537
#10 0x00007f009a698823 in QInotifyFileSystemWatcherEngine::run (this=0x2893b90) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007f009a5b632f in QThreadPrivate::start (arg=0x2893b90) at thread/qthread_unix.cpp:349
#12 0x00007f0095c32182 in start_thread (arg=0x7f00862e3700) at pthread_create.c:312
#13 0x00007f009bfe430d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f009c6967c0 (LWP 32096)):
[KCrash Handler]
#6  0x00007f009c2a8d38 in main_arena () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007f0099acb090 in QApplication::x11ProcessEvent (this=0x7fff002219c0, event=event@entry=0x7fff002214c0) at kernel/qapplication_x11.cpp:3529
#8  0x00007f0099af3b02 in x11EventSourceDispatch (s=0x23fe950, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#9  0x00007f009534be04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f009534c048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f009534c0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f009a6e57a1 in QEventDispatcherGlib::processEvents (this=0x2344af0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#13 0x00007f0099af3bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#14 0x00007f009a6b70af in QEventLoop::processEvents (this=this@entry=0x7fff00221890, flags=...) at kernel/qeventloop.cpp:149
#15 0x00007f009a6b73a5 in QEventLoop::exec (this=this@entry=0x7fff00221890, flags=...) at kernel/qeventloop.cpp:204
#16 0x00007f009a6bcb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#17 0x00007f009c2c76f7 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_konsole.so
#18 0x00007f009bf0aec5 in __libc_start_main (main=0x4006d0, argc=1, argv=0x7fff00221b08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff00221af8) at libc-start.c:287
#19 0x00000000004006fe in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 331059, bug 334168, bug 326812.

Possible duplicates by query: bug 335512, bug 335185, bug 334803, bug 334168, bug 333971.

Reported using DrKonqi
Comment 1 Volker Siegel 2014-06-27 06:13:33 UTC
Created attachment 87424 [details]
New crash information added by DrKonqi

konsole (2.13) on KDE Platform 4.13.0 using Qt 4.8.6

The kind of crash was "just like the duplicates".
I'll add what I can about the history of the konsole process that crashed, just in case it helps to investigate some thread state mess up issue:

Konsole crashed, when I was closing one of two konsole terminal windows on the current virtual desktop, with about five more terminal windows open on other virtual desktops  of a 4 by 4 compiz desktop wall. All the terminals were part of the same konsole instance.

This instance had been running since seven days. As I have the habit of doing small independent shell tasks in a newly opened terminal, which I'll close after the short task, the konsole process had handeled quite some new windows, while there were very few terminal tabs used. 

I use unlimited scroll back buffers, and while I did not obviously run programs with much output (in rate, or total volume), the long-running windows could have collected a lot of scrollback over that week (I had the buffer reset one time on a single window).

I use a 4GB tmpfs for /tmp; did not notice any file-system full indications, but I think it happened before that console tmp files filled the tmpfs.

-- Backtrace (Reduced):
#6  0x00007f84b365c08a in QApplication::x11ProcessEvent (this=0x7fffff496f30, event=event@entry=0x7fffff496a30) at kernel/qapplication_x11.cpp:3529
#7  0x00007f84b3684b02 in x11EventSourceDispatch (s=0x1798a00, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
[...]
#11 0x00007f84b42767be in QEventDispatcherGlib::processEvents (this=0x16c0af0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#12 0x00007f84b3684bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#13 0x00007f84b42480af in QEventLoop::processEvents (this=this@entry=0x7fffff496e00, flags=...) at kernel/qeventloop.cpp:149
Comment 2 Christoph Feck 2014-07-21 21:13:07 UTC
Please uninstall any input method helpers (ibus or fctix) until this is fixed.
Comment 3 Ben Creasy 2018-08-19 04:30:19 UTC
KDE 4 is no longer maintained.