Bug 340991

Summary: Ark crash on exit
Product: [Applications] ark Reporter: Mace Moneta <moneta.mace>
Component: generalAssignee: Raphael Kubo da Costa <rakuco>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: dgilbert, elvis.angelaccio, frieder.ferlemann, hotmusicfan, me, peter.engelbarts, rdieter, vikigoyal, viktor.matveenko
Priority: NOR Keywords: drkonqi
Version: 2.19   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Mace Moneta 2014-11-15 19:27:48 UTC
Application: ark (2.19)
KDE Platform Version: 4.14.3
Qt Version: 4.8.6
Operating System: Linux 3.18.0-0.rc4.git1.2.fc22.1.x86_64 x86_64
Distribution: "Fedora release 21 (Twenty One)"

-- Information about the crash:
- What I was doing when the application crashed:
I double-clicked a zip file, browsed the contents, then quit. As soon as I quit, Ark crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: Ark (ark), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#5  0x00007f0c0227d2a0 in KXMLGUIFactory::removeClient(KXMLGUIClient*) () at /lib64/libkdeui.so.5
#6  0x00007f0be836a9d4 in Ark::Part::~Part() () at /usr/lib64/kde4/arkpart.so
#7  0x00007f0be836aa59 in Ark::Part::~Part() () at /usr/lib64/kde4/arkpart.so
#8  0x00007f0c00235a38 in QObjectPrivate::deleteChildren() () at /lib64/libQtCore.so.4
#9  0x00007f0c01450a13 in QWidget::~QWidget() () at /lib64/libQtGui.so.4
#10 0x000000000040e04d in MainWindow::~MainWindow() ()
#11 0x000000000040e0d9 in MainWindow::~MainWindow() ()
#12 0x00007f0c00237618 in QObject::event(QEvent*) () at /lib64/libQtCore.so.4
#13 0x00007f0c01451503 in QWidget::event(QEvent*) () at /lib64/libQtGui.so.4
#14 0x00007f0c0182a543 in QMainWindow::event(QEvent*) () at /lib64/libQtGui.so.4
#15 0x00007f0c02273769 in KXmlGuiWindow::event(QEvent*) () at /lib64/libkdeui.so.5
#16 0x00007f0c013fdf6c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#17 0x00007f0c014049b8 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#18 0x00007f0c021719ea in KApplication::notify(QObject*, QEvent*) () at /lib64/libkdeui.so.5
#19 0x00007f0c0021e43d in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQtCore.so.4
#20 0x00007f0c00221701 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQtCore.so.4
#21 0x00007f0c0024d52e in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQtCore.so.4
#22 0x00007f0bfb2a7aeb in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#23 0x00007f0bfb2a7e88 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#24 0x00007f0bfb2a7f3c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#25 0x00007f0c0024d69e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#26 0x00007f0c014a1346 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtGui.so.4
#27 0x00007f0c0021cf91 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#28 0x00007f0c0021d2f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#29 0x00007f0c002229c7 in QCoreApplication::exec() () at /lib64/libQtCore.so.4
#30 0x000000000040a094 in main ()

Reported using DrKonqi
Comment 1 hotmusicfan 2014-11-16 23:56:28 UTC
Created attachment 89612 [details]
New crash information added by DrKonqi

ark (2.19) on KDE Platform 4.14.3 using Qt 4.8.6

- What I was doing when the application crashed:
I was opening RAR archives when Ark displayed a message "error opening the archive:unable to locate the program lsar on disc.'.

-- Backtrace (Reduced):
#5  0x00007f0b4a671eb0 in KXMLGUIFactory::removeClient(KXMLGUIClient*) () from /lib64/libkdeui.so.5
#6  0x00007f0b3bca91d4 in Ark::Part::~Part() () from /usr/lib64/kde4/arkpart.so
#7  0x00007f0b3bca9269 in Ark::Part::~Part() () from /usr/lib64/kde4/arkpart.so
#8  0x000000348819dd48 in QObjectPrivate::deleteChildren() () from /lib64/libQtCore.so.4
#9  0x000000348b619fc7 in QWidget::~QWidget() () from /lib64/libQtGui.so.4
Comment 2 Raphael Kubo da Costa 2014-11-17 09:28:17 UTC
The backtrace points to http://quickgit.kde.org/?p=ark.git&a=commitdiff&h=3b981ca95d8ec10f12102e4432912d12be8233a6, but I don't see how this would crash.

