Bug 332729 - Kconsole crash on close
Summary: Kconsole crash on close
Status: RESOLVED WORKSFORME
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
: 333521 334803 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-03-28 10:15 UTC by Sven Almgren
Modified: 2020-11-07 13:06 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.79 KB, text/plain)
2014-04-20 14:48 UTC, Gauthier POGAM--LE MONTAGNERa
Details
New crash information added by DrKonqi (3.88 KB, text/plain)
2014-06-23 07:41 UTC, Bradley Kite
Details
Information from another crash. (3.96 KB, text/plain)
2015-02-04 23:52 UTC, craig harmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Almgren 2014-03-28 10:15:36 UTC
Application: konsole (2.13)
KDE Platform Version: 4.12.95
Qt Version: 4.8.6
Operating System: Linux 3.13.0-19-generic x86_64
Distribution: Ubuntu Trusty Tahr (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
Kconsole crashed when closing single tabbed window. It has crashed before, when not closing, so I suspect the crash was triggered by some event base on closing, not the closing in itself (as the last time I was simply switching tabbs when it crashed).

-- 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 0x7f94560337c0 (LWP 6640))]

Thread 2 (Thread 0x7f943fbd5700 (LWP 6643)):
#0  0x00007f94559576bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f944ed05c20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f944ecc4b14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f944ecc4f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f944ecc50ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f94540677be in QEventDispatcherGlib::processEvents (this=0x7f94380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f94540390af in QEventLoop::processEvents (this=this@entry=0x7f943fbd4de0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f94540393a5 in QEventLoop::exec (this=this@entry=0x7f943fbd4de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f9453f35c5f in QThread::exec (this=this@entry=0x2854b40) at thread/qthread.cpp:537
#9  0x00007f945401a823 in QInotifyFileSystemWatcherEngine::run (this=0x2854b40) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f9453f3832f in QThreadPrivate::start (arg=0x2854b40) at thread/qthread_unix.cpp:349
#11 0x00007f944f5ac182 in start_thread (arg=0x7f943fbd5700) at pthread_create.c:312
#12 0x00007f945596630d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f94560337c0 (LWP 6640)):
[KCrash Handler]
#6  q_func (this=0x0) at ../../include/QtGui/private/../../../src/gui/kernel/qwidget_p.h:362
#7  QWidgetPrivate::assignedInputContext (this=0x0) at kernel/qwidget.cpp:430
#8  0x00007f9453410069 in QWidgetPrivate::inputContext (this=<optimized out>) at kernel/qwidget.cpp:441
#9  0x00007f94534732fc in QKeyMapperPrivate::translateKeyEvent (this=0x24073a0, keyWidget=keyWidget@entry=0x25ec7b0, event=event@entry=0x7fff83db19b0, grab=grab@entry=false) at kernel/qkeymapper_x11.cpp:1724
#10 0x00007f945344d3f7 in QApplication::x11ProcessEvent (this=0x7fff83db1eb0, event=event@entry=0x7fff83db19b0) at kernel/qapplication_x11.cpp:3642
#11 0x00007f9453475b02 in x11EventSourceDispatch (s=0x23b19a0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#12 0x00007f944ecc4e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007f944ecc5048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007f944ecc50ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f94540677a1 in QEventDispatcherGlib::processEvents (this=0x23af990, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#16 0x00007f9453475bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#17 0x00007f94540390af in QEventLoop::processEvents (this=this@entry=0x7fff83db1d80, flags=...) at kernel/qeventloop.cpp:149
#18 0x00007f94540393a5 in QEventLoop::exec (this=this@entry=0x7fff83db1d80, flags=...) at kernel/qeventloop.cpp:204
#19 0x00007f945403eb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#20 0x00007f94533d237c in QApplication::exec () at kernel/qapplication.cpp:3828
#21 0x00007f9455c496f7 in kdemain (argc=1, argv=0x7fff83db1ff8) at ../../src/main.cpp:86
#22 0x00007f945588cec5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, argv=0x7fff83db1ff8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff83db1fe8) at libc-start.c:287
#23 0x00000000004006fe in _start ()

