KiCad segfault.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Critical
|
Unassigned |
Bug Description
I am seeing intermittent segfaults of KiCad. I'm not sure what the specific actions are to make this happen but there doesn't seem to be a pattern. This is as of product branch r5468. Here is the code that causes the segfault:
#0 0x0000000009c9798c in PNS_NODE::isRoot (this=0xfeeefee
at C:/msys64/
#1 0x00000000099743d9 in PNS_NODE:
at C:/msys64/
#2 0x000000000994d6cd in PNS_ROUTER:
at C:/msys64/
#3 0x000000000994d551 in PNS_ROUTER:
__in_
at C:/msys64/
#4 0x00000000099512d3 in PNS_TOOL_
__in_
at C:/msys64/
#5 0x0000000009949fdb in LENGTH_
this=
at C:/msys64/
#6 0x000000000994a027 in LENGTH_
this=
at C:/msys64/
#7 0x00000000099f1e31 in TOOL_MANAGER:
__in_
at C:/msys64/
#8 0x000000000989da3b in PCB_BASE_
__in_
at C:/msys64/
#9 0x0000000009b0b686 in PCB_BASE_
this=
at C:/msys64/
It appears that PNS_NODEs are being used after they have been freed.
Related branches
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Here's the build info:
Application: kicad wchar_t, compiler with C++ ABI 1002,GCC 4.9.2,wx containers, compatible with 2.8)
USE_WX_ GRAPHICS_ CONTEXT= OFF
USE_WX_ OVERLAY= OFF
KICAD_ SCRIPTING= ON
KICAD_ SCRIPTING_ MODULES= ON
KICAD_ SCRIPTING_ WXPYTHON= ON
USE_FP_ LIB_TABLE= HARD_CODED_ ON
BUILD_ GITHUB_ PLUGIN= ON
KICAD_ USE_WEBKIT= ON
Version: (after 2015-jan-16 BZR unknown)-product Debug build
wxWidgets: Version 3.0.2 (debug,
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Boost version: 1.57.0