crash at startup, possibly due to preferences.xml file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Medium
|
Unassigned |
Bug Description
Only if you're interested... I can fix this by
reinstalling but nevertheless Inkscape should never crash.
Steps: Just start the program and (apparently) have a
read-only preferences.xml file, then click "OK" when
the warning comes up, Inkscape will crash very hard ;-).
Output:
/home/pjv/
Document is empty
^
/home/pjv/
Start tag expected, '<' not found
^
*** glibc detected *** inkscape: double free or
corruption (!prev): 0x08771700 ***
======= Backtrace: =========
/lib/libc.
/lib/libc.
/usr/lib/
inkscape(
======= Memory map: ========
08048000-084f8000 r-xp 00000000 03:08 15974369
/usr/bin/inkscape
084f8000-08501000 rw-p 004b0000 03:08 15974369
/usr/bin/inkscape
08501000-08502000 rw-p 08501000 00:00 0
08503000-08597000 rw-p 004b8000 03:08 15974369
/usr/bin/inkscape
08597000-087e4000 rw-p 08597000 00:00 0 [heap]
43929000-43943000 r-xp 00000000 03:08 14409848
/lib/ld-2.4.so
43943000-43944000 r--p 00019000 03:08 14409848
/lib/ld-2.4.so
43944000-43945000 rw-p 0001a000 03:08 14409848
/lib/ld-2.4.so
43947000-43949000 r-xp 00000000 03:08 15016301
/lib/libutil-2.4.so
43949000-4394b000 rw-p 00001000 03:08 15016301
/lib/libutil-2.4.so
43950000-43a69000 r-xp 00000000 03:08 14515726
/lib/libc-2.4.so
43a69000-43a6b000 r--p 00118000 03:08 14515726
/lib/libc-2.4.so
43a6b000-43a6d000 rw-p 0011a000 03:08 14515726
/lib/libc-2.4.so
43a6d000-43a70000 rw-p 43a6d000 00:00 0
43a72000-43a95000 r-xp 00000000 03:08 14515745
/lib/libm-2.4.so
43a95000-43a97000 rw-p 00022000 03:08 14515745
/lib/libm-2.4.so
43a99000-43a9b000 r-xp 00000000 03:08 14515739
/lib/libdl-2.4.so
43a9b000-43a9d000 rw-p 00001000 03:08 14515739
/lib/libdl-2.4.so
43a9f000-43aae000 r-xp 00000000 03:08 7647367
/lib/libpthread
43aae000-43aaf000 r--p 0000f000 03:08 7647367
/lib/libpthread
43aaf000-43ab0000 rw-p 00010000 03:08 7647367
/lib/libpthread
43ab0000-43ab2000 rw-p 43ab0000 00:00 0
43ab4000-43ab6000 r-xp 00000000 03:08 14515784
/usr/lib/
43ab6000-43ab7000 rw-p 00001000 03:08 14515784
/usr/lib/
43ab9000-43ac5000 r-xp 00000000 03:08 14515740
/usr/lib/
43ac5000-43ac7000 rw-p 0000b000 03:08 14515740
/usr/lib/
43ac9000-43b94000 r-xp 00000000 03:08 14515786
/usr/lib/
43b94000-43b99000 rw-p 000ca000 03:08 14515786
/usr/lib/
43b9b000-43ba0000 r-xp 00000000 03:08 14515785
/usr/lib/
43ba0000-43ba1000 rw-p 00004000 03:08 14515785
/usr/lib/
43ba3000-43bb1000 r-xp 00000000 03:08 14515787
/usr/lib/
43bb1000-43bb2000 rw-p 0000d000 03:08 14515787
/usr/lib/
43bdc000-43c4a000 r-xp 00000000 03:08 13667497
/usr/lib/
43c4a000-43c4d000 rw-p 0006e000 03:08 13667497
/usr/lib/
43c4f000-43c56000 r-xp 00000000 03:08 13667490
/usr/lib/
43c56000-43c57000 rw-p 00006000 03:08 13667490
/usr/lib/
43c59000-43c77000 r-xp 00000000 03:08 14658625
/usr/lib/
43c77000-43c79000 rw-p 0001d000 03:08 14658625
/usr/lib/
43c7b000-43cee000 r-xp 00000000 03:08 14515765
/usr/lib/
43cee000-43cef000 rw-p 00073000 03:08 14515765
/usr/lib/
43cf1000-43cf9000 r-xp 00000000 03:08 13667501
/usr/lib/
43cf9000-43cfa000 rw-p 00007000 03:08 13667501
/usr/lib/
43cfc000-43d23000 r-xp 00000000 03:08 14658630
/usr/lib/
00027000 03:08 14658630
/usr/lib/
43d28000 00:00 0
43d2b000-43d48000 r-xp 00000000 03:08 14658388
/usr/lib/
43d48000-43d49000 rw-p 0001c000 03:08 14658388
/usr/lib/
43d4b000-43d53000 r-xp 00000000 03:08 14658387
/usr/lib/
43d53000-43d54000 rw-p 00007000 03:08 14658387
/usr/lib/
43d56000-43d84000 r-xp 00000000 03:08 14515769
/usr/lib/
43d84000-43d85000 rw-p 0002e000 03:08 14515769
/usr/lib/
43d87000-43d90000 r-xp 00000000 03:08 15005302 /usr/lib/l
Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at
www.inkscape.org
with a detailed description of the steps leading to the
crash, so we can fix it.
> Only if you're interested... I can fix this by .inkscape/ preferences. xml:1: parser error :
> reinstalling but nevertheless Inkscape should never crash.
>
> Steps: Just start the program and (apparently) have a
> read-only preferences.xml file, then click "OK" when
> the warning comes up, Inkscape will crash very hard ;-).
>
> Output:
> /home/pjv/
> Document is empty
Agreed, inkscape should be uncrashable at least in theory.
In practise making it uncrashable might be impractical and
far more time consuming than it is worth.
at a glance it looks like your problem could have been fixed
by deleting or otherwise removing your inkscape
preferences.xml file rather than needing a full reinstall.
(should add that to the FAQ as a big thing to try when
troubleshooting startup errors.)
When you say "apparently read only" have you tested this
theory by deliberately setting the file as read-only?
Do you have a copy of the dodgy preferences.xml file that
caused this problem?