! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Thunar crashes when selecting a .tga file
Status:
CLOSED: INVALID
Severity:
critical

Comments

Description Allan Johansen 2007-07-06 14:10:28 CEST
User-Agent:       Opera/9.21 (X11; Linux i686; U; en)
Build Identifier: 

Thunar crashes when selecting (clicking on) a targa(tga) file that has transparency.

Reproducible: Always

Steps to Reproduce:
1. Create a tga with transparency in for instance GIMP.
  1.1. Open GIMP
  1.2. Create new file
  1.3. Add some text
  1.4. Delete background layer so only the text is left
  1.5. Save file as .tga
2. Go to folder where .tga file is located
3. Select .tga file. BOOM!  Thunar crashes (disappears)

Actual Results:  
Thunar crashes

Expected Results:  
Thunar should select the file without crashing
Comment 1 Allan Johansen 2007-07-06 14:11:38 CEST
Created attachment 1275 
Test TGA file that you can try with
Comment 2 Benedikt Meurer editbugs 2007-07-07 08:40:08 CEST
Please attach atleast any messages printed on the console, and if possible, a backtrace of the crash.
Comment 3 Allan Johansen 2007-07-08 11:43:24 CEST
(In reply to comment #2)
> Please attach atleast any messages printed on the console, and if possible, a
> backtrace of the crash.
> 

I would be glad to if you could tell me how. When I start thunar from the console, it detatches from the console so any messages are lost.
Comment 4 Benedikt Meurer editbugs 2007-07-08 13:21:41 CEST
Thunar runs in the background of each Xfce session. If you launch Thunar from the cmdline, it'll contact the session daemon and tell it what to do, and exit afterwards. You can stop the daemon instance with Thunar -q.
Comment 5 Daniele C. 2007-09-16 09:32:29 CEST
I also experience this nasty bug

It happens with any TGA file, I have also attached mine
Comment 6 Daniele C. 2007-09-16 09:33:59 CEST
Created attachment 1364 
Another TGA file which crashes Thunar (with segfault)
Comment 7 Benedikt Meurer editbugs 2007-10-09 19:23:29 CEST
A quick run through the debugger revealed that it's a bug in libpixbufloader-tga.so, and hence a bug in GTK+. Please file a bug report to bugzilla.gnome.org and attach the .tga file.
Comment 8 Daniele C. 2007-10-09 19:27:23 CEST
I do not have an account at that bugtracker, please the first who posts the bug (possibly A.Johansen) report the bug URL

Thanks
Comment 9 Daniele C. 2007-10-09 19:28:06 CEST
I forgot to say: I have been trying gtk+ v2.12 and the bug was still there
Comment 10 Allan Johansen 2007-10-10 02:45:21 CEST
Somehow though, nautilus does not crash when I select a tga file. I would assume it uses the same libraries as Thunar?
Comment 11 Daniele C. 2007-10-10 07:14:49 CEST
This bug has already been fixed in GNOME:

http://bugzilla.gnome.org/show_bug.cgi?id=481082

This is the trunk version of io-tga.c, the affected file:
http://svn.gnome.org/viewvc/gtk%2B/trunk/gdk-pixbuf/io-tga.c?view=log

Hopefully, a future version of gtk+ will contain the fixes...I will test again with gtk+ v2.12 (I hope I was wrong)
Comment 12 Benedikt Meurer editbugs 2007-10-10 07:18:25 CEST
So this is INVALID for Thunar. Nautilus doesn't crash, because it does not display file details in the statusbar (i.e. image resolution).
Comment 13 Daniele C. 2007-10-10 07:44:50 CEST
Yes it is a bug in io-tga.c of libgdk-pixbufloader

I have tried with the most recent stable GTK+ (gtk+-2.10.14) and yet the bug is still there...will be possibly fixed with the next release of GKT+ since the fix is already in their SVN
Comment 14 Benedikt Meurer editbugs 2007-11-28 19:17:20 CET
So this can be closed.
Comment 15 Daniele C. 2007-11-28 20:22:37 CET
Yes, I can confirm that is fixed now.

Bug #3377

Reported by:
Allan Johansen
Reported on: 2007-07-06
Last modified on: 2009-07-17

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Attachments

Test TGA file that you can try with (6.91 KB, application/octet-stream)
2007-07-06 14:11 CEST , Allan Johansen
no flags
Another TGA file which crashes Thunar (with segfault) (9.00 KB, image/x-tga)
2007-09-16 09:33 CEST , Daniele C.
no flags

Additional information