GLpcb crashes sometimes when zooming around
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcb |
Won't Fix
|
High
|
Unassigned |
Bug Description
Pcb from pcjc2's GL PCB branch, checked out with
git fetch
git checkout master
git branch -D before_pours
git checkout -b before_pours origin/before_pours
compiled on Feb 14 2009 at 16:13:12
crashes sometimes when zooming around. It is a little bit difficult to reproduce. It mostly happens after moving a via that clears a polygon and then zooming in or out by a large amount. The board where I can reproduce this behaviour is attached.
gdb output follows:
Starting program: /usr/bin/pcb
[Thread debugging using libthread_db enabled]
[New Thread 0xb715f710 (LWP 23865)]
Loading file /mnt/UNI/
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb715f710 (LWP 23865)]
0x080b2a56 in M_POLYAREA_
874 if (a->contours->xmax >= b->contours->xmin &&
(gdb) backtrace
#0 0x080b2a56 in M_POLYAREA_
#1 0x080b461e in poly_AndSubtrac
#2 0x080ae738 in r_NoHolesPolygo
#3 0x080ae76b in r_NoHolesPolygo
#4 0x080ae76b in r_NoHolesPolygo
#5 0x080ae76b in r_NoHolesPolygo
#6 0x080ae8fe in NoHolesPolygonDicer (p=0xbfeb9e70, emit=0x8088290 <DrawPolygonLow
at polygon.c:1659
#7 0x080885b4 in poly_callback (b=0x85ed5b8, cl=0xbfeb9f54) at draw.c:2212
#8 0x080c4cd0 in __r_search (node=0x85ed818, query=0xbfeba0cc, arg=0xbfeb9efc) at rtree.c:539
#9 0x080c4d6d in r_search (rtree=0x86e0fc0, query=0x0, check_region=0, found_rectangle
at rtree.c:625
#10 0x080881bb in DrawLayerGroup (group=<value optimized out>, screen=0xbfeba0cc) at draw.c:947
#11 0x0808ac77 in hid_expose_callback (hid=0x812a600, region=0xbfeba0cc, item=0x0) at draw.c:443
#12 0x080ea4ac in ghid_port_
at hid/gtk/
#13 0xb7cec3a6 in _gtk_marshal_
#14 0xb78bfbe3 in g_closure_invoke () from /usr/lib/
#15 0xb78d3e5d in signal_
#16 0xb78d51eb in g_signal_
#17 0xb78d57d6 in g_signal_emit () from /usr/lib/
#18 0xb7e00f6e in gtk_widget_
#19 0xb7ce62ab in gtk_main_do_event () from /usr/lib/
#20 0xb7b6770d in gdk_window_
#21 0xb7b67d1f in gdk_window_
#22 0xb7b67d4b in gdk_window_
#23 0xb7b4b47b in gdk_threads_
#24 0xb78343b1 in g_idle_dispatch () from /usr/lib/
#25 0xb7836311 in g_main_
#26 0xb78399a3 in g_main_
#27 0xb7839ec2 in g_main_loop_run () from /usr/lib/
#28 0xb7ce6729 in gtk_main () from /usr/lib/
#29 0x080f22bd in ghid_do_export (options=0x0) at hid/gtk/
#30 0x0809e7d1 in main (argc=74039, argv=0x205e5) at main.c:1035
Changed in geda-project: | |
importance: | Undecided → Critical |
status: | New → Fix Released |
I'v tried an old pcb (20081128) and it crashes too.