Opened 16 years ago
Closed 4 years ago
#19438 closed defect (fixed)
gimp2 2.6.6_0: Crash - Uncaught exception NSInvalidArgumentException was raised
Reported by: | simon@… | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | gimp2 uncaught exception | Cc: | cooljeanius (Eric Gallager) |
Port: | gimp2 |
Description
When opening a large file file in Gimp (1680x1050) and copying a selection from it Gimp crashes with an uncaught exception error.
Console output:
2009-04-26 11:21:29.493 gimp-2.6[48726:10b] An uncaught exception was raised 2009-04-26 11:21:29.494 gimp-2.6[48726:10b] *** -[NSConcreteData initWithBytes:length:copy:freeWhenDone:bytesAreVM:]: absurd length: -1, maximum size: -2147483648 bytes 2009-04-26 11:21:29.494 gimp-2.6[48726:10b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSConcreteData initWithBytes:length:copy:freeWhenDone:bytesAreVM:]: absurd length: -1, maximum size: -2147483648 bytes' 2009-04-26 11:21:29.495 gimp-2.6[48726:10b] Stack: ( 2517836043, 2464779835, 2517835499, 2517835562, 2447261264, 2447428824, 2447661200, 8591726, 8568643, 2430774104, 2517266524, 2517200161, 2517338344, 2517339352, 2523312832, 2523312345, 2523311949, 2427313533, 2427311664, 10689255, 16557455, 16558695, 12057, 16435, 11206 ) Trace/BPT trap
Crash reporter:
Thread 0 Crashed: 0 com.apple.CoreFoundation 0x96131fb4 ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 4 1 libobjc.A.dylib 0x92e98e3b objc_exception_throw + 40 2 com.apple.CoreFoundation 0x960b8ab3 CFRunLoopRunSpecific + 4355 3 com.apple.CoreFoundation 0x960b8cd8 CFRunLoopRunInMode + 88 4 com.apple.HIToolbox 0x9666b2c0 RunCurrentEventLoopInMode + 283 5 com.apple.HIToolbox 0x9666b0d9 ReceiveNextEventCommon + 374 6 com.apple.HIToolbox 0x9666af4d BlockUntilNextEventMatchingListInMode + 106 7 com.apple.AppKit 0x90addd7d _DPSNextEvent + 657 8 com.apple.AppKit 0x90add630 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128 9 libgdk-quartz-2.0.0.dylib 0x00a31ae7 poll_func + 135 10 libglib-2.0.0.dylib 0x00fca58f g_main_context_iterate + 735 11 libglib-2.0.0.dylib 0x00fcaa67 g_main_loop_run + 455 12 gimp-2.6 0x00002f19 app_run + 601 13 gimp-2.6 0x00004033 main + 1075 14 gimp-2.6 0x00002bc6 start + 54
I removed all ~/.gimp-2.* directories as well as trying to rebuild gtk2, glib2 and gimp2 as those are in the stack trace of the crashed thread. This does not happen on handling images with smaller dimensions like 640x480.
Change History (7)
comment:1 Changed 16 years ago by dbevans (David B. Evans)
Owner: | changed from macports-tickets@… to devans@… |
---|---|
Status: | new → assigned |
comment:2 Changed 16 years ago by simon@…
It's an Intel based iMac (8,1) running 10.5.6 (9G55). I get the same error using gtk2 @2.14.7_2+no_x11+quartz though.
comment:6 Changed 4 years ago by mascguy (Christopher Nielsen)
I've tested the latest GIMP releases with much larger images than this, with no such problems. Plus this ticket refers to a very old version of GIMP, from more than a decade ago.
So this ticket can be closed.
comment:7 Changed 4 years ago by mascguy (Christopher Nielsen)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Per comment:6, this is no longer an issue. Closing.
I see this is a +quartz build. Since upgrading to gtk2 2.16.1, I've been seeing similar problems with the quartz build. X11 build seems to be ok. 2.6.6 was supposed to fix build problems with gtk 2.16 but perhaps they missed something.
Can you see if reverting to the previous version of gtk2 resolves the problem? What version OS X and platform are you using?