Crash while routing or placing via
Description
Was working inside PCB Layout, Kicad 6.0.1, random crash.
Steps to reproduce
Was performing routing.
KiCad Version
Application: KiCad
Version: (6.0.1-0), release build
Libraries:
wxWidgets 3.1.5
libcurl/7.64.1 SecureTransport (LibreSSL/2.8.3) zlib/1.2.11 nghttp2/1.39.2
Platform: macOS Catalina Version 10.15.7 (Build 19H1713), 64 bit, Little endian, wxMac
Build Info:
Date: Jan 14 2022 14:47:36
wxWidgets: 3.1.5 (wchar_t,wx containers)
Boost: 1.76.0
OCC: 7.6.0
Curl: 7.64.1
ngspice: 35
Compiler: Clang 12.0.0 with C++ ABI 1002
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON
Crash Report:
Process: kicad [36433]
Path: /Applications/KiCad/KiCad.app/Contents/MacOS/kicad
Identifier: org.kicad.kicad
Version: [6.0.1-0] ([6.0.1-0])
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: kicad [36433]
User ID: 501
Date/Time: 2022-02-03 09:49:02.373 -0800
OS Version: Mac OS X 10.15.7 (19H1713)
Report Version: 12
Bridge OS Version: 6.2 (19P744)
Anonymous UUID: D40803FC-52FC-4080-9F9C-2F3986EF5C51
Sleep/Wake UUID: B95DED45-DDB0-4B65-A806-24379B42AED5
Time Awake Since Boot: 340000 seconds
Time Since Wake: 6500 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [36433]
Application Specific Information:
Performing @selector(controlAction:) from sender wxNSPopUpButton 0x7fb7336e6920
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 _pcbnew.kiface 0x00000001267871e9 boost::uuids::to_string(boost::uuids::uuid const&) + 89
1 _pcbnew.kiface 0x0000000126786cba KIID::AsString() const + 26
2 _pcbnew.kiface 0x00000001264e984c PNS::LOGGER::Log(PNS::LOGGER::EVENT_TYPE, VECTOR2<int> const&, PNS::ITEM const*) + 252
3 _pcbnew.kiface 0x00000001265128d2 PNS::ROUTER::Move(VECTOR2<int> const&, PNS::ITEM*) + 50
4 _pcbnew.kiface 0x0000000126545848 ROUTER_TOOL::onTrackViaSizeChanged(TOOL_EVENT const&) + 216
5 _pcbnew.kiface 0x0000000126859c91 COROUTINE<int, TOOL_EVENT const&>::callerStub(long) + 49
6 _pcbnew.kiface 0x0000000126911e2a make_fcontext + 42
Thread 1:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff6f21edfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6f21f170 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff35340825 __CFRunLoopServiceMachPort + 247
3 com.apple.CoreFoundation 0x00007fff3533f2f2 __CFRunLoopRun + 1319
4 com.apple.CoreFoundation 0x00007fff3533e76e CFRunLoopRunSpecific + 462
5 com.apple.AppKit 0x00007fff32754ea4 _NSEventThread + 132
6 libsystem_pthread.dylib 0x00007fff6f2e2109 _pthread_start + 148
7 libsystem_pthread.dylib 0x00007fff6f2ddb8b thread_start + 15
Thread 2:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff6f2270fe __select + 10
1 com.apple.CoreFoundation 0x00007fff35369593 __CFSocketManager + 641
2 libsystem_pthread.dylib 0x00007fff6f2e2109 _pthread_start + 148
3 libsystem_pthread.dylib 0x00007fff6f2ddb8b thread_start + 15
Thread 3:
0 libsystem_pthread.dylib 0x00007fff6f2ddb68 start_wqthread + 0
Thread 4:
0 libsystem_pthread.dylib 0x00007fff6f2ddb68 start_wqthread + 0
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000600021912580 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x0000600021912580 rsi: 0x00007fb78a5cfde9 rbp: 0x00007fb78a5cfdd0 rsp: 0x00007fb78a5cfda0
r8: 0x0000000000000000 r9: 0x00000000000007fb r10: 0x0000000000003520 r11: 0xffffe04897342797
r12: 0x0000000000000030 r13: 0x00000000000002a8 r14: 0x0552b52006fd09d0 r15: 0x00007fb78a5cfde8
rip: 0x00000001267871e9 rfl: 0x0000000000010246 cr2: 0x0000000115871000
Logical CPU: 2
Error Code: 0x00000000
Trap Number: 13