file-roller crashed with SIGSEGV in strcmp()

Bug #282179 reported by Simon Ellwood
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
File Roller
Fix Released
Critical
file-roller (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: file-roller

I was trying to open a zip file and file-roller crashed every time I tried to open the file. I can provide the file if required email me if you want it. It is19.2 MB however I guess is too large to send bye email. I can upload it to an ftp site if you like. I am running Intrepid ubuntu 32bit on a Core2Duo / Intel G45 based system. !

lsb_release -rd :-
Description: Ubuntu intrepid (development branch)
Release: 8.10

 apt-cache policy file-roller
file-roller:
  Installed: 2.24.0-0ubuntu1
  Candidate: 2.24.0-0ubuntu1
  Version table:
 *** 2.24.0-0ubuntu1 0
        500 http://gb.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

I am not sure which package versions are relevant but i have the following :-
unzip 5.52.11ubuntu1
file-roller 2.24.0-0ubnuntu1

ProblemType: Crash
Architecture: i386
CrashCounter: 1
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/file-roller
Package: file-roller 2.24.0-0ubuntu1
ProcAttrCurrent: unconfined
ProcCmdline: file-roller file:///home/username/Desktop/%5BNDS%5DBen_10_Protector_of_Earth%5BEUR%5D%5BESPALNDS.com%5D.zip
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: file-roller
StacktraceTop:
 strcmp () from /lib/tls/i686/cmov/libc.so.6
 ?? () from /lib/tls/i686/cmov/libc.so.6
 ?? () from /lib/tls/i686/cmov/libc.so.6
 ?? () from /lib/tls/i686/cmov/libc.so.6
 qsort_r () from /lib/tls/i686/cmov/libc.so.6
Title: file-roller crashed with SIGSEGV in strcmp()
Uname: Linux 2.6.27-7-generic i686
UserGroups: adm admin cdrom dialout fuse lpadmin plugdev sambashare

Tags: apport-crash

Related branches

Revision history for this message
Simon Ellwood (simonellwood) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:strcmp () from /lib/tls/i686/cmov/libc.so.6
msort_with_tmp () from /lib/tls/i686/cmov/libc.so.6
msort_with_tmp () from /lib/tls/i686/cmov/libc.so.6
msort_with_tmp () from /lib/tls/i686/cmov/libc.so.6
qsort_r () from /lib/tls/i686/cmov/libc.so.6

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Changed in file-roller:
importance: Undecided → Medium
Revision history for this message
Simon Ellwood (simonellwood) wrote :

I have now copied the zip file to my wife's Windozes XP machine. It opens fine so the ZIP file does not seem to be corrupt !

Revision history for this message
Pedro Villavicencio (pedro) wrote :

thanks for the report, could you attach the zip file to the report in order to test with it? thanks.

Changed in file-roller:
assignee: nobody → desktop-bugs
status: New → Incomplete
Revision history for this message
Simon Ellwood (simonellwood) wrote :
Changed in file-roller:
status: Incomplete → New
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Is this still an issue? the file works fine for me here with Jaunty.

Changed in file-roller:
status: New → Incomplete
Revision history for this message
Simon Ellwood (simonellwood) wrote :

Well I just tried again.

I got the following message :-

7-Zip 4.58 beta Copyright (c) 1999-2008 Igor Pavlov 2008-05-05
p7zip Version 4.58 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)

Error: /home/simon/DS Roms/[NDS]Ben_10_Protector_of_Earth[EUR][ESPALNDS.com].zip is not supported archive

Errors: 1

This may be down to me installing 7zip support since the last bug report.

I had a problem with another similar zip the other day too.

It is tiresome having to use another pc just to unzip stuff!

Revision history for this message
Martin Lindhe (martinlindhe) wrote :

I hit this crash aswell trying to extract a shady zip file.

Using "7z e filename" on the commandline worked to extract the file.
I believe the issue lies in special characters used in the filename.

Here's a output of "7z l filename":

   Date Time Attr Size Compressed Name
------------------- ----- ------------ ------------ ------------------------
2008-11-19 03:48:08 D.... 0 0 [NDS]The Legend Of Zelda Phantom Hourglass [EUR][NeoGamersX.CoM]
2008-11-19 03:47:58 ....A 647 367 [NDS]The Legend Of Zelda Phantom Hourglass [EUR][NeoGamersX.CoM]/Leeme.txt
2007-10-16 22:04:02 ....A 31663 31614 [NDS]The Legend Of Zelda Phantom Hourglass [EUR][NeoGamersX.CoM]/The Legend Of Zelda Phantom Hourglass.jpg
2007-10-16 14:03:32 ....A 134217728 52971068 [NDS]The Legend Of Zelda Phantom Hourglass [EUR][NeoGamersX.CoM]/The Legend Of Zelda Phantom Hourglass.nds
2007-10-14 19:06:54 ..HSA 5632 3353 [NDS]The Legend Of Zelda Phantom Hourglass [EUR][NeoGamersX.CoM]/Thumbs.db
2008-11-16 05:13:10 ....A 177 125 NeoGamersX.CoM Torrents Emule Descargas Estrenos DivX Pelis Musica,Elinks Sexo Series Juegos Ps2 PSP P2P .url
2008-11-16 05:16:30 ....A 128 98 WwW.LimiteTorrents.NeT ÿÿ portal gratis torrrentsÿ estrenos juegos consolas xxx.url
2008-11-16 05:13:10 ....A 177 125 [NDS]The Legend Of Zelda Phantom Hourglass [EUR][NeoGamersX.CoM]/NeoGamersX.CoM Torrents Emule Descargas Estrenos DivX Pelis Musica,Elinks Sexo Series Juegos Ps2 PSP P2P .url
2008-11-16 05:16:30 ....A 128 98 [NDS]The Legend Of Zelda Phantom Hourglass [EUR][NeoGamersX.CoM]/WwW.LimiteTorrents.NeT ÿÿ portal gratis torrrentsÿ estrenos juegos consolas xxx.url
------------------- ----- ------------ ------------ ------------------------

