SIGBUS while editing schematic
Description
I was editing a schematic, moving things around, and KiCad suddenly crashed. It looks like it crashed in a hash table?
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 CoreFoundation 0x18844abb8 CFEqual + 140
1 CoreFoundation 0x1885f0b00 ___CFBasicHashFindBucket_Linear + 316
2 CoreFoundation 0x1884654d8 CFBasicHashGetCountOfKey + 128
3 CoreFoundation 0x18848204c CFSetContainsValue + 68
4 CoreFoundation 0x1884bf100 CFRunLoopRemoveObserver + 288
5 CoreFoundation 0x1884bee9c CFRunLoopObserverInvalidate + 272
6 AppKit 0x18bdc4c24 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 540
7 AppKit 0x18c77af04 ___NSRunLoopObserverCreateWithHandler_block_invoke + 64
8 CoreFoundation 0x1884bed80 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36
9 CoreFoundation 0x1884bec6c __CFRunLoopDoObservers + 532
10 CoreFoundation 0x1884be29c __CFRunLoopRun + 776
11 CoreFoundation 0x1884bd93c CFRunLoopRunSpecific + 608
12 HIToolbox 0x192a86448 RunCurrentEventLoopInMode + 292
13 HIToolbox 0x192a860d8 ReceiveNextEventCommon + 220
14 HIToolbox 0x192a85fdc _BlockUntilNextEventMatchingListInModeWithFilter + 76
15 AppKit 0x18bc9ced0 _DPSNextEvent + 660
16 AppKit 0x18c487eec -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
17 AppKit 0x18bc9037c -[NSApplication run] + 476
18 libwx_osx_cocoau-3.2.0.2.2.dylib 0x1085ea0f4 wxGUIEventLoop::OSXDoRun() + 140
19 libwx_osx_cocoau-3.2.0.2.2.dylib 0x1084ed074 wxCFEventLoop::DoRun() + 40
20 libwx_osx_cocoau-3.2.0.2.2.dylib 0x10844b9e4 wxEventLoopBase::Run() + 200
21 libwx_osx_cocoau-3.2.0.2.2.dylib 0x10841b490 wxAppConsoleBase::MainLoop() + 208
22 libwx_osx_cocoau-3.2.0.2.2.dylib 0x108589098 wxApp::OnRun() + 36
23 kicad 0x105008bc4 APP_KICAD::OnRun() + 20
24 libwx_osx_cocoau-3.2.0.2.2.dylib 0x10847cc14 wxEntry(int&, wchar_t**) + 104
25 kicad 0x1050070dc main + 52
26 dyld 0x1880610e0 start + 2360
Steps to reproduce
It just happened once.
KiCad Version
Application: KiCad Schematic Editor arm64 on arm64
Version: 8.0.0-126-g3d67ab72c6, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.13.2
HarfBuzz 8.3.0
FontConfig 2.15.0
libcurl/8.4.0 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.58.0
Platform: macOS Sonoma Version 14.3.1 (Build 23D60), 64 bit, Little endian, wxMac
Build Info:
Date: Mar 2 2024 04:38:08
wxWidgets: 3.2.4 (wchar_t,wx containers)
Boost: 1.84.0
OCC: 7.7.2
Curl: 7.87.0
ngspice: 42
Compiler: Clang 14.0.3 with C++ ABI 1002
Build settings:
Edited by dsa-t