Opened 13 years ago

Closed 13 years ago

#29627 closed defect (worksforme)

Gimp 2.6.11_0 +no_x11 +quartz crashes while loading fonts on startup

Reported by: code@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: dbevans (David B. Evans)
Port: gimp2

Description

Output as follows:

majelbstoat@neptune~ $ gimp --g-fatal-warnings --stack-trace-mode=always

(gimp:56622): GLib-WARNING **: goption.c:2132: ignoring no-arg, optional-arg or filename flags (8) on option of type 0
gimp: fatal error: Bus error
#0  0x00007fff83b49610 in __wait4 ()
#1  0x000000010123acef in g_on_error_stack_trace ()
#2  0x0000000100002843 in gimp_eek ()
#3  0x00000001000029c6 in gimp_fatal_error ()
#4  0x00000001000032a8 in gimp_sigfatal_handler ()
#5  <signal handler called>
#6  0x0000000100ebb450 in TT_Load_Simple_Glyph ()
#7  0x0000000100ec370a in load_truetype_glyph ()
#8  0x0000000100ec45e8 in Load_Glyph ()
#9  0x0000000100eb098a in FT_Load_Glyph ()
#10 0x0000000100e53ddd in FcFreeTypeCheckGlyph ()
#11 0x0000000100e5453c in FcFreeTypeCharSetAndSpacingForSize ()
#12 0x0000000100e547ef in FcFreeTypeCharSetAndSpacing ()
#13 0x0000000100e56178 in FcFreeTypeQueryFace ()
#14 0x0000000100e56938 in FcFreeTypeQuery ()
#15 0x0000000100e51963 in FcFileScanConfig ()
#16 0x0000000100e51c8c in FcDirScanConfig ()
#17 0x0000000100e51da8 in FcDirCacheScan ()
#18 0x0000000100e4da09 in FcConfigAddDirList ()
#19 0x0000000100e4dc77 in FcConfigBuildFonts ()
#20 0x00000001002735be in gimp_fonts_load ()
#21 0x00000001001bd738 in gimp_restore ()
#22 0x0000000100002133 in app_run ()
#23 0x0000000100003108 in main ()

However, the following succeeds (though still with the GLIB warning):

majelbstoat@neptune~ $ gimp -f

For completeness:

majelbstoat@neptune~ $ 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.11.0)
	/opt/local/lib/libgimpconfig-2.0.0.dylib (compatibility version 601.0.0, current version 601.11.0)
	/opt/local/lib/libgimpmodule-2.0.0.dylib (compatibility version 601.0.0, current version 601.11.0)
	/opt/local/lib/libgimpcolor-2.0.0.dylib (compatibility version 601.0.0, current version 601.11.0)
	/opt/local/lib/libgimpthumb-2.0.0.dylib (compatibility version 601.0.0, current version 601.11.0)
	/opt/local/lib/libgimpmath-2.0.0.dylib (compatibility version 601.0.0, current version 601.11.0)
	/opt/local/lib/libgimpbase-2.0.0.dylib (compatibility version 601.0.0, current version 601.11.0)
	/opt/local/lib/libgtk-quartz-2.0.0.dylib (compatibility version 2401.0.0, current version 2401.4.0)
	/opt/local/lib/libgdk-quartz-2.0.0.dylib (compatibility version 2401.0.0, current version 2401.4.0)
	/opt/local/lib/libatk-1.0.0.dylib (compatibility version 3210.0.0, current version 3210.1.0)
	/opt/local/lib/libpangocairo-1.0.0.dylib (compatibility version 2801.0.0, current version 2801.4.0)
	/opt/local/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version 2201.0.0, current version 2201.1.0)
	/opt/local/lib/libcairo.2.dylib (compatibility version 11003.0.0, current version 11003.2.0)
	/opt/local/lib/libpixman-1.0.dylib (compatibility version 23.0.0, current version 23.0.0)
	/opt/local/lib/libpng14.14.dylib (compatibility version 22.0.0, current version 22.0.0)
	/opt/local/lib/libpangoft2-1.0.0.dylib (compatibility version 2801.0.0, current version 2801.4.0)
	/opt/local/lib/libpango-1.0.0.dylib (compatibility version 2801.0.0, current version 2801.4.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.2.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 125.2.10)
	/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 2801.0.0, current version 2801.6.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 2801.0.0, current version 2801.6.0)
	/opt/local/lib/libgmodule-2.0.0.dylib (compatibility version 2801.0.0, current version 2801.6.0)
	/opt/local/lib/libgthread-2.0.0.dylib (compatibility version 2801.0.0, current version 2801.6.0)
	/opt/local/lib/libglib-2.0.0.dylib (compatibility version 2801.0.0, current version 2801.6.0)
	/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 41.0.0)
	/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 550.42.0)
	/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 15.0.0)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 152.0.0)

majelbstoat@neptune~ $ port installed pango cairo gtk2
The following ports are currently installed:
  cairo @1.10.2_3+no_x11+quartz (active)
  gtk2 @2.24.4_0+no_x11+quartz (active)
  pango @1.28.4_0+no_x11+quartz (active)
majelbstoat@neptune~ $ gimp -v
GNU Image Manipulation Program version 2.6.11

using GEGL version 0.1.2 (compiled against version 0.1.2)
using GLib version 2.28.7 (compiled against version 2.28.6)
using GTK+ version 2.24.4 (compiled against version 2.24.4)
using Pango version 1.28.4 (compiled against version 1.28.4)
using Fontconfig version 2.8.0 (compiled against version 2.8.0)

Change History (3)

comment:1 Changed 13 years ago by harigorripati@…

