Closed nekopep closed 2 years ago
Can you recreate it on freeCAD master weekly build? https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/weekly-builds
Hello, sorry for the delay, I confirm that on freecad weekly build it works as expected. Still i did not used my user profile.
I think this bug has occured multiple time to me while using freecad linkstage 3. I had several crash with such log, the FemCalculixCantilevever3D is just an esay way to reproduce it.
Ok I just restedted with same system and user profile and confirm the bug only affects linkstage3 on macosx. I can't test on linux now, but in 2 weeks if needed.
yes please
It does NOT crash here:
OS: macOS Mojave (10.14) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 2021.717.24301 +3842 (Git) Build type: Release Branch: LinkDaily Hash: 44be6d539871be4083e83f428e8fcfbcf38408ef Python version: 3.9.6 Qt version: 5.12.9 Coin version: 4.0.1 OCC version: 7.5.2 Locale: C/Default (C)
Illegal instruction sounds like an issue with compiler optimisations for specific CPU features, which your CPU doesn't have. My MacBook Air has following CPU features:
sysctl -a | grep cpu.features machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 FMA CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC MOVBE POPCNT AES PCID XSAVE OSXSAVE SEGLIM64 TSCTMR AVX1.0 RDRAND F16C
I guess that your CPU lacks some of the SSE features.
Here my infos:
I'm on catalina and indeed this is an old mac book pro retina from 2013 (core i7)
sysctl -a | grep cpu.features machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ DTES64 MON DSCPL VMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC POPCNT AES PCID XSAVE OSXSAVE TSCTMR AVX1.0 RDRAND F16C
This is what is missing from my CPU: FMA SMX MOVBE SEGLIM64
My freecad info: OS: macOS 10.15 Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 2021.717.24301 +3842 (Git) Build type: Release Branch: LinkDaily Hash: 44be6d539871be4083e83f428e8fcfbcf38408ef Python version: 3.9.6 Qt version: 5.12.9 Coin version: 4.0.1 OCC version: 7.5.2 Locale: C/Default (C)
I checked my crash reports today and found one related to the FemCalculixCantilever3D experiment. So, I also had a crash on my machine, but it happened, when closing the FC application. That's why I did not recognise the crash. However, here is the full stack trace for the crash:
Process: FreeCAD [37328] Path: /Applications/FreeCAD asm3.app/Contents/Resources/bin/FreeCAD Identifier: ??? Version: ??? (2021) Code Type: X86-64 (Native) Parent Process: ??? [37321] Responsible: FreeCAD [37328] User ID: 501
Date/Time: 2021-08-08 23:48:46.972 +0200 OS Version: Mac OS X 10.14.6 (18G9216) Report Version: 12 Anonymous UUID: 00D0AAE4-4FA2-1AA2-1DC3-429829F4143B
Sleep/Wake UUID: D6C6A42F-D2CA-4A36-B1CC-AAD68A887DD6
Time Awake Since Boot: 1300000 seconds Time Since Wake: 16000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL) Exception Codes: 0x0000000000000001, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4 Termination Reason: Namespace SIGNAL, Code 0x4 Terminating Process: exc handler [37328]
Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 libSMDS.dylib 0x000000017ab5db7b SMDS_ElementChunk::~SMDS_ElementChunk() + 283
1 libSMDS.dylib 0x000000017ab5bc49 SMDS_ElementFactory::Clear() + 121
2 libSMDS.dylib 0x000000017ab66d9a SMDS_Mesh::Clear() + 42
3 libSMESHDS.dylib 0x0000000175dfd3a6 SMESHDS_Mesh::ClearMesh() + 54
4 libSMESH.dylib 0x000000017b7e9c97 SMESH_Mesh::~SMESH_Mesh() + 263
5 libSMESH.dylib 0x000000017b7ea19e SMESH_Mesh::~SMESH_Mesh() + 14
6 Fem.so 0x000000017acdb783 Fem::FemMesh::~FemMesh() + 131
7 Fem.so 0x000000017acdb9a5 non-virtual thunk to Fem::FemMesh::~FemMesh() + 21
8 Fem.so 0x000000017ad1078c Fem::PropertyFemMesh::~PropertyFemMesh() + 44
9 Fem.so 0x000000017acd3d1b App::FeaturePythonT
Thread 1:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x00007fff70aab616 select + 10 1 com.apple.CoreFoundation 0x00007fff449e588a CFSocketManager + 635 2 libsystem_pthread.dylib 0x00007fff70b632eb _pthread_body + 126 3 libsystem_pthread.dylib 0x00007fff70b66249 _pthread_start + 66 4 libsystem_pthread.dylib 0x00007fff70b6240d thread_start + 13
Thread 2:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00007fff70aa421a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff70aa4768 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff449b7e0e CFRunLoopServiceMachPort + 328 3 com.apple.CoreFoundation 0x00007fff449b737c CFRunLoopRun + 1612 4 com.apple.CoreFoundation 0x00007fff449b6ade CFRunLoopRunSpecific + 455 5 com.apple.AppKit 0x00007fff41fb44a2 _NSEventThread + 175 6 libsystem_pthread.dylib 0x00007fff70b632eb _pthread_body + 126 7 libsystem_pthread.dylib 0x00007fff70b66249 _pthread_start + 66 8 libsystem_pthread.dylib 0x00007fff70b6240d thread_start + 13
Thread 3: 0 libsystem_kernel.dylib 0x00007fff70aa7866 psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff70b6656e _pthread_cond_wait + 722 2 libomp.dylib 0x000000012965a78b void __kmp_suspend_64<false, true>(int, kmp_flag_64<false, true>) + 299 3 libomp.dylib 0x00000001296412f7 kmp_flag_64<false, true>::wait(kmp_info, int, void*) + 1671 4 libomp.dylib 0x000000012963d126 kmp_hyper_barrier_release(barrier_type, kmp_info, int, int, int, void) + 166 5 libomp.dylib 0x00000001296408ad kmp_fork_barrier(int, int) + 445 6 libomp.dylib 0x000000012961c01a kmp_launch_thread + 314 7 libomp.dylib 0x0000000129658ffa __kmp_launch_worker(void*) + 330 8 libsystem_pthread.dylib 0x00007fff70b632eb _pthread_body + 126 9 libsystem_pthread.dylib 0x00007fff70b66249 _pthread_start + 66 10 libsystem_pthread.dylib 0x00007fff70b6240d thread_start + 13
Thread 4: 0 libsystem_kernel.dylib 0x00007fff70aa7866 psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff70b6656e _pthread_cond_wait + 722 2 libomp.dylib 0x000000012965a78b void __kmp_suspend_64<false, true>(int, kmp_flag_64<false, true>) + 299 3 libomp.dylib 0x00000001296412f7 kmp_flag_64<false, true>::wait(kmp_info, int, void*) + 1671 4 libomp.dylib 0x000000012963d126 kmp_hyper_barrier_release(barrier_type, kmp_info, int, int, int, void) + 166 5 libomp.dylib 0x00000001296408ad kmp_fork_barrier(int, int) + 445 6 libomp.dylib 0x000000012961c01a kmp_launch_thread + 314 7 libomp.dylib 0x0000000129658ffa __kmp_launch_worker(void*) + 330 8 libsystem_pthread.dylib 0x00007fff70b632eb _pthread_body + 126 9 libsystem_pthread.dylib 0x00007fff70b66249 _pthread_start + 66 10 libsystem_pthread.dylib 0x00007fff70b6240d thread_start + 13
Thread 5:: NetworkConfigWatcher 0 libsystem_kernel.dylib 0x00007fff70aa421a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff70aa4768 mach_msg + 60 2 libQt5WebEngineCore.5.12.9.dylib 0x000000015480a5ba 0x152b28000 + 30287290 3 libQt5WebEngineCore.5.12.9.dylib 0x000000015480a4bf 0x152b28000 + 30287039 4 libQt5WebEngineCore.5.12.9.dylib 0x00000001547c24c2 0x152b28000 + 29992130 5 libQt5WebEngineCore.5.12.9.dylib 0x00000001547eb9e5 0x152b28000 + 30161381 6 libQt5WebEngineCore.5.12.9.dylib 0x00000001548396ec 0x152b28000 + 30480108 7 libQt5WebEngineCore.5.12.9.dylib 0x000000015487a2f7 0x152b28000 + 30745335 8 libsystem_pthread.dylib 0x00007fff70b632eb _pthread_body + 126 9 libsystem_pthread.dylib 0x00007fff70b66249 _pthread_start + 66 10 libsystem_pthread.dylib 0x00007fff70b6240d thread_start + 13
Thread 6:: DnsConfigService 0 libsystem_kernel.dylib 0x00007fff70aaa78a kevent + 10 1 libQt5WebEngineCore.5.12.9.dylib 0x0000000154ab7eed 0x152b28000 + 33095405 2 libQt5WebEngineCore.5.12.9.dylib 0x0000000154ab5cf8 0x152b28000 + 33086712 3 libQt5WebEngineCore.5.12.9.dylib 0x00000001548807aa 0x152b28000 + 30771114 4 libQt5WebEngineCore.5.12.9.dylib 0x00000001547eb9e5 0x152b28000 + 30161381 5 libQt5WebEngineCore.5.12.9.dylib 0x00000001548396ec 0x152b28000 + 30480108 6 libQt5WebEngineCore.5.12.9.dylib 0x000000015487a2f7 0x152b28000 + 30745335 7 libsystem_pthread.dylib 0x00007fff70b632eb _pthread_body + 126 8 libsystem_pthread.dylib 0x00007fff70b66249 _pthread_start + 66 9 libsystem_pthread.dylib 0x00007fff70b6240d thread_start + 13
Thread 7:: TaskSchedulerServiceThread 0 libsystem_kernel.dylib 0x00007fff70aaa78a kevent + 10 1 libQt5WebEngineCore.5.12.9.dylib 0x0000000154ab7eed 0x152b28000 + 33095405 2 libQt5WebEngineCore.5.12.9.dylib 0x0000000154ab5cf8 0x152b28000 + 33086712 3 libQt5WebEngineCore.5.12.9.dylib 0x0000000154880791 0x152b28000 + 30771089 4 libQt5WebEngineCore.5.12.9.dylib 0x00000001547eb9e5 0x152b28000 + 30161381 5 libQt5WebEngineCore.5.12.9.dylib 0x0000000154828c64 0x152b28000 + 30411876 6 libQt5WebEngineCore.5.12.9.dylib 0x00000001548396ec 0x152b28000 + 30480108 7 libQt5WebEngineCore.5.12.9.dylib 0x000000015487a2f7 0x152b28000 + 30745335 8 libsystem_pthread.dylib 0x00007fff70b632eb _pthread_body + 126 9 libsystem_pthread.dylib 0x00007fff70b66249 _pthread_start + 66 10 libsystem_pthread.dylib 0x00007fff70b6240d thread_start + 13
Thread 8:: TaskSchedulerForegroundWorker 0 libsystem_kernel.dylib 0x00007fff70aa421a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff70aa4768 mach_msg + 60 2 libQt5WebEngineCore.5.12.9.dylib 0x000000015480a5ba 0x152b28000 + 30287290 3 libQt5WebEngineCore.5.12.9.dylib 0x000000015480a6b1 0x152b28000 + 30287537 4 libQt5WebEngineCore.5.12.9.dylib 0x0000000154822178 0x152b28000 + 30384504 5 libQt5WebEngineCore.5.12.9.dylib 0x0000000154822ac8 0x152b28000 + 30386888 6 libQt5WebEngineCore.5.12.9.dylib 0x0000000154822714 0x152b28000 + 30385940 7 libQt5WebEngineCore.5.12.9.dylib 0x000000015487a2f7 0x152b28000 + 30745335 8 libsystem_pthread.dylib 0x00007fff70b632eb _pthread_body + 126 9 libsystem_pthread.dylib 0x00007fff70b66249 _pthread_start + 66 10 libsystem_pthread.dylib 0x00007fff70b6240d thread_start + 13
Thread 9:: TaskSchedulerForegroundBlockingWorker 0 libsystem_kernel.dylib 0x00007fff70aa421a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff70aa4768 mach_msg + 60 2 libQt5WebEngineCore.5.12.9.dylib 0x000000015480a5ba 0x152b28000 + 30287290 3 libQt5WebEngineCore.5.12.9.dylib 0x000000015480a6b1 0x152b28000 + 30287537 4 libQt5WebEngineCore.5.12.9.dylib 0x0000000154822178 0x152b28000 + 30384504 5 libQt5WebEngineCore.5.12.9.dylib 0x0000000154822ac8 0x152b28000 + 30386888 6 libQt5WebEngineCore.5.12.9.dylib 0x0000000154822714 0x152b28000 + 30385940 7 libQt5WebEngineCore.5.12.9.dylib 0x000000015487a2f7 0x152b28000 + 30745335 8 libsystem_pthread.dylib 0x00007fff70b632eb _pthread_body + 126 9 libsystem_pthread.dylib 0x00007fff70b66249 _pthread_start + 66 10 libsystem_pthread.dylib 0x00007fff70b6240d thread_start + 13
Thread 10:: TaskSchedulerBackgroundWorker 0 libsystem_kernel.dylib 0x00007fff70aa421a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff70aa4768 mach_msg + 60 2 libQt5WebEngineCore.5.12.9.dylib 0x000000015480a5ba 0x152b28000 + 30287290 3 libQt5WebEngineCore.5.12.9.dylib 0x000000015480a6b1 0x152b28000 + 30287537 4 libQt5WebEngineCore.5.12.9.dylib 0x0000000154822178 0x152b28000 + 30384504 5 libQt5WebEngineCore.5.12.9.dylib 0x0000000154822ac8 0x152b28000 + 30386888 6 libQt5WebEngineCore.5.12.9.dylib 0x0000000154822684 0x152b28000 + 30385796 7 libQt5WebEngineCore.5.12.9.dylib 0x000000015487a2f7 0x152b28000 + 30745335 8 libsystem_pthread.dylib 0x00007fff70b632eb _pthread_body + 126 9 libsystem_pthread.dylib 0x00007fff70b66249 _pthread_start + 66 10 libsystem_pthread.dylib 0x00007fff70b6240d thread_start + 13
Thread 11:: Chrome_IOThread 0 libsystem_kernel.dylib 0x00007fff70aaa78a kevent + 10 1 libQt5WebEngineCore.5.12.9.dylib 0x0000000154ab7eed 0x152b28000 + 33095405 2 libQt5WebEngineCore.5.12.9.dylib 0x0000000154ab5cf8 0x152b28000 + 33086712 3 libQt5WebEngineCore.5.12.9.dylib 0x0000000154880791 0x152b28000 + 30771089 4 libQt5WebEngineCore.5.12.9.dylib 0x00000001547eb9e5 0x152b28000 + 30161381 5 libQt5WebEngineCore.5.12.9.dylib 0x000000015428da63 0x152b28000 + 24533603 6 libQt5WebEngineCore.5.12.9.dylib 0x00000001548396ec 0x152b28000 + 30480108 7 libQt5WebEngineCore.5.12.9.dylib 0x000000015487a2f7 0x152b28000 + 30745335 8 libsystem_pthread.dylib 0x00007fff70b632eb _pthread_body + 126 9 libsystem_pthread.dylib 0x00007fff70b66249 _pthread_start + 66 10 libsystem_pthread.dylib 0x00007fff70b6240d thread_start + 13
Thread 12:: TaskSchedulerSingleThreadSharedBackgroundBlocking0 0 libsystem_kernel.dylib 0x00007fff70aa421a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff70aa4768 mach_msg + 60 2 libQt5WebEngineCore.5.12.9.dylib 0x000000015480a5ba 0x152b28000 + 30287290 3 libQt5WebEngineCore.5.12.9.dylib 0x000000015480a4bf 0x152b28000 + 30287039 4 libQt5WebEngineCore.5.12.9.dylib 0x000000015482216a 0x152b28000 + 30384490 5 libQt5WebEngineCore.5.12.9.dylib 0x0000000154822812 0x152b28000 + 30386194 6 libQt5WebEngineCore.5.12.9.dylib 0x00000001548226b4 0x152b28000 + 30385844 7 libQt5WebEngineCore.5.12.9.dylib 0x000000015487a2f7 0x152b28000 + 30745335 8 libsystem_pthread.dylib 0x00007fff70b632eb _pthread_body + 126 9 libsystem_pthread.dylib 0x00007fff70b66249 _pthread_start + 66 10 libsystem_pthread.dylib 0x00007fff70b6240d thread_start + 13
Thread 13:: CompositorTileWorker1/70403 0 libsystem_kernel.dylib 0x00007fff70aa7866 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff70b6656e _pthread_cond_wait + 722 2 libQt5WebEngineCore.5.12.9.dylib 0x0000000154878ba8 0x152b28000 + 30739368 3 libQt5WebEngineCore.5.12.9.dylib 0x00000001553e61ef 0x152b28000 + 42721775 4 libQt5WebEngineCore.5.12.9.dylib 0x0000000154838314 0x152b28000 + 30475028 5 libQt5WebEngineCore.5.12.9.dylib 0x000000015487a2f7 0x152b28000 + 30745335 6 libsystem_pthread.dylib 0x00007fff70b632eb _pthread_body + 126 7 libsystem_pthread.dylib 0x00007fff70b66249 _pthread_start + 66 8 libsystem_pthread.dylib 0x00007fff70b6240d thread_start + 13
Thread 14:: AudioThread 0 libsystem_kernel.dylib 0x00007fff70aa421a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff70aa4768 mach_msg + 60 2 libQt5WebEngineCore.5.12.9.dylib 0x000000015480a5ba 0x152b28000 + 30287290 3 libQt5WebEngineCore.5.12.9.dylib 0x000000015480a4bf 0x152b28000 + 30287039 4 libQt5WebEngineCore.5.12.9.dylib 0x00000001547c24c2 0x152b28000 + 29992130 5 libQt5WebEngineCore.5.12.9.dylib 0x00000001547eb9e5 0x152b28000 + 30161381 6 libQt5WebEngineCore.5.12.9.dylib 0x00000001548396ec 0x152b28000 + 30480108 7 libQt5WebEngineCore.5.12.9.dylib 0x000000015487a2f7 0x152b28000 + 30745335 8 libsystem_pthread.dylib 0x00007fff70b632eb _pthread_body + 126 9 libsystem_pthread.dylib 0x00007fff70b66249 _pthread_start + 66 10 libsystem_pthread.dylib 0x00007fff70b6240d thread_start + 13
Thread 15:: Chrome_InProcGpuThread 0 libsystem_kernel.dylib 0x00007fff70aa421a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff70aa4768 mach_msg + 60 2 libQt5WebEngineCore.5.12.9.dylib 0x000000015480a5ba 0x152b28000 + 30287290 3 libQt5WebEngineCore.5.12.9.dylib 0x00000001547c245f 0x152b28000 + 29992031 4 libQt5WebEngineCore.5.12.9.dylib 0x00000001547eb9e5 0x152b28000 + 30161381 5 libQt5WebEngineCore.5.12.9.dylib 0x00000001548396ec 0x152b28000 + 30480108 6 libQt5WebEngineCore.5.12.9.dylib 0x000000015487a2f7 0x152b28000 + 30745335 7 libsystem_pthread.dylib 0x00007fff70b632eb _pthread_body + 126 8 libsystem_pthread.dylib 0x00007fff70b66249 _pthread_start + 66 9 libsystem_pthread.dylib 0x00007fff70b6240d thread_start + 13
Thread 16:: Chrome_ChildIOThread 0 libsystem_kernel.dylib 0x00007fff70aaa78a kevent + 10 1 libQt5WebEngineCore.5.12.9.dylib 0x0000000154ab7eed 0x152b28000 + 33095405 2 libQt5WebEngineCore.5.12.9.dylib 0x0000000154ab5cf8 0x152b28000 + 33086712 3 libQt5WebEngineCore.5.12.9.dylib 0x00000001548807aa 0x152b28000 + 30771114 4 libQt5WebEngineCore.5.12.9.dylib 0x00000001547eb9e5 0x152b28000 + 30161381 5 libQt5WebEngineCore.5.12.9.dylib 0x00000001548396ec 0x152b28000 + 30480108 6 libQt5WebEngineCore.5.12.9.dylib 0x000000015487a2f7 0x152b28000 + 30745335 7 libsystem_pthread.dylib 0x00007fff70b632eb _pthread_body + 126 8 libsystem_pthread.dylib 0x00007fff70b66249 _pthread_start + 66 9 libsystem_pthread.dylib 0x00007fff70b6240d thread_start + 13
Thread 17:: NetworkConfigWatcher 0 libsystem_kernel.dylib 0x00007fff70aa421a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff70aa4768 mach_msg + 60 2 libQt5WebEngineCore.5.12.9.dylib 0x000000015480a5ba 0x152b28000 + 30287290 3 libQt5WebEngineCore.5.12.9.dylib 0x000000015480a4bf 0x152b28000 + 30287039 4 libQt5WebEngineCore.5.12.9.dylib 0x00000001547c24c2 0x152b28000 + 29992130 5 libQt5WebEngineCore.5.12.9.dylib 0x00000001547eb9e5 0x152b28000 + 30161381 6 libQt5WebEngineCore.5.12.9.dylib 0x00000001548396ec 0x152b28000 + 30480108 7 libQt5WebEngineCore.5.12.9.dylib 0x000000015487a2f7 0x152b28000 + 30745335 8 libsystem_pthread.dylib 0x00007fff70b632eb _pthread_body + 126 9 libsystem_pthread.dylib 0x00007fff70b66249 _pthread_start + 66 10 libsystem_pthread.dylib 0x00007fff70b6240d thread_start + 13
Thread 18:: TaskSchedulerBackgroundBlockingWorker 0 libsystem_kernel.dylib 0x00007fff70aa421a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff70aa4768 mach_msg + 60 2 libQt5WebEngineCore.5.12.9.dylib 0x000000015480a5ba 0x152b28000 + 30287290 3 libQt5WebEngineCore.5.12.9.dylib 0x000000015480a6b1 0x152b28000 + 30287537 4 libQt5WebEngineCore.5.12.9.dylib 0x0000000154822178 0x152b28000 + 30384504 5 libQt5WebEngineCore.5.12.9.dylib 0x0000000154822ac8 0x152b28000 + 30386888 6 libQt5WebEngineCore.5.12.9.dylib 0x0000000154822684 0x152b28000 + 30385796 7 libQt5WebEngineCore.5.12.9.dylib 0x000000015487a2f7 0x152b28000 + 30745335 8 libsystem_pthread.dylib 0x00007fff70b632eb _pthread_body + 126 9 libsystem_pthread.dylib 0x00007fff70b66249 _pthread_start + 66 10 libsystem_pthread.dylib 0x00007fff70b6240d thread_start + 13
Thread 19:: TaskSchedulerSingleThreadForegroundBlocking1 0 libsystem_kernel.dylib 0x00007fff70aa421a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff70aa4768 mach_msg + 60 2 libQt5WebEngineCore.5.12.9.dylib 0x000000015480a5ba 0x152b28000 + 30287290 3 libQt5WebEngineCore.5.12.9.dylib 0x000000015480a4bf 0x152b28000 + 30287039 4 libQt5WebEngineCore.5.12.9.dylib 0x000000015482216a 0x152b28000 + 30384490 5 libQt5WebEngineCore.5.12.9.dylib 0x0000000154822ac8 0x152b28000 + 30386888 6 libQt5WebEngineCore.5.12.9.dylib 0x0000000154822774 0x152b28000 + 30386036 7 libQt5WebEngineCore.5.12.9.dylib 0x000000015487a2f7 0x152b28000 + 30745335 8 libsystem_pthread.dylib 0x00007fff70b632eb _pthread_body + 126 9 libsystem_pthread.dylib 0x00007fff70b66249 _pthread_start + 66 10 libsystem_pthread.dylib 0x00007fff70b6240d thread_start + 13
Thread 20:: CacheThread_BlockFile 0 libsystem_kernel.dylib 0x00007fff70aaa78a kevent + 10 1 libQt5WebEngineCore.5.12.9.dylib 0x0000000154ab7eed 0x152b28000 + 33095405 2 libQt5WebEngineCore.5.12.9.dylib 0x0000000154ab5cf8 0x152b28000 + 33086712 3 libQt5WebEngineCore.5.12.9.dylib 0x0000000154880791 0x152b28000 + 30771089 4 libQt5WebEngineCore.5.12.9.dylib 0x00000001547eb9e5 0x152b28000 + 30161381 5 libQt5WebEngineCore.5.12.9.dylib 0x00000001548396ec 0x152b28000 + 30480108 6 libQt5WebEngineCore.5.12.9.dylib 0x000000015487a2f7 0x152b28000 + 30745335 7 libsystem_pthread.dylib 0x00007fff70b632eb _pthread_body + 126 8 libsystem_pthread.dylib 0x00007fff70b66249 _pthread_start + 66 9 libsystem_pthread.dylib 0x00007fff70b6240d thread_start + 13
Thread 21: 0 libsystem_pthread.dylib 0x00007fff70b623f0 start_wqthread + 0
Thread 22: 0 libsystem_pthread.dylib 0x00007fff70b623f0 start_wqthread + 0
Thread 23: 0 libsystem_pthread.dylib 0x00007fff70b623f0 start_wqthread + 0
Thread 24: 0 libsystem_pthread.dylib 0x00007fff70b623f0 start_wqthread + 0
Thread 25: 0 libsystem_pthread.dylib 0x00007fff70b623f0 start_wqthread + 0
Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000307 rbx: 0x00007ffa8a82c450 rcx: 0x0000000000000000 rdx: 0x0000000000000003 rdi: 0x00007ffa8b384808 rsi: 0x0000000000000000 rbp: 0x00007ffee1425140 rsp: 0x00007ffee1425130 r8: 0x00007ffa8ba00000 r9: 0x0000000000010104 r10: 0x0000000000000003 r11: 0x000000011062ca00 r12: 0x00007ffa8a82c458 r13: 0x00007ffa8a8b3a50 r14: 0x00007ffa8a8b3a50 r15: 0x00007ffa8b94e290 rip: 0x000000017ab5db7b rfl: 0x0000000000010206 cr2: 0x00007ffa8aa8fbc0
Logical CPU: 0 Error Code: 0x00000000 Trap Number: 6
Binary Images:
0x10e7d8000 - 0x10e7defff +FreeCAD (0) <430ABBB5-5A9C-3285-AEA3-D84FA5CB2ABF> /Applications/FreeCAD asm3.app/Contents/Resources/bin/FreeCAD
0x10e7e4000 - 0x10f4dcfff +libFreeCADGui.dylib (0) <84765983-0D7A-3A61-AB73-3CDB29C4A837> /Applications/FreeCAD asm3.app/Contents/Resources/lib/libFreeCADGui.dylib
0x10f9d1000 - 0x10fd33fff +libpython3.9.dylib (0)
External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 739 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 272129802 thread_create: 0 thread_set_state: 426
VM Region Summary: ReadOnly portion of Libraries: Total=891.9M resident=0K(0%) swapped_out_or_unallocated=891.9M(100%) Writable regions: Total=1.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.1G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 256K 2 Activity Tracing 256K 1 CG backing stores 6656K 6 CG image 76K 3 CoreGraphics 8K 1 CoreImage 16K 4 CoreUI image data 900K 19 CoreUI image file 196K 3 Dispatch continuations 8192K 1 Foundation 32K 2 Kernel Alloc Once 8K 1 MALLOC 181.5M 149 MALLOC guard page 32K 7 MALLOC_LARGE (reserved) 384K 1 reserved VM address space (unallocated) Memory Tag 242 12K 1 OpenGL GLSL 256K 3 PROTECTED_MEMORY 4K 1 STACK GUARD 56.1M 26 Stack 155.7M 26 VM_ALLOCATE 474.5M 271 VM_ALLOCATE (reserved) 256.0M 2 reserved VM address space (unallocated) DATA 74.0M 682 FONT_DATA 4K 1 GLSLBUILTINS 5176K 1 LINKEDIT 286.8M 302 TEXT 605.0M 607 UNICODE 564K 1 mapped file 457.1M 99 shared memory 892K 18 =========== ======= ======= TOTAL 2.5G 2241 TOTAL, minus reserved VM space 2.3G 2241
System Profile: Network Service: Wi-Fi, AirPort, en0 Thunderbolt Bus: MacBook Air, Apple Inc., 27.2 Boot Volume File System Type: apfs Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x483943434E4E4E424A544D4C41522D4E5544 Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x483943434E4E4E424A544D4C41522D4E5544 USB Device: USB 3.0 Bus USB Device: BRCM20702 Hub USB Device: Bluetooth USB Host Controller Serial ATA Device: APPLE SSD SM0512G, 500.28 GB Model: MacBookAir7,2, BootROM 427.0.0.0.0, 2 processors, Intel Core i7, 2.2 GHz, 8 GB, SMC 2.27f2 Graphics: kHW_IntelHDGraphics6000Item, Intel HD Graphics 6000, spdisplays_builtin AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x117), Broadcom BCM43xx 1.0 (7.77.61.3 AirPortDriverBrcmNIC-1305.12) Bluetooth: Version 6.0.14d12, 3 services, 27 devices, 1 incoming serial ports
@thomasgi1 , FYI I got the exact same crash -> SMDS_ElementChunk::~SMDS_ElementChunk() destructor.
Crashed Thread: 0 CrBrowserMain
Exception Type: EXC_BAD_INSTRUCTION (SIGILL) Exception Codes: 0x0000000000000001, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4 Termination Reason: Namespace SIGNAL, Code 0x4 Terminating Process: exc handler [6433]
Thread 0 Crashed:: CrBrowserMain
0 libSMDS.dylib 0x000000018d13bb7b SMDS_ElementChunk::~SMDS_ElementChunk() + 283
1 libSMDS.dylib 0x000000018d139c49 SMDS_ElementFactory::Clear() + 121
2 libSMDS.dylib 0x000000018d144d9a SMDS_Mesh::Clear() + 42
3 libSMESHDS.dylib 0x0000000175ac03a6 SMESHDS_Mesh::ClearMesh() + 54
4 libSMESH.dylib 0x000000018cfd2c97 SMESH_Mesh::~SMESH_Mesh() + 263
5 libSMESH.dylib 0x000000018cfd319e SMESH_Mesh::~SMESH_Mesh() + 14
6 Fem.so 0x0000000175671783 Fem::FemMesh::~FemMesh() + 131
7 Fem.so 0x00000001756719a5 non-virtual thunk to Fem::FemMesh::~FemMesh() + 21
8 Fem.so 0x00000001756a67cc Fem::PropertyFemMesh::~PropertyFemMesh() + 44
9 libFreeCADApp.dylib 0x0000000101d7a326 App::Property::hasSetValue() + 422
10 Fem.so 0x000000017566d8ef Fem::FemMeshShapeNetgenObject::execute() + 735
11 libFreeCADApp.dylib 0x0000000101c0fe44 App::DocumentObject::recompute() + 84
12 libFreeCADApp.dylib 0x0000000101b7a382 App::Document::_recomputeFeature(App::DocumentObject) + 130
13 libFreeCADApp.dylib 0x0000000101b788c2 App::Document::recompute(std::__1::vector<App::DocumentObject, std::1::allocator<App::DocumentObject> > const&, bool, bool, int) + 3170
14 libFreeCADGui.dylib 0x000000010055f725 boost::detail::function::void_function_obj_invoker0<Gui::Application::Application(bool)::$_0, void>::invoke(boost::detail::function::function_buffer&) + 917
15 libFreeCADApp.dylib 0x0000000101d1f569 boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker
Ok seems related to: https://github.com/trelau/SMESH/issues/37 https://github.com/realthunder/FreeCAD_assembly3/issues/698
@luzpaz : can you mark as duplicate of 698?
Also can you remove "waiting user response"? thx!
Closing as duplicate of #698
Hi there, Just seen that when I open FemCalculixCantilever3D from FreeCad start workbench, it ask a recompute and then crash immediately. Here is the traceback: ./FreeCAD.app/Contents/MacOS/FreeCADLink --system-cfg $PWD/link.system.cfg --user-cfg $PWD/link.user.cfg FreeCAD 0.19, Libs: 2021.717R24301 +3842 (Git)