Ticket #24460 (assigned defect)
gimp +quartz crashes - gtk errors
| Reported by: | LenoreHorner@… | Owned by: | devans@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.2 |
| Keywords: | Cc: | jp@…, code@…, jpenney@… | |
| Port: | gimp2 |
Description (last modified by jmr@…) (diff)
I have installed gimp2 @2.6.8_0+darwin_9+no_x11+quartz (active) on G4 running 10.5.8.
I can open gimp, open a file, make changes to the file, and save the file. However, when I save the file, gimp crashes with the following messages. The file seems to be saved though.
Here are the errors.
(gimp:4251): Gtk-WARNING **: Unable to find default local directory monitor type (gimp:4251): Gtk-WARNING **: Unable to find default local directory monitor type (gimp:4251): Gtk-CRITICAL **: gtk_icon_info_load_icon: assertion `icon_info != NULL' failed (gimp:4251): Gtk-CRITICAL **: gtk_icon_info_load_icon: assertion `icon_info != NULL' failed (gimp:4251): Gtk-WARNING **: Unable to find default local directory monitor type (gimp:4251): Gtk-WARNING **: Unable to find default local directory monitor type (script-fu:4253): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error
Change History
comment:1 Changed 3 years ago by jmr@…
- Keywords gimp gtk removed
- Owner changed from macports-tickets@… to devans@…
- Port set to gimp2
- Description modified (diff)
comment:2 Changed 3 years ago by jp@…
Same error here on. It always happens when I open or save a file. This happens with gimp2 @2.6.10_3+no_x11+quartz on 10.5.8. This is my console output:
zaphod:~ jp$ gimp --g-fatal-warnings --stack-trace-mode=always gimp: fatal error: Segmentation fault #0 0x9039c851 in __wait4 () #1 0x9039c847 in waitpid$UNIX2003 () #2 0x00f767ac in g_on_error_stack_trace () #3 0x00003320 in gimp_eek () #4 0x000033a4 in gimp_fatal_error () #5 0x00003e0c in gimp_sigfatal_handler () #6 <signal handler called> #7 0x92590818 in objc_msgSend_fpret () #8 0x97110dcf in _DPSNextEvent () #9 0x9710ff88 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] () #10 0x00a5f957 in poll_func () #11 0x00fa0f9f in g_main_context_iterate () #12 0x00fa13f7 in g_main_loop_run () #13 0x00002a59 in app_run () #14 0x00003bd3 in main ()
comment:4 follow-up: ↓ 5 Changed 3 years ago by devans@…
As first check of your build evironment please check that you have built not only port gimp2 but its dependencies with the +no_x11 +quartz global variants. This includes (but is not limited to) gtk2, pango and cairo. You also might try
otool -L ${prefix}/bin/gimp
to see if there are any references to X11 libraries. If there any all bets are off.
comment:5 in reply to: ↑ 4 Changed 3 years ago by jp@…
gtk2, pango and cairo do have the correct variants:
zaphod:Bewerbungen jp$ port installed pango cairo gtk2 The following ports are currently installed: cairo @1.10.0_0+no_x11+quartz (active) gtk2 @2.20.1_0+no_x11+quartz (active) pango @1.24.5_0+macosx+no_x11+quartz (active)
I enabled the "no_x11" and "quartz" variant in variants.conf. I do not know how to identify X11 libraries, so I just post the output of otool.
zaphod:Bewerbungen jp$ otool -L /opt/local/bin/gimp /opt/local/bin/gimp: /opt/local/lib/libgimpwidgets-2.0.0.dylib (compatibility version 601.0.0, current version 601.10.0) /opt/local/lib/libgimpconfig-2.0.0.dylib (compatibility version 601.0.0, current version 601.10.0) /opt/local/lib/libgimpmodule-2.0.0.dylib (compatibility version 601.0.0, current version 601.10.0) /opt/local/lib/libgimpcolor-2.0.0.dylib (compatibility version 601.0.0, current version 601.10.0) /opt/local/lib/libgimpthumb-2.0.0.dylib (compatibility version 601.0.0, current version 601.10.0) /opt/local/lib/libgimpmath-2.0.0.dylib (compatibility version 601.0.0, current version 601.10.0) /opt/local/lib/libgimpbase-2.0.0.dylib (compatibility version 601.0.0, current version 601.10.0) /opt/local/lib/libgtk-quartz-2.0.0.dylib (compatibility version 2001.0.0, current version 2001.1.0) /opt/local/lib/libgdk-quartz-2.0.0.dylib (compatibility version 2001.0.0, current version 2001.1.0) /opt/local/lib/libatk-1.0.0.dylib (compatibility version 3010.0.0, current version 3010.1.0) /opt/local/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version 2001.0.0, current version 2001.1.0) /opt/local/lib/libpangocairo-1.0.0.dylib (compatibility version 2401.0.0, current version 2401.5.0) /opt/local/lib/libcairo.2.dylib (compatibility version 10803.0.0, current version 10803.10.0) /opt/local/lib/libpixman-1.0.dylib (compatibility version 19.0.0, current version 19.4.0) /opt/local/lib/libpng12.0.dylib (compatibility version 45.0.0, current version 45.0.0) /opt/local/lib/libpangoft2-1.0.0.dylib (compatibility version 2401.0.0, current version 2401.5.0) /opt/local/lib/libpango-1.0.0.dylib (compatibility version 2401.0.0, current version 2401.5.0) /opt/local/lib/libfontconfig.1.dylib (compatibility version 6.0.0, current version 6.4.0) /opt/local/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.2.0) /opt/local/lib/libfreetype.6.dylib (compatibility version 13.0.0, current version 13.0.0) /opt/local/lib/libdbus-glib-1.2.dylib (compatibility version 4.0.0, current version 4.0.0) /opt/local/lib/libdbus-1.3.dylib (compatibility version 8.0.0, current version 8.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.5) /opt/local/lib/libgegl-0.1.0.dylib (compatibility version 102.0.0, current version 102.1.0) /opt/local/lib/libgio-2.0.0.dylib (compatibility version 2401.0.0, current version 2401.2.0) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5) /opt/local/lib/libbabl-0.1.0.dylib (compatibility version 102.0.0, current version 102.1.0) /opt/local/lib/libgobject-2.0.0.dylib (compatibility version 2401.0.0, current version 2401.2.0) /opt/local/lib/libgmodule-2.0.0.dylib (compatibility version 2401.0.0, current version 2401.2.0) /opt/local/lib/libgthread-2.0.0.dylib (compatibility version 2401.0.0, current version 2401.2.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 2401.0.0, current version 2401.2.0) /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 25.0.2) /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.1.0) /opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.0.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 476.19.0) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 12.0.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 136.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
comment:6 Changed 2 years ago by jp@…
FYI: Error still present in gimp @2.6.11_0+quartz and up-to-date libraries. Makes gimp virtually not usable.
comment:8 Changed 2 years ago by jmr@…
- Summary changed from gimp crashes - gtk errors to gimp +quartz crashes - gtk errors
comment:9 Changed 2 years ago by code@…
Confirming still an issue on gimp @2.6.11_0+quartz, OSX 10.6.7.
comment:11 Changed 2 years ago by jmr@…
Does installing an icon set like hicolor-icon-theme help?
comment:12 Changed 2 years ago by code@…
No, not for me.


Please remember to fill in the Port field and cc the maintainer.