On 12/2/10 16:51, Wolf Drechsel wrote:
It should launch alone without any macports environment, may immediately kill the X11 after its launch - and makes a quite useable impression.
Why not completely remove the part that launches X11 (what if the user has other x11 apps running and needs to save data before quitting X11)?
It was made on a PPC, 10.4.11. Unluckily I cannot switch to the universal variants at the moment, so I'd be grateful if some intel owner would check whether it runs on rosetta. I manually removed i386 python components, this may cause intel machines to get in trouble. Also, I couldnt check whether it works on Leopard or Snowie…
Summary: Inkscape 0.47 Tiger PPC Quartz fails on OS X 10.5.8 Leopard i386 with the same error as your other build (0.47 Tiger PPC X11) on Tiger and Leopard Macs with Intel architecture (see related bug reports #513335, #517883, #520022)
tested with these local changes: - script modified to remove X11 launching part - removed X11 font path from 'Contents/Resources/etc/fonts/fonts.conf' - separate font cache configured in 'Contents/Resources/etc/fonts/fonts.conf' - added empty 'Contents/Resources/etc/pango/pangox.aliases'
~suv
detailed Results:
A) double-click in the finder crashes with (weirdly colored) dialog message (attached)
B) launching outer shell script wrapper from the command line It doesn't make a difference whether I click the Platypus launcher or call the launcher script with its full pathname '/path/to/Inkscape.app/Contents/Resources/script' on the command line - both fail with 'task_get_state failed'.
LeWitt:~ suv$ /Volumes/blue/src/Inkscape/0_47/Inkscape-0.47-1.TIGER-Quartz-PPC/Inkscape-0_47-1-Tiger-Quartz-PPC.app-orig/Contents/Resources/script-LeWitt.sh Setting Language: .UTF-8
(process:76914): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale.
(inkscape-bin:76914): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed task_get_state failed
Emergency save activated! Emergency save completed. Inkscape will close now. If you can reproduce this crash, please file a bug at www.inkscape.org with a detailed description of the steps leading to the crash, so we can fix it.
C) launching the inner shell script from the command line cd'ing to the root of the application package and launching the inner shell script wrapper with its full path name '/path/to/Inkscape.app/Contents/Resources/bin/inkscape' sets the environment for Inkscape correctly and results in the same crash as when launching the application from the finder:
LeWitt:Inkscape-0_47-1-Tiger-Quartz-PPC.app-orig suv$ /Volumes/blue/src/Inkscape/0_47/Inkscape-0.47-1.TIGER-Quartz-PPC/Inkscape-0_47-1-Tiger-Quartz-PPC.app-orig/Contents/Resources/bin/inkscape Setting Language: .UTF-8
(process:77145): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale.
(inkscape-bin:77145): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed task_get_state failed
Emergency save activated! Emergency save completed. Inkscape will close now. If you can reproduce this crash, please file a bug at www.inkscape.org with a detailed description of the steps leading to the crash, so we can fix it. Killed LeWitt:Inkscape-0_47-1-Tiger-Quartz-PPC.app-orig suv$
D) launching inner shell script wrapper from the command line crash (as expected) when launching the shell script directly with its full path '/path/to/Inkscape.app/Contents/Resources/bin/inkscape' from the command line (in $HOME).
(Note: inkscape-bin can't find its resources because the necessary variable pointing to the root of the application bundle is not set correctly if the outer shell script wrapper is not used or the current directory is not the root of the application bundle. Some other variables are set correctly e.g. $DYDL_LIBRARY_PATH.)
Console messages:
LeWitt:~ suv$ /Volumes/blue/src/Inkscape/0_47/Inkscape-0.47-1.TIGER-Quartz-PPC/Inkscape-0_47-1-Tiger-Quartz-PPC.app-orig/Contents/Resources/bin/inkscape Setting Language: .UTF-8
(process:77044): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale.
** (inkscape-bin:77044): CRITICAL **: Inkscape::XML::Document* sp_repr_read_file(const gchar*, const gchar*): assertion `Inkscape::IO::file_test( filename, G_FILE_TEST_EXISTS )' failed
** (inkscape-bin:77044): WARNING **: Unable to read keys file Contents/Resources/keys/default.xml Unable to find: org.inkscape.help.manual Unable to find: org.inkscape.help.keys Unable to find: org.inkscape.help.askaquestion Unable to find: org.inkscape.help.commandline Unable to find: org.inkscape.help.faq Unable to find: org.inkscape.help.relnotes Unable to find: org.inkscape.help.reportabug Unable to find: org.inkscape.help.svgspec
(inkscape-bin:77044): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed
(inkscape-bin:77044): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed 2010-02-13 04:49:16.106 inkscape-bin[77044:613] *** -[NSDragDestination autorecalculatesContentBorderThicknessForEdge:]: unrecognized selector sent to instance 0x17d20500 2010-02-13 04:49:16.276 inkscape-bin[77044:613] An uncaught exception was raised 2010-02-13 04:49:16.284 inkscape-bin[77044:613] *** -[NSDragDestination autorecalculatesContentBorderThicknessForEdge:]: unrecognized selector sent to instance 0x17d20500 2010-02-13 04:49:16.288 inkscape-bin[77044:613] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSDragDestination autorecalculatesContentBorderThicknessForEdge:]: unrecognized selector sent to instance 0x17d20500' 2010-02-13 04:49:16.309 inkscape-bin[77044:613] Stack: ( 2483498224, 2505680108, 2483527352, 2483520692, 2483521352, 2417697092, 2483043748, 2483048268, 2447563544, 2447562916, 2447562620, 2417689160, 2417687552, 28329228, 34161852, 34162996, 24676336, 24728, 20704, 12540, 11776 ) Trace/BPT trap
The crash report says the PPC (translated) inkscape-bin process crashes in '/usr/libexec/oah/translate'
E) launching binary without shell script wrapper Calling the 'inkscape-bin' binary directly from the command line crashes immediately in '/usr/libexec/oah/translate'. It doesn't even get as far as trying to load (but not find) resources needed (fonts, loader and pango modules, gtkrc) presumably because DYLD_LIBRARY_PATH is not set.
LeWitt:~ suv$ /Volumes/blue/src/Inkscape/0_47/Inkscape-0.47-1.TIGER-Quartz-PPC/Inkscape-0_47-1-Tiger-Quartz-PPC.app-orig/Contents/Resources/bin/inkscape-bin dyld: Library not loaded: /opt/local/lib/libgtkmm-2.4.1.dylib Referenced from: /Volumes/blue/src/Inkscape/0_47/Inkscape-0.47-1.TIGER-Quartz-PPC/Inkscape-0_47-1-Tiger-Quartz-PPC.app-orig/Contents/Resources/bin/inkscape-bin Reason: image not found Trace/BPT trap