Summary: | Crash when opening file from archive | ||
---|---|---|---|
Product: | [Applications] ark | Reporter: | Ovidiu-Florin BOGDAN <kde.kfoar> |
Component: | general | Assignee: | Elvis Angelaccio <elvis.angelaccio> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | andrew.crouthamel, edkasp, fincer89, rthomsen6 |
Priority: | NOR | Keywords: | drkonqi |
Version: | 16.12.3 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
Ark (16.12.3) crash while trying to preview a text file in an archive
Ark (16.12.3) output log with debug symbols |
Description
Ovidiu-Florin BOGDAN
2017-03-21 13:49:58 UTC
How big was the binary file? Seems to be a crash caused by a bad_alloc... Anyway the whole "open binary as text file?" dialog should probably be reconsidered at some point. This happens to me everytime, as well. Open an archive with Ark, double click any text file and Ark crashes *immediately*. Reproducible: Always. Happens with text files with a size of just a few hundred KBs or even a few hundred Bytes. I have all default KDE apps such as Kate etc installed. Not sure what triggers the crash event. @Fincer: your stacktrace is the same? Are you also using Ubuntu? Created attachment 104739 [details]
Ark (16.12.3) crash while trying to preview a text file in an archive
Sorry, forgot to mention. My backtrace as an attachment. I'm using Arch Linux (x86_64).
ark 16.12.3-1
plasma-framework 5.32.0-1
(These are newest packages available in Arch package repositories. As in general, I keep my system packages up-to-dated by daily basis)
Weird, I'm also on arch but I cannot reproduce. Does it crash with every archive format? However, your backtrace is slightly different from Ovidiu's... At least with tar.gz, zip, tar, rar, jar, 7z. In other words: with every archive format I tried. I also compiled & installed Ark from source (Extra branch), still crashes. Is there anything else I could do to track down the issue? It's strange that you don't have the issue at all while I do, though the KDE packages should (mostly) be identical on our systems. As a general question: Does Ark try to open an external text editor for previewing or is it a in-built feature? I just want pin down all possibilities that could cause the crash. Ark just loads the kate part, that's where the crash happens, apparently. You could with some other application that uses the kate part (konqueror? krusader?) and check whether the crash happens also there. Created attachment 104745 [details] Ark (16.12.3) output log with debug symbols May do in some day. For the meanwhile, I compiled Ark with debug symbols (https://community.kde.org/KDE_Utils/Ark#Build_with_debug_symbols) and ran the program. Output...well..says nothing new but just for the sake of information, I've attached the log here. As a workaround for now, I tell Ark to open all files in external applications (kate in this case, obviously). Settings -> Configure Ark @Fincer: what about other file types? Does it also crash if you preview a .png or a .pdf in the archive? png, jpg and cr2 work without problems. I couldn't test pdf as I use a Windows version of Adobe Acrobat Pro for that filetype on my Linux system. Fincer, what you see is bug 378100. Well, I don't have amarok installed. Not sure about the other part, however. The bug you linked resembles the one discussed here (at least). The bug is not an amarok bug, but a breakage in libssl/libcrypto. Oh, well then. I'll test that soon. Thanks for pointing out! I tried to recreate it in various archives (zip, 7z, tar.gz) using various binary files, Ark opens these binaries as text without any crash. Can you share some archive file that is causing the issue ? I cannot reproduce either, could you please re-test and/or provide an archive that causes the failure? Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! I didn't receive any notifications of any of the messages on this bug... Sorry for not replying. I can't reproduce this anymore. If I encounter this again I'll reopen, or open another bug. |