0.48.1 - OS X- Inkscape encountered an internal.. - SOLVED

General discussions about Inkscape.
Jmx
Posts: 49
Joined: Sun Dec 14, 2008 2:32 am

0.48.1 - OS X- Inkscape encountered an internal.. - SOLVED

Postby Jmx » Fri Mar 11, 2011 5:35 am

Hello,

I have a weird problem with the new 0.48.1 in OS X 10.6.6. (latest Quartz 2.6.0)

1. On my main account 0.48.1 starts/runs fine.
2. On my other account which is just for doing screen recordings (clean desktop and dock)
it crash at startup with this message:

Code: Select all

Inkscape encountered an internal error and will close now.

But if i first start the previous 0.48.0, quit and then start 0.48.1 it works.
I've tried making a few new accounts and this problem happens on every account except for my main account.

Anyone have a clue what could cause this and what to do?
I really would like 0.48.1 to work OK on on any account.

Thanks :?
Last edited by Jmx on Sat Mar 12, 2011 1:32 am, edited 1 time in total.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: 0.48.1 - OS X- Inkscape encountered an internal error

Postby ~suv » Fri Mar 11, 2011 9:59 am

To further investigate the issue, more information is needed beyond the generic error message "Inkscape encountered an internal error and will close now.":

  1. Console messages
    1. open 'Applications > Utilities > Console'
    2. select 'All messages' from 'LOG DATABASE QUERIES' in the log list on the left
    3. clear the display ('View > Clear Display' or ⌘K)
    4. launch Inkscape, wait for it to crash
    5. copy the messages from the Console window into a new TextEdit document and save it (please use 'Plain Text' format)
    6. attach the console log here or pastebin its contents and share the link here
  2. Crash Report
    1. in the Finder, browse to 'Home > Library > Logs > DiagnosticReports'
    2. search for the latest crash report from Inskcape (the file name contains 'inkscape-bin', as well as a date and time stamp)
    3. attach the crash report or pastebin its contents and share the link here

Additional notes for trouble-shooting the issue:
Jmx wrote:On my main account 0.48.1 starts/runs fine.
In which folder do you have Inkscape installed? Do all users have equally permissions to run applications from that location?
Jmx wrote:But if i first start the previous 0.48.0, quit and then start 0.48.1 it works.
Does it depend on doing that within a certain time span, or just within the same login session (or X11 session)?
Jmx wrote:I've tried making a few new accounts and this problem happens on every account except for my main account.
Have you tried launching X11 first by itself (not 'auto-launched' by Inkscape) to exclude that it's an issue with your Xquartz installation? Do other X11 apps (e.g. Gimp on OS X) run with all accounts?

Jmx
Posts: 49
Joined: Sun Dec 14, 2008 2:32 am

Re: 0.48.1 - OS X- Inkscape encountered an internal error

Postby Jmx » Fri Mar 11, 2011 11:32 am

Thanks ~suv for taking the time to help!

I've attached both files.

~suv wrote:In which folder do you have Inkscape installed? Do all users have equally permissions to run applications from that location?

I have tried it in the default Application folder, Desktop and my usual Application/Grafik folder, same result.
~suv wrote:Does it depend on doing that within a certain time span, or just within the same login session (or X11 session)?

Doesn't matter how or when i start it, it crash upon startup, but after further testing it now mostly crash even after 0.48.0.
~suv wrote:Have you tried launching X11 first by itself (not 'auto-launched' by Inkscape) to exclude that it's an issue with your Xquartz installation? Do other X11 apps (e.g. Gimp on OS X) run with all accounts?

Yes i've started X11 first and then 0.48.1, still crash. Even started 0.48.0, quit it and left X11 running and then start 0.48.1 and i still get crash.
If i close everything and try again and again, i sometimes get it running, but as soon as i quit and try relaunch it crash.
Gimp runs fine in any account, so does Inkscape 0.48.0.
Strange that 0.48.1 runs fine all the time on my main account, but not on any other accounts.
It runs fine on my 10.6.6 Macbook though, but not on my Mac Pro
Attachments
Crash-logs.zip
Crash log files
(22.13 KiB) Downloaded 299 times

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: 0.48.1 - OS X- Inkscape encountered an internal error

Postby ~suv » Fri Mar 11, 2011 3:52 pm

Jmx wrote:I've attached both files.
From your (duplicate) crash report:

Code: Select all

