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 131364 - Failed to open a 1800x1200 jpeg
Failed to open a 1800x1200 jpeg
Status: RESOLVED DUPLICATE of bug 142252
Product: GIMP
Classification: Other
Component: Plugins
1.x
Other FreeBSD
: Normal major
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2004-01-13 20:05 UTC by jschen
Modified: 2004-09-13 10:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
failed to open jpg file (rendered for privacy). (37.34 KB, image/jpeg)
2004-01-13 20:07 UTC, jschen
Details

Description jschen 2004-01-13 20:05:29 UTC
When I tried to open a 1800x1200 jpg (taken from an Cannon Digi Camera),
gimp failed to open and produce following error message on console:

====== console log =====
jpeg in malloc(): warning: recursive call
jpeg in malloc(): warning: recursive call
 
(process:10126): GLib-ERROR (recursed) **: gmem.c:140:g_malloc(): failed to 
allocate 52 bytes
aborting...
 
(gimp-1.3:10124): LibGimpBase-WARNING **: gimp-1.3: wire_read(): error
 
(gimp-1.3:10124): Gimp-Plug-In-WARNING **: plug_in_close: plug-in aborted 
before sending its procedure return values
 
 
==== end of console log ====

gimp version is GIMP version 2.0pre1, and I saw it in 1.3.29 before I 
upgraded gimp to 2.0pre1.

This picture file was taken by a digital camera. ImageMagic or eog
or xv open it without problems. But for this paticular image, even after I 
rendered (blur) and resave it, gimp still cannot open it.

If you want the image, I can send it to you.

Regards
Comment 1 jschen 2004-01-13 20:07:03 UTC
Created attachment 23321 [details]
failed to open jpg file (rendered for privacy).
Comment 2 Sven Neumann 2004-01-13 20:19:08 UTC
This JPEG and other images I tried open w/o any problems here. I am using 
libjpeg62-6b (taken from the debian package name) on i686 GNU/Linux.

This looks like an issue with libjpeg. Can you please try if other
applications that use the same version of libjpeg also show problems
to load this image? What hardware platform are you running gimp on? Is
there a chance you could run a debugger on the jpeg plug-in?
Comment 3 jschen 2004-01-14 00:36:47 UTC
I checked my jpeg lib, it is (from freebsd port output)

jpeg-6b_1           IJG's jpeg compression utilities

This lib is used as well by other utilities such as eog and there 
is no problem.

The hardware is an IBM T30 laptop. 

I don't know how to run a debugger on the libjpeg.so.6, would you tell
me how to do that?

Thanks

Comment 4 Sven Neumann 2004-01-14 00:49:31 UTC
Looks like we are using the same version of libjpeg on very similar
hardware (this being an IBM T23).

The basic procedure on how to debug GIMP plug-ins using gdb is
described in devel-docs/debug-plug-ins.txt as found in the GIMP source
tree. This document assumes you know how to use gdb to attach to a
running process and how to obtain useful information such as a
backtrace. In case you need help with that, let us know.
Comment 5 Henrik Brix Andersen 2004-04-19 09:29:51 UTC
This bug report is awaiting feedback from the reporter.
Comment 6 Sven Neumann 2004-09-13 10:03:22 UTC
My guess is that this is just a duplicate of bug #142252. Closing as duplicate.
Comment 7 Sven Neumann 2004-09-13 10:03:33 UTC

*** This bug has been marked as a duplicate of 142252 ***