fatal assertion failure in PNS router
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
High
|
Tomasz Wlostowski |
Bug Description
This assertion failure in PNS_NODE:
bzr-5649
Application: kicad
Version: (after 2015-may-01 BZR unknown)-product Debug build
wxWidgets: Version 3.0.2 (debug,
Platform: Linux 4.0.1-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.58.0
~ % coredumpctl gdb
PID: 5200 (kicad)
UID: 1000 (cmp)
GID: 1000 (cmp)
Signal: 6 (ABRT)
Timestamp: Sun 2015-05-10 20:21:33 EDT (11s ago)
Command Line: /opt/kicad/
Executable: /opt/kicad/
Control Group: /user.slice/
Unit: session-c1.scope
Slice: user-1000.slice
Session: c1
Owner UID: 1000 (cmp)
Boot ID: e095f4b5f240408
Machine ID: f11eafa91b28413
Hostname: cmp-desktop
Coredump: /var/lib/
Message: Process 5200 (kicad) of user 1000 dumped core.
GNU gdb (GDB) 7.9
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /opt/kicad/
[New LWP 5200]
[New LWP 5329]
[New LWP 5218]
[New LWP 5328]
[New LWP 5330]
[New LWP 24521]
[New LWP 5324]
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/
Core was generated by `/opt/kicad/
Program terminated with signal SIGABRT, Aborted.
#0 0x00007efd0bd1c4b7 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007efd0bd1c4b7 in raise () from /usr/lib/libc.so.6
#1 0x00007efd0bd1d88a in abort () from /usr/lib/libc.so.6
#2 0x00007efd0bd1541d in __assert_fail_base () from /usr/lib/libc.so.6
#3 0x00007efd0bd154d2 in __assert_fail () from /usr/lib/libc.so.6
#4 0x00007efcfe21f89b in PNS_NODE:
#5 0x00007efcfe21fb36 in PNS_NODE:
#6 0x00007efcfe212708 in PNS_LINE_
#7 0x00007efcfe2120c4 in PNS_LINE_
#8 0x00007efcfe1e109b in PNS_ROUTER:
#9 0x00007efcfe1e031d in PNS_ROUTER::Move (this=0x4f1a410, aP=..., endItem=0x4489d40) at /home/cmp/
#10 0x00007efcfe1d6894 in ROUTER_
#11 0x00007efcfe1d74fd in ROUTER_
#12 0x00007efcfe1d6ff7 in ROUTER_
#13 0x00007efcfe2fbb1c in DELEGATE<int, TOOL_EVENT const&>::operator() (this=0x4b7dcc0, aA=...) at /home/cmp/
#14 0x00007efcfe2f8872 in COROUTINE<int, TOOL_EVENT const&>::callerStub (aData=79158464) at /home/cmp/
#15 0x00007efd0dfd5651 in make_fcontext () from /usr/lib/
#16 0x0000000000000000 in ?? ()
(gdb) f 4
#4 0x00007efcfe21f89b in PNS_NODE:
753 assert( jt );
(gdb) p jt
$1 = (const PNS_JOINT *) 0x0
(gdb)
Changed in kicad: | |
assignee: | nobody → Tomasz Wlostowski (twlostow) |
tags: | added: assert |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
And another:
PID: 31050 (kicad) bin/kicad bin/kicad user-1000. slice/session- c1.scope a9214850379b8f2 d2 2aa328da2c88508 45 systemd/ coredump/ core.kicad. 1000.9e83831b8e ee440a921485037 9b8f2d2. 31050.143491243 1000000. lz4
UID: 1000 (cmp)
GID: 1000 (cmp)
Signal: 6 (ABRT)
Timestamp: Sun 2015-06-21 14:47:11 EDT (21s ago)
Command Line: /opt/kicad/
Executable: /opt/kicad/
Control Group: /user.slice/
Unit: session-c1.scope
Slice: user-1000.slice
Session: c1
Owner UID: 1000 (cmp)
Boot ID: 9e83831b8eee440
Machine ID: f11eafa91b28413
Hostname: cmp-desktop
Coredump: /var/lib/
Message: Process 31050 (kicad) of user 1000 dumped core.
GNU gdb (GDB) 7.9.1 gnu.org/ licenses/ gpl.html> unknown- linux-gnu" . www.gnu. org/software/ gdb/bugs/>. www.gnu. org/software/ gdb/documentati on/>. bin/kicad. ..done.
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /opt/kicad/
[New LWP 31050]
[New LWP 31103]
[New LWP 407]
warning: Could not load shared library symbols for linux-vdso.so.1. libthread_ db.so.1" . bin/kicad' . :followLine (this=0xc030f90, aCurrent=0x495c500, aScanDirection= false, aPos=@0x4004074: 8192, aLimit=16384, aCorners=0x40240a0, aSegments= 0x4004090, aGuardHit= @0x400407b: false) at /home/cmp/ git/kicad/ pcbnew/ router/ pns_node. cpp:753 :AssembleLine (this=0xc030f90, aSeg=0x495c500, aOriginSegmentI ndex=0x0) at /home/cmp/ git/kicad/ pcbnew/ router/ pns_node. cpp:796 PLACER: :removeLoops (this=0x9dd88e0, aNode=0xc030f90, aLatest=0x4044568) at /home/cmp/ git/kicad/ pcbnew/ router/ pns_line_ placer. cpp:963 PLACER: :Move (this=0x9dd88e0, aP=..., aEndItem=0x9d6afd0) at /home/cmp/ git/kicad/ pcbnew/ router/ pns_line_ placer. cpp:872 :movePlacing (this=0x7b4a010, aP=..., aEndItem=0x9d6afd0) at /home/cmp/ git/kicad/ pcbnew/ router/ pns_router. cpp:739
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/
Core was generated by `/opt/kicad/
Program terminated with signal SIGABRT, Aborted.
#0 0x00007fc896d34528 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007fc896d34528 in raise () from /usr/lib/libc.so.6
#1 0x00007fc896d3593a in abort () from /usr/lib/libc.so.6
#2 0x00007fc896d2d3a7 in __assert_fail_base () from /usr/lib/libc.so.6
#3 0x00007fc896d2d452 in __assert_fail () from /usr/lib/libc.so.6
#4 0x00007fc85b382d4b in PNS_NODE:
#5 0x00007fc85b38308c in PNS_NODE:
#6 0x00007fc85b3712f8 in PNS_LINE_
#7 0x00007fc85b3711e7 in PNS_LINE_
#8 0x00007fc85b330e6a in PNS_ROUTER:
#9 0x00007fc85b330de9 in PNS_ROUTER::Move (this=0x7b4a010, aP=..., endItem=0x9d6afd0) at /home/cmp/g...