0   libSystem.B.dylib                0x96a5c0c0 _UTF8_mbsnrtowcs + 62
1   libSystem.B.dylib                0x96a93f6c mbsrtowcs_l + 100
2   libSystem.B.dylib                0x96a91a66 __collate_mbstowcs + 149
3   libSystem.B.dylib                0x96a00cde strcoll_l + 121
4   libSystem.B.dylib                0x96a00c5f strcoll + 61
5   libglib-2.0.0.dylib              0x01f9024c g_utf8_collate + 124
6   inkscape-bin                     0x0001a145 findThings() + 357
7   inkscape-bin                     0x0001a5d3 Inkscape::colorprofile_get_system_profile_handle() + 691
8   inkscape-bin                     0x0001c0c9 Inkscape::colorprofile_get_display_transform() + 1337

It seems to be the same error as in
Please try this workaround [1]:
With each account where Inkscape 0.48.1 fails to launch:
  1. start the last working version of Inkscape (0.47, or 0.48.0)
  2. open 'File > Inkscape Preferences > Color Management'
  3. check "[x] Retrieve profile from display"
  4. quit Inkscape
  5. launch Inkscape 0.48.1

As for the reasons why 0.48.0 apparently works for you, but 0.48.1 fails to properly handle the color profiles located on your system - I can only guess (in earlier user reports, 0.47 launched without error, but 0.48.0 always crashed):
  • IIRC some internal routines to retrieve color profiles have been changed, and 0.48.1 possibly locates more installed profiles?
  • the default (new) user accounts have a different setup (monitor configuration, installed software) - compared to your (older?) main account?
  • login items and currently running applications: one user reported this observation: «I noticed that in my case the error only appeared when certain apps were running: I was running word 2008 while I launched inkscape. Everything went fine. Then I opened Safari and Preview. When I closed inkscape and tried to reopen it showed again the internal error message.»
You can try to further investigate by e.g. making a list of the profiles that Inkscape finds in each account and comparing them to those from your main account :
  • profile search paths
    the tooltip of the drop-down with detected display profiles ('Inkscape preferences > Color management > Display adjustment > Display profile') lists all paths that Inkscape searches: you can browse them in the Finder and check the profiles located there
  • available profiles
    for each account take notes of all profiles listed in
    1. 'Preferences > Color management > Display adjustement > Display profiles'
    2. 'Preferences > Color management > Color proofing > Device profile'
    3. 'Document Properties > Color Management > Available Color Profiles'
  • identify the profile(s) that trigger the crash
    so far not many details are known about the actual cause, but several users have been able to narrow down the problem to a single profile (possibly installed by third-party apps like Adobe CS4) by validating the installed profiles, and by removing and adding back one-by-one the installed profiles
In case you can identify a single color profile (display, printer or other) which Inkscape 0.48.1 fails to properly handle, please consider attaching it to the bug report (together with some basic information about your system setup).

[1] the same can be done without launching Inkscape, by manually editing the preferences file - I can give you detailed instructions if needed.

Jmx
Posts: 49
Joined: Sun Dec 14, 2008 2:32 am

Re: 0.48.1 - OS X- Inkscape encountered an internal error

Postby Jmx » Sat Mar 12, 2011 12:44 am

@~suv

That solved my problem and now it starts/runs just fine.
Super thanks for taking the time to explain and help.

Image
~suv wrote:Please try this workaround [1]:
With each account where Inkscape 0.48.1 fails to launch:
  1. start the last working version of Inkscape (0.47, or 0.48.0)
  2. open 'File > Inkscape Preferences > Color Management'
  3. check "[x] Retrieve profile from display"
  4. quit Inkscape
  5. launch Inkscape 0.48.1

Lubaum
Posts: 2
Joined: Tue Dec 06, 2011 2:47 am

Re: 0.48.1 - OS X- Inkscape encountered an internal.. - SOLV

Postby Lubaum » Tue Dec 06, 2011 3:17 am

Hello,

I have exactly the same problem as mentioned above, but NO VERSION of Inkscape LAUNCHES anymore.
I always get the same message: "Inkscape encountered an internal error and will close now."

What else can be done, without launching it?

My system:
Mac OS X 10.6.8
Logs are attached

Thank you for helping me!
Lubaum
Attachments
Logs.zip
Log files
(58.84 KiB) Downloaded 288 times

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: 0.48.1 - OS X- Inkscape encountered an internal.. - SOLV

Postby ~suv » Tue Dec 06, 2011 8:43 am

Lubaum wrote:I have exactly the same problem as mentioned above, but NO VERSION of Inkscape LAUNCHES anymore.
I always get the same message: "Inkscape encountered an internal error and will close now."

What else can be done, without launching it?

My system:
Mac OS X 10.6.8
Logs are attached

From the log file crash report:

Code: Select all

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib                0x969e7dc8 _UTF8_mbsnrtowcs + 62
1   libSystem.B.dylib                0x96a1fc90 mbsrtowcs_l + 100
2   libSystem.B.dylib                0x96a1d78a __collate_mbstowcs + 149
3   libSystem.B.dylib                0x9698c8ee strcoll_l + 121
4   libSystem.B.dylib                0x9698c86f strcoll + 61
5   libglib-2.0.0.dylib              0x01f9024c g_utf8_collate + 124
6   inkscape-bin                     0x0034c0ee font_factory::GetUIFamiliesAndStyles(std::map<Glib::ustring, std::list<Glib::ustring, std::allocator<Glib::ustring> >, std::less<Glib::ustring>, std::allocator<std::pair<Glib::ustring const, std::list<Glib::ustring, std::allocator<Glib::ustring> > > > >*) + 510
7   inkscape-bin                     0x00354d1a Inkscape::FontLister::FontLister() + 410
it appears that the crash occurs when preparing the list of installed fonts…

You could try to remove [1] fonts you have installed lately - maybe you can figure out if and which one triggers the crash?

[1] Disabling fonts in Font Book does not have an effect for Inkscape: you have to actually move the font(s) out of the 'Fonts' folder.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: 0.48.1 - OS X- Inkscape encountered an internal.. - SOLV

Postby ~suv » Tue Dec 06, 2011 8:56 am

Lubaum wrote:My system:
Mac OS X 10.6.8
Logs are attached

From the console log:

Code: Select all

01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   Emergency save activated!
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   Emergency save completed. Inkscape will close now.
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   If you can reproduce this crash, please file a bug at www.inkscape.org
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   with a detailed description of the steps leading to the crash, so we can fix it.
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   (inkscape-bin:3460): Gtk-WARNING **: ChannelsAction: missing action ChannelsAction
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   (inkscape-bin:3460): Gtk-WARNING **: ThresholdAction: missing action ThresholdAction
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   (inkscape-bin:3460): Gtk-WARNING **: OffsetAction: missing action OffsetAction
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   (inkscape-bin:3460): Gtk-WARNING **: PaintbucketUnitsAction: missing action PaintbucketUnitsAction
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   (inkscape-bin:3460): Gtk-WARNING **: AutoGapAction: missing action AutoGapAction
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   (inkscape-bin:3460): Gtk-WARNING **: PaintbucketResetAction: missing action PaintbucketResetAction
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   (inkscape-bin:3460): Gtk-WARNING **: TextFontFamilyAction: missing action TextFontFamilyAction
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   (inkscape-bin:3460): Gtk-WARNING **: TextFontSizeAction: missing action TextFontSizeAction
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   (inkscape-bin:3460): Gtk-WARNING **: TextBoldAction: missing action TextBoldAction
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   (inkscape-bin:3460): Gtk-WARNING **: TextItalicAction: missing action TextItalicAction
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   (inkscape-bin:3460): Gtk-WARNING **: TextAlignAction: missing action TextAlignAction
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   (inkscape-bin:3460): Gtk-WARNING **: TextSuperscriptAction: missing action TextSuperscriptAction
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   (inkscape-bin:3460): Gtk-WARNING **: TextSubscriptAction: missing action TextSubscriptAction
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   (inkscape-bin:3460): Gtk-WARNING **: TextLineHeightAction: missing action TextLineHeightAction
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   (inkscape-bin:3460): Gtk-WARNING **: TextLetterSpacingAction: missing action TextLetterSpacingAction
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   (inkscape-bin:3460): Gtk-WARNING **: TextWordSpacingAction: missing action TextWordSpacingAction
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   (inkscape-bin:3460): Gtk-WARNING **: TextDxAction: missing action TextDxAction
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   (inkscape-bin:3460): Gtk-WARNING **: TextDyAction: missing action TextDyAction
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   (inkscape-bin:3460): Gtk-WARNING **: TextRotationAction: missing action TextRotationAction
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   (inkscape-bin:3460): Gtk-WARNING **: TextOrientationAction: missing action TextOrientationAction
01.12.11 10:23:02   [0x0-0x30030].org.inkscape.Inkscape[3456]   (inkscape-bin:3460): Gtk-WARNING **: DropperOpacityAction: missing action DropperOpacityAction
Oddly, a bug report was recently filed for Inkscape (built with MacPorts on OS X Lion), with the console warnings (unfortunately the user did not provide additional information so far, nor attach a crash report ot backtrace):
Bug #898704 in Inkscape: “MacPort Inkscape on Lion crash at startup” (Incomplete)

I can't tell though whether the two reports are related, nor did I find any earlier reports about Inkscape failing to launch on Mac OS X which had the same type of console warnings ('missing action'). For most users, Inkscape (0.48.2 and earlier versions) work ok on Mac OS X Snow Leopard.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: 0.48.1 - OS X- Inkscape encountered an internal.. - SOLV

Postby ~suv » Tue Dec 06, 2011 9:07 am

List of fonts from the console log about which X11 complains:

Code: Select all

