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 559976 - JPEG plugin cannot save a specific picture
JPEG plugin cannot save a specific picture
Status: RESOLVED NOTGNOME
Product: GIMP
Classification: Other
Component: Plugins
2.6.2
Other All
: Normal normal
: 2.6
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2008-11-09 09:11 UTC by Martin Rogge
Modified: 2008-11-11 20:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
small example (9.54 KB, application/octet-stream)
2008-11-09 09:37 UTC, Martin Rogge
Details

Description Martin Rogge 2008-11-09 09:11:54 UTC
Please describe the problem:
I have created an image that cannot be saved as JPEG. It can be saved, however, as XCF or TIF. When re-loading the XCF or TIF, the image can still not be saved as JPEG. When re-creating the image from source, it can still not be saved as JPEG.

Steps to reproduce:
1. Obtain the XCF from the reporter
2. "Save as" or "save a copy" in JPEG format
3. Behold


Actual results:
A popup shows up titled 'file-jpeg.exe - Application Error'. The popup reads: 'The instruction at "0x6b44aa3e" referenced menory at "0x00000398". The memory could not be "written".'

After clicking OK, another popup appears, notifying me (this time in German for some reason) that the plugin file-jpeg.exe has crashed and that it would be wise to save my work and re-start the GIMP.

It also says that the procedure file-jpeg-save has terminated without return code.


Expected results:
The usual JPEG preview and the options dialog should appear.

Does this happen every time?
With the picture in question it happens every time with GIMP 2.6.2 on Windows and GIMP 2.4.5 on Linux. Other pictures processed in exactly the same way do not show this issue.

Other information:
Please let me know if you want me to attach the XCF file (it has 1.14 MB).
Comment 1 Martin Nordholts 2008-11-09 09:14:03 UTC
Hi and thanks for the bug report! Yes please, attach a picture that can be used to reproduce the problem. Maybe you can crop it down while still maintaining its power to reproduce the crash?
Comment 2 Martin Rogge 2008-11-09 09:37:03 UTC
Created attachment 122255 [details]
small example
Comment 3 Martin Rogge 2008-11-09 09:38:48 UTC
Hi, me again. I'd like to correct my statement from above: when saving as TIFF
and loading the TIFF back into The GIMP, the picture can indeed be saved as
JPEG. A noticable difference is the absence of EXIF data in the TIFF, so this
bug report may be related to other bug reports concerning a bug in libexif?

Anyway, thanks for the idea of creating a smaller file version. ;-) I have cropped the image down to 1 by 1 pixel. The effect can still be studied. The file is attached.
Comment 4 Martin Nordholts 2008-11-09 21:37:53 UTC
For me it doesn't crash, but it eats all my RAM. No doubt we need to fix this.
Comment 5 Martin Nordholts 2008-11-11 20:16:34 UTC
It crashed in libexif.so. I just tried with the three day old 0.6.17 release and with that libexif it doesn't crash. Closing as NOTGNOME.