Number: 2109
Title: graphvix does not run
Submitter: Yuan Yuan
Date: Thu Jan 13 17:01:26 2011
Subsys: Dot
Version: 2.26.3
System: x86-OSX-10.6.4
Severity: critical
Problem: After installation, when I click graphviz from applications, it just does not run.
Comments:
[erg] Does anything happen? Normally, when you click to open the graphviz application, you should see Graphviz in the top menu bar, showing that graphviz is running and has control of the GUI, and you should get a file system window, with the label Open. This allows you to pick the graph file you wish to open and have graphviz display. Only when you have chosen a file does graphviz open an application window.

If none of the above is happening, please let us know.

[yuan] Yes, none of what you said happened. After clicking Graphviz, an icon appeared in the Dock for less than a millisecond, and then disappeared. I cannot see what the icon is. Maybe it just createed an empty space in the Dock and then failed. Other than that, nothing happened.

[erg] Well, stating the obvious, it sounds like the app is exiting immediately. It could be that app itself is crashing, or it can't find a resource and exits. I doubt the latter, as one would expect an error message. Since it works fine for me on osx 10.6.5, I don't know what to suggest beside re-installing it. Maybe Glen has a suggestion.

[ryan] Since the app seems to be crashing, there should be a crash report in ~/Library/Library/Logs/DiagnosticReports which could be useful. There may also be messages displayed in /Applications/Utilities/Console.

[yuan]


Here is the console messages:

2/25/11 2:15:58 PM [0x0-0x410410].com.att.graphviz[57069] dyld: Library not loaded: /usr/local/lib/libcdt.4.dylib 2/25/11 2:15:58 PM [0x0-0x410410].com.att.graphviz[57069] Referenced from: /Applications/Graphviz.app/Contents/MacOS/Graphviz 2/25/11 2:15:58 PM [0x0-0x410410].com.att.graphviz[57069] Reason: no suitable image found. Did find: 2/25/11 2:15:58 PM [0x0-0x410410].com.att.graphviz[57069] /usr/local/lib/libcdt.4.dylib: stat() failed with errno=13 2/25/11 2:15:58 PM [0x0-0x410410].com.att.graphviz[57069] /usr/local/lib/libcdt.4.dylib: stat() failed with errno=13 2/25/11 2:15:58 PM com.apple.launchd.peruser.97012[214] ([0x0-0x410410].com.att.graphviz[57069]) Job appears to have crashed: Trace/BPT trap 2/25/11 2:15:58 PM com.googlecode.pymacadmin.crankd[68] INFO: Application Quit: bundle_id: com.att.graphviz version: 2.27.20110113.0545 path: /Applications/Graphviz.app 2/25/11 2:15:58 PM ReportCrash[57072] Saved crash report for Graphviz[57069] version ??? (???) to /Users/yuany/Library/Logs/DiagnosticReports/Graphviz_2011-02-25-141558_yuany-macbookpro.crash

and here is the content of the crash report: Process: Graphviz [57069] Path: /Applications/Graphviz.app/Contents/MacOS/Graphviz Identifier: com.att.graphviz Version: ??? (???) Code Type: X86 (Native) Parent Process: launchd [214]

Date/Time: 2011-02-25 14:15:58.402 -0800 OS Version: Mac OS X 10.6.6 (10J567) Report Version: 6

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

Dyld Error Message: Library not loaded: /usr/local/lib/libcdt.4.dylib Referenced from: /Applications/Graphviz.app/Contents/MacOS/Graphviz Reason: no suitable image found. Did find: /usr/local/lib/libcdt.4.dylib: stat() failed with errno=13 /usr/local/lib/libcdt.4.dylib: stat() failed with errno=13

Binary Images: 0x8fe00000 - 0x8fe4162b dyld 132.1 (???) <749D24EE-54BD-D74B-D305-C13F5E6C95D8> /usr/lib/dyld

[erg] Okay, error 13 on /usr/local/lib/libcdt.4.dylib indicates a permission problem on that file. Do an ls -l /usr/local/lib/libcdt.4.dylib and see what you get. It should have permission 775.

[yuan] Great, thanks. Now problem solved.
Owner: erg
Status: Fixed (26 Feb 2011)