Possible duplicates by query: bug 331309, bug 324735, bug 323867, bug 319784.

Reported using DrKonqi
Comment 1 Christoph Feck 2014-04-20 09:31:46 UTC
*** Bug 333521 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Feck 2014-04-20 09:34:39 UTC
Could you please check if you are running an "input method" program, such as "ibus" or "fcitx"? This could be bug 299715.
Comment 3 Gauthier POGAM--LE MONTAGNERa 2014-04-20 14:48:25 UTC
Created attachment 86183 [details]
New crash information added by DrKonqi

konsole (2.13) on KDE Platform 4.13.0 using Qt 4.8.6

- What I was doing when the application crashed:
I typed the command "perl - Version". Once the result, I closed Konsole via the exit command.

-- Backtrace (Reduced):
#6  q_func (this=0x0) at ../../include/QtGui/private/../../../src/gui/kernel/qwidget_p.h:362
#7  QWidgetPrivate::assignedInputContext (this=0x0) at kernel/qwidget.cpp:430
#8  0x00007f783a834069 in QWidgetPrivate::inputContext (this=<optimized out>) at kernel/qwidget.cpp:441
#9  0x00007f783a8972fc in QKeyMapperPrivate::translateKeyEvent (this=0x234f5d0, keyWidget=keyWidget@entry=0x2565220, event=event@entry=0x7fff760cfd60, grab=grab@entry=false) at kernel/qkeymapper_x11.cpp:1724
#10 0x00007f783a8713f7 in QApplication::x11ProcessEvent (this=0x7fff760d0260, event=event@entry=0x7fff760cfd60) at kernel/qapplication_x11.cpp:3642
Comment 4 Christoph Feck 2014-05-15 18:30:03 UTC
*** Bug 334803 has been marked as a duplicate of this bug. ***
Comment 5 Bradley Kite 2014-06-23 07:41:33 UTC
Created attachment 87336 [details]
New crash information added by DrKonqi

konsole (2.12.4) on KDE Platform 4.12.5 using Qt 4.8.6

- What I was doing when the application crashed:

Click on the Window Manager's "Close" button on the top-right corner.

-- Backtrace (Reduced):
#6  0x0000003c51209450 in QWidgetPrivate::assignedInputContext() const () from /lib64/libQtGui.so.4
#7  0x0000003c512094a9 in QWidgetPrivate::inputContext() const () from /lib64/libQtGui.so.4
#8  0x0000003c5126a38c in QKeyMapperPrivate::translateKeyEvent(QWidget*, _XEvent const*, bool) () from /lib64/libQtGui.so.4
#9  0x0000003c5124552f in QApplication::x11ProcessEvent(_XEvent*) () from /lib64/libQtGui.so.4
#10 0x0000003c5126cbe4 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtGui.so.4
Comment 6 Unlisted Person 2015-02-02 01:36:04 UTC
This happened to me. I typed "exit" and that windows closed as well as every other konsole that was open that was running an ssh connection.
Comment 7 craig harmer 2015-02-04 23:52:48 UTC
Created attachment 90918 [details]
Information from another crash.

I've seen this bug as well on Ubuntu Trusty Tahr:

Application: konsole (2.13.2)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-34-generic x86_64
Distribution: Ubuntu 14.04.1 LTS
Comment 8 Justin Zobel 2020-10-23 02:31:34 UTC
Can you please confirm if this is still an issue with Konsole 20.08.1+.
Comment 9 Bug Janitor Service 2020-11-07 04:33:33 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
mark the bug 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 10 Gauthier POGAM--LE MONTAGNER 2020-11-07 12:21:53 UTC
To my knowledge, this is no more an issue and I haven't seen any crash for years using Konsole.
Comment 11 Unlisted Person 2020-11-07 13:06:55 UTC
Tested with konsole 19.12.3 and Ubuntu 20.04 
and it didn't seem to be a problem.