01.12.11 10:15:51   org.x.startx[344]   Couldn't determine full name for AESYSMAT.FON\
01.12.11 10:15:51   org.x.startx[344]   Couldn't determine slant for AESYSMAT.FON
01.12.11 10:15:51   org.x.startx[344]   Couldn't determine weight for AESYSMAT.FON
01.12.11 10:15:51   org.x.startx[344]   Couldn't get family name for AESYSMAT.FON
01.12.11 10:16:01   org.x.startx[344]   Couldn't determine full name for HARRBM.FON
01.12.11 10:16:01   org.x.startx[344]   Couldn't determine slant for HARRBM.FON
01.12.11 10:16:01   org.x.startx[344]   Couldn't determine weight for HARRBM.FON
01.12.11 10:16:01   org.x.startx[344]   Couldn't get family name for HARRBM.FON
01.12.11 10:16:05   org.x.startx[344]   Couldn't determine full name for ODOMBM.FON
01.12.11 10:16:05   org.x.startx[344]   Couldn't determine slant for ODOMBM.FON
01.12.11 10:16:05   org.x.startx[344]   Couldn't determine weight for ODOMBM.FON
01.12.11 10:16:05   org.x.startx[344]   Couldn't get family name for ODOMBM.FON
01.12.11 10:16:08   org.x.startx[344]   Couldn't determine full name for QUAKEBM.FON
01.12.11 10:16:08   org.x.startx[344]   Couldn't determine slant for QUAKEBM.FON
01.12.11 10:16:08   org.x.startx[344]   Couldn't determine weight for QUAKEBM.FON
01.12.11 10:16:08   org.x.startx[344]   Couldn't get family name for QUAKEBM.FON
01.12.11 10:16:09   org.x.startx[344]   Couldn't determine full name for RADIOBM.FON
01.12.11 10:16:09   org.x.startx[344]   Couldn't determine slant for RADIOBM.FON
01.12.11 10:16:09   org.x.startx[344]   Couldn't determine weight for RADIOBM.FON
01.12.11 10:16:09   org.x.startx[344]   Couldn't get family name for RADIOBM.FON
01.12.11 10:16:16   org.x.startx[344]   Couldn't determine full name for YELBM.FON
01.12.11 10:16:16   org.x.startx[344]   Couldn't determine slant for YELBM.FON
01.12.11 10:16:16   org.x.startx[344]   Couldn't determine weight for YELBM.FON
01.12.11 10:16:16   org.x.startx[344]   Couldn't get family name for YELBM.FON


Also, there are several error messages from Apple's own font system (com.apple.fontd), and there is a recent message warning about your disk getting (or being) full (possibly due to log files or other system files which the Finder usually hides from normal users) - this one occurred right after installing 'Sophos Anti-Virus':

Code: Select all

01.12.11 10:22:28   KernelEventAgent[43]   tid 00000000 received event(s) VQ_LOWDISK, VQ_VERYLOWDISK (516)

Lubaum
Posts: 2
Joined: Tue Dec 06, 2011 2:47 am

Re: 0.48.1 - OS X- Inkscape encountered an internal.. - SOLV

Postby Lubaum » Tue Dec 06, 2011 10:32 pm

Thanks a lot!

THIS...
You could try to remove [1] fonts you have installed lately - maybe you can figure out if and which one triggers the crash?
[1] Disabling fonts in Font Book does not have an effect for Inkscape: you have to actually move the font(s) out of the 'Fonts' folder.

...HELPED.

Indeed, I installed new fonts lately. It was boring at school, so I downloaded several hundred fonts manually... :-) I guess it takes a while to figure out which one/-s is/are the mad one/-s...

Thank you again,
Lubaum

DaveL
Posts: 1
Joined: Sat Sep 08, 2012 1:10 pm

Re: 0.48.1 - OS X- Inkscape encountered an internal.. - SOLV

Postby DaveL » Sat Sep 08, 2012 1:23 pm

I'm having the same problem (won't open and get the same error message) but can't tell from the logs what I need to do.

Here's what I'm running on:
Mac OS X Version 10.6.7

Downloaded:
Inkscape-0.48.2-1-SNOWLEOPARD.dmg
XQuartz (removed X11 and then logged out)

It crashed a couple of times when just opening the application in the Applications menu...but then I opened an example file using Inkscape and it opened. Interface language was changed to English and then I closed it. I tried opening it the same way and got a "Inkscape encountered an internal error and will close now". The interface language is still English and I can see the example file but it won't let me do anything. It now crashes both ways (opening it directly or by opening a file). I've since deleted all XQuartz/X11 and Inkscape files and reinstalled both applications. Attached is the most recent console log.

Any suggestions?
Attachments
Console Log.pdf
(29.13 KiB) Downloaded 369 times


Return to “General Discussions”