[SOLVED?](OS X) Fresh nightly build (R7009) crash with CvPcb

Hi all,

I am an enthousiast user of Kicad, but I now encounter a crash with the Kicad I find odd…

I confirmed the same symptoms with build 7005 and the stable 4.0.2 build:

I create/edit a new/existing project, annotate the schematics and want to run CvPcb. A few seconds later the SPOD appears and I get a crash report in my logs folder. (I’ll add the report at the bottom of the message).

It always worked before. I have to add I have updated my MacBook Pro to Mac OS X 10.11.6 lately.

As I said before, I have tried it with the stable 4.0.2 release, but I also have this with the R7005 build and 7009 build.
I have removed any foreign Python installations which were installed through Homebrew.

Crashlog (removed binary images section due to message size constraints):

Process: kicad [641]
Path: /Applications/Kicad/kicad.app/Contents/MacOS/kicad
Identifier: org.kicad-pcb.kicad
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: kicad [641]
User ID: 501

Date/Time: 2016-08-07 19:48:37.742 +0200
OS Version: Mac OS X 10.11.6 (15G31)
Report Version: 11
Anonymous UUID: 6C1CEE96-C488-4A17-608B-CC41A4F0FCBF

Time Awake Since Boot: 2100 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000001
Exception Note: EXC_CORPSE_NOTIFY

VM Regions Near 0x1:
–>
__TEXT 000000010b9d1000-000000010baa8000 [ 860K] r-x/rwx SM=COW /Applications/Kicad/kicad.app/Contents/MacOS/kicad