I can't test this on 4.14.3 at the moment, meanwhile I'm CC'ing Elvis who wrote the change.
Comment 3 Raphael Kubo da Costa 2014-11-18 12:02:05 UTC
Right, this is a bug in the Fedora package. That commit I've liked to fixes things differently, while the Fedora packages are still manually using an older version of the same patch that is now causing problems. Please file a bug in Fedora's bug tracker.
Comment 4 Raphael Kubo da Costa 2014-11-18 12:02:42 UTC
CC'ing Rex for a heads-up.
Comment 5 Rex Dieter 2014-11-18 12:22:07 UTC
Thanks, I'll fix it up right away
Comment 6 Raphael Kubo da Costa 2014-11-19 13:49:25 UTC
*** Bug 341094 has been marked as a duplicate of this bug. ***
Comment 7 the Raccoon 2014-11-21 21:03:00 UTC
Created attachment 89672 [details]
New crash information added by DrKonqi

ark (2.19) on KDE Platform 4.14.3 using Qt 4.8.6

- What I was doing when the application crashed:

close the window, same problem if I take the x or close by close function.

-- Backtrace (Reduced):
#5  0x0000003ac0d4deb0 in KXMLGUIFactory::removeClient(KXMLGUIClient*) () from /lib64/libkdeui.so.5
#6  0x00007fae32f331d4 in Ark::Part::~Part() () from /usr/lib64/kde4/arkpart.so
#7  0x00007fae32f33269 in Ark::Part::~Part() () from /usr/lib64/kde4/arkpart.so
#8  0x0000003093b9dd48 in QObjectPrivate::deleteChildren() () from /lib64/libQtCore.so.4
#9  0x0000003096019fc7 in QWidget::~QWidget() () from /lib64/libQtGui.so.4
Comment 8 Elvis Angelaccio 2014-11-21 22:03:07 UTC
(In reply to the Raccoon from comment #7)
> Created attachment 89672 [details]
> New crash information added by DrKonqi
> 
> ark (2.19) on KDE Platform 4.14.3 using Qt 4.8.6
> 
> - What I was doing when the application crashed:
> 
> close the window, same problem if I take the x or close by close function.
> 
> -- Backtrace (Reduced):
> #5  0x0000003ac0d4deb0 in KXMLGUIFactory::removeClient(KXMLGUIClient*) ()
> from /lib64/libkdeui.so.5
> #6  0x00007fae32f331d4 in Ark::Part::~Part() () from
> /usr/lib64/kde4/arkpart.so
> #7  0x00007fae32f33269 in Ark::Part::~Part() () from
> /usr/lib64/kde4/arkpart.so
> #8  0x0000003093b9dd48 in QObjectPrivate::deleteChildren() () from
> /lib64/libQtCore.so.4
> #9  0x0000003096019fc7 in QWidget::~QWidget() () from /lib64/libQtGui.so.4

Please make sure that your Fedora system is updated.
Comment 9 the Raccoon 2014-11-22 09:31:54 UTC
I updated the system to the newest Kernel and programms. Same result 
when I close ARK it crashed. There is no different between the endings. 
(rar;zip;bzip) Happend all the time.

the Raccoon

Am 21.11.2014 um 23:03 schrieb Elvis Angelaccio:
> https://bugs.kde.org/show_bug.cgi?id=340991
>
> --- Comment #8 from Elvis Angelaccio <elvis.angelaccio@kdemail.net> ---
> (In reply to the Raccoon from comment #7)
>> Created attachment 89672 [details]
>> New crash information added by DrKonqi
>>
>> ark (2.19) on KDE Platform 4.14.3 using Qt 4.8.6
>>
>> - What I was doing when the application crashed:
>>
>> close the window, same problem if I take the x or close by close function.
>>
>> -- Backtrace (Reduced):
>> #5  0x0000003ac0d4deb0 in KXMLGUIFactory::removeClient(KXMLGUIClient*) ()
>> from /lib64/libkdeui.so.5
>> #6  0x00007fae32f331d4 in Ark::Part::~Part() () from
>> /usr/lib64/kde4/arkpart.so
>> #7  0x00007fae32f33269 in Ark::Part::~Part() () from
>> /usr/lib64/kde4/arkpart.so
>> #8  0x0000003093b9dd48 in QObjectPrivate::deleteChildren() () from
>> /lib64/libQtCore.so.4
>> #9  0x0000003096019fc7 in QWidget::~QWidget() () from /lib64/libQtGui.so.4
> Please make sure that your Fedora system is updated.
>
Comment 10 Mace Moneta 2014-11-22 15:26:02 UTC
The corrected version is currently in updates-testing:

# yum --enablerepo=updates-testing update ark
Comment 11 the Raccoon 2014-11-22 15:54:05 UTC
Am 22.11.2014 um 16:26 schrieb Mace Moneta:
> https://bugs.kde.org/show_bug.cgi?id=340991
>
> --- Comment #10 from Mace Moneta <moneta.mace@gmail.com> ---
> The corrected version is currently in updates-testing:
>
> # yum --enablerepo=updates-testing update ark
>
Thank you a lot. Now it run´s. I´m allways afraid to take rpm´s from teh 
testing repro. But if it helps so what.

;-)

the Raccoon
Comment 12 Rex Dieter 2014-11-22 16:54:51 UTC
For reference, links to fedora updates to fix the issue (currently in updates-testing):
f21: https://admin.fedoraproject.org/updates/FEDORA-2014-15442
f20: https://admin.fedoraproject.org/updates/FEDORA-2014-15485
Comment 13 Adhokshaj Mishra 2014-11-23 19:10:46 UTC
Created attachment 89702 [details]
New crash information added by DrKonqi

ark (2.19) on KDE Platform 4.14.3 using Qt 4.8.6

- What I was doing when the application crashed:

ARK crashes every time while exiting. It does not matter whether some archive was opened or not.

-- Backtrace (Reduced):
#5  0x0000003c60b4deb0 in KXMLGUIFactory::removeClient(KXMLGUIClient*) () from /lib64/libkdeui.so.5
#6  0x00007f8b9a8e31d4 in Ark::Part::~Part() () from /usr/lib64/kde4/arkpart.so
#7  0x00007f8b9a8e3269 in Ark::Part::~Part() () from /usr/lib64/kde4/arkpart.so
#8  0x00000036fcb9dd48 in QObjectPrivate::deleteChildren() () from /lib64/libQtCore.so.4
#9  0x00000036fde19fc7 in QWidget::~QWidget() () from /lib64/libQtGui.so.4
Comment 14 Adhokshaj Mishra 2014-11-23 19:10:59 UTC
Created attachment 89703 [details]
New crash information added by DrKonqi

ark (2.19) on KDE Platform 4.14.3 using Qt 4.8.6

- What I was doing when the application crashed:

ARK crashes every time while exiting. It does not matter whether some archive was opened or not.

-- Backtrace (Reduced):
#5  0x0000003c60b4deb0 in KXMLGUIFactory::removeClient(KXMLGUIClient*) () from /lib64/libkdeui.so.5
#6  0x00007f8b9a8e31d4 in Ark::Part::~Part() () from /usr/lib64/kde4/arkpart.so
#7  0x00007f8b9a8e3269 in Ark::Part::~Part() () from /usr/lib64/kde4/arkpart.so
#8  0x00000036fcb9dd48 in QObjectPrivate::deleteChildren() () from /lib64/libQtCore.so.4
#9  0x00000036fde19fc7 in QWidget::~QWidget() () from /lib64/libQtGui.so.4
Comment 15 Arjun AK 2014-11-26 09:45:08 UTC
*** Bug 341282 has been marked as a duplicate of this bug. ***
Comment 16 Frieder Ferlemann 2014-12-13 18:36:08 UTC
Something (at least to me) looking similar on a different distribution when closing a pdf file contained within a zip file contained within a zip file:

Application: ark (2.19)                                                                                                                                                                                                                                                        
KDE Platform Version: 4.14.3
Qt Version: 4.8.6
Operating System: Linux 3.16.6-2-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

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

downloaded:
http://eu.dl.sapphiretech.com/archive/gm/drivers/AMD_Radeon%20R7240_R7_250_635337579252198038.zip

opened from CLI:
ark AMD_Radeon\ R7240_R7_250_635337579252198038.zip 

selected subdirectory deu

opened zip file there

opened and viewed pdf file there

closed viewer (crash happened then)

(Thanks)

The crash can be reproduced every time.

-- Backtrace:
Application: Ark (ark), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#5  0x00007f76e65f9770 in KXMLGUIFactory::removeClient(KXMLGUIClient*) () at /usr/lib64/libkdeui.so.5
#6  0x00007f76d4e29174 in  () at /usr/lib64/kde4/arkpart.so
#7  0x00007f76d4e29209 in  () at /usr/lib64/kde4/arkpart.so
#8  0x00007f76e6e04aa1 in KParts::Part::slotWidgetDestroyed() () at /usr/lib64/libkparts.so.4
#9  0x00007f76e4df21fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#10 0x00007f76e4df2bff in QObject::destroyed(QObject*) () at /usr/lib64/libQtCore.so.4
#11 0x00007f76e4df6b13 in QObject::~QObject() () at /usr/lib64/libQtCore.so.4
#12 0x00007f76e58384cc in QWidget::~QWidget() () at /usr/lib64/libQtGui.so.4
#13 0x00007f76e5c2b129 in QSplitter::~QSplitter() () at /usr/lib64/libQtGui.so.4
#14 0x00007f76e4df4ae8 in QObjectPrivate::deleteChildren() () at /usr/lib64/libQtCore.so.4
#15 0x00007f76e5838437 in QWidget::~QWidget() () at /usr/lib64/libQtGui.so.4
#16 0x00007f76e65eba79 in KVBox::~KVBox() () at /usr/lib64/libkdeui.so.5
#17 0x00007f76e4df4ae8 in QObjectPrivate::deleteChildren() () at /usr/lib64/libQtCore.so.4
#18 0x00007f76e5838437 in QWidget::~QWidget() () at /usr/lib64/libQtGui.so.4
#19 0x00007f76d4e331b4 in  () at /usr/lib64/kde4/arkpart.so
#20 0x00007f76e4df4ae8 in QObjectPrivate::deleteChildren() () at /usr/lib64/libQtCore.so.4
#21 0x00007f76e5838437 in QWidget::~QWidget() () at /usr/lib64/libQtGui.so.4
#22 0x00007f76e5c2b129 in QSplitter::~QSplitter() () at /usr/lib64/libQtGui.so.4
#23 0x00007f76e6e045a6 in KParts::Part::~Part() () at /usr/lib64/libkparts.so.4
#24 0x00007f76d4e291b4 in  () at /usr/lib64/kde4/arkpart.so
#25 0x00007f76d4e29209 in  () at /usr/lib64/kde4/arkpart.so
#26 0x000000000040e5bf in _start ()
Comment 17 Elvis Angelaccio 2014-12-13 18:46:17 UTC
(In reply to Frieder Ferlemann from comment #16)
> Something (at least to me) looking similar on a different distribution when
> closing a pdf file contained within a zip file contained within a zip file:
> 
> Application: ark (2.19)                                                     
> 
> KDE Platform Version: 4.14.3
> Qt Version: 4.8.6
> Operating System: Linux 3.16.6-2-desktop x86_64
> Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"
> 
> -- Information about the crash:
> - What I was doing when the application crashed:
> 
> downloaded:
> http://eu.dl.sapphiretech.com/archive/gm/drivers/
> AMD_Radeon%20R7240_R7_250_635337579252198038.zip
> 
> opened from CLI:
> ark AMD_Radeon\ R7240_R7_250_635337579252198038.zip 
> 
> selected subdirectory deu
> 
> opened zip file there
> 
> opened and viewed pdf file there
> 
> closed viewer (crash happened then)
> 
> (Thanks)
> 
Yours is another bug: https://bugs.kde.org/show_bug.cgi?id=341187
It's already been fixed upstream. You should receive the updated version of Ark with the imminent release of KDE Applications 14.12.

Cheers,
Elvis