With current Git HEAD, the crashing code is located at line 6286 in
src/action.c:

6285:      /* save both ends of line */
6286:      Crosshair.AttachedLine.Point2.X = ptr2->Point1.X;
6287:      Crosshair.AttachedLine.Point2.Y = ptr2->Point1.Y;

Point1 is the result of a previous SearchObjectByLocation(), which is
considered to always succeed. Obviously it's not, ptr2 was apparently
NULL at crash time.

Judging by code locations the crash seems to happen when in line drawing
mode, already drawing a line and then hitting Undo.

Didn't try to reproduce so far, just jotting down findings. What bugs me
a bit: the user wrote "when scrolling around", but scrolling shouldn't
cause a call to ActionUndo(). Still stacktraces hint into undoing code.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/930787

Title:
  pcb-gtk crashed with SIGSEGV in ActionUndo()

To manage notifications about this bug go to:
https://bugs.launchpad.net/geda-project/+bug/930787/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to