Crash when selecting via after updating PCB from schematic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Critical
|
Maciej Suminski |
Bug Description
Steps to reproduce:
1. Make a schematic and route PCB
2. Delete one component from the schematic that is routed on PCB
3. Update PCB from the schematic
4. Select via on the net that was connected to the deleted component. Via should be still connected to some other component.
5. Assertion fail followed by a crash
Test case attached with steps 1 and 2 done. Update the PCB and try selecting either two middle vias to trigger crash.
Assertion fail:
pcbnew/
Backtrace:
Thread 1 "kicad" received signal SIGSEGV, Segmentation fault.
0x00007fffd4c76d5e in NETCLASS:
181 int GetViaDrill() const { return m_ViaDrill; }
(gdb) backtrace
#0 0x00007fffd4c76d5e in NETCLASS:
#1 0x00007fffd4e2831a in NETINFO_
#2 0x00007fffd533036a in VIA::GetMsgPane
#3 0x00007fffd532db01 in TRACK::
#4 0x00007fffd52ea8ea in PCB_BASE_
#5 0x00007fffd52ea875 in PCB_BASE_
#6 0x00007fffd4f14587 in SELECTION_
#7 0x00007fffd4f0f6fe in SELECTION_
#8 0x00007fffd4f0facf in SELECTION_
#9 0x00007fffd4f0f08c in SELECTION_
#10 0x00007fffd4f21a44 in std::_Mem_
#11 0x00007fffd4f21014 in std::_Bind<
#12 0x00007fffd4f200de in std::_Bind<
at /usr/include/
#13 0x00007fffd4f1e87d in std::_Function_
#14 0x00007fffd556f623 in std::function<int (TOOL_EVENT const&)
#15 0x00007fffd556c5b3 in COROUTINE<int, TOOL_EVENT const&>::callerStub (aData=
#16 0x00007fffd55bdad1 in make_fcontext () from /usr/local/
Application: kicad
Version: (2017-07-22 revision cb2f3d6)-master, debug build
Libraries: wxWidgets 3.0.2
Platform: Linux 4.4.0-83-generic x86_64, 64 bit, Little endian, wxGTK
- Build Info -
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.58.0
Curl: 7.47.0
KiCad - Compiler: GCC 5.4.0 with C++ ABI 1009
Settings: USE_WX_
Changed in kicad: | |
importance: | Undecided → Critical |
status: | New → In Progress |
assignee: | nobody → Maciej Sumiński (orsonmmz) |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Fixed in revision 75cda5021d72011 f2de54cadbca325 81a5319fa9 /git.launchpad. net/kicad/ patch/? id=75cda5021d72 011f2de54cadbca 32581a5319fa9
https:/