Summary: | Krusader crash when trying to view any archive using the ark part | ||
---|---|---|---|
Product: | [Applications] ark | Reporter: | Marc Bohets <mbohets> |
Component: | general | Assignee: | Elvis Angelaccio <elvis.angelaccio> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | 100, aminux, bugs.kde.org, davide, ddascalescu+kde, fuckel, javier.debian.bb.ar, kde, krusader-bugs-null, mbohets, rthomsen6, toni.asensi, travneff, wiselord1983 |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/krusader/c264e2a3deedff575130be97ac31a8ec9c47e630 | Version Fixed In: | |
Attachments: |
This is the file I tried to view
New backtrace New crash information added by DrKonqi |
Description
Marc Bohets
2019-07-11 16:57:01 UTC
Created attachment 121473 [details]
This is the file I tried to view
The file contains information on how to display and play music via the musescore3 application.
This is the same bug of 405410, but the backtrace here shows more details *** Bug 405410 has been marked as a duplicate of this bug. *** Created attachment 121512 [details]
New backtrace
New backtrace trying to view (F3) a .zip file. I recompiled Ark in debug mode.
This happens because the Ark Part returns false in the openUrl() method (called by krusader's PanelViewer::openFile() function) even if it is actually opening the archive as requested. While this may be considered a partial abuse of the KParts api, it is done for a reason (that is, ark loads the archives asynchronously). The problem is that krusader relies on the return value of openUrl() to delete the part. One possible fix could be to make krusader use the part's completed() and canceled() signals instead. Otherwise we need to change the logic from the ark side, but it's not going to be as easy. *** Bug 411614 has been marked as a duplicate of this bug. *** There's more information in the https://phabricator.kde.org/D23243 proposal. Git commit c264e2a3deedff575130be97ac31a8ec9c47e630 by Toni Asensi Esteve. Committed on 15/09/2019 at 17:14. Pushed by asensi into branch 'master'. Avoid that Krusader crashes when trying to view any archive using the ark part Note: About checking the return value of the `cpart->openUrl(curl);` sentence, Elvis Angelaccio wrote in <https://bugs.kde.org/show_bug.cgi?id=409722> that "the Ark Part returns false in the openUrl() method even if it is actually opening the archive as requested. While this may be considered a partial abuse of the KParts api, it is done for a reason (that is, ark loads the archives asynchronously). [...] Krusader [could] use the part's completed() and canceled() signals instead." FIXED: [ 409722 ] Krusader crash when trying to view any archive using the ark part Differential Revision: https://phabricator.kde.org/D23243 M +22 -4 krusader/KViewer/panelviewer.cpp https://commits.kde.org/krusader/c264e2a3deedff575130be97ac31a8ec9c47e630 *** Bug 414294 has been marked as a duplicate of this bug. *** *** Bug 433651 has been marked as a duplicate of this bug. *** Created attachment 136940 [details] New crash information added by DrKonqi krusader (2.7.2 "Peace of Mind") using Qt 5.15.2 Is it already fixed in 20.04? $ apt policy krusader krusader: Installed: 2:2.7.2-1+20.04+focal+build3 Candidate: 2:2.7.2-1+20.04+focal+build3 Version table: *** 2:2.7.2-1+20.04+focal+build3 500 500 http://archive.neon.kde.org/user focal/main amd64 Packages 100 /var/lib/dpkg/status 2:2.7.2-1+20.04+focal+build2 500 500 http://archive.neon.kde.org/user focal/main amd64 Packages 2:2.7.2-1build1 500 500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages -- Backtrace (Reduced): #5 0x00007f4434c7903a in QObject::setProperty (this=0x559225ddc390, name=0x7f44129c9586 "unpackedSize", value=...) at kernel/qobject.cpp:4031 #6 0x00007f44129829f5 in Kerfuffle::LoadJob::onFinished(bool) () from /lib/x86_64-linux-gnu/libkerfuffle.so.20 #7 0x00007f4434c71279 in QObject::event (this=0x559225c005a0, e=0x7f44080064c0) at kernel/qobject.cpp:1314 #8 0x00007f443573fdc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #9 0x00007f4435748bb8 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 *** Bug 434798 has been marked as a duplicate of this bug. *** *** Bug 440784 has been marked as a duplicate of this bug. *** *** Bug 441461 has been marked as a duplicate of this bug. *** *** Bug 445101 has been marked as a duplicate of this bug. *** The problem is NOT fixed, Krusader still crashes when trying to view the mscz file using F3. Version 2.7.2 "Peace of Mind" KDE Plasma Version: 5.23.3 KDE Frameworks Version: 5.88.0 Qt Version: 5.15.2 Kernel Version: 5.14.18-1- Marc Bohets, can you follow the steps of https://commits.kde.org/krusader?path=INSTALL in order to build the git version of Krusader and tell us if your problem is solved? Thanks for your comment, it is fixed in Version 2.8.0-dev "Bleeding Edge" In the list of comments, I saw someone claiming it was fixed in 2019, so I imagined that this fix would have been pushed longtime and be available in most distro's now, and as I use a rolling distro like Manjaro, that includes new package version rather quick, I was surprised that the problem still existed in the latest version from the repositories. |