|
From: Chad P. <par...@gm...> - 2018-02-24 22:49:40
|
Cannot reproduce and no activity in over a year.
** Changed in: pcb
Status: New => Invalid
--
You received this bug notification because you are a member of PCB Bug
Team, which is subscribed to pcb.
https://bugs.launchpad.net/bugs/1502213
Title:
Segfault in debug mode when scrolling around
Status in gEDA project:
Invalid
Status in pcb:
Invalid
Bug description:
While looking for another bug I loaded the attached layout, zoomed in
and out with the mouse wheel, panned with the right mouse button, when
pcb suddenly fell over an assertion. It doesn't happen immediately,
but sometimes after a few seconds, sometimes after a minute of
zooming/panning. Binary was built with the --enable-debug configure
option.
Backtrace:
#0 0x00007ffff4b7d267 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff4b7eeca in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffff4b7603d in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3 0x00007ffff4b760f2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x00000000004c8100 in __r_search (node=0x9be880, query=0x7fffffffd3a0, arg=0x7fffffffd150) at rtree.c:462
#5 0x00000000004c869f in r_search (rtree=0x9be860, query=0x7fffffffd3a0, check_region=0x0,
found_rectangle=0x465cca <line_callback>, cl=0x8c2580) at rtree.c:570
#6 0x00000000004678ba in DrawLayer (Layer=0x8c2580, screen=0x7fffffffd3a0) at draw.c:973
#7 0x0000000000467b2b in DrawLayerGroup (group=1, drawn_area=0x7fffffffd3a0) at draw.c:1019
#8 0x0000000000466617 in DrawEverything (drawn_area=0x7fffffffd3a0) at draw.c:594
#9 0x0000000000468dd9 in hid_expose_callback (hid=0x7feec0 <ghid_hid>, region=0x7fffffffd3a0, item=0x0) at draw.c:1562
#10 0x0000000000527376 in ghid_drawing_area_expose_cb (widget=0xb35920, ev=0x7fffffffd8f0, port=0x7ff140 <ghid_port>)
at hid/gtk/gtkhid-gl.c:1016
#11 0x00007ffff6c00d1f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x00007ffff5d1e2d5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x00007ffff5d3003c in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007ffff5d381a5 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff5d388ff in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ffff6d1861c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#17 0x00007ffff6bff75d in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
[18 to 28 snipped]
Code points in rtree.c:
461: /** assert that starting_region is well formed */
461: assert (query->X1 < query->X2 && query->Y1 < query->Y2);
[...]
570: return __r_search (rtree->root, query, &arg);
At the first glance it looks like the code tries to search a zero-
sized drawing box.
To manage notifications about this bug go to:
https://bugs.launchpad.net/geda-project/+bug/1502213/+subscriptions
|