found origin of random crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Undecided
|
Unassigned |
Bug Description
This is NOT a report of an inkscape bug. I thought it appropriate to report the issue here, however, since it may help to explain other bug reports refering to mysterious random crashes of inkscape.
I would suggest to point out this issue in the README of the inkscape source distribution, may be in the Wiki as well, to prevent others to run into the same problem.
My system is a homegrown x86_64 Linux where I compile almost every component from sources. For some months I had the problem that inkscape, whatever version, was extremely unstable and reacted unpredictable. Every few minutes it crashed randomly with various error messages. Sometimes it didn't even start.
After recompiling every single shared library inkscape is depending on (which is a lot) I found the reason. The problem appearantly started after an upgrade of gcc (version 4 to version 6). It vanished after I recompiled libsigc++. So the problem seems to be in libsigc++.
On a broader view, I think libstdc++ is to blame. Since gcc-4 all versions of libstdc++.so are installed with the major number 6, indicating they are binary compatible. Appearantly, they are not, however, and so a major upgrade of gcc seems to brake libsigc++ and may be other dependent C++ libraries.
So my advice is: after upgrading gcc recompile (ore reinstall) libsigc++, glibmm, atkmm, gtkmm, cairomm, pangomm, and inkscape. Don't upgrade to libsigc-3 since inkscape uses libsigc-2. For me, it helped, and the random crashes are gone now.
Best regards,
Erik
tags: | added: bug-migration |
could you indicate which bug reports you are referring to?