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 683207 - Crash when opening an image via drag/drop
Crash when opening an image via drag/drop
Status: RESOLVED DUPLICATE of bug 674108
Product: GIMP
Classification: Other
Component: General
2.8.2
Other Mac OS
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
: 684155 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-09-02 14:56 UTC by Jon Chambers
Modified: 2012-09-16 17:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A sample image that causes GIMP to crash when opened via drag/drop. (118.88 KB, image/jpeg)
2012-09-02 14:56 UTC, Jon Chambers
Details
Crash report (4.20 KB, text/plain)
2012-09-02 23:54 UTC, Jon Chambers
Details
backtrace GIMP 2.8.2, OS X 10.7.4, GTK+/quartz 2.24.11 (3.83 KB, text/plain)
2012-09-03 18:14 UTC, su-v
Details

Description Jon Chambers 2012-09-02 14:56:14 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.
Comment 1 Michael Natterer 2012-09-02 23:06:16 UTC
Can you attach (not paste) the crash report here please?
Comment 2 Jon Chambers 2012-09-02 23:52:44 UTC
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?
Comment 3 Jon Chambers 2012-09-02 23:54:08 UTC
I was wrong; the crash reports just aren't named what I was expecting. Beg your pardon; crash report is attached.
Comment 4 Jon Chambers 2012-09-02 23:54:53 UTC
Created attachment 223233 [details]
Crash report
Comment 5 Jonathan Harris 2012-09-03 12:44:54 UTC
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/ ?
Comment 6 Jon Chambers 2012-09-03 14:40:32 UTC
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.
Comment 7 su-v 2012-09-03 18:14:26 UTC
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.
Comment 8 Michael Natterer 2012-09-03 19:37:32 UTC
Yeah, known issue, I painfully recognize the crash :(
Comment 9 Michael Natterer 2012-09-14 13:30:13 UTC
Fixed in GTK+ master and gtk-2-24 now.

*** This bug has been marked as a duplicate of bug 674108 ***
Comment 10 Michael Natterer 2012-09-16 17:25:28 UTC
*** Bug 684155 has been marked as a duplicate of this bug. ***