GNOME Bugzilla – Bug 683207
Crash when opening an image via drag/drop
Last modified: 2012-09-16 17:25:28 UTC
Created attachment 223200 [details] A sample image that causes GIMP to crash when opened via drag/drop. Opening an image in the native OSX build of GIMP 2.8.2 via drag/drop sometimes causes GIMP to crash. This is the only thing that appears in Console: 9/2/12 10:39:10.219 AM com.apple.launchd.peruser.501[124]: ([0x0-0x6d36d3].com.gnomw.Gimp[7778]) Exited with code: 1 The problem happens in both single- and multi-window mode. Opening the same image from the "open file" dialog (i.e. via File -> Open) works just fine. The crash only seems to happen if GIMP started with no images loaded and if the dragged/dropped image was the first image to be opened since GIMP started. GIMP appears to get most of the way through the loading process, but crashes when the "keep/convert color profile" dialog would normally appear. To reproduce: 1. Start GIMP with no open images. 2. Drag an image from the desktop to the working area of the main GIMP window to open it. 3. GIMP will try to load through the image, filling the "loading" progress bar at the bottom of the window, and then crash. I'm running OS X 10.8.1 on a mid-2012 non-Retina MacBook Pro. I've attached a sample image that causes GIMP to crash, though I suspect just about any image would do the job.
Can you attach (not paste) the crash report here please?
Sorry; I can't find a crash report. GIMP crashes silently and doesn't produce the usual OS X crash dialog. I've looked in ~/Library/Logs/DiagnosticReports and found a report from an unrelated GIMP crash a few days ago, but nothing related to this problem. Is there somewhere else I can look, or is there a debug version I should be running instead?
I was wrong; the crash reports just aren't named what I was expecting. Beg your pardon; crash report is attached.
Created attachment 223233 [details] Crash report
This may be related to https://bugzilla.gnome.org/show_bug.cgi?id=682899 . Are you using the image that was updated to fix that bug? i.e. gimp-2.8.2-dmg-2.dmg from http://www.gimp.org/downloads/ ?
I just downloaded that image and gave it a try. The failure mode is a little different, but it still crashes. This time, we'll get all the way to the color profile dialog, attempt to convert it, and then crash at the end of the conversion process. There's no dialog on exit, nothing in Console, and no new files in ~/Library/Logs/DiagnosticReports.
Created attachment 223355 [details] backtrace GIMP 2.8.2, OS X 10.7.4, GTK+/quartz 2.24.11 Crash reproduced with latest GTK+/Quartz based GIMP.app on OS X 10.7.4 ('GIMP-2.8.2-dmg-2.dmg' from gimp.org), and with local build of GIMP 2.8.2 (not bundled, using dependencies installed via MacPorts). Attaching gdb backtrace from crash reproduced with local GIMP 2.8.2 build. Dependencies: GTK+ 2.24.11 with Quartz backend, Glib 2.33.10. AFAICT the file format of the image dropped onto the empty main window doesn't matter - for the backtrace one of GIMP's own images ($prefix/share/gimp/2.0/images/gimp-logo.png) was used.
Yeah, known issue, I painfully recognize the crash :(
Fixed in GTK+ master and gtk-2-24 now. *** This bug has been marked as a duplicate of bug 674108 ***
*** Bug 684155 has been marked as a duplicate of this bug. ***