Bug 336359

Summary: segfault when closing konsole from within dolphin
Product: [Applications] konsole Reporter: Arjun AK <arjunak234>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version: 2.99.900   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Arjun AK 2014-06-17 15:27:43 UTC
Konsole crashes every time i exit konsole by pressing CTRL D

Reproducible: Always

Steps to Reproduce:
1. Open dolphin
2. Press F4
3. CTRL D



Thread 4 (Thread 0x7fffd7fff700 (LWP 5205)):
#0  0x000000334c2ec703 in select () from /lib64/libc.so.6
#1  0x00007fffefff730b in QProcessManager::run (this=0x4153b0) at io/qprocess_unix.cpp:272
#2  0x00007fffefe4466b in QThreadPrivate::start (arg=0x4153b0) at thread/qthread_unix.cpp:345
#3  0x000000334c607f33 in start_thread () from /lib64/libpthread.so.0
#4  0x000000334c2f4ded in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fffdeaea700 (LWP 5204)):
#0  0x000000334c2ea9dd in poll () from /lib64/libc.so.6
#1  0x000000334ea495b4 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x000000334ea496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007ffff00db5f1 in QEventDispatcherGlib::processEvents (this=0x7fffd80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:428
#4  0x00007ffff006069e in QEventLoop::processEvents (this=0x7fffdeae9ca0, flags=...) at kernel/qeventloop.cpp:136
#5  0x00007ffff0060981 in QEventLoop::exec (this=0x7fffdeae9ca0, flags=...) at kernel/qeventloop.cpp:212
#6  0x00007fffefe3d0f6 in QThread::exec (this=0x64ea30) at thread/qthread.cpp:511
#7  0x00007fffefe3d29c in QThread::run (this=0x64ea30) at thread/qthread.cpp:578
#8  0x00007fffefe4466b in QThreadPrivate::start (arg=0x64ea30) at thread/qthread_unix.cpp:345
#9  0x000000334c607f33 in start_thread () from /lib64/libpthread.so.0
#10 0x000000334c2f4ded in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fffe7d54700 (LWP 5203)):
#0  0x000000334c2ea9dd in poll () from /lib64/libc.so.6
#1  0x0000003351209f72 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x000000335120b6bf in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007fffe839b315 in QXcbEventReader::run (this=0x427800) at qxcbconnection.cpp:1034
#4  0x00007fffefe4466b in QThreadPrivate::start (arg=0x427800) at thread/qthread_unix.cpp:345
#5  0x000000334c607f33 in start_thread () from /lib64/libpthread.so.0
#6  0x000000334c2f4ded in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fffeebc68c0 (LWP 5199)):
#0  0x00007fffdccfb61a in QList<Konsole::ViewContainer*>::removeAll (this=0x7a3ca0, _t=@0x7fffffffc820: 0x7c3350) at /home/arjun/qt5/qtbase/include/QtCore/qlist.h:811
#1  0x00007fffdccfb0e4 in Konsole::ViewSplitter::containerDestroyed (this=0x7a3c70, container=0x7c3350) at /home/arjun/kde5-src/kde/applications/konsole/src/ViewSplitter.cpp:183
#2  0x00007fffdccfc24c in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<Konsole::ViewContainer*>, void, void (Konsole::ViewSplitter::*)(Konsole::ViewContainer*)>::call (f=
    (void (Konsole::ViewSplitter::*)(Konsole::ViewSplitter * const, Konsole::ViewContainer *)) 0x7fffdccfb082 <Konsole::ViewSplitter::containerDestroyed(Konsole::ViewContainer*)>, 
    o=0x7a3c70, arg=0x7fffffffcac0) at /home/arjun/qt5/qtbase/include/QtCore/qobjectdefs_impl.h:508
#3  0x00007fffdccfc0ce in QtPrivate::FunctionPointer<void (Konsole::ViewSplitter::*)(Konsole::ViewContainer*)>::call<QtPrivate::List<Konsole::ViewContainer*>, void> (f=
    (void (Konsole::ViewSplitter::*)(Konsole::ViewSplitter * const, Konsole::ViewContainer *)) 0x7fffdccfb082 <Konsole::ViewSplitter::containerDestroyed(Konsole::ViewContainer*)>, 
    o=0x7a3c70, arg=0x7fffffffcac0) at /home/arjun/qt5/qtbase/include/QtCore/qobjectdefs_impl.h:527
#4  0x00007fffdccfbed7 in QtPrivate::QSlotObject<void (Konsole::ViewSplitter::*)(Konsole::ViewContainer*), QtPrivate::List<Konsole::ViewContainer*>, void>::impl (which=1, this_=0x7cbb60, 
    r=0x7a3c70, a=0x7fffffffcac0, ret=0x0) at /home/arjun/qt5/qtbase/include/QtCore/qobject_impl.h:151
#5  0x00007ffff00a8cad in QtPrivate::QSlotObjectBase::call (this=0x7cbb60, r=0x7a3c70, a=0x7fffffffcac0) at ../../include/QtCore/qobject_impl.h:132
#6  0x00007ffff00a5e5f in QMetaObject::activate (sender=0x7c3350, signalOffset=3, local_signal_index=0, argv=0x7fffffffcac0) at kernel/qobject.cpp:3666
#7  0x00007ffff00a577a in QMetaObject::activate (sender=0x7c3350, m=0x7fffdcf76f80 <Konsole::ViewContainer::staticMetaObject>, local_signal_index=0, argv=0x7fffffffcac0)
    at kernel/qobject.cpp:3546
