thunar crashes when the folder contains an image

Bug #94000 reported by iamthesux
4
Affects Status Importance Assigned to Milestone
Thunar File Manager
Fix Released
Unknown
thunar (Ubuntu)
Fix Released
Medium
Lionel Le Folgoc

Bug Description

Binary package hint: thunar

this problem may be related to bugs 80289 and 84881. or not.

thunar crashes when viewing a folder that contains a certain image. changing the file name makes no difference.

ProblemType: Crash
Architecture: i386
CrashCounter: 1
Date: Tue Mar 20 02:43:09 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/thunar
InterpreterPath: /usr/bin/Thunar
Package: thunar 0.8.0-0ubuntu3
PackageArchitecture: i386
ProcCmdline: thunar
ProcCwd: /home/dave
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: thunar
Stacktrace:
 #0 0xb7f95f6f in ?? () from /usr/lib/libthunar-vfs-1.so.2
 #1 0x00000000 in ?? ()
StacktraceTop:
 ?? () from /usr/lib/libthunar-vfs-1.so.2
 ?? ()
Uname: Linux leenoox 2.6.20-11-generic #2 SMP Thu Mar 15 08:03:07 UTC 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev powerdev scanner video

Related branches

Revision history for this message
iamthesux (iamthesux) wrote :
Revision history for this message
iamthesux (iamthesux) wrote :

this is the image that makes it crash

Revision history for this message
Jani Monoses (jani) wrote :

crashes here as well, thanks

Changed in thunar:
status: Unconfirmed → Confirmed
importance: Undecided → Medium
Revision history for this message
Martin Pitt (pitti) wrote : Symbolic stack trace

StacktraceTop:tvtj_fill_input_buffer (cinfo=0xb26a6132) at thunar-vfs-thumb-jpeg.c:93
tvtj_fill_input_buffer (cinfo=0xb26a6132) at thunar-vfs-thumb-jpeg.c:93
tvtj_fill_input_buffer (cinfo=0xb26a6132) at thunar-vfs-thumb-jpeg.c:93
tvtj_fill_input_buffer (cinfo=0xb26a6132) at thunar-vfs-thumb-jpeg.c:93

Revision history for this message
Martin Pitt (pitti) wrote : Symbolic threaded stack trace
Revision history for this message
termitor (termitor) wrote :

other jpeg make a crache for thunar

Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

Both images doesn't make my thunar (the one from feisty's repos) crash, do you still have this issue with an uptodate thunar ?

Changed in thunar:
status: Confirmed → Incomplete
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Yes, on gutsy, thunar crashes with both pictures, same trace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1320170608 (LWP 26650)]
tvtj_exif_get_ushort (exif=0xb14fc2d8, data=0xb2e0c026) at thunar-vfs-thumb-jpeg.c:334
334 thunar-vfs-thumb-jpeg.c: No such file or directory.
        in thunar-vfs-thumb-jpeg.c
(gdb) thread apply all bt

Thread 6 (Thread -1320170608 (LWP 26650)):
#0 tvtj_exif_get_ushort (exif=0xb14fc2d8, data=0xb2e0c026) at thunar-vfs-thumb-jpeg.c:334
#1 0xb7f65015 in tvtj_exif_parse_ifd (exif=0xb14fc2d8, ifd_ptr=0x0, ifd_len=924) at thunar-vfs-thumb-jpeg.c:371
#2 0xb7f650ee in tvtj_exif_parse_ifd (exif=0xb14fc2d8, ifd_ptr=0xb2e0c028 "\232\202\n", ifd_len=<value optimized out>) at thunar-vfs-thumb-jpeg.c:394
(and this last line repeated thousands of times).

Changed in thunar:
status: Incomplete → Confirmed
Changed in thunar:
assignee: nobody → mrpouit
status: Confirmed → In Progress
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Package fixed, waiting for my sponsor to upload it. ;)

Changed in thunar:
status: In Progress → Fix Committed
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

thunar (0.8.0-6ubuntu1) gutsy; urgency=low

  * Fake merge with Debian Unstable:
    - keep all previous Ubuntu changes
    - drop the magic in {pre,post}{inst,rm} which fixes doc symlinks.
  * debian/patches/
    - 04_thunar-vfs-add-is-mountable.patch: prevents some removable devices
      from showing up as two devices instead of one (Xfce #2789).
       (LP: #102893)
    - 05_thunar-vfs-thumb-jpeg_invalid-recursion-in-exif-ifds.patch: fixes a
      crash with some broken jpeg files. (LP: #94000)

 -- Lionel Le Folgoc <email address hidden> Sat, 11 Aug 2007 11:47:50 +0200

Changed in thunar:
status: Fix Committed → Fix Released
Changed in thunar:
status: Unknown → Fix Released
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.