inkscape hangs when snapping to path intersections with large number of clipped objects
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Diederik van Lierop |
Bug Description
Using Inkscape 0.48.2 r9819 on OS X (pre-built package).
When I open the attached file Inkscape behaves sluggishly. I imagine this is because it contains a large number of nodes, although there are probably only around a few thousand points in the plot, and that shouldn't have an impact on CPU performance. Then, I turn on snapping to intersections and try and draw a horizontal line between the two tick marks above the blue region and below the green (snapping at the intersection of the tick marks with the graph boundaries). Right before I finish drawing the line Inkscape hangs and starts using 100% CPU.
I did not get a backtrace because when running inkscape inside gdb all fonts get replaced by empty squares and icons by a not found symbol. I don't know if that's an issue with gdb on my system or Inkscape on OS X.
Related branches
Changed in inkscape: | |
importance: | Undecided → High |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
<off-topic>
> I did not get a backtrace because when running inkscape inside gdb all fonts
> get replaced by empty squares and icons by a not found symbol. I don't
> know if that's an issue with gdb on my system or Inkscape on OS X.
The bundled version is not really easy (and not intended) to be used on the command line (even more so with gdb) unless you now the inner structure of the application package and which of the nested shell script sets which environment variables before executing the actual binary (Contents/ Resources/ bin/inkscape- bin) - if you intend to debug inkscape, install the cli version via MacPorts. Otherwise - the crash report saved by the system (~/Library/ Logs/CrashRepor ter or ~/Library/ Logs/Diagnostic Reports for 'inkscape-bin') if the process actually segfaults does always include a backtrace: <http:// developer. apple.com/ library/ mac/#technotes/ tn2004/ tn2123. html> has more information (even if outdated, the basics still apply as far as I know).
</off-topic>