Revision history for this message
Sebastien Bacher (seb128) wrote :

how do you trigger the crash exactly? could you get a new stracktrace?

Revision history for this message
Martin Lindhe (martinlindhe) wrote :

I opened a zip file downloaded from a torrent site. The content is listed above. I guessed the error was caused of the strange filenames (ending space before the extension, strange characters in filename etc).

I dont think its appropriate to post a direct link?

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you add an example to the bug and describe steps to trigger the bug using it?

Revision history for this message
Martin Lindhe (martinlindhe) wrote :

Hello. I made a little test case.
I took the evil zip file, opened with WinRAR in windows and deleted the copyrighted file.

Attached is a 40k zip file without any (i hope) illegal content which still crashes file-roller on my system.

Hope that helps in resolving this issue.

PS. I have trouble attaching the file to the comment, so i placed it here:

http://startwars.org/dump/fileroller-crashing.zip (38kb)

Revision history for this message
Sebastien Bacher (seb128) wrote :

what trouble do you get adding the file to the bug?

Changed in file-roller:
status: Incomplete → New
Revision history for this message
Martin Lindhe (martinlindhe) wrote :

If i write commein the comment box & also add attachement and submit, all i get is a new page with the same comment/attachment field, url:

https://bugs.launchpad.net/ubuntu/+source/file-roller/+bug/282179/+addcomment

The comment box is filled in with the text i entered in the previous page, but it is not submitted. No error message is displayed.

Revision history for this message
Michael Kogan (michael-kogan) wrote :

I get the same error with this file (6,9MiB) on Jaunty: http://www.racer-xtreme.com/dl.php?ck=237&url=%5BRX%5DHondaNSX.zip But mounting the file with the "Archive mounter" works fine, also copying files out of the mounted archive.

Revision history for this message
Sebastien Bacher (seb128) wrote :

The issue is an upstream one and it would be nice if somebody having it could send the bug the to the people writting the software (https://wiki.ubuntu.com/Bugs/Upstream/GNOME)

Revision history for this message
Martin Lindhe (martinlindhe) wrote :

I created this bug for upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=584718

However i dont understand how to link it to this bug report, if someone could help me with that

Changed in file-roller (Ubuntu):
status: New → Triaged
Changed in fileroller:
importance: Undecided → Unknown
status: New → Unknown
importance: Unknown → Undecided
status: Unknown → New
importance: Undecided → Unknown
status: New → Unknown
Revision history for this message
Martin Lindhe (martinlindhe) wrote :

the bug has been fixed upstream! after less than 1 day since upstream report!

i really realize the importance of getting the bug reports upstream now, thanks Sebastien!

Changed in file-roller (Ubuntu):
status: Triaged → Fix Committed
Changed in fileroller:
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package file-roller - 2.27.1-0ubuntu1

---------------
file-roller (2.27.1-0ubuntu1) karmic; urgency=low

  * debian/control.in:
    - updated gtk requirement

  [ Robert Ancell ]
  * New upstream version (LP: #387706)
    - New features and user visible changes
      - Added support for lzip compressed archives (#579467)
      - Added support for xz compressed archives (#582237)
    - Bugs fixed:
      - #582712: Opening multipart encrypted .7z files does not work (file-roller-created .7z)
      - #584675: Untracked files on fresh clone
      - #580070: Garbage is displayed when adding a folder
      - #583863: Wrong explanation for the command 'extract-here'.
      - #584810: File-roller uses libsexy
      - #584718: File-roller crashes when opening certain archives with wierd characters in filename (LP: #282179)
      - #581102: build error in copy-n-paste/
      - #578467: Should not use deprecated gtk symbols
      - #503240: File-roller kills the entire session when aborted (LP: #369603)
  * debian/patches: 30_fix_local_include.patch: Fix local include file in distributed file
  * debian/control.in:
  * debian/control:
  * debian/file-roller.mime:
    - Support lzip and xz

 -- Sebastien Bacher <email address hidden> Tue, 16 Jun 2009 12:41:19 +0200

Changed in file-roller (Ubuntu):
status: Fix Committed → Fix Released
Changed in file-roller:
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.