Emergency save destroys config file
Bug #481252 reported by
Carsten Otto
This bug report is a duplicate of:
Bug #168086: crash at startup, possibly due to preferences.xml file.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
When causing an emergency save, e.g. by crashing inkscape with a huge .svg, the config file is emptied as a side effect of the crash. At the next start, inkscape complains about the config file and, obviously, does not remember any setting.
$ inkscape file.svg
Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
Emergency save activated!
$ inkscape
$HOME/.
^
$HOME/.
^
Could you provide information about you platform? From the path to your preferences file I conclude this crash happens with Inkscape 0.46. Would you be willing to test if it still happens with a recent prerelease build of Inkscape 0.47(pre4) from <http:// sourceforge. net/projects/ inkscape/ files/inkscape/ 0.47pre4/>?
related: /bugs.launchpad .net/inkscape/ +bug/167242> /bugs.launchpad .net/inkscape/ +bug/226565> bugs.debian. org/cgi- bin/bugreport. cgi?bug= 503218>
Bug #167242 “WinXP2 Preferences.xml Crash”
<https:/
Bug #226565: "Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS"
<https:/
Debian Bug report 503218 - inkscape: deadlock, empty preference files, segfault.
<http://
"[Tilesathome] [OSM-talk] t at h memory issues ? / Renderability": lists.openstree tmap.org/ pipermail/ tilesathome/ 2008-February/ 001835. html> large-config for a use case like t at h.
<http://
| This error(-message) does originate not from Inkscape itself, but from
| the memory management it uses. Here, we are talking about Boehm's Garbage
| Collector (GC). There's nothing wrong with the GC. But it has to be
| compiled with --enable-
| So here's the problem: Debian comes with a package libgc1c2 which
| does not have the large config enabled.
"[Tilesathome] Script for crashing Inkscape/ tilesGen. pl" lists.openstree tmap.org/ pipermail/ tilesathome/ 2009-July/ 005975. html>:
<http://
| tilesLoop
| - Deletes stopfile.txt on startup (Johan Ur Riise)
| - Inkscape preferences.xml cleared on each loop (Johan Ur Riise)
| - Added/fixed a few comments/values
Any chances that you use a similar script that deletes the contents of the preferences file repeatedly in a loop, and - when Inkscape unexpectedly breaks the loop - an empty, not a missing preferences file is left behind? A missing preferences file would be no problem, Inkscape then uses the default settings and creates a new one.