Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in ~FzColorspace() #3869

Open
qu1ck opened this issue Sep 17, 2024 · 1 comment
Open

Crash in ~FzColorspace() #3869

qu1ck opened this issue Sep 17, 2024 · 1 comment

Comments

@qu1ck
Copy link

qu1ck commented Sep 17, 2024

Description of the bug

Not sure if this should be reported in mupdf repo instead, please let me know.

How to reproduce the bug

The trigger for this crash is somewhat convoluted. KiCad EDA package uses python scripting for it's plugins and this was discovered when one plugin is launched while another plugin that uses pymupdf is present in the installation.
Original bug report is here: openscopeproject/InteractiveHtmlBom#467

After looking at the crash it's apparent that none of the plugins have anything to do with the crash, it happens when python garbage collects some objects and in particular FzColorSpace causes the crash.

Full crash log
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               kicad [1099]
Path:                  /Applications/KiCad/KiCad.app/Contents/MacOS/kicad
Identifier:            org.kicad.kicad
Version:               8.0.5 (8.0.5)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2024-09-17 02:59:30.5148 -0700
OS Version:            macOS 12.6.5 (21G531)
Report Version:        12
Anonymous UUID:        3E9CA79D-3423-4873-976A-2EA9582F85BB


Time Awake Since Boot: 890 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 0x0000000000000030
Exception Codes:       0x0000000000000001, 0x0000000000000030
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [1099]

VM Region Info: 0x30 is not in any region.  Bytes before following region: 140737487368144
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      VM_ALLOCATE              7ffffff0f000-7ffffff10000 [    4K] r-x/r-x SM=ALI  

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libmupdf.dylib                	       0x120629430 fz_drop_icc_profile + 16
1   libmupdf.dylib                	       0x12062bf58 fz_drop_colorspace_imp + 136
2   libmupdfcpp.so                	       0x11e6dcdad mupdf::ll_fz_drop_colorspace(fz_colorspace*) + 61
3   libmupdfcpp.so                	       0x11e69d3bc mupdf::FzColorspace::~FzColorspace() + 12
4   _mupdf.so                     	       0x1221183a6 _wrap_delete_FzColorspace(_object*, _object*) + 70
5   _mupdf.so                     	       0x122359c0d SwigPyObject_dealloc(_object*) + 205
6   Python                        	       0x103bc610e dict_dealloc + 142
7   Python                        	       0x103be7d72 subtype_dealloc + 1106
8   Python                        	       0x103bc610e dict_dealloc + 142
9   Python                        	       0x103be7d72 subtype_dealloc + 1106
10  Python                        	       0x103bc37d1 PyDict_Clear + 465
11  Python                        	       0x103bc67e9 dict_tp_clear + 9
12  Python                        	       0x103ce2e8d collect + 3245
13  Python                        	       0x103ce21c8 _PyGC_CollectNoFail + 72
14  Python                        	       0x103ca5aeb _PyImport_Cleanup + 3483
15  Python                        	       0x103cbca40 Py_FinalizeEx + 160
16  kicad                         	       0x100614ad0 pybind11::finalize_interpreter() + 704
17  kicad                         	       0x1006146fd SCRIPTING::~SCRIPTING() + 29
18  kicad                         	       0x10047da3f PGM_BASE::~PGM_BASE() + 335
19  libsystem_c.dylib             	    0x7ff808d44de4 __cxa_finalize_ranges + 409
20  libsystem_c.dylib             	    0x7ff808d44bfe exit + 35
21  libdyld.dylib                 	    0x7ff808e58375 dyld4::LibSystemHelpers::exit(int) const + 11
22  dyld                          	       0x10246e558 start + 504

Thread 1:
0   libsystem_pthread.dylib       	    0x7ff808e47f48 start_wqthread + 0

Thread 2:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	    0x7ff808e0f96a mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7ff808e0fcd8 mach_msg + 56
2   CoreFoundation                	    0x7ff808f16510 __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7ff808f14ba0 __CFRunLoopRun + 1276
4   CoreFoundation                	    0x7ff808f13fe4 CFRunLoopRunSpecific + 562
5   AppKit                        	    0x7ff80b9f298e _NSEventThread + 132
6   libsystem_pthread.dylib       	    0x7ff808e4c4e1 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff808e47f6b thread_start + 15

Thread 3:: com.apple.CFSocket.private
0   libsystem_kernel.dylib        	    0x7ff808e17d4a __select + 10
1   CoreFoundation                	    0x7ff808f3d2bb __CFSocketManager + 643
2   libsystem_pthread.dylib       	    0x7ff808e4c4e1 _pthread_start + 125
3   libsystem_pthread.dylib       	    0x7ff808e47f6b thread_start + 15

Thread 4:
0   libsystem_kernel.dylib        	    0x7ff808e123da __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff808e4ca6f _pthread_cond_wait + 1249
2   libc++.1.dylib                	    0x7ff808daad22 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   kicad                         	       0x1005b0a0e BS::thread_pool::worker() + 174
4   kicad                         	       0x1005b0df3 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*) + 67
5   libsystem_pthread.dylib       	    0x7ff808e4c4e1 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff808e47f6b thread_start + 15

Thread 5:
0   libsystem_kernel.dylib        	    0x7ff808e123da __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff808e4ca6f _pthread_cond_wait + 1249
2   libc++.1.dylib                	    0x7ff808daad22 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   kicad                         	       0x1005b0a0e BS::thread_pool::worker() + 174
4   kicad                         	       0x1005b0df3 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*) + 67
5   libsystem_pthread.dylib       	    0x7ff808e4c4e1 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff808e47f6b thread_start + 15

Thread 6:
0   libsystem_kernel.dylib        	    0x7ff808e123da __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff808e4ca6f _pthread_cond_wait + 1249
2   libc++.1.dylib                	    0x7ff808daad22 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   kicad                         	       0x1005b0a0e BS::thread_pool::worker() + 174
4   kicad                         	       0x1005b0df3 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*) + 67
5   libsystem_pthread.dylib       	    0x7ff808e4c4e1 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff808e47f6b thread_start + 15

Thread 7:
0   libsystem_kernel.dylib        	    0x7ff808e123da __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff808e4ca6f _pthread_cond_wait + 1249
2   libc++.1.dylib                	    0x7ff808daad22 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   kicad                         	       0x1005b0a0e BS::thread_pool::worker() + 174
4   kicad                         	       0x1005b0df3 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*) + 67
5   libsystem_pthread.dylib       	    0x7ff808e4c4e1 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff808e47f6b thread_start + 15

Thread 8:
0   libsystem_kernel.dylib        	    0x7ff808e123da __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff808e4ca6f _pthread_cond_wait + 1249
2   libc++.1.dylib                	    0x7ff808daad22 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   kicad                         	       0x1005b0a0e BS::thread_pool::worker() + 174
4   kicad                         	       0x1005b0df3 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*) + 67
5   libsystem_pthread.dylib       	    0x7ff808e4c4e1 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff808e47f6b thread_start + 15

Thread 9:
0   libsystem_kernel.dylib        	    0x7ff808e123da __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff808e4ca6f _pthread_cond_wait + 1249
2   libc++.1.dylib                	    0x7ff808daad22 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   kicad                         	       0x1005b0a0e BS::thread_pool::worker() + 174
4   kicad                         	       0x1005b0df3 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*) + 67
5   libsystem_pthread.dylib       	    0x7ff808e4c4e1 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff808e47f6b thread_start + 15

Thread 10:
0   libsystem_kernel.dylib        	    0x7ff808e123da __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff808e4ca6f _pthread_cond_wait + 1249
2   libc++.1.dylib                	    0x7ff808daad22 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   kicad                         	       0x1005b0a0e BS::thread_pool::worker() + 174
4   kicad                         	       0x1005b0df3 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*) + 67
5   libsystem_pthread.dylib       	    0x7ff808e4c4e1 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff808e47f6b thread_start + 15

Thread 11:
0   libsystem_kernel.dylib        	    0x7ff808e123da __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff808e4ca6f _pthread_cond_wait + 1249
2   libc++.1.dylib                	    0x7ff808daad22 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   kicad                         	       0x1005b0a0e BS::thread_pool::worker() + 174
4   kicad                         	       0x1005b0df3 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*) + 67
5   libsystem_pthread.dylib       	    0x7ff808e4c4e1 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff808e47f6b thread_start + 15

Thread 12:
0   libsystem_pthread.dylib       	    0x7ff808e47f48 start_wqthread + 0

Thread 13:
0   libsystem_kernel.dylib        	    0x7ff808e123da __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff808e4ca6f _pthread_cond_wait + 1249
2   libc++.1.dylib                	    0x7ff808daad22 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   _pcbnew.kiface                	       0x1157f7b3e BS::thread_pool::worker() + 174
4   _pcbnew.kiface                	       0x1157f7f23 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*) + 67
5   libsystem_pthread.dylib       	    0x7ff808e4c4e1 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff808e47f6b thread_start + 15

Thread 14:
0   libsystem_kernel.dylib        	    0x7ff808e123da __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff808e4ca6f _pthread_cond_wait + 1249
2   libc++.1.dylib                	    0x7ff808daad22 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   _pcbnew.kiface                	       0x1157f7b3e BS::thread_pool::worker() + 174
4   _pcbnew.kiface                	       0x1157f7f23 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*) + 67
5   libsystem_pthread.dylib       	    0x7ff808e4c4e1 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff808e47f6b thread_start + 15

Thread 15:
0   libsystem_kernel.dylib        	    0x7ff808e123da __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff808e4ca6f _pthread_cond_wait + 1249
2   libc++.1.dylib                	    0x7ff808daad22 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   _pcbnew.kiface                	       0x1157f7b3e BS::thread_pool::worker() + 174
4   _pcbnew.kiface                	       0x1157f7f23 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*) + 67
5   libsystem_pthread.dylib       	    0x7ff808e4c4e1 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff808e47f6b thread_start + 15

Thread 16:
0   libsystem_kernel.dylib        	    0x7ff808e123da __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff808e4ca6f _pthread_cond_wait + 1249
2   libc++.1.dylib                	    0x7ff808daad22 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   _pcbnew.kiface                	       0x1157f7b3e BS::thread_pool::worker() + 174
4   _pcbnew.kiface                	       0x1157f7f23 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*) + 67
5   libsystem_pthread.dylib       	    0x7ff808e4c4e1 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff808e47f6b thread_start + 15

Thread 17:
0   libsystem_kernel.dylib        	    0x7ff808e123da __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff808e4ca6f _pthread_cond_wait + 1249
2   libc++.1.dylib                	    0x7ff808daad22 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   _pcbnew.kiface                	       0x1157f7b3e BS::thread_pool::worker() + 174
4   _pcbnew.kiface                	       0x1157f7f23 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*) + 67
5   libsystem_pthread.dylib       	    0x7ff808e4c4e1 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff808e47f6b thread_start + 15

Thread 18:
0   libsystem_kernel.dylib        	    0x7ff808e123da __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff808e4ca6f _pthread_cond_wait + 1249
2   libc++.1.dylib                	    0x7ff808daad22 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   _pcbnew.kiface                	       0x1157f7b3e BS::thread_pool::worker() + 174
4   _pcbnew.kiface                	       0x1157f7f23 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*) + 67
5   libsystem_pthread.dylib       	    0x7ff808e4c4e1 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff808e47f6b thread_start + 15

Thread 19:
0   libsystem_kernel.dylib        	    0x7ff808e123da __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff808e4ca6f _pthread_cond_wait + 1249
2   libc++.1.dylib                	    0x7ff808daad22 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   _pcbnew.kiface                	       0x1157f7b3e BS::thread_pool::worker() + 174
4   _pcbnew.kiface                	       0x1157f7f23 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*) + 67
5   libsystem_pthread.dylib       	    0x7ff808e4c4e1 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff808e47f6b thread_start + 15

Thread 20:
0   libsystem_kernel.dylib        	    0x7ff808e123da __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff808e4ca6f _pthread_cond_wait + 1249
2   libc++.1.dylib                	    0x7ff808daad22 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   _pcbnew.kiface                	       0x1157f7b3e BS::thread_pool::worker() + 174
4   _pcbnew.kiface                	       0x1157f7f23 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*) + 67
5   libsystem_pthread.dylib       	    0x7ff808e4c4e1 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff808e47f6b thread_start + 15


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007fd4117451c0  rcx: 0x00007fd415236118  rdx: 0x0000000000000000
  rdi: 0x00007fd415236000  rsi: 0x00007fd41c108200  rbp: 0x00007ff7bfc52430  rsp: 0x00007ff7bfc52430
   r8: 0x0000000000000000   r9: 0x00007fd41931f000  r10: 0x00007ff808e12332  r11: 0x0000000000000246
  r12: 0x0000000122749280  r13: 0x0000600001068840  r14: 0x00007fd415236000  r15: 0x000000011eeff680
  rip: 0x0000000120629430  rfl: 0x0000000000010206  cr2: 0x0000000000000030
  
Logical CPU:     2
Error Code:      0x00000004 (no mapping for user data read)
Trap Number:     14

Thread 0 instruction stream:
  c4 08 5b 5d c3 48 8d 15-dc 1c 80 00 48 89 df be  ..[].H......H...
  07 00 00 00 31 c0 e8 a5-3e 06 00 0f 1f 44 00 00  ....1...>....D..
  48 85 f6 74 23 55 48 89-e5 48 8b 87 98 bb 00 00  H..t#UH..H......
  48 8b 78 30 e8 47 7e 3d-00 89 c1 31 c0 81 f9 20  H.x0.G~=...1... 
  62 61 4c 0f 94 c0 5d c3-31 c0 c3 0f 1f 44 00 00  baL...].1....D..
  48 85 f6 74 15 55 48 89-e5 48 8b 87 98 bb 00 00  H..t.UH..H......
 [48]8b 78 30 5d e9 76 81-3d 00 c3 0f 1f 44 00 00  H.x0].v.=....D..	<==
  55 48 89 e5 41 57 41 56-53 50 48 89 cb 49 89 d6  UH..AWAVSPH..I..
  48 8b 87 98 bb 00 00 4c-8b 78 30 4c 89 ff ba 63  H......L.x0L...c
  73 65 64 e8 18 8f 3d 00-41 c6 06 00 48 8d 15 62  sed...=.A...H..b
  1c 80 00 48 8d 0d 5e 1c-80 00 4c 89 ff 48 89 c6  ...H..^...L..H..
  4d 89 f0 41 89 d9 48 83-c4 08 5b 41 5e 41 5f 5d  M..A..H...[A^A_]

Binary Images:
       0x12061a000 -        0x121e11fff libmupdf.dylib (*) <c3696177-d2b0-31b9-881c-bd63aa1f43cd> /Users/USER/Library/Python/3.9/lib/python/site-packages/pymupdf/libmupdf.dylib
       0x11e699000 -        0x11e728fff libmupdfcpp.so (*) <7ca1e3ac-9f95-3b52-b9e0-3ed2b98fdea6> /Users/USER/Library/Python/3.9/lib/python/site-packages/pymupdf/libmupdfcpp.so
       0x121f2a000 -        0x1226d9fff _mupdf.so (*) <f616c00e-b555-3e60-a173-9b729531addb> /Users/USER/Library/Python/3.9/lib/python/site-packages/pymupdf/_mupdf.so
       0x103b43000 -        0x103dcefff org.python.python (3.9.13, (c) 2001-2021 Python Software Foundation.) <51a5f278-64ca-3248-865a-b0b5c96814fb> /Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.9/Python
       0x1002ad000 -        0x1006e0fff org.kicad.kicad (8.0.5) <24e4b54c-a30e-3254-bd9d-1e6ffbce0a50> /Applications/KiCad/KiCad.app/Contents/MacOS/kicad
    0x7ff808d16000 -     0x7ff808d9efff libsystem_c.dylib (*) <e42e9d7a-03b4-340b-b61e-dcd45fd4acc0> /usr/lib/system/libsystem_c.dylib
    0x7ff808e52000 -     0x7ff808e5dfff libdyld.dylib (*) <64c284b3-231b-391d-845c-a285dfa305cd> /usr/lib/system/libdyld.dylib
       0x102469000 -        0x1024d4fff dyld (*) <6376ba16-20f7-3c31-a5c5-a10648ae7b56> /usr/lib/dyld
    0x7ff808e46000 -     0x7ff808e51fff libsystem_pthread.dylib (*) <1239689d-21c9-36ce-96ba-be0ef8ee02e4> /usr/lib/system/libsystem_pthread.dylib
    0x7ff808e0e000 -     0x7ff808e45fff libsystem_kernel.dylib (*) <576ecf56-10c7-35bf-a391-e35d4bd74309> /usr/lib/system/libsystem_kernel.dylib
    0x7ff808e93000 -     0x7ff809397fff com.apple.CoreFoundation (6.9) <d4225a27-0df5-375d-a802-d292e358eedc> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7ff80b846000 -     0x7ff80c6d5fff com.apple.AppKit (6.9) <f02d178c-7914-3fc4-b9f4-9881945b3165> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7ff808d9f000 -     0x7ff808df7fff libc++.1.dylib (*) <a031469a-a9fe-37e0-8523-4f80351ea635> /usr/lib/libc++.1.dylib
       0x114678000 -        0x115e6bfff _pcbnew.kiface (*) <d952aa32-b992-3ab3-a40f-400019dd6a8e> /Applications/KiCad/KiCad.app/Contents/PlugIns/_pcbnew.kiface
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

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: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=1.3G resident=0K(0%) swapped_out_or_unallocated=1.3G(100%)
Writable regions: Total=3.3G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=3.3G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               128K        1 
Activity Tracing                   256K        1 
CG backing stores                 10.7M        5 
CG image                           164K       18 
ColorSync                          100K        9 
CoreAnimation                     27.2M       33 
CoreGraphics                        12K        2 
CoreUI image data                 2024K       34 
Foundation                          16K        1 
Kernel Alloc Once                    8K        1 
MALLOC                             2.8G      121 
MALLOC guard page                   32K        6 
MALLOC_LARGE (reserved)            256K        1         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
OpenGL GLSL                        256K        3 
STACK GUARD                       56.1M       21 
Stack                             18.2M       21 
VM_ALLOCATE                       69.6M      173 
__CTF                               756        1 
__DATA                            31.6M      515 
__DATA_CONST                      28.3M      331 
__DATA_DIRTY                       996K      139 
__FONT_DATA                          4K        1 
__GLSLBUILTINS                    5176K        1 
__LINKEDIT                       706.8M      136 
__OBJC_RO                         82.8M        1 
__OBJC_RW                         3200K        2 
__TEXT                           585.7M      529 
__UNICODE                          592K        1 
dyld private memory               1536K        3 
mapped file                      166.3M       24 
shared memory                      784K       18 
===========                     =======  ======= 
TOTAL                              4.9G     2154 
TOTAL, minus reserved VM space     4.6G     2154 



-----------
Full Report
-----------

{"app_name":"kicad","timestamp":"2024-09-17 02:59:40.00 -0700","app_version":"8.0.5","slice_uuid":"24e4b54c-a30e-3254-bd9d-1e6ffbce0a50","build_version":"8.0.5","platform":1,"bundleID":"org.kicad.kicad","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.6.5 (21G531)","incident_id":"A265BF15-9995-48F1-AF06-748D1C476BBA","name":"kicad"}
{
  "uptime" : 890,
  "procLaunch" : "2024-09-17 02:59:07.5825 -0700",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "VMware20,1",
  "procStartAbsTime" : 873752320512,
  "coalitionID" : 810,
  "osVersion" : {
    "train" : "macOS 12.6.5",
    "build" : "21G531",
    "releaseType" : "User"
  },
  "captureTime" : "2024-09-17 02:59:30.5148 -0700",
  "incident" : "A265BF15-9995-48F1-AF06-748D1C476BBA",
  "bug_type" : "309",
  "pid" : 1099,
  "procExitAbsTime" : 896682851379,
  "cpuType" : "X86-64",
  "procName" : "kicad",
  "procPath" : "\/Applications\/KiCad\/KiCad.app\/Contents\/MacOS\/kicad",
  "bundleInfo" : {"CFBundleShortVersionString":"8.0.5","CFBundleVersion":"8.0.5","CFBundleIdentifier":"org.kicad.kicad"},
  "storeInfo" : {"deviceIdentifierForVendor":"A839F4D2-CB35-5975-BE66-4A953BD01EA9","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "org.kicad.kicad",
  "crashReporterKey" : "3E9CA79D-3423-4873-976A-2EA9582F85BB",
  "sip" : "enabled",
  "vmRegionInfo" : "0x30 is not in any region.  Bytes before following region: 140737487368144\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      VM_ALLOCATE              7ffffff0f000-7ffffff10000 [    4K] r-x\/r-x SM=ALI  ",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000001, 0x0000000000000030","rawCodes":[1,48],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000030"},
  "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":1099},
  "vmregioninfo" : "0x30 is not in any region.  Bytes before following region: 140737487368144\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      VM_ALLOCATE              7ffffff0f000-7ffffff10000 [    4K] r-x\/r-x SM=ALI  ",
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":14413,"instructionState":{"instructionStream":{"bytes":[196,8,91,93,195,72,141,21,220,28,128,0,72,137,223,190,7,0,0,0,49,192,232,165,62,6,0,15,31,68,0,0,72,133,246,116,35,85,72,137,229,72,139,135,152,187,0,0,72,139,120,48,232,71,126,61,0,137,193,49,192,129,249,32,98,97,76,15,148,192,93,195,49,192,195,15,31,68,0,0,72,133,246,116,21,85,72,137,229,72,139,135,152,187,0,0,72,139,120,48,93,233,118,129,61,0,195,15,31,68,0,0,85,72,137,229,65,87,65,86,83,80,72,137,203,73,137,214,72,139,135,152,187,0,0,76,139,120,48,76,137,255,186,99,115,101,100,232,24,143,61,0,65,198,6,0,72,141,21,98,28,128,0,72,141,13,94,28,128,0,76,137,255,72,137,198,77,137,240,65,137,217,72,131,196,8,91,65,94,65,95,93],"offset":96}},"threadState":{"r13":{"value":105553133471808},"rax":{"value":0},"rflags":{"value":66054},"cpu":{"value":2},"r14":{"value":140548864434176},"rsi":{"value":140548980638208},"r8":{"value":0},"cr2":{"value":48},"rdx":{"value":0},"r10":{"value":140703277589298,"symbolLocation":10,"symbol":"sigprocmask"},"r9":{"value":140548932497408},"r15":{"value":4814009984},"rbx":{"value":140548802630080},"trap":{"value":14,"description":"(no mapping for user data read)"},"err":{"value":4},"r11":{"value":582},"rip":{"value":4838298672,"matchesCrashFrame":1},"rbp":{"value":140702051017776},"rsp":{"value":140702051017776},"r12":{"value":4873032320,"symbolLocation":0,"symbol":"_swigt__p_mupdf__FzColorspace"},"rcx":{"value":140548864434456},"flavor":"x86_THREAD_STATE","rdi":{"value":140548864434176}},"queue":"com.apple.main-thread","frames":[{"imageOffset":62512,"symbol":"fz_drop_icc_profile","symbolLocation":16,"imageIndex":0},{"imageOffset":73560,"symbol":"fz_drop_colorspace_imp","symbolLocation":136,"imageIndex":0},{"imageOffset":277933,"symbol":"mupdf::ll_fz_drop_colorspace(fz_colorspace*)","symbolLocation":61,"imageIndex":1},{"imageOffset":17340,"symbol":"mupdf::FzColorspace::~FzColorspace()","symbolLocation":12,"imageIndex":1},{"imageOffset":2024358,"symbol":"_wrap_delete_FzColorspace(_object*, _object*)","symbolLocation":70,"imageIndex":2},{"imageOffset":4389901,"symbol":"SwigPyObject_dealloc(_object*)","symbolLocation":205,"imageIndex":2},{"imageOffset":536846,"symbol":"dict_dealloc","symbolLocation":142,"imageIndex":3},{"imageOffset":675186,"symbol":"subtype_dealloc","symbolLocation":1106,"imageIndex":3},{"imageOffset":536846,"symbol":"dict_dealloc","symbolLocation":142,"imageIndex":3},{"imageOffset":675186,"symbol":"subtype_dealloc","symbolLocation":1106,"imageIndex":3},{"imageOffset":526289,"symbol":"PyDict_Clear","symbolLocation":465,"imageIndex":3},{"imageOffset":538601,"symbol":"dict_tp_clear","symbolLocation":9,"imageIndex":3},{"imageOffset":1703565,"symbol":"collect","symbolLocation":3245,"imageIndex":3},{"imageOffset":1700296,"symbol":"_PyGC_CollectNoFail","symbolLocation":72,"imageIndex":3},{"imageOffset":1452779,"symbol":"_PyImport_Cleanup","symbolLocation":3483,"imageIndex":3},{"imageOffset":1546816,"symbol":"Py_FinalizeEx","symbolLocation":160,"imageIndex":3},{"imageOffset":3570384,"symbol":"pybind11::finalize_interpreter()","symbolLocation":704,"imageIndex":4},{"imageOffset":3569405,"symbol":"SCRIPTING::~SCRIPTING()","symbolLocation":29,"imageIndex":4},{"imageOffset":1903167,"symbol":"PGM_BASE::~PGM_BASE()","symbolLocation":335,"imageIndex":4},{"imageOffset":191972,"symbol":"__cxa_finalize_ranges","symbolLocation":409,"imageIndex":5},{"imageOffset":191486,"symbol":"exit","symbolLocation":35,"imageIndex":5},{"imageOffset":25461,"symbol":"dyld4::LibSystemHelpers::exit(int) const","symbolLocation":11,"imageIndex":6},{"imageOffset":21848,"symbol":"start","symbolLocation":504,"imageIndex":7}]},{"id":14430,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]},{"id":14458,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6506,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":9},{"imageOffset":7384,"symbol":"mach_msg","symbolLocation":56,"imageIndex":9},{"imageOffset":537872,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":10},{"imageOffset":531360,"symbol":"__CFRunLoopRun","symbolLocation":1276,"imageIndex":10},{"imageOffset":528356,"symbol":"CFRunLoopRunSpecific","symbolLocation":562,"imageIndex":10},{"imageOffset":1755534,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":11},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":14463,"name":"com.apple.CFSocket.private","frames":[{"imageOffset":40266,"symbol":"__select","symbolLocation":10,"imageIndex":9},{"imageOffset":697019,"symbol":"__CFSocketManager","symbolLocation":643,"imageIndex":10},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":14468,"frames":[{"imageOffset":17370,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":9},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":8},{"imageOffset":48418,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":12},{"imageOffset":3160590,"symbol":"BS::thread_pool::worker()","symbolLocation":174,"imageIndex":4},{"imageOffset":3161587,"symbol":"void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*)","symbolLocation":67,"imageIndex":4},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":14469,"frames":[{"imageOffset":17370,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":9},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":8},{"imageOffset":48418,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":12},{"imageOffset":3160590,"symbol":"BS::thread_pool::worker()","symbolLocation":174,"imageIndex":4},{"imageOffset":3161587,"symbol":"void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*)","symbolLocation":67,"imageIndex":4},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":14470,"frames":[{"imageOffset":17370,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":9},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":8},{"imageOffset":48418,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":12},{"imageOffset":3160590,"symbol":"BS::thread_pool::worker()","symbolLocation":174,"imageIndex":4},{"imageOffset":3161587,"symbol":"void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*)","symbolLocation":67,"imageIndex":4},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":14471,"frames":[{"imageOffset":17370,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":9},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":8},{"imageOffset":48418,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":12},{"imageOffset":3160590,"symbol":"BS::thread_pool::worker()","symbolLocation":174,"imageIndex":4},{"imageOffset":3161587,"symbol":"void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*)","symbolLocation":67,"imageIndex":4},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":14472,"frames":[{"imageOffset":17370,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":9},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":8},{"imageOffset":48418,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":12},{"imageOffset":3160590,"symbol":"BS::thread_pool::worker()","symbolLocation":174,"imageIndex":4},{"imageOffset":3161587,"symbol":"void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*)","symbolLocation":67,"imageIndex":4},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":14473,"frames":[{"imageOffset":17370,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":9},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":8},{"imageOffset":48418,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":12},{"imageOffset":3160590,"symbol":"BS::thread_pool::worker()","symbolLocation":174,"imageIndex":4},{"imageOffset":3161587,"symbol":"void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*)","symbolLocation":67,"imageIndex":4},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":14474,"frames":[{"imageOffset":17370,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":9},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":8},{"imageOffset":48418,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":12},{"imageOffset":3160590,"symbol":"BS::thread_pool::worker()","symbolLocation":174,"imageIndex":4},{"imageOffset":3161587,"symbol":"void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*)","symbolLocation":67,"imageIndex":4},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":14475,"frames":[{"imageOffset":17370,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":9},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":8},{"imageOffset":48418,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":12},{"imageOffset":3160590,"symbol":"BS::thread_pool::worker()","symbolLocation":174,"imageIndex":4},{"imageOffset":3161587,"symbol":"void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*)","symbolLocation":67,"imageIndex":4},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":14495,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]},{"id":14511,"frames":[{"imageOffset":17370,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":9},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":8},{"imageOffset":48418,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":12},{"imageOffset":18348862,"symbol":"BS::thread_pool::worker()","symbolLocation":174,"imageIndex":13},{"imageOffset":18349859,"symbol":"void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*)","symbolLocation":67,"imageIndex":13},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":14512,"frames":[{"imageOffset":17370,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":9},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":8},{"imageOffset":48418,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":12},{"imageOffset":18348862,"symbol":"BS::thread_pool::worker()","symbolLocation":174,"imageIndex":13},{"imageOffset":18349859,"symbol":"void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*)","symbolLocation":67,"imageIndex":13},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":14513,"frames":[{"imageOffset":17370,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":9},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":8},{"imageOffset":48418,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":12},{"imageOffset":18348862,"symbol":"BS::thread_pool::worker()","symbolLocation":174,"imageIndex":13},{"imageOffset":18349859,"symbol":"void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*)","symbolLocation":67,"imageIndex":13},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":14514,"frames":[{"imageOffset":17370,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":9},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":8},{"imageOffset":48418,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":12},{"imageOffset":18348862,"symbol":"BS::thread_pool::worker()","symbolLocation":174,"imageIndex":13},{"imageOffset":18349859,"symbol":"void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*)","symbolLocation":67,"imageIndex":13},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":14515,"frames":[{"imageOffset":17370,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":9},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":8},{"imageOffset":48418,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":12},{"imageOffset":18348862,"symbol":"BS::thread_pool::worker()","symbolLocation":174,"imageIndex":13},{"imageOffset":18349859,"symbol":"void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*)","symbolLocation":67,"imageIndex":13},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":14516,"frames":[{"imageOffset":17370,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":9},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":8},{"imageOffset":48418,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":12},{"imageOffset":18348862,"symbol":"BS::thread_pool::worker()","symbolLocation":174,"imageIndex":13},{"imageOffset":18349859,"symbol":"void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*)","symbolLocation":67,"imageIndex":13},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":14517,"frames":[{"imageOffset":17370,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":9},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":8},{"imageOffset":48418,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":12},{"imageOffset":18348862,"symbol":"BS::thread_pool::worker()","symbolLocation":174,"imageIndex":13},{"imageOffset":18349859,"symbol":"void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*)","symbolLocation":67,"imageIndex":13},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":14518,"frames":[{"imageOffset":17370,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":9},{"imageOffset":27247,"symbol":"_pthread_cond_wait","symbolLocation":1249,"imageIndex":8},{"imageOffset":48418,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":12},{"imageOffset":18348862,"symbol":"BS::thread_pool::worker()","symbolLocation":174,"imageIndex":13},{"imageOffset":18349859,"symbol":"void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (BS::thread_pool::*)(), BS::thread_pool*> >(void*)","symbolLocation":67,"imageIndex":13},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4838236160,
    "size" : 25133056,
    "uuid" : "c3696177-d2b0-31b9-881c-bd63aa1f43cd",
    "path" : "\/Users\/USER\/Library\/Python\/3.9\/lib\/python\/site-packages\/pymupdf\/libmupdf.dylib",
    "name" : "libmupdf.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4805201920,
    "size" : 589824,
    "uuid" : "7ca1e3ac-9f95-3b52-b9e0-3ed2b98fdea6",
    "path" : "\/Users\/USER\/Library\/Python\/3.9\/lib\/python\/site-packages\/pymupdf\/libmupdfcpp.so",
    "name" : "libmupdfcpp.so"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4864516096,
    "size" : 8060928,
    "uuid" : "f616c00e-b555-3e60-a173-9b729531addb",
    "path" : "\/Users\/USER\/Library\/Python\/3.9\/lib\/python\/site-packages\/pymupdf\/_mupdf.so",
    "name" : "_mupdf.so"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4357107712,
    "CFBundleShortVersionString" : "3.9.13, (c) 2001-2021 Python Software Foundation.",
    "CFBundleIdentifier" : "org.python.python",
    "size" : 2670592,
    "uuid" : "51a5f278-64ca-3248-865a-b0b5c96814fb",
    "path" : "\/Applications\/KiCad\/KiCad.app\/Contents\/Frameworks\/Python.framework\/Versions\/3.9\/Python",
    "name" : "Python",
    "CFBundleVersion" : "3.9.13"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4297773056,
    "CFBundleShortVersionString" : "8.0.5",
    "CFBundleIdentifier" : "org.kicad.kicad",
    "size" : 4407296,
    "uuid" : "24e4b54c-a30e-3254-bd9d-1e6ffbce0a50",
    "path" : "\/Applications\/KiCad\/KiCad.app\/Contents\/MacOS\/kicad",
    "name" : "kicad",
    "CFBundleVersion" : "8.0.5"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703276556288,
    "size" : 561152,
    "uuid" : "e42e9d7a-03b4-340b-b61e-dcd45fd4acc0",
    "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703277850624,
    "size" : 49152,
    "uuid" : "64c284b3-231b-391d-845c-a285dfa305cd",
    "path" : "\/usr\/lib\/system\/libdyld.dylib",
    "name" : "libdyld.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4333146112,
    "size" : 442368,
    "uuid" : "6376ba16-20f7-3c31-a5c5-a10648ae7b56",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703277801472,
    "size" : 49152,
    "uuid" : "1239689d-21c9-36ce-96ba-be0ef8ee02e4",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703277572096,
    "size" : 229376,
    "uuid" : "576ecf56-10c7-35bf-a391-e35d4bd74309",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703278116864,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5263360,
    "uuid" : "d4225a27-0df5-375d-a802-d292e358eedc",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1866"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703321841664,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 15269888,
    "uuid" : "f02d178c-7914-3fc4-b9f4-9881945b3165",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2113.60.148"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703277117440,
    "size" : 364544,
    "uuid" : "a031469a-a9fe-37e0-8523-4f80351ea635",
    "path" : "\/usr\/lib\/libc++.1.dylib",
    "name" : "libc++.1.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4637294592,
    "size" : 25116672,
    "uuid" : "d952aa32-b992-3ab3-a40f-400019dd6a8e",
    "path" : "\/Applications\/KiCad\/KiCad.app\/Contents\/PlugIns\/_pcbnew.kiface",
    "name" : "_pcbnew.kiface"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "sharedCache" : {
  "base" : 140703274545152,
  "size" : 19331678208,
  "uuid" : "9168ec64-16ce-3d49-899e-59761c38809d"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.3G resident=0K(0%) swapped_out_or_unallocated=1.3G(100%)\nWritable regions: Total=3.3G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=3.3G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               128K        1 \nActivity Tracing                   256K        1 \nCG backing stores                 10.7M        5 \nCG image                           164K       18 \nColorSync                          100K        9 \nCoreAnimation                     27.2M       33 \nCoreGraphics                        12K        2 \nCoreUI image data                 2024K       34 \nFoundation                          16K        1 \nKernel Alloc Once                    8K        1 \nMALLOC                             2.8G      121 \nMALLOC guard page                   32K        6 \nMALLOC_LARGE (reserved)            256K        1         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nOpenGL GLSL                        256K        3 \nSTACK GUARD                       56.1M       21 \nStack                             18.2M       21 \nVM_ALLOCATE                       69.6M      173 \n__CTF                               756        1 \n__DATA                            31.6M      515 \n__DATA_CONST                      28.3M      331 \n__DATA_DIRTY                       996K      139 \n__FONT_DATA                          4K        1 \n__GLSLBUILTINS                    5176K        1 \n__LINKEDIT                       706.8M      136 \n__OBJC_RO                         82.8M        1 \n__OBJC_RW                         3200K        2 \n__TEXT                           585.7M      529 \n__UNICODE                          592K        1 \ndyld private memory               1536K        3 \nmapped file                      166.3M       24 \nshared memory                      784K       18 \n===========                     =======  ======= \nTOTAL                              4.9G     2154 \nTOTAL, minus reserved VM space     4.6G     2154 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "5fb4245a1bbfe8005e33a1e1",
      "factorPackIds" : {

      },
      "deploymentId" : 240000021
    },
    {
      "rolloutId" : "60186475825c62000ccf5450",
      "factorPackIds" : {

      },
      "deploymentId" : 240000074
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "c47ab4cc-c9c3-4b5d-a87c-e2433ce02597",
      "experimentId" : "6639bc6ba73d460582162323",
      "deploymentId" : 400000006
    }
  ]
}
}

Model: VMware20,1, BootROM VMW201.00V.20904234.B64.2212051119, 8 processors, Unknown, 3.62 GHz, 8 GB, SMC 2.8f0
Graphics: Display, 128 MB
Display: spdisplays_display, 2545 x 1383, Main, MirrorOff, Online
Memory Module: RAM slot #0/RAM slot #0, 8 GB, DRAM, 4800 MHz, VMware Virtual RAM, VMW-8192MB
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: VMware Virtual SATA Hard Drive, 96.64 GB
Serial ATA Device: VMware Virtual SATA CDRW Drive
USB Device: USB20Bus
USB Device: USBBus
USB Device: USB31Bus
USB Device: VMware Virtual USB Hub
USB Device: VMware Virtual USB Hub
USB Device: VMware Virtual USB Keyboard
USB Device: VMware Virtual USB Mouse
Thunderbolt Bus: 

By bisecting the pymupdf version I found that last one that does not crash is 1.23.8.
Crash reproduces reliably.

PyMuPDF version

1.24.10

Operating system

MacOS

Python version

3.9

@julian-smith-artifex-com
Copy link
Collaborator

Thanks for the detailed report.

We have a theory about what's going on, i'll update this ticket in the next few days hopefully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants