Inkscape: A Vector Drawing Tool

0.46 crashes on launch running under Mac OSX 10.6 (Snow Leapord)

Reported by TomWhipple on 2009-07-13
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Undecided
Michael Wybrow

Bug Description

When the Inkscape 0.46 is opened, it starts to open but then never completes (disappears from launcher). This has occurred under the last few preview builds of Mac OSX 10.6, but not 10.5.x.

As a result, Inkscape cannot be used with the latest Mac OS.

~suv (suv-lp) wrote :

Thank you for testing Inkscape on the Snow Leopard preview. I'd propose to change the status from bug report to wishlist.
Some questions to narrow down the problem:

- What version of X11/XQuartz is installed with Snow Leopard?
- Do other X11 applications like the 'GIMP' launch/run successfully?
- any interesting console log messages/crash reports?
- Did you try a recent development build from <http://inkscape.modevia.com/macosx-snap/?C=M;O=D> or the 0.47pre1 from <http://sourceforge.net/projects/inkscape/files/>?

~suv

TomWhipple (mail-tomwhipple) wrote :

I'd disagree with this being a wishlist item, as Snow Leopard will be released soon. But in any case, it looks like the problem may be caused by a version incompatibility with libxml. There are several crash reports that contain the following message: (an example is attached)

  Library not loaded: /usr/lib/libxml2.2.dylib
  Referenced from: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
  Reason: Incompatible library version: DictionaryServices requires version 10.0.0 or later, but libxml2.2.dylib provides version 9.0.0

Also the answers to the questions above are:

1. X11 reports it's version as: "XQuartz 2.3.3 (xorg-server 1.4.2-apple44)"
2. GIMP runs correctly.
3. I'm pasting in the system.log results at the end of this comment and am attaching the relevant crash log.
4. I didn't try the latest build, but will hopefully have time to do that soon. I'll update these comments with the result when I do.

From /var/log/system.log
--------------------------
Jul 13 16:19:59 Toms-Mac [0x0-0x3d03d].org.inkscape.Inkscape[768]: 2009-07-13 16:19:59.573 defaults[791:903]
Jul 13 16:19:59 Toms-Mac [0x0-0x3d03d].org.inkscape.Inkscape[768]: The domain/default pair of (kCFPreferencesAnyApplication, AppleAquaColorVariant) does not exist
Jul 13 16:19:59 Toms-Mac defaults[792]: \nThe domain/default pair of (kCFPreferencesAnyApplication, AppleHighlightColor) does not exist
Jul 13 16:19:59 Toms-Mac [0x0-0x3d03d].org.inkscape.Inkscape[768]: 2009-07-13 16:19:59.588 defaults[792:903]
Jul 13 16:19:59 Toms-Mac [0x0-0x3d03d].org.inkscape.Inkscape[768]: The domain/default pair of (kCFPreferencesAnyApplication, AppleHighlightColor) does not exist
Jul 13 16:19:59 Toms-Mac [0x0-0x3d03d].org.inkscape.Inkscape[768]: dyld: Library not loaded: /usr/lib/libxml2.2.dylib
Jul 13 16:19:59 Toms-Mac [0x0-0x3d03d].org.inkscape.Inkscape[768]: Referenced from: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
Jul 13 16:19:59 Toms-Mac [0x0-0x3d03d].org.inkscape.Inkscape[768]: Reason: Incompatible library version: DictionaryServices requires version 10.0.0 or later, but libxml2.2.dylib provides version 9.0.0
Jul 13 16:20:00 Toms-Mac ReportCrash[815]: Saved crash report for inkscape-bin[771] version ??? (???) to /Users/tw/Library/Logs/DiagnosticReports/inkscape-bin_2009-07-13-162000_Toms-Mac.crash

~suv (suv-lp) wrote :