Global Trace Buffer (reverse chronological seconds):
160.044839 libextension.dylib 0x00007fff9ab72533 tearing down extension request for pid 642

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libboost_thread-mt.dylib 0x000000010c94af90 boost::detail::thread_data_base::~thread_data_base() + 144
1 _cvpcb.kiface 0x0000000118d3107e boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf2<void, FOOTPRINT_LIST, wxString const*, int>, boost::_bi::list3<boost::_bi::value<FOOTPRINT_LIST*>, boost::_bi::value<wxString*>, boost::_bi::value > > >::~thread_data() + 14
2 libboost_thread-mt.dylib 0x000000010c94bcdc boost::thread::join_noexcept() + 428
3 _cvpcb.kiface 0x0000000118d2d435 FOOTPRINT_LIST::ReadFootprintFiles(FP_LIB_TABLE*, wxString const*) + 1029
4 _cvpcb.kiface 0x0000000118c54bfd CVPCB_MAINFRAME::LoadFootprintFiles() + 221
5 _cvpcb.kiface 0x0000000118c5ad78 CVPCB_MAINFRAME::ReadNetListAndLinkFiles(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) + 104
6 libwx_baseu-3.0.0.dylib 0x000000010c6192af wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 239
7 libwx_baseu-3.0.0.dylib 0x000000010c61a7fd wxEvtHandler::ProcessEventLocally(wxEvent&) + 93
8 libwx_baseu-3.0.0.dylib 0x000000010c61a6eb wxEvtHandler::ProcessEvent(wxEvent&) + 187
9 _cvpcb.kiface 0x0000000118e86f5c EDA_BASE_FRAME::ProcessEvent(wxEvent&) + 28
10 org.kicad-pcb.kicad 0x000000010ba4eb45 KIWAY::ProcessEvent(wxEvent&) + 85
11 org.kicad-pcb.kicad 0x000000010ba4e9b9 KIWAY::ExpressMail(FRAME_T, MAIL_T, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, wxWindow*) + 41
12 _eeschema.kiface 0x0000000113b81bbf SCH_EDIT_FRAME::sendNetlist() + 607
13 _eeschema.kiface 0x0000000113c087ca SCH_EDIT_FRAME::OnOpenCvpcb(wxCommandEvent&) + 426
14 libwx_baseu-3.0.0.dylib 0x000000010c6192af wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 239
15 libwx_baseu-3.0.0.dylib 0x000000010c61a748 wxEvtHandler::ProcessEvent(wxEvent&) + 280
16 _eeschema.kiface 0x0000000113c8efbc EDA_BASE_FRAME::ProcessEvent(wxEvent&) + 28
17 libwx_baseu-3.0.0.dylib 0x000000010c61a844 wxEvtHandler::ProcessEventLocally(wxEvent&) + 164
18 libwx_baseu-3.0.0.dylib 0x000000010c61a6eb wxEvtHandler::ProcessEvent(wxEvent&) + 187
19 libwx_osx_cocoau_core-3.0.0.dylib 0x000000010c06c425 wxWindowBase::TryAfter(wxEvent&) + 229
20 libwx_baseu-3.0.0.dylib 0x000000010c61a771 wxEvtHandler::ProcessEvent(wxEvent&) + 321
21 libwx_osx_cocoau_aui-3.0.0.dylib 0x000000010bb5dc80 wxAuiToolBar::OnLeftUp(wxMouseEvent&) + 752
22 libwx_baseu-3.0.0.dylib 0x000000010c6192af wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 239
23 libwx_baseu-3.0.0.dylib 0x000000010c61a7fd wxEvtHandler::ProcessEventLocally(wxEvent&) + 93
24 libwx_baseu-3.0.0.dylib 0x000000010c61a6eb wxEvtHandler::ProcessEvent(wxEvent&) + 187
25 libwx_baseu-3.0.0.dylib 0x000000010c61aaff wxEvtHandler::SafelyProcessEvent(wxEvent&) + 15
26 libwx_osx_cocoau_core-3.0.0.dylib 0x000000010bf53793 wxWidgetCocoaImpl::DoHandleMouseEvent(NSEvent*) + 83
27 libwx_osx_cocoau_core-3.0.0.dylib 0x000000010bf3dbe5 -[NSWindow(wxNSWindowSupport) WX_filterSendEvent:] + 149
28 libwx_osx_cocoau_core-3.0.0.dylib 0x000000010bf3dc30 -[wxNSWindow sendEvent:] + 32
29 com.apple.AppKit 0x00007fff9368ca38 -[NSApplication sendEvent:] + 2540
30 libwx_osx_cocoau_core-3.0.0.dylib 0x000000010be6ec92 -[wxNSApplication sendEvent:] + 98
31 com.apple.AppKit 0x00007fff934f3df2 -[NSApplication run] + 796
32 libwx_osx_cocoau_core-3.0.0.dylib 0x000000010bf32d7e wxGUIEventLoop::OSXDoRun() + 110
33 libwx_baseu-3.0.0.dylib 0x000000010c5e98f4 wxCFEventLoop::DoRun() + 52
34 libwx_baseu-3.0.0.dylib 0x000000010c515bf5 wxEventLoopBase::Run() + 165
35 libwx_baseu-3.0.0.dylib 0x000000010c4ceb53 wxAppConsoleBase::MainLoop() + 211
36 libwx_osx_cocoau_core-3.0.0.dylib 0x000000010bec18ea wxApp::OnRun() + 26
37 org.kicad-pcb.kicad 0x000000010b9ebbc9 APP_KICAD::OnRun() + 25
38 libwx_baseu-3.0.0.dylib 0x000000010c558370 wxEntry(int&, wchar_t**) + 64
39 org.kicad-pcb.kicad 0x000000010b9eb000 main + 48
40 libdyld.dylib 0x00007fff8f2675ad start + 1

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8aaaeefa kevent_qos + 10
1 libdispatch.dylib 0x00007fff90d45165 _dispatch_mgr_invoke + 216
2 libdispatch.dylib 0x00007fff90d44dcd _dispatch_mgr_thread + 52

Thread 2:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff8aaa7f72 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8aaa73b3 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff9b7501c4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff9b74f68c __CFRunLoopRun + 1356
4 com.apple.CoreFoundation 0x00007fff9b74eed8 CFRunLoopRunSpecific + 296
5 com.apple.AppKit 0x00007fff93655d95 _NSEventThread + 149
6 libsystem_pthread.dylib 0x00007fff9fe0899d _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff9fe0891a _pthread_start + 168
8 libsystem_pthread.dylib 0x00007fff9fe06351 thread_start + 13

Thread 3:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff8aaae07a __select + 10
1 com.apple.CoreFoundation 0x00007fff9b78d4fa __CFSocketManager + 762
2 libsystem_pthread.dylib 0x00007fff9fe0899d _pthread_body + 131
3 libsystem_pthread.dylib 0x00007fff9fe0891a _pthread_start + 168
4 libsystem_pthread.dylib 0x00007fff9fe06351 thread_start + 13

Thread 4:
0 libsystem_kernel.dylib 0x00007fff8aaae5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9fe08578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff9fe06341 start_wqthread + 13

Thread 5:
0 libsystem_kernel.dylib 0x00007fff8aaae5e2 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9fe08578 _pthread_wqthread + 1283
2 libsystem_pthread.dylib 0x00007fff9fe06341 start_wqthread + 13

