Bug 346288

Summary: Ark-in-Ark-in-Ark crashed on exit
Product: [Applications] ark Reporter: cheapiephp
Component: generalAssignee: Raphael Kubo da Costa <rakuco>
Status: RESOLVED DUPLICATE    
Severity: crash CC: post
Priority: NOR Keywords: drkonqi
Version: 2.19   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description cheapiephp 2015-04-17 05:02:32 UTC
Application: ark (2.19)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 4.0.0-rc7-hurrdurrimasheep x86_64
Distribution: Debian GNU/Linux 8.0 (jessie)

-- Information about the crash:
- What I was doing when the application crashed:
I was looking at an archive file inside another archive inside yet another archive. Ark was working fine, but crashed after closing the last open window. The archive in question is a GZipped changelog in the data part of a Debian package.

The crash can be reproduced every time.

-- Backtrace:
Application: Ark (ark), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007eff2a7fa4a0 in KXMLGUIFactory::removeClient(KXMLGUIClient*) () from /usr/lib/libkdeui.so.5
#7  0x00007eff18b95914 in Ark::Part::~Part (this=0x10aee20, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../part/part.cpp:141
#8  0x00007eff18b95999 in Ark::Part::~Part (this=0x10aee20, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../part/part.cpp:146
#9  0x00007eff2b03f3b9 in KParts::Part::slotWidgetDestroyed() () from /usr/lib/libkparts.so.4
#10 0x00007eff28f6b71c in QMetaObject::activate (sender=sender@entry=0x10b1400, m=m@entry=0x7eff292b3240 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff0ee66d90) at kernel/qobject.cpp:3567
#11 0x00007eff28f6c18f in QObject::destroyed (this=this@entry=0x10b1400, _t1=_t1@entry=0x10b1400) at .moc/release-shared/moc_qobject.cpp:148
#12 0x00007eff28f703b7 in QObject::~QObject (this=0x10b1400, __in_chrg=<optimized out>) at kernel/qobject.cpp:871
#13 0x00007eff299ca207 in QWidget::~QWidget (this=0x10b1400, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1554
#14 0x00007eff29de4d69 in QSplitter::~QSplitter (this=0x10b1400, __in_chrg=<optimized out>) at widgets/qsplitter.cpp:1056
#15 0x00007eff28f6e248 in QObjectPrivate::deleteChildren (this=this@entry=0x10a56f0) at kernel/qobject.cpp:1935
#16 0x00007eff299ca173 in QWidget::~QWidget (this=0x10814e0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#17 0x00007eff2a7ebae9 in KVBox::~KVBox() () from /usr/lib/libkdeui.so.5
#18 0x00007eff28f6e248 in QObjectPrivate::deleteChildren (this=this@entry=0x10a46c0) at kernel/qobject.cpp:1935
#19 0x00007eff299ca173 in QWidget::~QWidget (this=0x1086bb0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#20 0x00007eff18ba16a4 in ~ArkViewer (this=0x1086bb0, __in_chrg=<optimized out>) at ../../part/arkviewer.cpp:56
#21 ArkViewer::~ArkViewer (this=0x1086bb0, __in_chrg=<optimized out>) at ../../part/arkviewer.cpp:58
#22 0x00007eff28f6e248 in QObjectPrivate::deleteChildren (this=this@entry=0xeb2420) at kernel/qobject.cpp:1935
#23 0x00007eff299ca173 in QWidget::~QWidget (this=0xeb5510, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#24 0x00007eff29de4d69 in QSplitter::~QSplitter (this=0xeb5510, __in_chrg=<optimized out>) at widgets/qsplitter.cpp:1056
#25 0x00007eff28f6e248 in QObjectPrivate::deleteChildren (this=this@entry=0xe9d070) at kernel/qobject.cpp:1935
#26 0x00007eff299ca173 in QWidget::~QWidget (this=0xea86b0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#27 0x00007eff2a7ebae9 in KVBox::~KVBox() () from /usr/lib/libkdeui.so.5
#28 0x00007eff28f6e248 in QObjectPrivate::deleteChildren (this=this@entry=0xea78b0) at kernel/qobject.cpp:1935
#29 0x00007eff299ca173 in QWidget::~QWidget (this=0xe96390, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#30 0x00007eff18ba16a4 in ~ArkViewer (this=0xe96390, __in_chrg=<optimized out>) at ../../part/arkviewer.cpp:56
#31 ArkViewer::~ArkViewer (this=0xe96390, __in_chrg=<optimized out>) at ../../part/arkviewer.cpp:58
#32 0x00007eff28f6e248 in QObjectPrivate::deleteChildren (this=this@entry=0xc39360) at kernel/qobject.cpp:1935
#33 0x00007eff299ca173 in QWidget::~QWidget (this=0xc16b60, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#34 0x00007eff29de4d69 in QSplitter::~QSplitter (this=0xc16b60, __in_chrg=<optimized out>) at widgets/qsplitter.cpp:1056
#35 0x00007eff2b03f92f in KParts::Part::~Part() () from /usr/lib/libkparts.so.4
#36 0x00007eff18b95949 in Ark::Part::~Part (this=0xc42990, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../part/part.cpp:139
#37 0x00007eff18b95999 in Ark::Part::~Part (this=0xc42990, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../part/part.cpp:146
#38 0x000000000040ddff in MainWindow::~MainWindow (this=this@entry=0xbfce10, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../app/mainwindow.cpp:72
#39 0x000000000040deb9 in MainWindow::~MainWindow (this=0xbfce10, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../app/mainwindow.cpp:74
#40 0x00007eff28f6fe38 in QObject::event (this=0xbfce10, e=<optimized out>) at kernel/qobject.cpp:1203
#41 0x00007eff299cac63 in QWidget::event (this=0xbfce10, event=0x101b860) at kernel/qwidget.cpp:8859
#42 0x00007eff29da6b23 in QMainWindow::event (this=0xbfce10, event=0x101b860) at widgets/qmainwindow.cpp:1478
#43 0x00007eff2a7f08e9 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#44 0x00007eff2997748c in QApplicationPrivate::notify_helper (this=this@entry=0xa61ac0, receiver=receiver@entry=0xbfce10, e=e@entry=0x101b860) at kernel/qapplication.cpp:4570
#45 0x00007eff2997dfa8 in QApplication::notify (this=0x7fff0ee67c90, receiver=0xbfce10, e=0x101b860) at kernel/qapplication.cpp:4356
#46 0x00007eff2a6ef1aa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#47 0x00007eff28f5671d in QCoreApplication::notifyInternal (this=0x7fff0ee67c90, receiver=receiver@entry=0xbfce10, event=event@entry=0x101b860) at kernel/qcoreapplication.cpp:955
#48 0x00007eff28f59fc1 in sendEvent (event=0x101b860, receiver=0xbfce10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xa25670) at kernel/qcoreapplication.cpp:1579
#50 0x00007eff28f5a453 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#51 0x00007eff28f85bd3 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#52 postEventSourceDispatch (s=0xa61970) at kernel/qeventdispatcher_glib.cpp:280
#53 0x00007eff24ec9c5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007eff24ec9f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007eff24ec9ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007eff28f85d1d in QEventDispatcherGlib::processEvents (this=0xa2aaf0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#57 0x00007eff29a1bf96 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#58 0x00007eff28f55271 in QEventLoop::processEvents (this=this@entry=0x7fff0ee67bb0, flags=...) at kernel/qeventloop.cpp:149
#59 0x00007eff28f555d5 in QEventLoop::exec (this=this@entry=0x7fff0ee67bb0, flags=...) at kernel/qeventloop.cpp:204
#60 0x00007eff28f5b059 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#61 0x00007eff2997592c in QApplication::exec () at kernel/qapplication.cpp:3828
#62 0x0000000000409ef4 in main (argc=<optimized out>, argv=<optimized out>) at ../../app/main.cpp:209

The reporter indicates this bug may be a duplicate of or related to bug 341187.

Possible duplicates by query: bug 342019, bug 341743.

Reported using DrKonqi
Comment 1 Ralf Jung 2015-04-29 09:24:54 UTC
Created attachment 92316 [details]
New crash information added by DrKonqi

ark (2.19) on KDE Platform 4.14.2 using Qt 4.8.6

- What I was doing when the application crashed:

As reported aboce, Ark crashes when it is opened in a nested way and the closed. However, 2-level nesting is already good enough: I opened a Debian archive, then opened the data archive in there, then closed the inner Ark, and finally closed the outer Ark. The last step lead to the crash.

-- Backtrace (Reduced):
#6  KXMLGUIFactory::removeClient (this=0x0, client=client@entry=0x1ea7648) at ../../kdeui/xmlgui/kxmlguifactory.cpp:419
#7  0x00007ff040c42914 in Ark::Part::~Part (this=0x1ea75b0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../part/part.cpp:141
#8  0x00007ff040c42999 in Ark::Part::~Part (this=0x1ea75b0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../part/part.cpp:146
#9  0x00007ff0531183b9 in KParts::Part::slotWidgetDestroyed (this=0x1ea75b0) at ../../kparts/part.cpp:353
[...]
#11 0x00007ff05104b18f in QObject::destroyed (this=this@entry=0x1e9c770, _t1=_t1@entry=0x1e9c770) at .moc/release-shared/moc_qobject.cpp:148
Comment 2 Christoph Feck 2015-05-16 22:19:02 UTC

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