Bug 340444

Summary: Konsole-part crashes upon dolphin exit
Product: [Applications] konsole Reporter: Hrvoje Senjan <hrvoje.senjan>
Component: kpartAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: arjunak234
Priority: NOR Keywords: drkonqi
Version: 2.99.900   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Hrvoje Senjan 2014-10-28 22:54:44 UTC
Application: dolphin (4.60)

Qt Version: 5.4.0
Operating System: Linux 3.17.1-1.g564016e-desktop x86_64
Distribution: "openSUSE 20141011 (Harlequin) (x86_64)"

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

this can be 99% reproducible. have konsolepart open during one dolphin session -> close dolphin (part can be closed already at this point) -> crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f29bdaf3800 (LWP 18888))]

Thread 3 (Thread 0x7f29a7c18700 (LWP 18889)):
#0  0x00007f29bd3f13cd in poll () at /lib64/libc.so.6
#1  0x00007f29b02cb362 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f29b02cce2f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f29a9b7fb19 in QXcbEventReader::run() (this=0x21bf5c0) at qxcbconnection.cpp:1089
#4  0x00007f29b718a75f in QThreadPrivate::start(void*) (arg=0x21bf5c0) at thread/qthread_unix.cpp:337
#5  0x00007f29b282e0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f29bd3f97fd in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f29a1049700 (LWP 18890)):
#0  0x00007f29b283205f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f29a59461c3 in  () at /usr/lib64/dri/r600_dri.so
#2  0x00007f29a5945a07 in  () at /usr/lib64/dri/r600_dri.so
#3  0x00007f29b282e0a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f29bd3f97fd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f29bdaf3800 (LWP 18888)):
[KCrash Handler]
#5  0x00007f299997513c in QList<QWidget*>::QList(QList<QWidget*> const&) (this=0x7fff624c4b20, l=...) at /usr/include/qt5/QtCore/qlist.h:743
#6  0x00007f29999732fd in Konsole::ViewContainer::views() const (this=<optimized out>) at /usr/src/debug/konsole-5.0.0git/src/ViewContainer.cpp:178
#7  0x00007f29999771ae in Konsole::ViewManager::updateDetachViewState() (this=this@entry=0x2ab5210) at /usr/src/debug/konsole-5.0.0git/src/ViewManager.cpp:272
#8  0x00007f299997bb4b in Konsole::ViewManager::viewDestroyed(QWidget*) (this=0x2ab5210, view=<optimized out>) at /usr/src/debug/konsole-5.0.0git/src/ViewManager.cpp:741
#9  0x00007f29b7393a4f in QMetaObject::activate(QObject*, int, int, void**) (a=0x7fff624c4ce0, r=0x2ab5210, this=0x2c313e0) at ../../src/corelib/kernel/qobject_impl.h:124
#10 0x00007f29b7393a4f in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x2c29ca0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7fff624c4ce0) at kernel/qobject.cpp:3702
#11 0x00007f29b73945f7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x2c29ca0, m=m@entry=0x7f2999bcfda0 <Konsole::ViewContainer::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7fff624c4ce0) at kernel/qobject.cpp:3582
#12 0x00007f299998a922 in Konsole::ViewContainer::viewRemoved(QWidget*) (this=this@entry=0x2c29ca0, _t1=0x2b0e110) at /usr/src/debug/konsole-5.0.0git/build/src/moc_ViewContainer.cpp:297
#13 0x00007f2999973faf in Konsole::ViewContainer::forgetView(QWidget*) (this=0x2c29ca0, view=0x2b0e110) at /usr/src/debug/konsole-5.0.0git/src/ViewContainer.cpp:163
#14 0x00007f29b7393a4f in QMetaObject::activate(QObject*, int, int, void**) (a=0x7fff624c4e80, r=0x2c29ca0, this=0x2c70b60) at ../../src/corelib/kernel/qobject_impl.h:124
#15 0x00007f29b7393a4f in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x2b0e110, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff624c4e80) at kernel/qobject.cpp:3702
#16 0x00007f29b73945f7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x2b0e110, m=m@entry=0x7f29b779be80 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff624c4e80) at kernel/qobject.cpp:3582
#17 0x00007f29b739468f in QObject::destroyed(QObject*) (this=this@entry=0x2b0e110, _t1=_t1@entry=0x2b0e110) at .moc/moc_qobject.cpp:206
#18 0x00007f29b82ddd99 in QWidget::~QWidget() (this=0x2b0e110, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1611
#19 0x00007f2999965159 in Konsole::TerminalDisplay::~TerminalDisplay() (this=0x2b0e110, __in_chrg=<optimized out>) at /usr/src/debug/konsole-5.0.0git/src/TerminalDisplay.cpp:429
#20 0x00007f29b739295c in QObjectPrivate::deleteChildren() (this=this@entry=0x2c098a0) at kernel/qobject.cpp:1950
#21 0x00007f29b82dddfa in QWidget::~QWidget() (this=0x2c09860, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1640
#22 0x00007f29b842fbe9 in QStackedWidget::~QStackedWidget() (this=0x2c09860, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:143
#23 0x00007f29b739295c in QObjectPrivate::deleteChildren() (this=this@entry=0x2c09480) at kernel/qobject.cpp:1950
#24 0x00007f29b82dddfa in QWidget::~QWidget() (this=0x2bf5f00, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1640
#25 0x00007f29b82de039 in QWidget::~QWidget() (this=0x2bf5f00, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1660
#26 0x00007f29b739295c in QObjectPrivate::deleteChildren() (this=this@entry=0x2c07fe0) at kernel/qobject.cpp:1950
#27 0x00007f29b82dddfa in QWidget::~QWidget() (this=0x2b03350, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1640
#28 0x00007f2999992fdb in Konsole::ViewSplitter::~ViewSplitter() (this=0x2b03350, __in_chrg=<optimized out>) at /usr/src/debug/konsole-5.0.0git/src/ViewSplitter.h:47
#29 0x00007f2999992fdb in Konsole::ViewSplitter::~ViewSplitter() (this=0x2b03350, __in_chrg=<optimized out>) at /usr/src/debug/konsole-5.0.0git/src/ViewSplitter.h:47
#30 0x00007f29bc90fc2f in KParts::Part::~Part() () at /usr/lib64/libKF5Parts.so.5
#31 0x00007f2999c1e84d in Konsole::Part::~Part() (this=0x2c0ba70, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/konsole-5.0.0git/src/Part.cpp:86
#32 0x00007f2999c1e899 in Konsole::Part::~Part() (this=0x2c0ba70, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/konsole-5.0.0git/src/Part.cpp:89
#33 0x00007f29b739295c in QObjectPrivate::deleteChildren() (this=this@entry=0x240b9d0) at kernel/qobject.cpp:1950
#34 0x00007f29b82dddfa in QWidget::~QWidget() (this=0x240b940, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1640
#35 0x00007f29bd75a119 in  () at /usr/lib64/libkdeinit5_dolphin.so
#36 0x00007f29b739295c in QObjectPrivate::deleteChildren() (this=this@entry=0x2408270) at kernel/qobject.cpp:1950
#37 0x00007f29b82dddfa in QWidget::~QWidget() (this=0x22d6460, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1640
#38 0x00007f29bd700be1 in  () at /usr/lib64/libkdeinit5_dolphin.so
#39 0x00007f29b739295c in QObjectPrivate::deleteChildren() (this=this@entry=0x22b4aa0) at kernel/qobject.cpp:1950
#40 0x00007f29b82dddfa in QWidget::~QWidget() (this=0x229f7f0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1640
#41 0x00007f29ba41993f in KMainWindow::~KMainWindow() (this=0x229f7f0, __in_chrg=<optimized out>) at /usr/src/debug/kxmlgui-5.4.0git/src/kmainwindow.cpp:332
#42 0x00007f29bd70112a in  () at /usr/lib64/libkdeinit5_dolphin.so
#43 0x00007f29bd701179 in  () at /usr/lib64/libkdeinit5_dolphin.so
#44 0x00007f29b7394e28 in QObject::event(QEvent*) (this=this@entry=0x229f7f0, e=e@entry=0x3275890) at kernel/qobject.cpp:1236
#45 0x00007f29b82e1784 in QWidget::event(QEvent*) (this=this@entry=0x229f7f0, event=event@entry=0x3275890) at kernel/qwidget.cpp:9084
#46 0x00007f29b83edd5b in QMainWindow::event(QEvent*) (this=this@entry=0x229f7f0, event=event@entry=0x3275890) at widgets/qmainwindow.cpp:1495
#47 0x00007f29ba419ce7 in KMainWindow::event(QEvent*) (this=this@entry=0x229f7f0, ev=ev@entry=0x3275890) at /usr/src/debug/kxmlgui-5.4.0git/src/kmainwindow.cpp:825
#48 0x00007f29ba450065 in KXmlGuiWindow::event(QEvent*) (this=0x229f7f0, ev=0x3275890) at /usr/src/debug/kxmlgui-5.4.0git/src/kxmlguiwindow.cpp:118
#49 0x00007f29b82a233c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x21a00e0, receiver=receiver@entry=0x229f7f0, e=e@entry=0x3275890) at kernel/qapplication.cpp:3722
#50 0x00007f29b82a7350 in QApplication::notify(QObject*, QEvent*) (this=0x7fff624c5cd0, receiver=0x229f7f0, e=0x3275890) at kernel/qapplication.cpp:3462
#51 0x00007f29b7364775 in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fff624c5cd0, receiver=0x229f7f0, event=event@entry=0x3275890) at kernel/qcoreapplication.cpp:932
#52 0x00007f29b736660f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x3275890, receiver=<optimized out>) at kernel/qcoreapplication.h:228
#53 0x00007f29b736660f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2196e20) at kernel/qcoreapplication.cpp:1536
#54 0x00007f29b7366c48 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1394
#55 0x00007f29b73bc5e3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x2201cf0) at kernel/qeventdispatcher_glib.cpp:271
#56 0x00007f29b2312a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#57 0x00007f29b2312c48 in  () at /usr/lib64/libglib-2.0.so.0
#58 0x00007f29b2312cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#59 0x00007f29b73bba5c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x21a54a0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#60 0x00007f29b73626db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff624c5b90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#61 0x00007f29b7369d46 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1185
#62 0x00007f29bd71d3a2 in kdemain () at /usr/lib64/libkdeinit5_dolphin.so
#63 0x00007f29bd335b05 in __libc_start_main () at /lib64/libc.so.6
#64 0x000000000040083e in _start ()

Reported using DrKonqi
Comment 1 Arjun AK 2014-10-31 18:43:35 UTC

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