Bug 291795

Summary: Konsole segfaults (after Ctrl-D exit)
Product: [Applications] konsole Reporter: Malo <malo>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: adaptee
Priority: NOR    
Version: 2.8   
Target Milestone: ---   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Malo 2012-01-17 17:44:57 UTC
Version:           2.8 (using Devel) 
OS:                Linux

I had only one tab opened, after using it for a few simple commands, I did Ctrl+D to close it and it crashed. The trace is from the KDE crash handler:

Application: Konsole (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f596ae6a720 (LWP 27228))]

Thread 2 (Thread 0x7f594e71b700 (LWP 27232)):
#0  0x00007f5968553743 in poll () from /lib64/libc.so.6
#1  0x00007f5965716916 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f5965716a44 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#3  0x00007f5969b3bee6 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQtCore.so.4
#4  0x00007f5969b10412 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQtCore.so.4
#5  0x00007f5969b1060f in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQtCore.so.4
#6  0x00007f5969a27f9f in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f5969af34ff in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f5969a2a9e5 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f59697a1b99 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f596855c0cd in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f596ae6a720 (LWP 27228)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f5968d474b7 in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib64/libQtGui.so.4
#8  0x00007f5968d6f302 in ?? () from /usr/lib64/libQtGui.so.4
#9  0x00007f59657165ba in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#10 0x00007f5965716980 in ?? () from /lib64/libglib-2.0.so.0
#11 0x00007f5965716a44 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#12 0x00007f5969b3be7f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQtCore.so.4
#13 0x00007f5968d6ef8e in ?? () from /usr/lib64/libQtGui.so.4
#14 0x00007f5969b10412 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQtCore.so.4
#15 0x00007f5969b1060f in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQtCore.so.4
#16 0x00007f5969b147d7 in QCoreApplication::exec() () from
/usr/lib64/libQtCore.so.4
#17 0x00007f5956b10ca2 in kdemain () from /usr/lib64/libkdeinit4_konsole.so
#18 0x0000000000408657 in _start ()

Reproducible: Couldn't Reproduce

Steps to Reproduce:
1.Run Konsole from the menu
2.Close it with Ctrl-D
3.It crashes (well it did once ...)


Expected Results:  
I suppose Konsole should not crash ...
Comment 1 Jekyll Wu 2012-01-17 18:16:40 UTC
Thanks for reporting.

This is actually a known problem tracked at bug 252602. The unfortunate fact is although it is reproducible under certain conditions, it is hard to infer where the thing goes wrong. The backtrace is mostly Qt related.

*** This bug has been marked as a duplicate of bug 252602 ***