Summary: | Segfault while decompressing ZIP archives [qobject_cast<Kerfuffle::ListJob*>, Kerfuffle::ArchiveBase::onListFinished, Kerfuffle::ArchiveBase::qt_metacall] | ||
---|---|---|---|
Product: | [Applications] ark | Reporter: | Xavier Fung <xavier114fch> |
Component: | general | Assignee: | Raphael Kubo da Costa <rakuco> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | markotahal, out.there, rakuco, t.kijas |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Xavier Fung
2009-12-08 09:21:36 UTC
*** This bug has been marked as a duplicate of bug 217827 *** *** Bug 217827 has been marked as a duplicate of this bug. *** Marek and Xavier, I couldn't reproduce the issue by trying to extract the file attached to bug 217827. Did it happen before beta 1? What version of unzip do you have? hi Raphael, i'm running kdemod on archlinux. no, i didn't experience it before the 4.4beta. my unzip info: ////////////////////////// unzip -v UnZip 6.00 of 20 April 2009, by Info-ZIP. Maintained by C. Spieler. Send bug reports using http://www.info-zip.org/zip-bug.html; see README for details. Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip/ ; see ftp://ftp.info-zip.org/pub/infozip/UnZip.html for other sites. Compiled with gcc 4.4.0 20090526 (prerelease) for Unix (Linux ELF) on Jun 25 2009. UnZip special compilation options: ACORN_FTYPE_NFS COPYRIGHT_CLEAN (PKZIP 0.9x unreducing method not supported) SET_DIR_ATTRIB SYMLINKS (symbolic links supported, if RTL and file system permit) TIMESTAMP UNIXBACKUP USE_EF_UT_TIME USE_UNSHRINK (PKZIP/Zip 1.x unshrinking method supported) USE_DEFLATE64 (PKZIP 4.x Deflate64(tm) supported) UNICODE_SUPPORT [wide-chars, char coding: UTF-8] (handle UTF-8 paths) LARGE_FILE_SUPPORT (large files over 2 GiB supported) ZIP64_SUPPORT (archives using Zip64 for large files supported) USE_BZIP2 (PKZIP 4.6+, using bzip2 lib version 1.0.5, 10-Dec-2007) VMS_TEXT_CONV WILD_STOP_AT_DIR [decryption, version 2.11 of 05 Jan 2007] UnZip and ZipInfo environment options: UNZIP: [none] UNZIPOPT: [none] ZIPINFO: [none] ZIPINFOOPT: [none] /////////////////////////////////////////////// thank you I can confirm it now -- BSD's unzip was working fine, but infozip's unzip causes the crash. Hello Raphael, I'm compiling KDE trunk using kdesvn-build on Ubuntu Lucid, not using beta 1. Cheers, Xavier Created attachment 39041 [details]
New crash information added by DrKonqi
SVN commit 1062795 by rkcosta: Do not auto delete the list job. The result() signal was being emitted in a different thread, so we ended up having a queued connection model that resulted in a crash since the slot's object could have already been deleted. BUG: 217836 M +1 -0 archivebase.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1062795 *** Bug 219001 has been marked as a duplicate of this bug. *** Git commit 72a46a210da54e7ac3e24d98e466ac0221071921 by Elvis Angelaccio. Committed on 28/04/2016 at 20:21. Pushed by elvisangelaccio into branch 'Applications/16.04'. Auto delete ListJobs Commit 8c21ca3 broke the preview/opening of files. This is actually due to ListJobs not autodeleting themeselves upon completion. This was introduced by commit 4b67603 to fix bug 217836, which doesn't seem reproducible nowadays. Even if it was, we would need a better fix, because this line is causing also different issues on master (where we now run CliInterface from the main thread). Task: T2374 M +0 -1 kerfuffle/archive_kerfuffle.cpp http://commits.kde.org/ark/72a46a210da54e7ac3e24d98e466ac0221071921 |