found origin of random crashes

Bug #1788394 reported by Erik Heinz
6
This bug affects 1 person
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

Revision history for this message
Alvin Penner (apenner) wrote :

could you indicate which bug reports you are referring to?

Revision history for this message
Mc (mc...) wrote :

Interesting, maybe this might be related to all the fedora crashes ?

Revision history for this message
Erik Heinz (erikheinz) wrote :

#1760673, #1774087, #1783767 spring to mind.
I am not refering to a particular bug report, though. Just would like to point out the issue.

Revision history for this message
Alvin Penner (apenner) wrote :
Revision history for this message
Qantas94Heavy (qantas94heavy) wrote :

Hi, thanks for this report. As this bug tracker is being moved to GitLab, this issue will be closed. We will keep this in mind for future bug tracking purposes. If you find any new bugs, please go to https://inkscape.org/report. Thank you!

Closed by: https://gitlab.com/Qantas94Heavy

Changed in inkscape:
status: New → Invalid
tbnorth (terry-n-brown)
tags: added: bug-migration
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.