polygon editing crash
Bug #699336 reported by
agaran6
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcb |
Fix Released
|
Undecided
|
Andrew Poelstra |
Bug Description
PCB (from git) crashes when polygon vertex reduction invoked by mouse move causes to remove one of three remaining points (or at polygon delete itself).
Crash is repeatable, just draw rectangle copper area, move one of corners to get triangle, moved corner should be removed leaving triangle copper area with only three points, now move one of them to line connecting two remaining, pcb will crash.
pcb 1.99z compiled 7 dec 2010, from git tree.
Changed in pcb: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Program received signal SIGSEGV, Segmentation fault. bberband (Type=2048, Ptr1=0x864f264, Ptr2=0x89bc800, Ptr3=0x89c24f8, DX=100000, DY=-135000) actions. c:219 actions. c:197 button_ release_ cb (drawing_ area=0x88da4d0, ev=0x85d0650, ui=0x87526a0) gui-output- events. c:659 libgtk- x11-2.0. so.0 libgobject- 2.0.so. 0 libgobject- 2.0.so. 0
[Switching to Thread 0xb6c016b0 (LWP 25693)]
poly_PreContour (C=0x0, optimize=1) at polygon1.c:1970
1970 for (c = (p = &C->head)->next; c != &C->head; c = (p = c)->next)
(gdb) p c
$1 = <value optimized out>
(gdb) p p
$2 = <value optimized out>
(gdb) p C->head
Cannot access memory at address 0x14
(gdb) p C
$3 = (PLINE *) 0x0
(gdb) bt
#0 poly_PreContour (C=0x0, optimize=1) at polygon1.c:1970
#1 0x080ab468 in original_poly (p=0x89bc800) at polygon.c:163
#2 0x080ac9fc in InitClip (Data=0x864f218, layer=0x864f264, p=0x89bc800) at polygon.c:959
#3 0x080a21f6 in MovePolygonPoint (Layer=0x864f264, Polygon=0x89bc800, Point=0x89c24f8) at move.c:426
#4 0x080a2836 in MoveObjectAndRu
at move.c:833
#5 0x08062250 in NotifyMode () at action.c:1575
#6 0x08063115 in ActionMode (argc=1, argv=0xbff5e194, x=0, y=0) at action.c:684
#7 0x080cfdd9 in hid_actionv (name=0x80fd0dd "Mode", argc=1, argv=0xbff5e194) at hid/common/
#8 0x080cfe28 in hid_actionl (name=0x80fd0dd "Mode") at hid/common/
#9 0x080e5184 in ghid_port_
at hid/gtk/
#10 0xb74f2816 in ?? () from /usr/lib/
#11 0x088da4d0 in ?? ()
#12 0x085d0650 in ?? ()
#13 0x087526a0 in ?? ()
#14 0xb722d678 in ?? () from /usr/lib/
#15 0x088f0298 in ?? ()
#16 0x088d66a0 in ?? ()
#17 0xbff5e2c8 in ?? ()
#18 0xb71fc90b in g_closure_invoke () from /usr/lib/
Backtrace stopped: frame did not save the PC