Thread 6:

Thread 7:

Thread 8:
0 libsystem_kernel.dylib 0x00007fff8aaaf2a2 poll + 10
1 libcurl.4.dylib 0x00007fffa08cc746 Curl_poll + 140
2 libcurl.4.dylib 0x00007fffa08c853e curl_multi_wait + 530
3 libcurl.4.dylib 0x00007fffa08c1aa9 curl_easy_perform + 245
4 _cvpcb.kiface 0x0000000118ed6d2d KICAD_CURL_EASY::Perform() + 77
5 _cvpcb.kiface 0x0000000118f4cc30 GITHUB_PLUGIN::remoteGetZip(wxString const&) + 1472
6 _cvpcb.kiface 0x0000000118f4af1b GITHUB_PLUGIN::cacheLib(wxString const&, PROPERTIES const*) + 2011
7 _cvpcb.kiface 0x0000000118f4a31f GITHUB_PLUGIN::FootprintEnumerate(wxString const&, PROPERTIES const*) + 47
8 _cvpcb.kiface 0x0000000118e3c183 FP_LIB_TABLE::FootprintEnumerate(wxString const&) + 163
9 _cvpcb.kiface 0x0000000118d2c788 FOOTPRINT_LIST::loader_job(wxString const*, int) + 152
10 libboost_thread-mt.dylib 0x000000010c94b7fc boost::(anonymous namespace)::thread_proxy(void*) + 124
11 libsystem_pthread.dylib 0x00007fff9fe0899d _pthread_body + 131
12 libsystem_pthread.dylib 0x00007fff9fe0891a _pthread_start + 168
13 libsystem_pthread.dylib 0x00007fff9fe06351 thread_start + 13

Thread 9:
0 libsystem_kernel.dylib 0x00007fff8aaaf2a2 poll + 10
1 libcurl.4.dylib 0x00007fffa08cc746 Curl_poll + 140
2 libcurl.4.dylib 0x00007fffa08c853e curl_multi_wait + 530
3 libcurl.4.dylib 0x00007fffa08c1aa9 curl_easy_perform + 245
4 _cvpcb.kiface 0x0000000118ed6d2d KICAD_CURL_EASY::Perform() + 77
5 _cvpcb.kiface 0x0000000118f4cc30 GITHUB_PLUGIN::remoteGetZip(wxString const&) + 1472
6 _cvpcb.kiface 0x0000000118f4af1b GITHUB_PLUGIN::cacheLib(wxString const&, PROPERTIES const*) + 2011
7 _cvpcb.kiface 0x0000000118f4a31f GITHUB_PLUGIN::FootprintEnumerate(wxString const&, PROPERTIES const*) + 47
8 _cvpcb.kiface 0x0000000118e3c183 FP_LIB_TABLE::FootprintEnumerate(wxString const&) + 163
9 _cvpcb.kiface 0x0000000118d2c788 FOOTPRINT_LIST::loader_job(wxString const*, int) + 152
10 libboost_thread-mt.dylib 0x000000010c94b7fc boost::(anonymous namespace)::thread_proxy(void*) + 124
11 libsystem_pthread.dylib 0x00007fff9fe0899d _pthread_body + 131
12 libsystem_pthread.dylib 0x00007fff9fe0891a _pthread_start + 168
13 libsystem_pthread.dylib 0x00007fff9fe06351 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x000000010c95a4d0 rbx: 0x0000000000000000 rcx: 0x0000050000000000 rdx: 0x00007fa2cace25b0
rdi: 0x00007fa2cace2560 rsi: 0x0000050000000500 rbp: 0x00007fff5422c360 rsp: 0x00007fff5422c320
r8: 0x00000000fffffffc r9: 0x00007fa2cace25a8 r10: 0x00000000ffffffff r11: 0xffffffff00000000
r12: 0x0000000000000001 r13: 0x0000000118d2c6f0 r14: 0x00007fff5422c328 r15: 0x00007fa2cace2560
rip: 0x000000010c94af90 rfl: 0x0000000000010287 cr2: 0x0000000118ddfb20

Logical CPU: 0
Error Code: 0x020000e6
Trap Number: 133

It is apparently a known issue. Not sure when it will be fixed unfortunately!

Seems the 4.0.3 (stable) release I grabbed a few minutes ago works. I’ll be testing this build and will report back is I encounter issues

Thanks for the info