After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 575217 - tga loader fails without setting an error
tga loader fails without setting an error
Status: RESOLVED FIXED
Product: gdk-pixbuf
Classification: Platform
Component: loaders
git master
Other Linux
: Normal normal
: ---
Assigned To: gdk-pixbuf-maint
gdk-pixbuf-maint
Depends on:
Blocks:
 
 
Reported: 2009-03-13 08:27 UTC by Alexander Larsson
Modified: 2016-12-28 18:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The sample file (18 bytes, application/octet-stream)
2009-03-13 08:28 UTC, Alexander Larsson
Details

Description Alexander Larsson 2009-03-13 08:27:33 UTC
As per bug 538888, the tga loader fails to set a GError, but returns failure when closing the loader.

When I try loading the tga with eog i get:
GdkPixbuf-CRITICAL **: io_buffer_free_segment: assertion `buffer->data != NULL' failed
GdkPixbuf-WARNING **: Bug! loader 'tga' didn't set an error on failure
Comment 1 Alexander Larsson 2009-03-13 08:28:15 UTC
Created attachment 130571 [details]
The sample file
Comment 2 Bastien Nocera 2016-12-28 18:06:26 UTC
$ gdk-pixbuf-thumbnailer ~/Downloads/androstanRezeptor.tga foo.png

** (gdk-pixbuf-thumbnailer:18627): WARNING **: Could not thumbnail '/home/hadess/Downloads/androstanRezeptor.tga': TGA image was truncated or incomplete.

commit 8c604de710de281c5a08f54f32a0670cbb607125
Author: Bastien Nocera <hadess@hadess.net>
Date:   Wed Dec 28 19:05:16 2016 +0100

    tests: Add failing test for bug 575217
    
    It currently errors out with "TGA image was truncated or incomplete".
    
    https://bugzilla.gnome.org/show_bug.cgi?id=575217