Cc: harigorripati@… added

Cc Me!

comment:2 Changed 13 years ago by harigorripati@…

Cc: harigorripati@… removed

Cc Me!

comment:3 Changed 13 years ago by dbevans (David B. Evans)

Keywords: gimp font crash no_x11 quartz startup removed
Resolution: worksforme
Status: newclosed

I cannot reproduce this problem with the current port versions as follows:

port installed gimp2 pango cairo gtk2
The following ports are currently installed:
  cairo @1.10.2_4+no_x11+quartz+universal (active)
  gimp2 @2.6.11_7+python27+quartz (active)
  gtk2 @2.24.6_0+no_x11+quartz+universal (active)
  pango @1.28.4_1+no_x11+quartz+universal (active)

gimp -v
GNU Image Manipulation Program version 2.6.11

using GEGL version 0.1.6 (compiled against version 0.1.6)
using GLib version 2.28.8 (compiled against version 2.28.8)
using GTK+ version 2.24.6 (compiled against version 2.24.6)
using Pango version 1.28.4 (compiled against version 1.28.4)
using Fontconfig version 2.8.0 (compiled against version 2.8.0)

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.11.0)
	/opt/local/lib/libgimpconfig-2.0.0.dylib (compatibility version 601.0.0, current version 601.11.0)
	/opt/local/lib/libgimpmodule-2.0.0.dylib (compatibility version 601.0.0, current version 601.11.0)
	/opt/local/lib/libgimpcolor-2.0.0.dylib (compatibility version 601.0.0, current version 601.11.0)
	/opt/local/lib/libgimpthumb-2.0.0.dylib (compatibility version 601.0.0, current version 601.11.0)
	/opt/local/lib/libgimpmath-2.0.0.dylib (compatibility version 601.0.0, current version 601.11.0)
	/opt/local/lib/libgimpbase-2.0.0.dylib (compatibility version 601.0.0, current version 601.11.0)
	/opt/local/lib/libgtk-x11-2.0.0.dylib (compatibility version 2401.0.0, current version 2401.6.0)
	/opt/local/lib/libgdk-x11-2.0.0.dylib (compatibility version 2401.0.0, current version 2401.6.0)
	/opt/local/lib/libatk-1.0.0.dylib (compatibility version 3210.0.0, current version 3210.1.0)
	/opt/local/lib/libpangocairo-1.0.0.dylib (compatibility version 2801.0.0, current version 2801.4.0)
	/opt/local/lib/libXinerama.1.dylib (compatibility version 2.0.0, current version 2.0.0)
	/opt/local/lib/libXi.6.dylib (compatibility version 8.0.0, current version 8.0.0)
	/opt/local/lib/libXrandr.2.dylib (compatibility version 5.0.0, current version 5.0.0)
	/opt/local/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0)
	/opt/local/lib/libXcursor.1.dylib (compatibility version 2.0.0, current version 2.2.0)
	/opt/local/lib/libXcomposite.1.dylib (compatibility version 2.0.0, current version 2.0.0)
	/opt/local/lib/libXdamage.1.dylib (compatibility version 3.0.0, current version 3.0.0)
	/opt/local/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version 2201.0.0, current version 2201.1.0)
	/opt/local/lib/libXfixes.3.dylib (compatibility version 5.0.0, current version 5.0.0)
	/opt/local/lib/libcairo.2.dylib (compatibility version 11003.0.0, current version 11003.2.0)
	/opt/local/lib/libpixman-1.0.dylib (compatibility version 23.0.0, current version 23.2.0)
	/opt/local/lib/libxcb-shm.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/opt/local/lib/libX11-xcb.1.dylib (compatibility version 2.0.0, current version 2.0.0)
	/opt/local/lib/libxcb-render.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/opt/local/lib/libXrender.1.dylib (compatibility version 5.0.0, current version 5.0.0)
	/opt/local/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/opt/local/lib/libxcb.1.dylib (compatibility version 3.0.0, current version 3.0.0)
	/opt/local/lib/libXau.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/local/lib/libXdmcp.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/local/lib/libpng14.14.dylib (compatibility version 23.0.0, current version 23.0.0)
	/opt/local/lib/libpangoft2-1.0.0.dylib (compatibility version 2801.0.0, current version 2801.4.0)
	/opt/local/lib/libpango-1.0.0.dylib (compatibility version 2801.0.0, current version 2801.4.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 14.0.0, current version 14.1.0)
	/opt/local/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.6)
	/opt/local/lib/libdbus-glib-1.2.dylib (compatibility version 5.0.0, current version 5.1.0)
	/opt/local/lib/libdbus-1.3.dylib (compatibility version 9.0.0, current version 9.7.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)
	/opt/local/lib/libgegl-0.1.0.dylib (compatibility version 106.0.0, current version 106.1.0)
	/opt/local/lib/libgio-2.0.0.dylib (compatibility version 2801.0.0, current version 2801.8.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 104.0.0, current version 104.1.0)
	/opt/local/lib/libgobject-2.0.0.dylib (compatibility version 2801.0.0, current version 2801.8.0)
	/opt/local/lib/libgmodule-2.0.0.dylib (compatibility version 2801.0.0, current version 2801.8.0)
	/opt/local/lib/libgthread-2.0.0.dylib (compatibility version 2801.0.0, current version 2801.8.0)
	/opt/local/lib/libglib-2.0.0.dylib (compatibility version 2801.0.0, current version 2801.8.0)
	/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 41.0.0)
	/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.1.0)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 152.0.0)

The Glib-WARNING is still there but no fatal errors and the program starts normally.

Note: See TracTickets for help on using tickets.