[OS X] 0.47pre1 from sf.net hangs when launched (was Re: Inkscape doens't start anymore)
[full quote to the list]
On 14/7/09 16:35, Giovanni wrote:
Dear ~suv,
thanks for the reply.
On Tue, Jul 14, 2009 at 4:10 PM, ~suv<suv-sf@...58...> wrote:
Which exact versions do you have installed?
- OS X 10.5.7
- XQuartz 2.3.3.2 (xorg-server 1.4.2-apple42) (from xquartz.macosforge.org)
- Inkscape 0.47pre1 r21720, built Jul 6 2009 (from sf.net)
- Can you test that there's no conflict resulting from both (macports
install, packaged build from sf.net) using the same user configuration files?
Move/rename the config directories in $HOME: ~/.config/inkscape (0.46+devel, 0,47pre) ~/.inkscape (0.46) ~/.inkscape-etc other config files used by the macports install? then start the packaged prerelease version again. Any interesting console.log msgs? Do not mix running two installed versions without again renaming the config dirs until you can rule out that it is part of the problem.
If I understood it good: I removed the three directories you mentioned. I started the precompiled Inkscape (0.47pre1 from sf.net) but still with no luck (Console logs end with
Jul 14 16:25:47 92 [0x0-0x56056].org.inkscape.Inkscape[30111]: Emergency save activated! Jul 14 16:25:47 92 [0x0-0x56056].org.inkscape.Inkscape[30111]: Emergency save completed. Inkscape will close now. Jul 14 16:25:47 92 [0x0-0x56056].org.inkscape.Inkscape[30111]: If you can reproduce this crash, please file a bug at www.inkscape.org Jul 14 16:25:47 92 [0x0-0x56056].org.inkscape.Inkscape[30111]: with a detailed description of the steps leading to the crash, so we can fix it.
)
- do you have any suspicious fonts installed?
Check all font directories (/System/Library/Fonts, /Library/Fonts, ~/Library/Fonts, ~/.fonts) for possibly corrupt fonts, move them out of the fonts folder, then clean Inkscape's fontcache: move/rename ~/.fontconfig and restart X11 and Inkscape.app. Any changes?
I removed .fontconfig, restarted everything, but still no luck.
- what about other X11 applications like 'GIMP on OS X' from
gimp.lisanet.de? Do they launch without problems?
I compiled myself the Inkscape package now (following the wiki instructions), and my version work. I.e. the Inkscape.app produced by
./osx-build.sh a c b i -s p
does work normally (it is a .app therefore, it doesn't have anything to do with macports, except it was compiled using its libraries). The Gimp also works.
I really don't know what it could be. To summarized
- I deleted .config/inkscape .inkscape .inkscape-etc .fontconfig but
Inkscape.app from sf.net doesn't start. The errors are as in my first message.
Inkscape package done by me: works.
Inkscape compiled with MacPorts: works.
Inkscape from sf.net was working one week ago.
If needed, this is the report from the Crash Reporter
Date/Time: 2009-07-14 16:28:12 +0200 OS Version: 10.5.7 (Build 9J61) Architecture: i386 Report Version: 4
Command: Inkscape Path: /Users/gio/Applications/Inkscape.app/Contents/MacOS/Inkscape Version: 0.47pre1 (0.47pre1) Parent: launchd [166]
PID: 30111 Event: hang Time: 6.65s Steps: 38
Process: Inkscape [30111] Path: /Users/gio/Applications/Inkscape.app/Contents/MacOS/Inkscape
ADDRESS BINARY 00001000 /Users/gio/Applications/Inkscape.app/Contents/MacOS/Inkscape 00021000 /System/Library/Components/AppleScript.component/Contents/MacOS/AppleScript 000cc000 /Library/ScriptingAdditions/LCC Scroll Enhancer Loader.osax/Contents/MacOS/LCC Scroll Enhancer Loader 000d4000 /Library/Application Support/Logitech.localized/Logitech Control Center.localized/LCC Scroll Enhancer.bundle/Contents/MacOS/LCC Scroll Enhancer 00300000 /System/Library/PrivateFrameworks/AppleScript.framework/Versions/A/AppleScript 1544f000 /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
Thread id: 5226128 User stack: 38 start + 41 (in Inkscape) [0x1e99] 38 __start + 216 (in Inkscape) [0x1f72] 38 _main + 1228 (in Inkscape) [0x2bae] 38 _RunApplicationEventLoop + 222 (in HIToolbox) [0x951932a2] 38 _ToolboxEventDispatcher + 86 (in HIToolbox) [0x95196a4c] 38 _SendEventToEventTarget + 52 (in HIToolbox) [0x95129eac] 38 __Z30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec
- 405 (in HIToolbox) [0x9510d55b] 38
__Z23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec
- 2134 (in HIToolbox) [0x9510e4d6] 38
__Z29ToolboxEventDispatcherHandlerP25OpaqueEventHandlerCallRefP14OpaqueEventRefPv
- 356 (in HIToolbox) [0x9513bd34] 38 _SendEventToEventTargetWithOptions + 58 (in
HIToolbox) [0x9510d3c0] 38 __Z30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec
- 405 (in HIToolbox) [0x9510d55b] 38
__Z23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec
- 1181 (in HIToolbox) [0x9510e11d] 38 _FCCacheFailedHandler + 250 (in
Inkscape) [0x2176] 38 ___wait4_nocancel + 10 (in libSystem.B.dylib) [0x93caf18e]
Thanks again for your attention and your time.
Giovanni
I have no answer nor do I know where to continue to search.
what I can take from the crash report:
FCCacheFailedHandler is the 'Handler for when fontconfig caches need to be generated', defined in http://inkscape.svn.sourceforge.net/viewvc/inkscape/inkscape/trunk/packaging/macosx/ScriptExec/main.c?revision=20240&view=markup, the launcher app based on (an old version of) Platypus. This again points to a font issue - did you have a look at your installed fonts? (font management with/in 'Font Book' has no influence on which fonts inkscape / X11 sees -> Contents/Resources/etc/fonts/font.conf defines the included font directories for inkscape)
But JiHO or Michael would know better how to read the crash report.
~suv
On Tue, Jul 14, 2009 at 5:02 PM, ~suv<suv-sf@...58...> wrote:
did you have a look at your installed fonts? (font management with/in 'Font Book' has no influence on which fonts inkscape / X11 sees -> Contents/Resources/etc/fonts/font.conf defines the included font directories for inkscape)
The installed fonts are the default one, plus other three or four, which doesn't seem to be corrupted. Anyway it is more than 6 months that I don't install any font, therefore I may guess that's not the problem. Anyway, now that you speak of this problem, when everything was working, I wasn't able to select Helvetica as a font. I could select Helvetica CY, but not Helvetica: it was selecting Sans instead (I clicked on Helvetica, and Inkscape selected Sans). Could that be related?
On 14/7/09 17:11, Giovanni wrote:
On Tue, Jul 14, 2009 at 5:02 PM, ~suv<suv-sf@...58...> wrote:
did you have a look at your installed fonts? (font management with/in 'Font Book' has no influence on which fonts inkscape / X11 sees -> Contents/Resources/etc/fonts/font.conf defines the included font directories for inkscape)
The installed fonts are the default one, plus other three or four, which doesn't seem to be corrupted. Anyway it is more than 6 months that I don't install any font, therefore I may guess that's not the problem. Anyway, now that you speak of this problem, when everything was working, I wasn't able to select Helvetica as a font. I could select Helvetica CY, but not Helvetica: it was selecting Sans instead (I clicked on Helvetica, and Inkscape selected Sans). Could that be related?
same here (default install): Helvetica doesn't work, Helvetica CY does (that's related to the pango library AFAIK)
<off-topic> Locally I changed my fonts.conf and took out the (/System)/Library/fonts, then I copied the system fonts I wanted available in Inkscape into a separate directory and used 'fondu' to convert the dfont and other formats into .ttf font files which I then moved to ~/.fonts. Helvetica now works but only in bold and italic. Font support in Inkscape is not yet complete and has some issues. But it improves continuously ;-) </off-topic>
Back to the hanging inkscape: nothing else changed on your system between the last time 0.47pre worked and now?
Just did a test here: quit X11 and move ~/.fontconfig, restart the (original) Inkscape.app (Inkscape 0.47pre1) and get a hang as well (no crash, inkscape just doesn't launch, nor does X11).
Inkscape does not create a missing ~/.fontconfig directory itself.
mkdir ~/.fontconfig, then restart Inkscape.app - takes some time to build the fontcache, but launches finally and runs ok.
~suv
On 14/7/09 18:07, ~suv wrote:
On 14/7/09 17:11, Giovanni wrote:
On Tue, Jul 14, 2009 at 5:02 PM, ~suv<suv-sf@...58...> wrote:
did you have a look at your installed fonts? (font management with/in 'Font Book' has no influence on which fonts inkscape / X11 sees -> Contents/Resources/etc/fonts/font.conf defines the included font directories for inkscape)
<…>
Back to the hanging inkscape: nothing else changed on your system between the last time 0.47pre worked and now?
Another thought: Have you tried to launch Inkscape.app (sf.net) as a different user?
What happens if you create a new user account and launch Inkscape.app (sf.net) as new user?
~suv
Ok.
.fontconfig exists, but the sf.net inkscape won't launch. Then: I changed account but, after the creation of .fontconfig, inkscape won't launch (before the creation of .fontconfig on the new account, Inkscape wasn't working).
So...I really don't know what is going on. For now I'll just use the one compiled from svn. It's no big deal, major updates are not daily, I can afford 30' of compile time every month or so..
Giovanni
On Wed, Jul 15, 2009 at 6:19 AM, ~suv<suv-sf@...58...> wrote:
On 14/7/09 18:07, ~suv wrote:
On 14/7/09 17:11, Giovanni wrote:
On Tue, Jul 14, 2009 at 5:02 PM, ~suv<suv-sf@...58...> wrote:
did you have a look at your installed fonts? (font management with/in 'Font Book' has no influence on which fonts inkscape / X11 sees -> Contents/Resources/etc/fonts/font.conf defines the included font directories for inkscape)
<…>
Back to the hanging inkscape: nothing else changed on your system between the last time 0.47pre worked and now?
Another thought: Have you tried to launch Inkscape.app (sf.net) as a different user?
What happens if you create a new user account and launch Inkscape.app (sf.net) as new user?
~suv
On 15/7/09 10:01, Giovanni wrote:
.fontconfig exists, but the sf.net inkscape won't launch. Then: I changed account but, after the creation of .fontconfig, inkscape won't launch (before the creation of .fontconfig on the new account, Inkscape wasn't working).
So...I really don't know what is going on. For now I'll just use the one compiled from svn. It's no big deal, major updates are not daily, I can afford 30' of compile time every month or so..
I have not yet any experience with macports myself - so, another guess:
from https://bugs.launchpad.net/inkscape/+bug/392693
As an aside, Inkscape's libraries all have install-names of /opt/local/lib, and Inkscape uses DYLD_LIBRARY_PATH to find them, which is probably not a good idea--- for bundled libraries, it's much less trouble-prone to use the @executable_path or (on 10.5 and up) @loader_path and @rpath features of dyld.
- could it still be the mix of local macports install and the precompiled bundle? Are there libs you have installed in '/opt/local/lib' - from macports? What happens if you temporarily rename '/opt'
- coming back to earlier console messages: when I call inkscape-bin directly I get this:
| LeWitt:bin suv$ ./inkscape-bin | dyld: Library not loaded: /opt/local/lib/libgtkmm-2.4.1.dylib | Referenced from: /Volumes/blue/src/Inkscape/Inkscape-0.47-pre1-1.LEOPARD/Inkscape-047pre1-1.app-orig/Contents/Resources/bin/./inkscape-bin | Reason: image not found | Trace/BPT trap | LeWitt:bin suv$
whereas your inkscape-bin crashed on | dyld: Library not loaded: /opt/local/lib/libgsl.0.dylib
~suv
Yep, this made the trick. I renamed /opt to /optr and now Inkscape from sourceforge works. But..I need to have /opt..what can I do?
On Wed, Jul 15, 2009 at 10:29 AM, ~suv<suv-sf@...58...> wrote:
On 15/7/09 10:01, Giovanni wrote:
.fontconfig exists, but the sf.net inkscape won't launch. Then: I changed account but, after the creation of .fontconfig, inkscape won't launch (before the creation of .fontconfig on the new account, Inkscape wasn't working).
So...I really don't know what is going on. For now I'll just use the one compiled from svn. It's no big deal, major updates are not daily, I can afford 30' of compile time every month or so..
I have not yet any experience with macports myself - so, another guess:
from https://bugs.launchpad.net/inkscape/+bug/392693
As an aside, Inkscape's libraries all have install-names of /opt/local/lib, and Inkscape uses DYLD_LIBRARY_PATH to find them, which is probably not a good idea--- for bundled libraries, it's much less trouble-prone to use the @executable_path or (on 10.5 and up) @loader_path and @rpath features of dyld.
- could it still be the mix of local macports install and the
precompiled bundle? Are there libs you have installed in '/opt/local/lib' - from macports? What happens if you temporarily rename '/opt'
- coming back to earlier console messages: when I call inkscape-bin
directly I get this:
| LeWitt:bin suv$ ./inkscape-bin | dyld: Library not loaded: /opt/local/lib/libgtkmm-2.4.1.dylib | Referenced from: /Volumes/blue/src/Inkscape/Inkscape-0.47-pre1-1.LEOPARD/Inkscape-047pre1-1.app-orig/Contents/Resources/bin/./inkscape-bin | Reason: image not found | Trace/BPT trap | LeWitt:bin suv$
whereas your inkscape-bin crashed on | dyld: Library not loaded: /opt/local/lib/libgsl.0.dylib
~suv
Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On 15/7/09 10:41, Giovanni wrote:
Yep, this made the trick. I renamed /opt to /optr and now Inkscape from sourceforge works. But..I need to have /opt..what can I do?
open a bug report on launchpad?
Probably there are configure or compile options (as mentioned in bug #392693) that make Inkscape.app really self contained i.e. only loading system libs as fallback when there is none included in the package) - maybe a search on ADC for 'executable_path or (on 10.5 and up) @loader_path and @rpath features of dyld' does help to create a patch for inkscape/trunk/packaging/macosx building scripts?
Or change your macports installation: doesn't it allow (with a prefix) to change the location of its libraries ('/opt' being the default but not mandatory)?
~suv
On 15/07/2009, at 6:41 PM, Giovanni wrote:
Yep, this made the trick. I renamed /opt to /optr and now Inkscape from sourceforge works. But..I need to have /opt..what can I do?
This bug is fixed in SVN, and is included in the Inkscape-0.47- pre1-2.LEOPARD.dmg package I just uploaded to SourceForge.
Cheers, Michael
Thanks Michael! I really appreciate the effort the deveopers are putting inside this amazingly good piece of software!
On Mon, Jul 20, 2009 at 4:56 AM, Michael Wybrow<michael.wybrow@...38...> wrote:
On 15/07/2009, at 6:41 PM, Giovanni wrote:
Yep, this made the trick. I renamed /opt to /optr and now Inkscape from sourceforge works. But..I need to have /opt..what can I do?
This bug is fixed in SVN, and is included in the Inkscape-0.47-pre1-2.LEOPARD.dmg package I just uploaded to SourceForge.
Cheers, Michael
participants (3)
-
Giovanni
-
Michael Wybrow
-
~suv