← Back to team overview

kicad-developers team mailing list archive

Re: Segfault in PNS on BZR 6317

 

I can also confirm this - reliably reproduced after about five or six tries.

(gdb) bt
#0  0x0000000001803750 in ?? ()
#1  0x00007fffe69635cf in PNS_LINE_PLACER::splitAdjacentSegments (this=0x1a1bd80, aNode=0x15ecec0, aSeg=0x18038f0, aP=...) at /home/cmp/git/kicad/pcbnew/router/pns_line_placer.cpp:706
#2  0x00007fffe6963ff3 in PNS_LINE_PLACER::Move (this=0x1a1bd80, aP=..., aEndItem=0x18038f0) at /home/cmp/git/kicad/pcbnew/router/pns_line_placer.cpp:849
#3  0x00007fffe691ce7a in PNS_ROUTER::movePlacing (this=0x17e5c00, aP=..., aEndItem=0x18038f0) at /home/cmp/git/kicad/pcbnew/router/pns_router.cpp:839
#4  0x00007fffe691cdf9 in PNS_ROUTER::Move (this=0x17e5c00, aP=..., endItem=0x18038f0) at /home/cmp/git/kicad/pcbnew/router/pns_router.cpp:732
#5  0x00007fffe68ee1d8 in ROUTER_TOOL::onViaCommand (this=0x2690110, aType=VIA_THROUGH) at /home/cmp/git/kicad/pcbnew/router/router_tool.cpp:478
#6  0x00007fffe68eef38 in ROUTER_TOOL::performRouting (this=0x2690110) at /home/cmp/git/kicad/pcbnew/router/router_tool.cpp:579
#7  0x00007fffe68ef9bd in ROUTER_TOOL::mainLoop (this=0x2690110, aMode=PNS_MODE_ROUTE_SINGLE) at /home/cmp/git/kicad/pcbnew/router/router_tool.cpp:701
#8  0x00007fffe68ec3f0 in ROUTER_TOOL::RouteSingleTrace (this=0x2690110, aEvent=...) at /home/cmp/git/kicad/pcbnew/router/router_tool.cpp:648
#9  0x00007fffe6a664c5 in DELEGATE<int, TOOL_EVENT const&>::operator() (this=0x1a84b70, aA=...) at /home/cmp/git/kicad/include/tool/delegate.h:58
#10 0x00007fffe6a66415 in COROUTINE<int, TOOL_EVENT const&>::callerStub (aData=27806576) at /home/cmp/git/kicad/include/tool/coroutine.h:217
#11 0x00007ffff5a490f1 in make_fcontext () from /usr/lib/libboost_context.so.1.59.0
#12 0x0000000000000000 in ?? ()

On Tue, Nov 17, 2015 at 11:07:31AM -0800, Andrew Zonenberg wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> I'm getting crashes in the PNS on latest BZR in both debug and release
> builds.
> 
> GDB log:
> http://pastebin.com/i4kQvXwn
> 
> PCB file:
> http://thanatos.virtual.drawersteak.com/unlisted/marblewalrus-backplane.
> kicad_pcb
> 
> System: Debian 7 amd64 with nvidia binary drivers
> 
> Steps to reproduce:
> * Open PCB file
> * Go to GAL mode if not already selected
> * Select grid 0.05 mm
> * Select via 0.5 / 0.25 mm
> * Select track 0.123 mm
> * Move the cursor over the track at (78.6, 64), this is CB2_I2C_SCL
> * Press X to begin drawing tracks, click on the track
> * Move the cursor to (78.6, 65.5)
> * Press V to create a new via. Immediate crash.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> 
> iQIcBAEBAgAGBQJWS3rzAAoJEDRhermzHH18ROQP/1LWlFkL1pjjVm9kvsV0mMHr
> 0iRI4ODvM1ISU3zFhsAdnbBigQgQK282KjNi0hbllzAEOftjibVv0QrbBzcnPyhL
> oC8kurr2AHPIob8fOv2M1NQY5OtQcEbcux61XWj/gGm+CLSQ7Wyj21IV6rnF+5yn
> dZ8FDVEr3sqRxr+Mr15aCYeesuxv3+bIJ6GNKxMhWe+OK3/s1fWjuHdC7dOXJjWq
> up5+DdGW9zBGDUHwEnA81Gm9YrqggkiiNP87KOc1IlgWYKoxLLybuAUDj9PagkUV
> fsALaAdEvxoyx1sB6JcZmTtuy2g8OUF2hGEF5sbTfKT7zhNNWJQdkFtkYYHtRnJr
> 3XcRqAVpxhIFvq7Wfe3vM0vNiX3UCD0U54bp+qEglo7BjzorEN9N6dgKMVRk7Bo+
> qrVHB8XM2WqtHTt4OgiWBLsGBMeccv+u4QWEXEIikqFvQ2rPfLCswBUoGTGyIAuU
> DIwdUehmuhGF8cINLQ5zCjJic4CJ84tj+gThxOcRegC4u1M/5/Hm8aHFN6LrUW63
> 39qBzjJWkPu/2Edhocm2NVBY2ppuO9F5b2c7fyCLplg41asjtwOWJvVIccj22y5q
> xemyg5yiAzseLMpAmKohrA5OzxUpQzAi9JehLThdMk0QrU1RC+sVDXtDIcc+qMoe
> xaVHU81Iqb2ZZAKeiZ3z
> =IJ6t
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp


References