#8  0x00007fffdcd0c63b in Konsole::ViewContainer::destroyed (this=0x7c3350, _t1=0x7c3350) at /home/arjun/kde5-build/kde/applications/konsole/src/moc_ViewContainer.cpp:248
#9  0x00007fffdcce4c90 in Konsole::ViewContainer::~ViewContainer (this=0x7c3350, __in_chrg=<optimized out>) at /home/arjun/kde5-src/kde/applications/konsole/src/ViewContainer.cpp:72
#10 0x00007fffdcce81ff in Konsole::StackedViewContainer::~StackedViewContainer (this=0x7c3350, __in_chrg=<optimized out>)
    at /home/arjun/kde5-src/kde/applications/konsole/src/ViewContainer.cpp:732
#11 0x00007fffdcce822e in Konsole::StackedViewContainer::~StackedViewContainer (this=0x7c3350, __in_chrg=<optimized out>)
    at /home/arjun/kde5-src/kde/applications/konsole/src/ViewContainer.cpp:736
#12 0x00007ffff00a0ad0 in QObjectPrivate::deleteChildren (this=0x7a3cc0) at kernel/qobject.cpp:1935
#13 0x00007ffff13e3679 in QWidget::~QWidget (this=0x7a3c70, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1490
#14 0x00007ffff151fe7c in QFrame::~QFrame (this=0x7a3c70, __in_chrg=<optimized out>) at widgets/qframe.cpp:217
#15 0x00007ffff158cb2e in QSplitter::~QSplitter (this=0x7a3c70, __in_chrg=<optimized out>) at widgets/qsplitter.cpp:968
#16 0x00007fffdcd102b1 in Konsole::ViewSplitter::~ViewSplitter (this=0x7a3c70, __in_chrg=<optimized out>)
    at /home/arjun/kde5-build/kde/applications/konsole/src/../../../../../kde5-src/kde/applications/konsole/src/ViewSplitter.h:47
#17 0x00007fffdcd102ea in Konsole::ViewSplitter::~ViewSplitter (this=0x7a3c70, __in_chrg=<optimized out>)
    at /home/arjun/kde5-build/kde/applications/konsole/src/../../../../../kde5-src/kde/applications/konsole/src/ViewSplitter.h:47
#18 0x00007ffff6ac25e5 in KParts::Part::~Part (this=0x79df90, __vtt_parm=0x7fffdd1954b0 <VTT for Konsole::Part+16>, __in_chrg=<optimized out>)
    at /home/arjun/kde5-src/frameworks/kparts/src/part.cpp:65
#19 0x00007ffff6ac470e in KParts::ReadOnlyPart::~ReadOnlyPart (this=0x79df90, __vtt_parm=0x7fffdd1954a8 <VTT for Konsole::Part+8>, __in_chrg=<optimized out>)
    at /home/arjun/kde5-src/frameworks/kparts/src/readonlypart.cpp:51
#20 0x00007fffdcf8b614 in Konsole::Part::~Part (this=0x79df90, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/arjun/kde5-src/kde/applications/konsole/src/Part.cpp:95
#21 0x00007fffdcf8b67c in Konsole::Part::~Part (this=0x79df90, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/arjun/kde5-src/kde/applications/konsole/src/Part.cpp:98
#22 0x00007ffff00a7a06 in qDeleteInEventHandler (o=0x79df90) at kernel/qobject.cpp:4345
#23 0x00007ffff009f53e in QObject::event (this=0x79df90, e=0x81fae0) at kernel/qobject.cpp:1232
#24 0x00007ffff13aa538 in QApplicationPrivate::notify_helper (this=0x414230, receiver=0x79df90, e=0x81fae0) at kernel/qapplication.cpp:3501
#25 0x00007ffff13a7cca in QApplication::notify (this=0x7fffffffdc70, receiver=0x79df90, e=0x81fae0) at kernel/qapplication.cpp:2954
#26 0x00007ffff00639ea in QCoreApplication::notifyInternal (this=0x7fffffffdc70, receiver=0x79df90, event=0x81fae0) at kernel/qcoreapplication.cpp:935
#27 0x00007ffff00676d3 in QCoreApplication::sendEvent (receiver=0x79df90, event=0x81fae0) at ../../include/QtCore/qcoreapplication.h:237
#28 0x00007ffff0064d47 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x4032d0) at kernel/qcoreapplication.cpp:1539
#29 0x00007ffff00646f8 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1397
#30 0x00007ffff00dae30 in postEventSourceDispatch (s=0x4511a0) at kernel/qeventdispatcher_glib.cpp:279
#31 0x000000334ea492a6 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#32 0x000000334ea49628 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#33 0x000000334ea496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#34 0x00007ffff00db5d1 in QEventDispatcherGlib::processEvents (this=0x44e0c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#35 0x00007fffe83f4fca in QPAEventDispatcherGlib::processEvents (this=0x44e0c0, flags=...) at eventdispatchers/qeventdispatcher_glib.cpp:123
#36 0x00007ffff006069e in QEventLoop::processEvents (this=0x7fffffffdb80, flags=...) at kernel/qeventloop.cpp:136
#37 0x00007ffff0060981 in QEventLoop::exec (this=0x7fffffffdb80, flags=...) at kernel/qeventloop.cpp:212
#38 0x00007ffff00640d3 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#39 0x00007ffff0b24486 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1446
#40 0x00007ffff13a74f7 in QApplication::exec () at kernel/qapplication.cpp:2746
#41 0x00007ffff7d6dcc3 in kdemain (argc=1, argv=0x7fffffffe218) at /home/arjun/kde5-src/kde/applications/kde-baseapps/dolphin/src/main.cpp:95
#42 0x0000000000400c52 in main (argc=1, argv=0x7fffffffe218) at /home/arjun/kde5-build/kde/applications/kde-baseapps/dolphin/src/dolphin_dummy.cpp:3
Comment 1 Kurt Hindenburg 2017-02-13 00:34:49 UTC
please update and that should fix it