> I'd disagree with this being a wishlist item
You are right - I was thinking along the lines 'that's an issue for an upcoming version but of less priority for 0.46 which was released some 15 months ago'. I don't know how many of the developers already have Snow Leopard installed ;-)

Your description fits bug #392693 though the report doesn't state the OS X version used. AFAIK this issue has not (yet ?) been reported with 0.46+devel or 0.47pre.

~suv (suv-lp) wrote :

current dev builds & 0.47pre1 (Leopard) include the required newer version of libxml:

LeWitt:lib suv$ otool -L libxml2.2.dylib
libxml2.2.dylib:
 /opt/local/lib/libxml2.2.dylib (compatibility version 10.0.0, current version 10.3.0)
 /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.0.0)
 /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
 /opt/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
 /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
LeWitt:lib suv$

Michael Wybrow (mjwybrow) wrote :

This is an unfortunate consequence of using DYLD_LIBRARY_PATH, when Apple's system libraries have dependencies on libraries that might also be provided by Macports and bundled with Inkscape.

The right way to fix this is to further investigate and fix the problems with rewriting the install-names for all the libraries bundled with Inkscape, so that DYLD_LIBRARY_PATH is not required.

As ~suv says, this should also be okay at the moment as long as we're providing compatible versions.

Changed in inkscape:
assignee: nobody → Michael Wybrow (mjwybrow)
status: New → Confirmed
birdsaregood (ariel36) wrote :

So does Inkscape work in Snow Leopard?

askmehow (sieroaoj) wrote :

Inkscape 0.46 does not work in my Snow Leopard!
Gimp works fine!

Since it a path but I must use a windows in a vm to make my work but but this problem sucks.

Crash log here:

Process: inkscape-bin [3932]
Path: /Applications/Inkscape.app/Contents/Resources/bin/inkscape-bin
Identifier: inkscape-bin
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: Inkscape [3929]

Date/Time: 2009-09-01 20:12:40.416 +0100
OS Version: Mac OS X 10.6 (10A432)
Report Version: 6

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0

Dyld Error Message:
  Library not loaded: /usr/lib/libxml2.2.dylib
  Referenced from: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
  Reason: Incompatible library version: DictionaryServices requires version 10.0.0 or later, but libxml2.2.dylib provides version 9.0.0

askmehow (sieroaoj) wrote :

Here is the system log output:

Inkscape[3929]: Initializer-based scripting additions have been deprecated. Please update this addition: "/Library/ScriptingAdditions/Adobe Unit Types.osax"
Sep 1 20:12:39 jedi defaults[3953]: \nThe domain/default pair of (kCFPreferencesAnyApplication, AppleHighlightColor) does not exist
Sep 1 20:12:39 jedi [0x0-0xcf0cf].org.inkscape.Inkscape[3929]: 2009-09-01 20:12:39.228 defaults[3953:903]
Sep 1 20:12:39 jedi [0x0-0xcf0cf].org.inkscape.Inkscape[3929]: The domain/default pair of (kCFPreferencesAnyApplication, AppleHighlightColor) does not exist
Sep 1 20:12:40 jedi [0x0-0xcf0cf].org.inkscape.Inkscape[3929]: dyld: Library not loaded: /usr/lib/libxml2.2.dylib
Sep 1 20:12:40 jedi [0x0-0xcf0cf].org.inkscape.Inkscape[3929]: Referenced from: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
Sep 1 20:12:40 jedi [0x0-0xcf0cf].org.inkscape.Inkscape[3929]: Reason: Incompatible library version: DictionaryServices requires version 10.0.0 or later, but libxml2.2.dylib provides version 9.0.0
Sep 1 20:12:41 jedi ReportCrash[3976]: Saved crash report for inkscape-bin[3932] version ??? (???) to /Users/macbook/Library/Logs/DiagnosticReports/inkscape-bin_2009-09-01-201240_Jedi.crash

jazzynico (jazzynico) on 2009-09-23
tags: removed: mac
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers