Closed Nutshell1 closed 2 years ago
Just an update: I'm using a 27" Late 2009 iMac 10.1 running Mac OS 10.13.6 High Sierra
I also tried running the boolean operations on meshlab 64bit version 2022.02 and is crashes every time even with the simplest meshes.
Here's the detailed crash report sent to apple. Sorry its really long. Please help-
Process: meshlab [5822] Path: /Applications/MeshLab2022.02.app/Contents/MacOS/meshlab Identifier: com.vcg.meshlab Version: 2022.02 (2022.02) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: meshlab [5822] User ID: 501
Date/Time: 2022-07-12 18:20:44.386 -0700 OS Version: Mac OS X 10.13.6 (17G14042) Report Version: 12 Anonymous UUID: 4F873B14-179A-DDD3-577F-878CEE83F9E5
Sleep/Wake UUID: 1E9C4732-1153-4E5E-BBAB-929A1BF4E401
Time Awake Since Boot: 4100 seconds Time Since Wake: 2800 seconds
System Integrity Protection: enabled
Crashed Thread: 5
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x4] Symbol missing
Dyld Error Message: Symbol not found: ____chkstk_darwin Referenced from: /Applications/MeshLab2022.02.app/Contents/PlugIns/../Frameworks/libgmp.10.dylib Expected in: flat namespace
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff7dbe9a46 psynch_mutexwait + 10
1 libsystem_pthread.dylib 0x00007fff7ddb1b9d _pthread_mutex_lock_wait + 83
2 libsystem_pthread.dylib 0x00007fff7ddaf4c8 _pthread_mutex_lock_slow + 253
3 libdyld.dylib 0x00007fff7da99128 dyldGlobalLockAcquire() + 16
4 dyld 0x00000001099e3a86 ImageLoaderMachOCompressed::doBindFastLazySymbol(unsigned int, ImageLoader::LinkContext const&, void ()(), void ()()) + 54
5 dyld 0x00000001099ca558 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 89
6 libdyld.dylib 0x00007fff7da99292 dyld_stub_binder + 282
7 ??? 0x000000010c59eb10 0 + 4502186768
8 libfilter_mesh_booleans.so 0x000000010c31c8ae int cmp<__mpq_struct [1], gmp_binary_expr<gmp_expr<__mpq_struct [1], mpq_struct [1]>, gmp_expr<__mpq_struct [1], mpq_struct [1]>, gmp_binary_multiplies>, mpq_struct [1], gmp_binary_expr<gmp_expr<mpq_struct [1], __mpq_struct [1]>, gmp_expr<mpq_struct [1], __mpq_struct [1]>, gmp_binary_multiplies> >(gmp_expr<__mpq_struct [1], gmp_binary_expr<gmp_expr<__mpq_struct [1], mpq_struct [1]>, gmp_expr<__mpq_struct [1], mpq_struct [1]>, gmp_binary_multiplies> > const&, gmp_expr<mpq_struct [1], gmp_binary_expr<gmp_expr<mpq_struct [1], mpq_struct [1]>, __gmp_expr<mpq_struct [1], mpq_struct [1]>, __gmp_binary_multiplies> > const&) + 46
9 libfilter_mesh_booleans.so 0x000000010c31c5ac CGAL::Equal_to<gmp_expr<mpq_struct [1], __mpq_struct [1]>, gmp_expr<mpq_struct [1], __mpq_struct [1]> >::result_type CGAL::equal_planeC3<gmp_expr<mpq_struct [1], __mpq_struct [1]> >(gmp_expr<mpq_struct [1], __mpq_struct [1]> const&, gmp_expr<mpq_struct [1], __mpq_struct [1]> const&, gmp_expr<mpq_struct [1], __mpq_struct [1]> const&, gmp_expr<mpq_struct [1], __mpq_struct [1]> const&, gmp_expr<mpq_struct [1], __mpq_struct [1]> const&, gmp_expr<mpq_struct [1], __mpq_struct [1]> const&, gmp_expr<mpq_struct [1], __mpq_struct [1]> const&, gmp_expr<mpq_struct [1], mpq_struct [1]> const&) + 472
10 libfilter_mesh_booleans.so 0x000000010c31b3e5 bool CGAL::Filtered_predicate<CGAL::CommonKernelFunctors::Equal_3<CGAL::Simple_cartesian<gmp_expr<mpq_struct [1], mpq_struct [1]> > >, CGAL::CommonKernelFunctors::Equal_3<CGAL::Simple_cartesian<CGAL::Interval_nt
Thread 1:: Qt bearer thread
0 libsystem_kernel.dylib 0x00007fff7dbeb09a poll + 10
1 org.qt-project.QtCore 0x000000010744d01a qt_safe_poll(pollfd, unsigned int, timespec const) + 90
2 org.qt-project.QtCore 0x000000010744ea21 QEventDispatcherUNIX::processEvents(QFlags
Thread 2:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00007fff7dbe01fa mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff7dbdf714 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff567cadc5 CFRunLoopServiceMachPort + 341 3 com.apple.CoreFoundation 0x00007fff567ca117 CFRunLoopRun + 1783 4 com.apple.CoreFoundation 0x00007fff567c9787 CFRunLoopRunSpecific + 487 5 com.apple.AppKit 0x00007fff53ef8fc4 _NSEventThread + 184 6 libsystem_pthread.dylib 0x00007fff7ddb1661 _pthread_body + 340 7 libsystem_pthread.dylib 0x00007fff7ddb150d _pthread_start + 377 8 libsystem_pthread.dylib 0x00007fff7ddb0bf9 thread_start + 13
Thread 3: 0 libsystem_pthread.dylib 0x00007fff7ddb0bdc start_wqthread + 0 1 ??? 0x0007000800010003 0 + 1970359196778499
Thread 4: 0 libsystem_pthread.dylib 0x00007fff7ddb0bdc start_wqthread + 0 1 ??? 0x0001000600000006 0 + 281500746514438
Thread 5 Crashed:
0 dyld 0x00000001099f7256 abort_with_payload + 10
1 dyld 0x00000001099f6bc8 abort_with_payload_wrapper_internal + 89
2 dyld 0x00000001099f6bf5 abort_with_payload + 9
3 dyld 0x00000001099ca482 dyld::halt(char const*) + 354
4 dyld 0x00000001099ca5a9 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 170
5 libdyld.dylib 0x00007fff7da99292 dyld_stub_binder + 282
6 ??? 0x000000010c59eb10 0 + 4502186768
7 libfilter_mesh_booleans.so 0x000000010c31c8ae int cmp<mpq_struct [1], gmp_binary_expr<gmp_expr<mpq_struct [1], __mpq_struct [1]>, gmp_expr<mpq_struct [1], __mpq_struct [1]>, gmp_binary_multiplies>, mpq_struct [1], gmp_binary_expr<gmp_expr<mpq_struct [1], mpq_struct [1]>, __gmp_expr<mpq_struct [1], mpq_struct [1]>, gmp_binary_multiplies> >(gmp_expr<mpq_struct [1], gmp_binary_expr<gmp_expr<mpq_struct [1], __mpq_struct [1]>, gmp_expr<mpq_struct [1], __mpq_struct [1]>, gmp_binary_multiplies> > const&, gmp_expr<__mpq_struct [1], gmp_binary_expr<gmp_expr<__mpq_struct [1], mpq_struct [1]>, gmp_expr<__mpq_struct [1], mpq_struct [1]>, gmp_binary_multiplies> > const&) + 46
8 libfilter_mesh_booleans.so 0x000000010c31c5ac CGAL::Equal_to<__gmp_expr<mpq_struct [1], mpq_struct [1]>, __gmp_expr<mpq_struct [1], mpq_struct [1]> >::result_type CGAL::equal_planeC3<__gmp_expr<mpq_struct [1], mpq_struct [1]> >(__gmp_expr<mpq_struct [1], mpq_struct [1]> const&, __gmp_expr<mpq_struct [1], mpq_struct [1]> const&, __gmp_expr<mpq_struct [1], mpq_struct [1]> const&, __gmp_expr<mpq_struct [1], mpq_struct [1]> const&, __gmp_expr<mpq_struct [1], mpq_struct [1]> const&, __gmp_expr<mpq_struct [1], mpq_struct [1]> const&, __gmp_expr<mpq_struct [1], mpq_struct [1]> const&, __gmp_expr<mpq_struct [1], mpq_struct [1]> const&) + 472
9 libfilter_mesh_booleans.so 0x000000010c31b3e5 bool CGAL::Filtered_predicate<CGAL::CommonKernelFunctors::Equal_3<CGAL::Simple_cartesian<gmp_expr<mpq_struct [1], mpq_struct [1]> > >, CGAL::CommonKernelFunctors::Equal_3<CGAL::Simple_cartesian<CGAL::Interval_nt
Thread 5 crashed with X86 Thread State (64-bit): rax: 0x0000000002000209 rbx: 0x0000000000000004 rcx: 0x0000700005987b38 rdx: 0x0000700005987fb0 rdi: 0x0000000000000006 rsi: 0x0000000000000004 rbp: 0x0000700005987b90 rsp: 0x0000700005987b38 r8: 0x0000700005987bb0 r9: 0x0000000000000000 r10: 0x0000000000000085 r11: 0x0000000000000246 r12: 0x0000000000000085 r13: 0x0000700005987fb0 r14: 0x0000000000000006 r15: 0x0000000000000000 rip: 0x00000001099f7256 rfl: 0x0000000000000246 cr2: 0x0000000109a47fe0
Logical CPU: 0 Error Code: 0x02000209 Trap Number: 133
Binary Images:
0x1061aa000 - 0x1062c1ff7 +com.vcg.meshlab (2022.02 - 2022.02) <2C371C45-B15C-33CC-B181-134D828F0717> /Applications/MeshLab2022.02.app/Contents/MacOS/meshlab
0x106358000 - 0x1063bbfff +libmeshlab-common.dylib (0) <484E559B-8E4A-3E77-944A-4C79FBDB130F> /Applications/MeshLab2022.02.app/Contents/Frameworks/libmeshlab-common.dylib
0x106410000 - 0x106520fff +org.qt-project.QtNetwork (5.15 - 5.15.2)
External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 0 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: 2595 thread_create: 0 thread_set_state: 0
VM Region Summary: ReadOnly portion of Libraries: Total=469.7M resident=0K(0%) swapped_out_or_unallocated=469.7M(100%) Writable regions: Total=205.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=205.2M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 256K 3 Activity Tracing 256K 2 CG backing stores 20.5M 11 CG image 3052K 23 CoreAnimation 216K 44 CoreGraphics 8K 2 CoreImage 132K 29 CoreUI image data 2856K 32 CoreUI image file 216K 6 Foundation 4K 2 Image IO 64K 2 Kernel Alloc Once 8K 2 MALLOC 166.1M 50 MALLOC guard page 48K 12 Memory Tag 242 12K 2 Memory Tag 251 36K 3 OpenGL GLSL 256K 4 STACK GUARD 56.0M 7 Stack 10.5M 9 VM_ALLOCATE 672K 43 DATA 37.0M 434 DATA_CONST 160K 7 __FONT_DATA 4K 2 GLSLBUILTINS 2588K 2 LINKEDIT 205.3M 167 TEXT 265.0M 428 UNICODE 560K 2 dylib (reserved) 456K 54 reserved VM address space (unallocated) mapped file 325.9M 337 shared memory 716K 18 =========== ======= ======= TOTAL 1.1G 1709 TOTAL, minus reserved VM space 1.1G 1709
Model: iMac10,1, BootROM 215.0.0.0.0, 2 processors, Intel Core 2 Duo, 3.06 GHz, 16 GB, SMC 1.53f13 Graphics: ATI Radeon HD 4670, ATI Radeon HD 4670, PCIe Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x0198, 0x393930353432382D3032302E4130304C4620 Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x0198, 0x393930353432382D3032302E4130304C4620 Memory Module: BANK 0/DIMM1, 4 GB, DDR3, 1067 MHz, 0x0000, 0x4D34373142353237334248312D4346382020 Memory Module: BANK 1/DIMM1, 4 GB, DDR3, 1067 MHz, 0x0000, 0x4D34373142353237334248312D4346382020 AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 4.0.74.0-P2P Bluetooth: Version 6.0.7f22, 3 services, 27 devices, 1 incoming serial ports Network Service: Wi-Fi, AirPort, en1 Serial ATA Device: ST4000DX001-1CE168, 4 TB Serial ATA Device: OPTIARC DVD RW AD-5680H USB Device: USB Bus USB Device: IR Receiver USB Device: USB Bus USB Device: BRCM2046 Hub USB Device: Bluetooth USB Host Controller USB Device: USB 2.0 Bus USB Device: Built-in iSight USB Device: Keyboard Hub USB Device: USB Optical Mouse USB Device: Apple Keyboard USB Device: USB 2.0 Bus USB Device: Internal Memory Card Reader Thunderbolt Bus:
It seems that the gmp version released with the macos version github provides to build pymeshlab is incompatible with your system. There is not much I can do here, I am afraid.
If you want, you can try to build pymeshlab in your mac, that will use a gmp version that should be compatible..
Hi,
I am trying to run boolean operations between some meshes as follows: ms.add_mesh(m1) ms.add_mesh(m2) ms.generate_boolean_intersection()
But I keep getting this error and python crashes dyld: Symbol not found: ____chkstk_darwin Referenced from: /usr/local/lib/python3.10/site-packages/pymeshlab/PlugIns/../Frameworks/libgmp.10.dylib Expected in: flat namespace
Is this a mac issue? I tried passing parameters such as first_mesh = 1,.... but still the same.
Please help. My project involves iteratively stitching meshes, cleaning up (meshing decimation quadric edge collapse, ...) and repeat. I have a workaround using trimesh to run the boolean operations but I would rather keep everything neat and clean using just pymeshlab.
Thanks