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 681317 - crash: "file-jpeg-load returned no return values" when loading GIMP-exported JPEG
crash: "file-jpeg-load returned no return values" when loading GIMP-exported ...
Status: RESOLVED DUPLICATE of bug 682454
Product: GIMP
Classification: Other
Component: Plugins
2.8.0
Other Windows
: Normal critical
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2012-08-06 16:52 UTC by strata_ranger
Modified: 2012-08-27 17:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
JPEG file exported from GIMP 2.8.0, crashes during reload (208.85 KB, image/jpeg)
2012-08-06 16:52 UTC, strata_ranger
Details
Screenshot of the crash as it occurs. (129.97 KB, image/png)
2012-08-08 17:06 UTC, strata_ranger
Details
Appcompat.txt contents as mentioned in the error details (266.19 KB, application/xml)
2012-08-08 17:12 UTC, strata_ranger
Details

Description strata_ranger 2012-08-06 16:52:02 UTC
Created attachment 220468 [details]
JPEG file exported from GIMP 2.8.0, crashes during reload

I hope this is just an isolated event.

Steps to reproduce:
0 - (These are all perfectly normal steps I perform when processing photography images for the Web.)
1 - I copied the raw JPG files from my camera SD card onto the hard drive, then loaded an image of interest into GIMP.
2 - Cropped the image to an area of interest.
3 - Saved (er, I mean exported) it to a JPG.  JPEG options were mostly left at default values (optimized/progressive/EXIF/XMP data included, 89 quality ratio and 4:2:2 subsampling).
4 - To review the quality settings, I loaded the JPG (it opens up a separate image window/tab).  The file loads correctly at this time.
5 - I realize I forgot a step, so I go back to my first image window/tab and resize the image to 800x600, and re-export the JPG.
6 - Attempted to Revert the second image/window tab (back to the exported JPG from step 5) and GIMP produces a crash message.
7 - Fortunately it's not GIMP itself that crashes ... it's the JPEG plugin:
--------------
Plug-in crashed: "file-jpeg.exe"
(C:\Program Files\GIMP 2.8\lib\gimp\2.0\plug-ins\file-jpeg.exe)

The dying plug-in may have messed up GIMP's internal state. You may want to save your images and restart GIMP to be on the safe side.
--------------
Opening 'F:\~Richard\Photo\2012\temp.JPG' failed:

Procedure 'file-jpeg-load' returned no return values
--------------

And the plugin continues to crash every time I try to load this file in GIMP.  Shutting down and restarting GIMP has no effect (implying something in the file itself may be corrupt).  But the file loads fine in other programs (verified: Windows Picture and Fax Viewer, MSPaint, Firefox 14.0.1, Inkscape 0.48.2) and even loads fine in GIMP 2.6.12 -- it only crashes in GIMP 2.8.0 .

File is attached to this report.
Comment 1 Michael Schumacher 2012-08-08 16:42:18 UTC
The attached file works for me.
Comment 2 strata_ranger 2012-08-08 17:05:32 UTC
Me too ... okay, now I'm annoyed.

Attempting to open the original file (in its original disk location prior to attaching) causes GIMP's JPEG plugin to crash 100% of the time.  But downloading the attached file and opening that does NOT crash, even though it is the exact same 213,867 bytes.

However, if I copy the file out of its current path into a different folder then GIMP may open it just fine.  Wait, what?

For the record, the path to my test file is "F:\~Richard\Photo\2012\" .
Moving the file up one level (to "Photo" ), the plugin still crashes.
Moving the file up two levels (to "~Richard" ), the plugin works correctly.

And out of hundreds of photo JPG files I have this in my directories, this is the only file that is generating any problems whatsoever.

I can still attach a screenshot of the actual message, if it helps.
Comment 3 strata_ranger 2012-08-08 17:06:32 UTC
Created attachment 220704 [details]
Screenshot of the crash as it occurs.
Comment 4 strata_ranger 2012-08-08 17:12:20 UTC
Created attachment 220706 [details]
Appcompat.txt contents as mentioned in the error details

I was also able to grab a copy of the "appcompat.txt" file that was mentioned in the error message.  It appears to contain a memory dump at the time of the crash, if that helps.
Comment 5 Michael Schumacher 2012-08-08 17:28:59 UTC
The same problem is discussed in a thread at gimpforum.de (renaming the file changes the behavior, too).

So far, no reproducible pattern has been found.
Comment 6 Valerio Messina 2012-08-23 23:24:37 UTC
other tests and steps to reproduce are in this related bug:
https://bugzilla.gnome.org/show_bug.cgi?id=682454
there the image is the unmodified from the camera.
I can confirm this bug
Comment 7 Max Mustermann 2012-08-26 10:30:18 UTC
Bug triaging results: 

I couldn't reproduce this bug with 2.8.2 on Win7 (32 bit). 
Strata_ranger, can you try again with the current 2.8.2 build on sourceforge.net from 25.08.2012? Let us know, if the bug doesn't occur anymore and close it then as RESOLVED. 
Is this bug otherwise a duplicate of bug https://bugzilla.gnome.org/show_bug.cgi?id=682454?
Comment 8 Massimo 2012-08-26 15:56:58 UTC
The image attached to this bug-report caused the same
invalid read than that of

    Bug 682454: Plug-in crashed

it is now fixed in master and gimp-2-8
Comment 9 Rach 2012-08-26 18:46:35 UTC
While uploading an image from my pictures file, right click, edit w/ Gimp this message appeared after Gimp opened: 

Plug-in crashed: "file-jpeg.exe"
(C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\file-jpeg.exe)

The dying plug-in may have messed up GIMP's internal state. You may want to save your images and restart GIMP to be on the safe side.

I restarted my computer: did not resolve problem
I updated from GIMP 2.8 to GIMP 2.8.2: did not resolve problem

After reading 'Comment 2' I went back to my picture file, copied the image in the same folder. right click, edit with GIMP and voila! My image was imported into GIMP and ready for editing!
Comment 10 Massimo 2012-08-27 17:59:46 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

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