GNOME Bugzilla – Bug 682454
JPEG Plug-in crashes
Last modified: 2013-07-03 12:54:05 UTC
Cannot open the attached .JPG image, the jpeg open plugin crash every time. Steps: - File menù, Open, select the image, the preview is shown - Open button - At first the Windows error is shown: "GNU Image Manipulation Program Plug-In Si è verificato un errore in GNU Image Manipulation Program Plug-In. L'applicazione verrà chiusa." - Then pressing "Do not send", appear the following error: " Messaggio GIMP Plug-In bloccato: "file-jpeg.exe" (P:\Programmi\GIMP 2\lib\gimp\2.0\plug-ins\file-jpeg.exe) La morte del plugin potrebbe aver condizionato lo stato interno di GIMP. Dovreste salvare le immagini e riavviare il programma per maggiore sicurezza. Messaggio GIMP Apertura di "D:\Documenti\Immagini\VarieMessina\CIMG4040.JPG" fallita: La procedura "file-jpeg-load" non ha restituito valori di ritorno " that is about: " Plug-in crashed: "file-jpeg.exe" (C:\Programmi\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. Opening "D:\Documenti\Immagini\VarieMessina\CIMG4040.JPG" failed: Procedure "file-jpeg-load" returned no return values " At the end the image cannot be opened with GIMP. This is specific with this image (and one other I have), and happen on one PC of three I tested, and on WinXP only. I cannot understand why the error is generated on this specific PC only. Suggestions on debugging steps appreciated. The bug seems related to: https://bugzilla.gnome.org/show_bug.cgi?id=681317 but on this PC is always reproducible.
Cannot load the image on bugzilla. I got the error: The file you are trying to attach is 1807 kilobytes (KB) in size. Non-patch attachments cannot be more than 1000 KB. I will try to link the image externally
Created attachment 222136 [details] Win error got at first
Created attachment 222137 [details] plugin crash got after pressing "Do not send"
The image that crash the plugin is linked here: http://users.libero.it/efa/linkedImages/CIMG4040.JPG
Bug triaging results: I couldn't reproduce this bug with 2.8.2 on Win7 (32 bit). Can you try again with the current 2.8.2 build on sourceforge.net from 25.08.2012? Let us know withing the next 6 weeks, if the bug doesn't occur anymore and close it then as RESOLVED.
Please do as Sven said and report back.
loading the linked image on linux, valgrind reported invalid reads. fixed in master and gimp-2-8: commit 2f274f09047532ace6ec622b6c704eb398cb639a Author: Massimo Valentini <mvalentini@src.gnome.org> Date: Sun Aug 26 17:41:24 2012 +0200 Bug 682454: Plug-in crashed
*** Bug 682655 has been marked as a duplicate of this bug. ***
*** Bug 681317 has been marked as a duplicate of this bug. ***
the link is this: http://sourceforge.net/projects/gimp-win/?source=directory this evening I will try
That link points to the 2.8.2 release which did not include the fix. If you're able to build from sources, you have to patch that tarball with the patch found at: http://git.gnome.org/browse/gimp/patch/?id=2f274f09047532ace6ec622b6c704eb398cb639a
sure I can easily compile on Linux, but I'm feeling not so sure on Windows. GIMP is quite a big and complicate piece of software, with lot of dependencies. Anyway I will try, probably before to crosscompile to Win32 from Linux. Any hints?
A thread on the GEGL developers ML could be of help cross-compilubg from linux: https://mail.gnome.org/archives/gegl-developer-list/2012-May/msg00003.html another option is the Windows nightly build recently started: https://mail.gnome.org/archives/gimp-developer-list/2012-August/msg00072.html perhaps extracting only the plug-in to load jpegs
*** Bug 677066 has been marked as a duplicate of this bug. ***
This has been fixed in git.
- updated to 2.8.2 - replaced the P:\Programmi\GIMP 2\lib\gimp\2.0\plug-ins\file-jpeg.exe with the one from nightly build. Work, the two JPG images that previously crash the plugin, now always load correctly on that PC.
*** Bug 683857 has been marked as a duplicate of this bug. ***
*** Bug 685485 has been marked as a duplicate of this bug. ***
*** Bug 686292 has been marked as a duplicate of this bug. ***
*** Bug 684671 has been marked as a duplicate of this bug. ***
*** Bug 690475 has been marked as a duplicate of this bug. ***
*** Bug 691070 has been marked as a duplicate of this bug. ***
GIMP 2.8.6 on Win32 still correctly preview and load the image