Summary: | Ark crashes with Signal 11 (SIGSEGV) | ||
---|---|---|---|
Product: | [Applications] ark | Reporter: | Thanos Kyritsis <djart> |
Component: | general | Assignee: | Harald Hvaal <metellius> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | dj_wolf, logixoul, rakuco |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Slackware | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Example zip file upon which Ark crashes |
Description
Thanos Kyritsis
2006-06-19 20:23:09 UTC
Created attachment 16705 [details]
Example zip file upon which Ark crashes
Efxaristoume :) A better backtrace follows: #5 0xb70a6ced in QFontMetrics::width () from /usr/qt/3/lib/libqt-mt.so.3 #6 0xb71ce386 in QListViewItem::width () from /usr/qt/3/lib/libqt-mt.so.3 #7 0xb71d018c in QListView::widthChanged () from /usr/qt/3/lib/libqt-mt.so.3 #8 0xb71d02f3 in QListViewItem::widthChanged () from /usr/qt/3/lib/libqt-mt.so.3 #9 0xb71d10c6 in QListViewItem::setup () from /usr/qt/3/lib/libqt-mt.so.3 #10 0xb71d055e in QListViewItem::setPixmap () from /usr/qt/3/lib/libqt-mt.so.3 #11 0xb67285d0 in folderLVI (parent=0x81b3d28, name=@0xbfcdb380) at filelistview.cpp:170 #12 0xb6729a60 in FileListView::findParent (this=0x8141c50, fullname=@0x81b36e0) at filelistview.cpp:541 #13 0xb6729248 in FileListView::addItem (this=0x8141c50, entries=@0xbfcdb480) at filelistview.cpp:379 #14 0xb672ce23 in Arch::processLine (this=0x81a6f30, line=@0x81a6f60) at arch.cpp:359 #15 0xb672c81b in Arch::slotReceivedTOC (this=0x81a6f30, data=0xbfcdb6e0 "Archive: /root/Desktop/attachment.zip\n Length Method Size Ratio Date Time CRC-32 Name\n-------- ------ ------- ----- ---- ---- ------ ----\n 0 Stored 0 0% 06-"..., length=1024) at arch.cpp:277 #16 0xb672d847 in Arch::qt_invoke (this=0x81a6f30, _id=8, _o=0xbfcdb650) at arch.moc:230 #17 0xb6721996 in ZipArch::qt_invoke (this=0x81a6f30, _id=8, _o=0xbfcdb650) at zip.moc:77 #18 0xb70eedae in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #19 0xb772b710 in KProcess::receivedStdout () from /usr/kde/3.5/lib/libkdecore.so.4 #20 0xb772b7c8 in KProcess::childOutput () from /usr/kde/3.5/lib/libkdecore.so.4 #21 0xb772b7f8 in KProcess::slotChildOutput () from /usr/kde/3.5/lib/libkdecore.so.4 #22 0xb772ba42 in KProcess::commClose () from /usr/kde/3.5/lib/libkdecore.so.4 #23 0xb772b3df in KProcess::processHasExited () from /usr/kde/3.5/lib/libkdecore.so.4 #24 0xb772ebaf in KProcessController::slotDoHousekeeping () from /usr/kde/3.5/lib/libkdecore.so.4 #25 0xb772ec0d in KProcessController::qt_invoke () from /usr/kde/3.5/lib/libkdecore.so.4 Ark crashes initially on this: static FileLVI* folderLVI( KListViewItem *parent, const QString& name ) and more specific in folder->setPixmap( 0, KMimeType::mimeType( "inode/directory" )->pixmap( KIcon::Small ) ); After commenting the line out, Ark continues to crash but i couldn't locate the exact position. All these FileLVI functions are not documented at all *** Bug 139940 has been marked as a duplicate of this bug. *** SVN commit 654322 by mkoller: BUG: 129446 Don't crash with files starting with "/" M +4 -0 filelistview.cpp --- branches/KDE/3.5/kdeutils/ark/filelistview.cpp #654321:654322 @@ -127,6 +127,8 @@ QString name = text; if ( name.endsWith( "/" ) ) name = name.left( name.length() - 1 ); + if ( name.startsWith( "/" ) ) + name = name.mid( 1 ); int pos = name.findRev( '/' ); if ( pos != -1 ) name = name.right( name.length() - pos - 1 ); @@ -504,6 +506,8 @@ if ( name.endsWith( "/" ) ) name = name.left( name.length() -1 ); + if ( name.startsWith( "/" ) ) + name = name.mid( 1 ); // Checks if this entry needs a parent if ( !name.contains( '/' ) ) return static_cast< FileLVI* >( 0 ); *** Bug 140486 has been marked as a duplicate of this bug. *** |