Bug 134604

Summary: gimp-2.2.8-6 crashes while loading image
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Klaus-J. Wolf <yanestra>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: federico, sbrabec
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: list of packages installed on the machine

Description Klaus-J. Wolf 2005-11-20 23:52:44 UTC
Loading a 1269x1753 greyscale image in any format (png, gif, bmp, jpg tested) results in gimp throwing core:

(gimp:25682): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(script-fu:25685): LibGimpBase-WARNING **: script-fu: wire_read(): error
[2]+  Segmentation fault      (core dumped) gimp ttt.gif

Apparently, this happens with all images available on this machine.
Comment 1 Klaus-J. Wolf 2005-11-21 00:04:52 UTC
Created attachment 57822 [details]
list of packages installed on the machine
Comment 2 Stanislav Brabec 2005-11-21 12:48:19 UTC
I cannot reproduce and list of packages does not help for debugging.

Could you install gimp-debuginfo package (in OpenSuSE mirrors, e.g. ftp://ftp.linux.cz/pub/linux/opensuse/distribution/SL-10.0-OSS/inst-source/suse/i586/gimp-debuginfo-2.2.8-6.i586.rpm) and then provide backtrace:

gdb gimp
run
... gimp crashes
bt

(or debug a core:
gdb --core=core
bt
(Core is a name if your core dump file.)

What gtk2 theme you are using. Does theme change help?
Comment 3 Klaus-J. Wolf 2005-11-29 12:21:45 UTC
Sorry, backtrace is apparently endless and gives no sense IMHO. I did several (strace, ltrace) tracing attempts, but all I can see that there is some indefinite nesting in some library.

Please close bug, I have lost interest.
Comment 4 JP Rosevear 2005-12-15 14:28:35 UTC
This looks like http://bugzilla.gnome.org/show_bug.cgi?id=162778
Comment 5 JP Rosevear 2006-01-05 21:52:20 UTC
stanislav, will your mmx workaround fix this as well?
Comment 6 Stanislav Brabec 2006-01-05 22:24:12 UTC
Probably not. My work-around keeps 2.2.10 code intact, only compiles two affected files with -O0 and the work-around was applied to CVS after 2.2.10.
Comment 7 Federico Mena Quintero 2006-01-06 17:37:51 UTC
2.2.10, which is what we ship, has different code than that in the patch in bugzilla.gnome.org.  It looks like the code changed and the ADDITION mode *is* #ifdef-ed out.

I can't reproduce this as I have fairly new Intel Pentiums.  Could we get someone to test this on an AMD machine?  You have to use a grayscale JPEG (real grayscale, not RGB with only gray colors).
Comment 8 Federico Mena Quintero 2006-01-06 17:46:12 UTC
Klaus-J, do you think you could test this again with the gimp-2.2.10 RPM?
Comment 9 JP Rosevear 2006-02-04 17:01:56 UTC
Not seeing it with 2.2.10 on amd opteron 64bit.