Inkscape crashes on startup

Bug #608229 reported by Christoph Kaufmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
High
Unassigned

Bug Description

I'm using Inscape on Windows XP Pro SP3. I had 0.46 installed which worked fine, but for no apparent reason stopped working, showing an error ("Inkscape encountered an internal error and will close now") at startup.
I tried out the portable version as well as the recent snapshot but the crash stayed. I also deleted my preferences to no avail.
I have attached the gdb backtrace and hope it helps solving this crash.

Tags: color crash win32
Revision history for this message
Christoph Kaufmann (ck-teewars) wrote :
Revision history for this message
su_v (suv-lp) wrote :

Did you install new color or display profiles right before Inkscape stopped working (possibly with a new monitor or printer driver, or another application)?

from the backtrace:
> #0 0x77c17740 in strcmp () from C:\WINDOWS\system32\msvcrt.dll
> #1 0x6861b047 in g_utf8_collate () from E:\Graphic\Inkscape\libglib-2.0-0.dll
> #2 0x005967ea in findThings ()
> #3 0x00596fd8 in Inkscape::colorprofile_get_system_profile_handle ()
> #4 0x00598aa2 in Inkscape::colorprofile_get_display_transform ()
(…)

Is the backtrace from 0.46 or a recent development build (r9596) / prerelease version (0.48pre1)?

function findThings() in current trunk sources:
 <http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/annotate/head:/src/color-profile.cpp#L688>

function findThings() in 0.46 branch:
<http://bazaar.launchpad.net/~inkscape.dev/inkscape/RELEASE_0_46_BRANCH/annotate/head:/src/color-profile.cpp#L563>

tags: added: color crash win32
Changed in inkscape:
importance: Undecided → High
Revision history for this message
su_v (suv-lp) wrote :

possibly related report:
Bug #498141 “Crash on opening "Inkscape Preferences..." dialog”

Revision history for this message
Christoph Kaufmann (ck-teewars) wrote :

@~suv
Now you mention it, I have installed a new color profile.
I now removed it and rebooted the system but I still get exactly the same crash.

Revision history for this message
Christoph Kaufmann (ck-teewars) wrote :

Sorry I put this in a new comment, but I forgot to mention the Revision of the snapshot. It's 9596.

Revision history for this message
su_v (suv-lp) wrote :

Could you copy the list of paths in 'Inkscape Preferences > Misc > System info' and paste it here?
Possibly some non-utf-8 base path is listed as search path for the color profiles.

Revision history for this message
su_v (suv-lp) wrote :

Same backtrace (on Mac OS X) reported in
Bug #623640 “inkscape 0.48 crashes on startup in colorprofile_get_system_profile_handle()”:
<https://bugs.launchpad.net/inkscape/+bug/623640>

Revision history for this message
Christoph Kaufmann (ck-teewars) wrote :

Sorry, but I cannot give you those paths. Inkscape crashes immediately after startup without any user interaction.

Revision history for this message
su_v (suv-lp) wrote :

> I cannot give you those paths. Inkscape crashes immediately
> after startup without any user interaction.

My bad - what was I thinking? (it's the second time I make this mistake ;) )

Can you try the workaround as described in comment #17 of bug #623640? If you don't have Inkscape 0.47 available, you can edit Inkscape's preferences file (%APPDATA%\Inkscape\preferences.xml) directly in a text editor:
Change 'from_display' in the group 'displayprofile' to '1':

    <group
       id="displayprofile"
       enable="0"
       from_display="1"
       intent="0"
       uri="" />

Revision history for this message
Christoph Kaufmann (ck-teewars) wrote :

After changing the preferences inkscape is not crashing any more. I added the paths as an attachment. There seem to be no paths with non-unicode characters. (I doubt there are any paths like that on my system, as I avoid to use any characters which are not in the basic ASCII set).
Thank you ~suv for looking into this problem. Finally I'm able to use Inkscape again.

Revision history for this message
Vin (vinfxe) wrote :

This was happening to me on 0.48.1 and I uninstalled 0.48.1 and installed to 0.48.2 r9819 hoping that would fix it. I still got the error in 0.48.2. I tried the displayprofile workaround as above but that didn't work:

    <group
       id="displayprofile"
       enable="0"
       from_display="1"
       intent="0"
       uri="" />

What worked for me was deleting %APPDATA%\Inkscape\preferences.xml

That indicates to me there is another setting to fix if you get this error in 0.48.2. Do you know what it is?

FYI: My system is Windows 7 Home Premium/64-bit/SP1, with recent OS updates.

Revision history for this message
jazzynico (jazzynico) wrote :

Marking duplicate of Bug #623640 'inkscape 0.48 crashes on startup in colorprofile_get_system_profile_handle()' <https://bugs.launchpad.net/inkscape/+bug/623640>.
Don't hesitate to comment if you think it's a different issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.