saltstack / salt

Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:
https://repo.saltproject.io/
Apache License 2.0
14.1k stars 5.47k forks source link

[RC1 Sodium] salt fails on macOS Catalina, due to loading unversioned /usr/lib/libcrypto.dylib #55084

Closed bayandin closed 4 years ago

bayandin commented 4 years ago

Description of Issue

salt crashes on macOS Catalina (10.15). I find out that the problem happens on loading /usr/lib/libcrypto.dylib library (https://github.com/saltstack/salt/blob/v2019.2.1/salt/utils/rsax931.py#L57). There is a similar issue with another python library: https://github.com/wbond/asn1crypto/issues/158

Setup

Steps to Reproduce Issue

Versions Report

(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)

$ python3 --version
Python 3.7.4

$ python3 -m pip install salt
Processing /Users/bayandin/Library/Caches/pip/wheels/2d/98/b0/95c23563552c50dc3349e24745f755fdfb63201bcc4602e988/salt-2019.2.1-cp37-none-any.whl
Requirement already satisfied: msgpack!=0.5.5,>=0.5 in /usr/local/lib/python3.7/site-packages (from salt) (0.5.6)
Requirement already satisfied: PyYAML<5.1 in /usr/local/lib/python3.7/site-packages (from salt) (3.13)
Requirement already satisfied: tornado<5.0,>=4.2.1 in /usr/local/lib/python3.7/site-packages (from salt) (4.5.3)
Requirement already satisfied: MarkupSafe in /usr/local/lib/python3.7/site-packages (from salt) (1.1.1)
Requirement already satisfied: pycrypto>=2.6.1 in /usr/local/lib/python3.7/site-packages (from salt) (2.6.1)
Requirement already satisfied: pyzmq>=2.2.0 in /usr/local/lib/python3.7/site-packages (from salt) (18.1.0)
Requirement already satisfied: requests>=1.0.0 in /usr/local/lib/python3.7/site-packages (from salt) (2.22.0)
Requirement already satisfied: Jinja2 in /usr/local/lib/python3.7/site-packages (from salt) (2.10.3)
Requirement already satisfied: idna<2.9,>=2.5 in /usr/local/lib/python3.7/site-packages (from requests>=1.0.0->salt) (2.8)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.7/site-packages (from requests>=1.0.0->salt) (1.25.6)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/site-packages (from requests>=1.0.0->salt) (2019.9.11)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python3.7/site-packages (from requests>=1.0.0->salt) (3.0.4)
Installing collected packages: salt
Successfully installed salt-2019.2.1
xeacott commented 4 years ago

Thanks for submitting! This may be an issue with Salt 2019.2.1 as there has some known and unknown issues with it. Maybe an earlier version, such as 2019.2 works for you.

Can you also provide the stack trace as well?

bayandin commented 4 years ago

The only way to get a stack trace is via setting PYTHONDEVMODE=1 (salt==2019.2.2):

PYTHONDEVMODE=1 salt
/Users/bayandin/venv/lib/python3.7/site-packages/tornado/httputil.py:106: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  class HTTPHeaders(collections.MutableMapping):
Fatal Python error: Aborted

Current thread 0x000000010bf77d40 (most recent call first):
  File "/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ctypes/__init__.py", line 364 in __init__
  File "/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ctypes/__init__.py", line 442 in LoadLibrary
  File "/Users/bayandin/venv/lib/python3.7/site-packages/salt/utils/rsax931.py", line 57 in _load_libcrypto
  File "/Users/bayandin/venv/lib/python3.7/site-packages/salt/utils/rsax931.py", line 65 in _init_libcrypto
  File "/Users/bayandin/venv/lib/python3.7/site-packages/salt/utils/rsax931.py", line 96 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "/Users/bayandin/venv/lib/python3.7/site-packages/salt/crypt.py", line 69 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "/Users/bayandin/venv/lib/python3.7/site-packages/salt/minion.py", line 69 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "/Users/bayandin/venv/lib/python3.7/site-packages/salt/utils/job.py", line 11 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "/Users/bayandin/venv/lib/python3.7/site-packages/salt/cli/salt.py", line 11 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "/Users/bayandin/venv/lib/python3.7/site-packages/salt/scripts.py", line 511 in salt_main
  File "/Users/bayandin/venv/bin/salt", line 10 in <module>
Abort trap: 6

And the crash log from macOS:

Process:               Python [83972]
Path:                  /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python
Identifier:            Python
Version:               3.7.4 (3.7.4)
Code Type:             X86-64 (Native)
Parent Process:        bash [82101]
Responsible:           Terminal [82099]
User ID:               501

Date/Time:             2019-10-23 23:50:38.473 +0100
OS Version:            Mac OS X 10.15 (19A602)
Report Version:        12
Bridge OS Version:     4.0 (17P572)
Anonymous UUID:        DDB8645B-2B74-EA51-E23D-3548F0CAD381

Sleep/Wake UUID:       694D753D-E2AF-444F-803F-3AC7DBA06BD2

Time Awake Since Boot: 200000 seconds
Time Since Wake:       4500 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called
Invalid dylib load. Clients should not load the unversioned libcrypto dylib as it does not have a stable ABI.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff721a547a __pthread_kill + 10
1   libsystem_pthread.dylib         0x00007fff72262707 pthread_kill + 384
2   libsystem_c.dylib               0x00007fff720bd31e raise + 26
3   libsystem_platform.dylib        0x00007fff72257b1d _sigtramp + 29
4   ???                             0xcdcdcdcdcdcdcdcd 0 + 14829735431805717965
5   libsystem_c.dylib               0x00007fff7212da08 abort + 120
6   libcrypto.dylib                 0x00007fff6fab7804 __report_load + 352
7   dyld                            0x000000010bec9635 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 539
8   dyld                            0x000000010bec9a5a ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
9   dyld                            0x000000010bec4933 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 493
10  dyld                            0x000000010bec369c ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 188
11  dyld                            0x000000010bec373c ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 82
12  dyld                            0x000000010beb5d87 dyld::runInitializers(ImageLoader*) + 82
13  dyld                            0x000000010bebf767 dlopen_internal + 609
14  libdyld.dylib                   0x00007fff72046f6f dlopen + 171
15  _ctypes.cpython-37m-darwin.so   0x0000000101d0cf7a py_dl_open + 147
16  org.python.python               0x0000000100a4e34b _PyMethodDef_RawFastCallKeywords + 235
17  org.python.python               0x0000000100a4d9d4 _PyCFunction_FastCallKeywords + 41
18  org.python.python               0x0000000100ae2384 call_function + 628
19  org.python.python               0x0000000100adb3fa _PyEval_EvalFrameDefault + 6922
20  org.python.python               0x0000000100ae2be5 _PyEval_EvalCodeWithName + 1698
21  org.python.python               0x0000000100a4d614 _PyFunction_FastCallDict + 444
22  org.python.python               0x0000000100a4e71b _PyObject_Call_Prepend + 131
23  org.python.python               0x0000000100a8bade slot_tp_init + 80
24  org.python.python               0x0000000100a8880a type_call + 172
25  org.python.python               0x0000000100a4d84a _PyObject_FastCallKeywords + 358
26  org.python.python               0x0000000100ae23ea call_function + 730
27  org.python.python               0x0000000100adb35f _PyEval_EvalFrameDefault + 6767
28  org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
29  org.python.python               0x0000000100ae23f1 call_function + 737
30  org.python.python               0x0000000100adb35f _PyEval_EvalFrameDefault + 6767
31  org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
32  org.python.python               0x0000000100ae23f1 call_function + 737
33  org.python.python               0x0000000100adb3fa _PyEval_EvalFrameDefault + 6922
34  org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
35  org.python.python               0x0000000100ae23f1 call_function + 737
36  org.python.python               0x0000000100adb3fa _PyEval_EvalFrameDefault + 6922
37  org.python.python               0x0000000100ae2be5 _PyEval_EvalCodeWithName + 1698
38  org.python.python               0x0000000100ad984d PyEval_EvalCode + 51
39  org.python.python               0x0000000100ad72d7 builtin_exec + 563
40  org.python.python               0x0000000100a4e086 _PyMethodDef_RawFastCallDict + 549
41  org.python.python               0x0000000100a4d697 _PyCFunction_FastCallDict + 41
42  org.python.python               0x0000000100adb72a _PyEval_EvalFrameDefault + 7738
43  org.python.python               0x0000000100ae2be5 _PyEval_EvalCodeWithName + 1698
44  org.python.python               0x0000000100a4d99c _PyFunction_FastCallKeywords + 212
45  org.python.python               0x0000000100ae23f1 call_function + 737
46  org.python.python               0x0000000100adb35f _PyEval_EvalFrameDefault + 6767
47  org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
48  org.python.python               0x0000000100ae23f1 call_function + 737
49  org.python.python               0x0000000100adb346 _PyEval_EvalFrameDefault + 6742
50  org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
51  org.python.python               0x0000000100ae23f1 call_function + 737
52  org.python.python               0x0000000100adb3fa _PyEval_EvalFrameDefault + 6922
53  org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
54  org.python.python               0x0000000100ae23f1 call_function + 737
55  org.python.python               0x0000000100adb3fa _PyEval_EvalFrameDefault + 6922
56  org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
57  org.python.python               0x0000000100a4f156 object_vacall + 267
58  org.python.python               0x0000000100a4f255 _PyObject_CallMethodIdObjArgs + 168
59  org.python.python               0x0000000100af7423 PyImport_ImportModuleLevelObject + 1494
60  org.python.python               0x0000000100adff71 _PyEval_EvalFrameDefault + 26241
61  org.python.python               0x0000000100ae2be5 _PyEval_EvalCodeWithName + 1698
62  org.python.python               0x0000000100ad984d PyEval_EvalCode + 51
63  org.python.python               0x0000000100ad72d7 builtin_exec + 563
64  org.python.python               0x0000000100a4e086 _PyMethodDef_RawFastCallDict + 549
65  org.python.python               0x0000000100a4d697 _PyCFunction_FastCallDict + 41
66  org.python.python               0x0000000100adb72a _PyEval_EvalFrameDefault + 7738
67  org.python.python               0x0000000100ae2be5 _PyEval_EvalCodeWithName + 1698
68  org.python.python               0x0000000100a4d99c _PyFunction_FastCallKeywords + 212
69  org.python.python               0x0000000100ae23f1 call_function + 737
70  org.python.python               0x0000000100adb35f _PyEval_EvalFrameDefault + 6767
71  org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
72  org.python.python               0x0000000100ae23f1 call_function + 737
73  org.python.python               0x0000000100adb346 _PyEval_EvalFrameDefault + 6742
74  org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
75  org.python.python               0x0000000100ae23f1 call_function + 737
76  org.python.python               0x0000000100adb3fa _PyEval_EvalFrameDefault + 6922
77  org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
78  org.python.python               0x0000000100ae23f1 call_function + 737
79  org.python.python               0x0000000100adb3fa _PyEval_EvalFrameDefault + 6922
80  org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
81  org.python.python               0x0000000100a4f156 object_vacall + 267
82  org.python.python               0x0000000100a4f255 _PyObject_CallMethodIdObjArgs + 168
83  org.python.python               0x0000000100af7423 PyImport_ImportModuleLevelObject + 1494
84  org.python.python               0x0000000100adff71 _PyEval_EvalFrameDefault + 26241
85  org.python.python               0x0000000100ae2be5 _PyEval_EvalCodeWithName + 1698
86  org.python.python               0x0000000100ad984d PyEval_EvalCode + 51
87  org.python.python               0x0000000100ad72d7 builtin_exec + 563
88  org.python.python               0x0000000100a4e086 _PyMethodDef_RawFastCallDict + 549
89  org.python.python               0x0000000100a4d697 _PyCFunction_FastCallDict + 41
90  org.python.python               0x0000000100adb72a _PyEval_EvalFrameDefault + 7738
91  org.python.python               0x0000000100ae2be5 _PyEval_EvalCodeWithName + 1698
92  org.python.python               0x0000000100a4d99c _PyFunction_FastCallKeywords + 212
93  org.python.python               0x0000000100ae23f1 call_function + 737
94  org.python.python               0x0000000100adb35f _PyEval_EvalFrameDefault + 6767
95  org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
96  org.python.python               0x0000000100ae23f1 call_function + 737
97  org.python.python               0x0000000100adb346 _PyEval_EvalFrameDefault + 6742
98  org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
99  org.python.python               0x0000000100ae23f1 call_function + 737
100 org.python.python               0x0000000100adb3fa _PyEval_EvalFrameDefault + 6922
101 org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
102 org.python.python               0x0000000100ae23f1 call_function + 737
103 org.python.python               0x0000000100adb3fa _PyEval_EvalFrameDefault + 6922
104 org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
105 org.python.python               0x0000000100a4f156 object_vacall + 267
106 org.python.python               0x0000000100a4f255 _PyObject_CallMethodIdObjArgs + 168
107 org.python.python               0x0000000100af7423 PyImport_ImportModuleLevelObject + 1494
108 org.python.python               0x0000000100adff71 _PyEval_EvalFrameDefault + 26241
109 org.python.python               0x0000000100ae2be5 _PyEval_EvalCodeWithName + 1698
110 org.python.python               0x0000000100ad984d PyEval_EvalCode + 51
111 org.python.python               0x0000000100ad72d7 builtin_exec + 563
112 org.python.python               0x0000000100a4e086 _PyMethodDef_RawFastCallDict + 549
113 org.python.python               0x0000000100a4d697 _PyCFunction_FastCallDict + 41
114 org.python.python               0x0000000100adb72a _PyEval_EvalFrameDefault + 7738
115 org.python.python               0x0000000100ae2be5 _PyEval_EvalCodeWithName + 1698
116 org.python.python               0x0000000100a4d99c _PyFunction_FastCallKeywords + 212
117 org.python.python               0x0000000100ae23f1 call_function + 737
118 org.python.python               0x0000000100adb35f _PyEval_EvalFrameDefault + 6767
119 org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
120 org.python.python               0x0000000100ae23f1 call_function + 737
121 org.python.python               0x0000000100adb346 _PyEval_EvalFrameDefault + 6742
122 org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
123 org.python.python               0x0000000100ae23f1 call_function + 737
124 org.python.python               0x0000000100adb3fa _PyEval_EvalFrameDefault + 6922
125 org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
126 org.python.python               0x0000000100ae23f1 call_function + 737
127 org.python.python               0x0000000100adb3fa _PyEval_EvalFrameDefault + 6922
128 org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
129 org.python.python               0x0000000100a4f156 object_vacall + 267
130 org.python.python               0x0000000100a4f255 _PyObject_CallMethodIdObjArgs + 168
131 org.python.python               0x0000000100af7423 PyImport_ImportModuleLevelObject + 1494
132 org.python.python               0x0000000100adff71 _PyEval_EvalFrameDefault + 26241
133 org.python.python               0x0000000100ae2be5 _PyEval_EvalCodeWithName + 1698
134 org.python.python               0x0000000100ad984d PyEval_EvalCode + 51
135 org.python.python               0x0000000100ad72d7 builtin_exec + 563
136 org.python.python               0x0000000100a4e086 _PyMethodDef_RawFastCallDict + 549
137 org.python.python               0x0000000100a4d697 _PyCFunction_FastCallDict + 41
138 org.python.python               0x0000000100adb72a _PyEval_EvalFrameDefault + 7738
139 org.python.python               0x0000000100ae2be5 _PyEval_EvalCodeWithName + 1698
140 org.python.python               0x0000000100a4d99c _PyFunction_FastCallKeywords + 212
141 org.python.python               0x0000000100ae23f1 call_function + 737
142 org.python.python               0x0000000100adb35f _PyEval_EvalFrameDefault + 6767
143 org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
144 org.python.python               0x0000000100ae23f1 call_function + 737
145 org.python.python               0x0000000100adb346 _PyEval_EvalFrameDefault + 6742
146 org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
147 org.python.python               0x0000000100ae23f1 call_function + 737
148 org.python.python               0x0000000100adb3fa _PyEval_EvalFrameDefault + 6922
149 org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
150 org.python.python               0x0000000100ae23f1 call_function + 737
151 org.python.python               0x0000000100adb3fa _PyEval_EvalFrameDefault + 6922
152 org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
153 org.python.python               0x0000000100a4f156 object_vacall + 267
154 org.python.python               0x0000000100a4f255 _PyObject_CallMethodIdObjArgs + 168
155 org.python.python               0x0000000100af7423 PyImport_ImportModuleLevelObject + 1494
156 org.python.python               0x0000000100adff71 _PyEval_EvalFrameDefault + 26241
157 org.python.python               0x0000000100a4dda8 function_code_fastcall + 106
158 org.python.python               0x0000000100ae23f1 call_function + 737
159 org.python.python               0x0000000100adb3fa _PyEval_EvalFrameDefault + 6922
160 org.python.python               0x0000000100ae2be5 _PyEval_EvalCodeWithName + 1698
161 org.python.python               0x0000000100ad984d PyEval_EvalCode + 51
162 org.python.python               0x0000000100b07c64 run_mod + 54
163 org.python.python               0x0000000100b06c97 PyRun_FileExFlags + 160
164 org.python.python               0x0000000100b0634e PyRun_SimpleFileExFlags + 270
165 org.python.python               0x0000000100b1eb66 pymain_main + 5445
166 org.python.python               0x0000000100b1f1d4 _Py_UnixMain + 56
167 libdyld.dylib                   0x00007fff72056405 start + 1

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

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x000000010bf77d40  rcx: 0x00007f9160067a78  rdx: 0x0000000000000000
  rdi: 0x0000000000000307  rsi: 0x0000000000000006  rbp: 0x00007f9160067aa0  rsp: 0x00007f9160067a78
   r8: 0x0000000000000002   r9: 0xcccccccccccccccd  r10: 0x000000010bf77dec  r11: 0x0000000000000246
  r12: 0x0000000000000307  r13: 0x00007fff9eb15bf0  r14: 0x0000000000000006  r15: 0x0000000000000016
  rip: 0x00007fff721a547a  rfl: 0x0000000000000246  cr2: 0x0000000100bba630

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

Binary Images:
       0x100a2e000 -        0x100a2ffff +org.python.python (3.7.4 - 3.7.4) <43587B07-6BFE-3A0D-9C2A-37AE819BFE6C> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python
       0x100a34000 -        0x100bb6ff7 +org.python.python (3.7.4, [c] 2001-2019 Python Software Foundation. - 3.7.4) <EBB343B5-4197-382F-B1CA-F7F9AE7ADD89> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/Python
       0x100f3a000 -        0x100f3bfff +_heapq.cpython-37m-darwin.so (0) <BD0337AB-CDAE-349D-AFF6-7ABB71C01BDE> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_heapq.cpython-37m-darwin.so
       0x101081000 -        0x101085ff3 +math.cpython-37m-darwin.so (0) <4EFBB237-EFF5-3F46-B38A-AFCF891DD743> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/math.cpython-37m-darwin.so
       0x10108c000 -        0x10108ffff +_hashlib.cpython-37m-darwin.so (0) <28C035D4-C1AC-3A8B-9BF5-2FF4A6442AE6> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_hashlib.cpython-37m-darwin.so
       0x101094000 -        0x1010e3fff +libssl.1.1.dylib (0) <8CC754E3-C1EE-37A0-AD64-D89C69816928> /usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib
       0x10110c000 -        0x1012a5553 +libcrypto.1.1.dylib (0) <0E7D90A2-D870-3A17-B784-81564B61D7B9> /usr/local/opt/openssl@1.1/lib/libcrypto.1.1.dylib
       0x101337000 -        0x10133cffb +_blake2.cpython-37m-darwin.so (0) <A6E3EA40-637F-3F1C-8C3D-956CE33746B7> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_blake2.cpython-37m-darwin.so
       0x101341000 -        0x101351fff +_sha3.cpython-37m-darwin.so (0) <4F610699-C72F-38AC-8EB4-16C9B7C24B44> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_sha3.cpython-37m-darwin.so
       0x101357000 -        0x101357fff +_bisect.cpython-37m-darwin.so (0) <8AFFD4CF-147F-3381-8A1F-AB226B5AC136> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_bisect.cpython-37m-darwin.so
       0x10135b000 -        0x10135cffb +_random.cpython-37m-darwin.so (0) <BD1E4A35-B765-3385-99E1-78CA09EAB61E> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_random.cpython-37m-darwin.so
       0x1013a0000 -        0x1013a3fff +_struct.cpython-37m-darwin.so (0) <7498ACF9-AB19-3D21-B79D-59322C5D8B6B> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_struct.cpython-37m-darwin.so
       0x1014aa000 -        0x1014b6ffb +_pickle.cpython-37m-darwin.so (0) <C5E40D84-43D1-3C89-BF5F-839B3076DC54> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_pickle.cpython-37m-darwin.so
       0x101501000 -        0x101509ffb +_socket.cpython-37m-darwin.so (0) <E417EE8B-2306-310D-BCC4-F9A4E7B06E2B> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_socket.cpython-37m-darwin.so
       0x101515000 -        0x101517fff +select.cpython-37m-darwin.so (0) <5239FFCF-6B3D-33C9-8945-34266BE43AA4> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/select.cpython-37m-darwin.so
       0x10151d000 -        0x101522ffb +array.cpython-37m-darwin.so (0) <82D33FA9-7D2F-3158-AB41-9EF83AA79B01> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/array.cpython-37m-darwin.so
       0x10156a000 -        0x10156bfff +_queue.cpython-37m-darwin.so (0) <83961FEC-4C62-361B-9AE0-52ADD7449B47> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_queue.cpython-37m-darwin.so
       0x1015af000 -        0x1015c9ff7 +_cmsgpack.cpython-37m-darwin.so (0) <B0859D2F-0F95-3F66-9855-117A3E246886> /Users/USER/*/_cmsgpack.cpython-37m-darwin.so
       0x1015dd000 -        0x1015e0ff7 +binascii.cpython-37m-darwin.so (0) <5C9EA6BA-B339-3E61-8134-3DB53774CE36> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/binascii.cpython-37m-darwin.so
       0x101625000 -        0x10162cff3 +_elementtree.cpython-37m-darwin.so (0) <E4C6404C-6643-3683-8374-32049578B00F> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_elementtree.cpython-37m-darwin.so
       0x101634000 -        0x101653ffb +pyexpat.cpython-37m-darwin.so (0) <2295417F-70AB-3919-8ABF-E709C3D141B8> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/pyexpat.cpython-37m-darwin.so
       0x10171f000 -        0x101720fff +_posixsubprocess.cpython-37m-darwin.so (0) <7DA12ABC-66C9-3166-9EA0-94ADFE10B790> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_posixsubprocess.cpython-37m-darwin.so
       0x101764000 -        0x101764fff +_opcode.cpython-37m-darwin.so (0) <EE172C39-4277-362F-819D-202C312FE8C1> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_opcode.cpython-37m-darwin.so
       0x1017e8000 -        0x1018e6fff +unicodedata.cpython-37m-darwin.so (0) <3BB69E78-716B-31BA-9156-EAACAACF757F> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/unicodedata.cpython-37m-darwin.so
       0x1019ac000 -        0x1019b7fff +_datetime.cpython-37m-darwin.so (0) <0EAD7E68-B417-3170-8767-AB19AD2F53F5> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_datetime.cpython-37m-darwin.so
       0x101a00000 -        0x101a2fff3 +_yaml.cpython-37m-darwin.so (0) <CB066794-B29A-3546-9193-6A27B1CBD4F6> /Users/USER/*/_yaml.cpython-37m-darwin.so
       0x101a43000 -        0x101a5afff +libyaml-0.2.dylib (0) <15270DE5-8166-3A0F-8F39-40883D4FBC26> /usr/local/opt/libyaml/lib/libyaml-0.2.dylib
       0x101b1e000 -        0x101b21fff +zlib.cpython-37m-darwin.so (0) <EAC395A0-C0DE-3511-B8CF-A26C04EB1D1B> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/zlib.cpython-37m-darwin.so
       0x101b27000 -        0x101b28fff +_bz2.cpython-37m-darwin.so (0) <7B1B1DF4-F53F-396F-BAE8-56A63089C376> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_bz2.cpython-37m-darwin.so
       0x101b2d000 -        0x101b30ff7 +_lzma.cpython-37m-darwin.so (0) <3A64241D-3F54-3997-8E80-F0243B78BBE3> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_lzma.cpython-37m-darwin.so
       0x101b36000 -        0x101b51ff7 +liblzma.5.dylib (0) <423B98CF-7AF0-325D-AB6A-3F44B56B90C2> /usr/local/opt/xz/lib/liblzma.5.dylib
       0x101b57000 -        0x101b58fff +grp.cpython-37m-darwin.so (0) <58AB3958-4FEE-30C1-B7E8-51E21430D11D> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/grp.cpython-37m-darwin.so
       0x101bdc000 -        0x101bddfff +fcntl.cpython-37m-darwin.so (0) <CD7ECD2D-C637-3703-9BAA-29C74B5CBE92> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/fcntl.cpython-37m-darwin.so
       0x101be2000 -        0x101be7fff +_json.cpython-37m-darwin.so (0) <AA02AE07-B577-376F-BE8B-D91F1F3F6BE7> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_json.cpython-37m-darwin.so
       0x101c2c000 -        0x101c2cfff +speedups.cpython-37m-darwin.so (0) <592C8311-6BA9-34AC-8D56-A458F0ED10A1> /Users/USER/*/speedups.cpython-37m-darwin.so
       0x101cb0000 -        0x101cbbfff +_curses.cpython-37m-darwin.so (0) <6B3C53B7-2549-3173-81FA-23B52DAF0C51> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_curses.cpython-37m-darwin.so
       0x101d04000 -        0x101d13fff +_ctypes.cpython-37m-darwin.so (0) <F64819FD-AA76-3849-9839-7B9E3A4918F8> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_ctypes.cpython-37m-darwin.so
       0x101d60000 -        0x101dccfff +libzmq.cpython-37m-darwin.so (0) <FA9411E9-3ABC-3FB6-BBC0-79D13CE0AF9F> /Users/USER/*/libzmq.cpython-37m-darwin.so
       0x101e49000 -        0x101e54fff +constants.cpython-37m-darwin.so (0) <4F986169-C301-37BC-985F-DAF02F60EDC5> /Users/USER/*/constants.cpython-37m-darwin.so
       0x101e63000 -        0x101e66fff +error.cpython-37m-darwin.so (0) <4F3810E6-BEFC-30E4-A1B4-40FC1BEE07DE> /Users/USER/*/error.cpython-37m-darwin.so
       0x101e6c000 -        0x101e7aff3 +message.cpython-37m-darwin.so (0) <C78E56A9-4158-33E9-A180-105D5451ADFB> /Users/USER/*/message.cpython-37m-darwin.so
       0x101e8a000 -        0x101e92fff +context.cpython-37m-darwin.so (0) <F2089E60-6DF3-3F29-A9B0-A68C69C13285> /Users/USER/*/context.cpython-37m-darwin.so
       0x101e9d000 -        0x101eb6ffb +socket.cpython-37m-darwin.so (0) <E59480C7-D21E-3770-B0D9-01A7E8C81468> /Users/USER/*/socket.cpython-37m-darwin.so
       0x101ece000 -        0x101ed3ffb +utils.cpython-37m-darwin.so (0) <EF8A26F6-A887-3D98-9742-57CC94588B31> /Users/USER/*/utils.cpython-37m-darwin.so
       0x101edc000 -        0x101ee6ff7 +_poll.cpython-37m-darwin.so (0) <A967507A-B8E1-390F-B3E7-1A28F1A75EAC> /Users/USER/*/_poll.cpython-37m-darwin.so
       0x101ef0000 -        0x101ef3ff7 +_version.cpython-37m-darwin.so (0) <2C7241AE-3720-30A5-A43A-80E9DC72C676> /Users/USER/*/_version.cpython-37m-darwin.so
       0x101ef9000 -        0x101f00ffb +_device.cpython-37m-darwin.so (0) <47648BA5-39D1-39B2-938C-88DC744A0E9A> /Users/USER/*/_device.cpython-37m-darwin.so
       0x101f08000 -        0x101f0eff7 +_proxy_steerable.cpython-37m-darwin.so (0) <2704F89C-5F72-39B8-BBD0-9ACFE12C43B4> /Users/USER/*/_proxy_steerable.cpython-37m-darwin.so
       0x101f96000 -        0x101f97ffb +resource.cpython-37m-darwin.so (0) <F55DFCB1-6290-332D-8684-573029CCF20F> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/resource.cpython-37m-darwin.so
       0x101fdb000 -        0x101fdcfff +termios.cpython-37m-darwin.so (0) <79D77F5A-E59C-3E1B-929F-D2832B8B8A65> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/termios.cpython-37m-darwin.so
       0x102060000 -        0x102060fff +_uuid.cpython-37m-darwin.so (0) <06F9731F-4015-3583-B5F7-508C5637F795> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_uuid.cpython-37m-darwin.so
       0x1020a4000 -        0x1020b1fff +_ssl.cpython-37m-darwin.so (0) <70E305DC-AC6D-358D-BAF3-263CE10ABA23> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_ssl.cpython-37m-darwin.so
       0x102180000 -        0x102181fff +_speedups.cpython-37m-darwin.so (???) <E9B73517-643A-3FD1-8B18-600595CA2B65> /Users/USER/*/_speedups.cpython-37m-darwin.so
       0x102204000 -        0x102231ff7 +_decimal.cpython-37m-darwin.so (0) <704D5049-ABF8-3A66-9C01-D7D36DAA53AC> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_decimal.cpython-37m-darwin.so
       0x102344000 -        0x102344fff +_contextvars.cpython-37m-darwin.so (0) <D3455E63-8446-3895-9922-8AE92485921A> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_contextvars.cpython-37m-darwin.so
       0x102348000 -        0x10234dfff +_asyncio.cpython-37m-darwin.so (0) <1BD01AF9-0338-3421-BC3B-134247BFF5FE> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_asyncio.cpython-37m-darwin.so
       0x1026d7000 -        0x1026d8fff +_scproxy.cpython-37m-darwin.so (0) <3CCCAF50-95C6-3211-9F1E-D81D94BA64FA> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_scproxy.cpython-37m-darwin.so
       0x102cdc000 -        0x102ce9ffb +_fastmath.cpython-37m-darwin.so (0) <1E788282-7C28-3AA2-B427-E0594186778D> /Users/USER/*/_fastmath.cpython-37m-darwin.so
       0x102cee000 -        0x102d49fd7 +libgmp.10.dylib (0) <90F0910B-16E8-3435-8163-8315CE3BCA77> /usr/local/opt/gmp/lib/libgmp.10.dylib
       0x102d55000 -        0x102d56ff7 +_counter.cpython-37m-darwin.so (0) <3DF4C5A7-8952-3E25-84EF-5417C4C72CE5> /Users/USER/*/_counter.cpython-37m-darwin.so
       0x102d5a000 -        0x102d5fff7 +_AES.cpython-37m-darwin.so (0) <5606D50F-87C5-3999-A1C2-23355F710AAA> /Users/USER/*/_AES.cpython-37m-darwin.so
       0x102de3000 -        0x102de4ff7 +strxor.cpython-37m-darwin.so (0) <B81C7656-D34B-306D-B918-0C2142B7509A> /Users/USER/*/strxor.cpython-37m-darwin.so
       0x10beb0000 -        0x10bf3e93f  dyld (732.8) <42C11B81-6928-369F-B03E-D57355572700> /usr/lib/dyld
    0x7fff36b03000 -     0x7fff36b03fff  com.apple.Accelerate (1.11 - Accelerate 1.11) <956D070C-B522-3A08-891A-CAD6BA4082D1> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fff36b1b000 -     0x7fff37186fdf  com.apple.vImage (8.1 - 524.2) <45A48EA9-49AA-33A0-B830-AF754BD01009> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fff37187000 -     0x7fff373effff  libBLAS.dylib (1303) <112B19CC-925A-3E28-8B32-2002D30A37FA> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fff373f0000 -     0x7fff376dffdf  libBNNS.dylib (144.11.2) <A806AED9-837B-3C6C-AB0B-A41983C1CD07> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
    0x7fff376e1000 -     0x7fff37a86fff  libLAPACK.dylib (1303) <5C248B39-F233-3074-A3A5-AF8F436FBF87> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x7fff37a87000 -     0x7fff37a9cff8  libLinearAlgebra.dylib (1303) <C21931B4-F6BD-324D-A2D9-F13EE8AFB29E> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
    0x7fff37a9d000 -     0x7fff37aa2ff3  libQuadrature.dylib (7) <826897ED-B7AD-33DC-B9CB-F9787784F312> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libQuadrature.dylib
    0x7fff37aa3000 -     0x7fff37b13fff  libSparse.dylib (103) <55467C29-2096-36AB-8A6D-5231A342809D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparse.dylib
    0x7fff37b14000 -     0x7fff37b26fef  libSparseBLAS.dylib (1303) <3244FCAF-A1FE-3248-AF22-BFB3E9D12555> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib
    0x7fff37b27000 -     0x7fff37d00ffb  libvDSP.dylib (735) <E849AEB0-2995-38A4-B0C3-4ACEAF434D12> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fff37d01000 -     0x7fff37dbcfd3  libvMisc.dylib (735) <D6248EC4-7772-37BB-87F7-9BAB7F5D31A0> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fff37dbd000 -     0x7fff37dbdfff  com.apple.Accelerate.vecLib (3.11 - vecLib 3.11) <79C1A1C7-E97A-3B7A-8737-444B402A7AA0> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff394e8000 -     0x7fff3985effe  com.apple.CFNetwork (1111 - 1111) <642753C5-5D26-3794-9A4C-4F63F226C01A> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fff3ad1d000 -     0x7fff3b19cff7  com.apple.CoreFoundation (6.9 - 1671.15) <BF8A8279-9C5E-37C6-8426-90C8182EFBDD> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff3c104000 -     0x7fff3c104fff  com.apple.CoreServices (1069.2 - 1069.2) <C5F7AABC-BADC-3331-A7D6-9B0A82A23E58> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff3c105000 -     0x7fff3c18aff7  com.apple.AE (838 - 838) <7295ED82-7087-3602-9DCA-4FE205F6499C> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x7fff3c18b000 -     0x7fff3c46cfff  com.apple.CoreServices.CarbonCore (1217 - 1217) <7AA0ECB3-0993-3081-A9EC-0365EF72B24D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
    0x7fff3c46d000 -     0x7fff3c4baff1  com.apple.DictionaryServices (1.2 - 321) <3D0FFBDE-E425-37C7-B780-39A3D024462A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
    0x7fff3c4bb000 -     0x7fff3c4c3ff7  com.apple.CoreServices.FSEvents (1268.0.6 - 1268.0.6) <78D2AB1A-9053-3D32-8C18-C1DD31FF9400> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
    0x7fff3c4c4000 -     0x7fff3c6fcff1  com.apple.LaunchServices (1069.2 - 1069.2) <68B4C10C-D536-33E9-9719-E7BA5B753F2B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fff3c6fd000 -     0x7fff3c795ff1  com.apple.Metadata (10.7.0 - 2066.12) <249EA615-8446-3A36-B6B7-ED613C8B8148> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x7fff3c796000 -     0x7fff3c7c3ff7  com.apple.CoreServices.OSServices (1069.2 - 1069.2) <2FECF3BA-B785-35E2-85E9-2A2267801AA4> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x7fff3c7c4000 -     0x7fff3c82bfff  com.apple.SearchKit (1.4.1 - 1.4.1) <0068BD72-CF2B-34E4-B461-002D5E56C31C> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x7fff3c82c000 -     0x7fff3c850ffd  com.apple.coreservices.SharedFileList (131 - 131) <61F62948-4109-38F0-BB91-5EBB6BEEAB10> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList
    0x7fff3d0a5000 -     0x7fff3d0abff7  com.apple.DiskArbitration (2.7 - 2.7) <23104F29-F120-354B-97BE-4514A675BB14> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fff3d3d8000 -     0x7fff3d79fff3  com.apple.Foundation (6.9 - 1671.15) <4BEAB72D-10AA-3009-B0F5-B82B4FE1C441> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff3daf1000 -     0x7fff3db94ffb  com.apple.framework.IOKit (2.0.2 - 1726.11.1) <9E81E92C-7EC2-330F-B0AF-BBFD9D3E46F6> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff413e5000 -     0x7fff413f1ffe  com.apple.NetFS (6.0 - 4.0) <10ECF7E4-98A5-3751-B7AC-0AAAF0050777> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x7fff43fb5000 -     0x7fff43fd1fff  com.apple.CFOpenDirectory (10.15 - 220.11.1) <6F4D018B-FA8B-35B2-8120-F8215DDA01CB> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
    0x7fff43fd2000 -     0x7fff43fddfff  com.apple.OpenDirectory (10.15 - 220.11.1) <170173C2-DF22-3D11-914F-465AA7C4760A> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x7fff4735f000 -     0x7fff476a3ff9  com.apple.security (7.0 - 59306.11.20) <1B0AE660-0EC5-3497-ACE8-1AF2BB772BAB> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff476a4000 -     0x7fff4772cff7  com.apple.securityfoundation (6.0 - 55236) <903B8365-1F35-3EB2-9821-9D2C440BE2DD> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
    0x7fff47785000 -     0x7fff47789ff8  com.apple.xpc.ServiceManagement (1.0 - 1) <EF42F840-AF78-38A4-B6E1-FDF445CA3477> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
    0x7fff48573000 -     0x7fff485ddff7  com.apple.SystemConfiguration (1.19 - 1.19) <C0C089C3-FC64-3107-B23E-4073E800C5D2> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff4c331000 -     0x7fff4c3f5ff7  com.apple.APFS (1412.11.7 - 1412.11.7) <71DAB6CE-FF14-373D-A183-F388C5D9FE84> /System/Library/PrivateFrameworks/APFS.framework/Versions/A/APFS
    0x7fff4df79000 -     0x7fff4df88fdf  com.apple.AppleFSCompression (119 - 1.0) <725908C4-7585-3AB6-8A1A-691B8A9074B8> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
    0x7fff4e4f5000 -     0x7fff4e517ffb  com.apple.applesauce (1.0 - 16.22) <88BFDA72-8D13-3481-B4FA-62215F6E2E43> /System/Library/PrivateFrameworks/AppleSauce.framework/Versions/A/AppleSauce
    0x7fff4f714000 -     0x7fff4f71dff3  com.apple.coreservices.BackgroundTaskManagement (1.0 - 104) <156CFAE3-07D0-332C-90BE-BB2E4C893C99> /System/Library/PrivateFrameworks/BackgroundTaskManagement.framework/Versions/A/BackgroundTaskManagement
    0x7fff51ef5000 -     0x7fff51f14ff4  com.apple.analyticsd (1.0 - 1) <3C14ACAE-0E19-3589-8229-944F376C3E44> /System/Library/PrivateFrameworks/CoreAnalytics.framework/Versions/A/CoreAnalytics
    0x7fff5245e000 -     0x7fff5246eff3  com.apple.CoreEmoji (1.0 - 100) <9AB89183-635C-3859-9DC6-7BCE3A94D15E> /System/Library/PrivateFrameworks/CoreEmoji.framework/Versions/A/CoreEmoji
    0x7fff52aba000 -     0x7fff52b24ff8  com.apple.CoreNLP (1.0 - 211) <8F08AEF6-A380-3811-BAF0-D80E7C84B5AD> /System/Library/PrivateFrameworks/CoreNLP.framework/Versions/A/CoreNLP
    0x7fff53734000 -     0x7fff53762ff7  com.apple.CSStore (1069.2 - 1069.2) <5E3C50AB-9C00-36F3-A986-CE033480CA8B> /System/Library/PrivateFrameworks/CoreServicesStore.framework/Versions/A/CoreServicesStore
    0x7fff5f710000 -     0x7fff5f7ddffd  com.apple.LanguageModeling (1.0 - 212) <A9F41C84-E574-3624-8C00-60F228E0FF97> /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
    0x7fff5f7de000 -     0x7fff5f826ff7  com.apple.Lexicon-framework (1.0 - 70) <BEADF30C-37D3-3112-90DA-18A85406DBF3> /System/Library/PrivateFrameworks/Lexicon.framework/Versions/A/Lexicon
    0x7fff5f82d000 -     0x7fff5f831ff6  com.apple.LinguisticData (1.0 - 349) <A392AD13-9AEB-31BB-A9ED-F29437CFBDB4> /System/Library/PrivateFrameworks/LinguisticData.framework/Versions/A/LinguisticData
    0x7fff60c62000 -     0x7fff60caeff7  com.apple.spotlight.metadata.utilities (1.0 - 2066.12) <989018A3-4BD0-3FD1-9A2D-88FD3A521452> /System/Library/PrivateFrameworks/MetadataUtilities.framework/Versions/A/MetadataUtilities
    0x7fff616d1000 -     0x7fff616dbfff  com.apple.NetAuth (6.2 - 6.2) <90F9ADF4-8A9C-3603-8F55-24F8C472430B> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
    0x7fff6a36c000 -     0x7fff6a37cff3  com.apple.TCC (1.0 - 1) <DCE1D8C7-7BEB-3201-A0E5-38F012E6B1BC> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
    0x7fff6aa9b000 -     0x7fff6aa9cfff  com.apple.TrustEvaluationAgent (2.0 - 33) <B691985E-2E58-37C3-B336-8882DE4BF19A> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
    0x7fff6e5bc000 -     0x7fff6e5beff3  com.apple.loginsupport (1.0 - 1) <40974390-AFD7-3CEF-8B8D-6219BF916A4E> /System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport
    0x7fff6e92c000 -     0x7fff6e961ff7  libCRFSuite.dylib (48) <45ADF347-A43F-3E95-BF26-94DC525DCC81> /usr/lib/libCRFSuite.dylib
    0x7fff6e964000 -     0x7fff6e96eff3  libChineseTokenizer.dylib (34) <94E822B6-F850-33C5-888C-D5C8AE12122C> /usr/lib/libChineseTokenizer.dylib
    0x7fff6e9fb000 -     0x7fff6e9fdfff  libDiagnosticMessagesClient.dylib (112) <418D550B-C748-3D55-A6D5-0398E032F9F3> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff6eec2000 -     0x7fff6eec3ff3  libSystem.B.dylib (1281) <66742D2E-591A-32B2-8E92-4A54BEE843F6> /usr/lib/libSystem.B.dylib
    0x7fff6ef53000 -     0x7fff6ef54fff  libThaiTokenizer.dylib (3) <D2A89215-5281-310F-8C75-47F1E6A14F62> /usr/lib/libThaiTokenizer.dylib
    0x7fff6ef6c000 -     0x7fff6ef82fff  libapple_nghttp2.dylib (1.39.2) <0A685DAA-9FC6-3C87-83F1-1D11FC87C1F4> /usr/lib/libapple_nghttp2.dylib
    0x7fff6efb7000 -     0x7fff6f029ff7  libarchive.2.dylib (72.11.2) <8636AE5A-0CBB-306C-8A4B-2E612D2D6B13> /usr/lib/libarchive.2.dylib
    0x7fff6f0c4000 -     0x7fff6f0c4ff3  libauto.dylib (187) <AACF68BC-9A05-36F8-8F60-78951422E090> /usr/lib/libauto.dylib
    0x7fff6f182000 -     0x7fff6f192fff  libbsm.0.dylib (60) <F03FA480-0B22-3300-833F-03E88F43C504> /usr/lib/libbsm.0.dylib
    0x7fff6f193000 -     0x7fff6f19ffff  libbz2.1.0.dylib (44) <8B522880-BEF8-3668-B785-F2AB4DE8F366> /usr/lib/libbz2.1.0.dylib
    0x7fff6f1a0000 -     0x7fff6f1f3fff  libc++.1.dylib (800.6) <328FB687-2363-38B1-AC11-11736925C775> /usr/lib/libc++.1.dylib
    0x7fff6f1f4000 -     0x7fff6f208fff  libc++abi.dylib (800.7) <02753D3D-91C6-3670-8B5D-EBE040B516FC> /usr/lib/libc++abi.dylib
    0x7fff6f209000 -     0x7fff6f209ffb  libcharset.1.dylib (59) <12D52FA5-EBCA-3F3C-A269-1095F268F92F> /usr/lib/libcharset.1.dylib
    0x7fff6f20a000 -     0x7fff6f21bffb  libcmph.dylib (8) <7DD1F726-F3E3-341A-AFAC-83E9A470883C> /usr/lib/libcmph.dylib
    0x7fff6f21c000 -     0x7fff6f233fe7  libcompression.dylib (87) <10B82884-BE1A-3A36-9B38-3C92AF566D3E> /usr/lib/libcompression.dylib
    0x7fff6f4f5000 -     0x7fff6f50bfff  libcoretls.dylib (167) <1C64EA6F-8E0D-319D-99D4-026150EEB2B2> /usr/lib/libcoretls.dylib
    0x7fff6f50c000 -     0x7fff6f50dffb  libcoretls_cfhelpers.dylib (167) <724B0181-4D9E-3D2F-B1AB-B4FD6A7BAB2C> /usr/lib/libcoretls_cfhelpers.dylib
    0x7fff6f6b0000 -     0x7fff6f7aafff  libcrypto.35.dylib (47.11.1) <DAE379C6-E19A-3E15-B243-D4610C8E9B47> /usr/lib/libcrypto.35.dylib
    0x7fff6fab6000 -     0x7fff6fab7ff7  libcrypto.dylib (47.11.1) <C55D3B19-36BB-3344-94F9-9DEBF328B90C> /usr/lib/libcrypto.dylib
    0x7fff6fc36000 -     0x7fff6fc36ff3  libenergytrace.dylib (21) <E42B4AFF-3FAC-3CE4-A7BF-48621458B356> /usr/lib/libenergytrace.dylib
    0x7fff6fc5e000 -     0x7fff6fc60ff7  libfakelink.dylib (149) <FC5712CB-2188-3DAD-8DD4-CC3ECCA3F9A8> /usr/lib/libfakelink.dylib
    0x7fff6fc6f000 -     0x7fff6fc74fff  libgermantok.dylib (24) <93E95178-E436-3611-A4A3-CB1D42CF4064> /usr/lib/libgermantok.dylib
    0x7fff6fc7a000 -     0x7fff6fd6aff7  libiconv.2.dylib (59) <1A648E74-25D4-3F9B-94C4-10B58AD091B7> /usr/lib/libiconv.2.dylib
    0x7fff6fd6b000 -     0x7fff6ffc3ff7  libicucore.A.dylib (64232.0.1) <88E47471-605C-3C86-871B-5D2F4628A936> /usr/lib/libicucore.A.dylib
    0x7fff6ffdd000 -     0x7fff6ffdefff  liblangid.dylib (133) <78DF87EE-CDCE-3628-B239-56743169BC93> /usr/lib/liblangid.dylib
    0x7fff6ffdf000 -     0x7fff6fff7ffb  liblzma.5.dylib (16) <D416FC97-76EC-38B5-A134-85DDFEA9D297> /usr/lib/liblzma.5.dylib
    0x7fff7000f000 -     0x7fff700b6fff  libmecab.dylib (879) <DD60E6AA-154E-3294-B2C0-3277B754F3BC> /usr/lib/libmecab.dylib
    0x7fff700b7000 -     0x7fff70316fe9  libmecabra.dylib (879) <B5BE574C-DD3A-336D-87A3-202CE7803A45> /usr/lib/libmecabra.dylib
    0x7fff70677000 -     0x7fff706a6ff7  libncurses.5.4.dylib (57) <2AD2FDD9-846A-3A79-ADCC-008E8B227BD6> /usr/lib/libncurses.5.4.dylib
    0x7fff707d5000 -     0x7fff70c47ff6  libnetwork.dylib (1880.11.2) <CC02BF51-A056-3656-B735-E8CD0F4B7B15> /usr/lib/libnetwork.dylib
    0x7fff70ce5000 -     0x7fff70d16fe6  libobjc.A.dylib (779.1) <722C0959-69B8-3843-B5EA-CDD8FAA91D5E> /usr/lib/libobjc.A.dylib
    0x7fff70d29000 -     0x7fff70d2dfff  libpam.2.dylib (25) <86317F48-E926-30AC-AE9F-ABB33543FBC8> /usr/lib/libpam.2.dylib
    0x7fff70d30000 -     0x7fff70d63ff7  libpcap.A.dylib (89.11.2) <65A8EBD2-F059-353B-9538-20D1314EFD89> /usr/lib/libpcap.A.dylib
    0x7fff70e58000 -     0x7fff71045ff7  libsqlite3.dylib (308.1) <7033723E-DD65-3AA3-ADCA-8746F7BAD75D> /usr/lib/libsqlite3.dylib
    0x7fff71294000 -     0x7fff71297ffb  libutil.dylib (57) <844B7887-09B3-3D12-ACDE-C4EB8F53DC62> /usr/lib/libutil.dylib
    0x7fff71298000 -     0x7fff712a5fff  libxar.1.dylib (420) <E0D7C0A6-76EC-3682-A393-6596D4986269> /usr/lib/libxar.1.dylib
    0x7fff712ab000 -     0x7fff7138dff7  libxml2.2.dylib (32.12) <C0A87484-D334-3B50-8F8A-A9C63295F49E> /usr/lib/libxml2.2.dylib
    0x7fff71391000 -     0x7fff713b9fff  libxslt.1.dylib (16.6) <CD9E79B0-159A-3055-B62A-57AB2B445912> /usr/lib/libxslt.1.dylib
    0x7fff713ba000 -     0x7fff713ccfff  libz.1.dylib (76) <3FC3FC3E-ABF3-3167-9078-B54C952608B4> /usr/lib/libz.1.dylib
    0x7fff71e31000 -     0x7fff71e36ff7  libcache.dylib (83) <8EC69760-6DAA-3068-9372-F1D554C548E5> /usr/lib/system/libcache.dylib
    0x7fff71e37000 -     0x7fff71e42ff7  libcommonCrypto.dylib (60165) <698BE754-137D-361D-B826-57B8DD969E4A> /usr/lib/system/libcommonCrypto.dylib
    0x7fff71e43000 -     0x7fff71e4afff  libcompiler_rt.dylib (101.2) <0BE7F119-C9C2-3612-A3F4-2336D4444476> /usr/lib/system/libcompiler_rt.dylib
    0x7fff71e4b000 -     0x7fff71e54ff7  libcopyfile.dylib (166) <B5E73B1C-0BCF-33FE-80A1-D9E3BA3033D4> /usr/lib/system/libcopyfile.dylib
    0x7fff71e55000 -     0x7fff71eecfc3  libcorecrypto.dylib (866.0.10) <58344B13-CD10-3697-A516-6F5B06DD1EB7> /usr/lib/system/libcorecrypto.dylib
    0x7fff72003000 -     0x7fff72044ff0  libdispatch.dylib (1173.0.3) <F4260D89-F67D-30CB-AF61-7ED25CB687DB> /usr/lib/system/libdispatch.dylib
    0x7fff72045000 -     0x7fff7207afff  libdyld.dylib (732.8) <98960E27-A08B-36DA-A5CB-8538B2D6757E> /usr/lib/system/libdyld.dylib
    0x7fff7207b000 -     0x7fff7207bffb  libkeymgr.dylib (30) <682B41BC-BDC2-38D5-8820-87099606FA12> /usr/lib/system/libkeymgr.dylib
    0x7fff7207c000 -     0x7fff72088ff7  libkxld.dylib (6153.11.26) <53BE9630-BDC8-3649-8709-7A4F86777B1A> /usr/lib/system/libkxld.dylib
    0x7fff72089000 -     0x7fff72089ff7  liblaunch.dylib (1738.11.1) <7FE11F0D-65BC-3726-B1DD-E84F329193E0> /usr/lib/system/liblaunch.dylib
    0x7fff7208a000 -     0x7fff7208fff7  libmacho.dylib (949.0.1) <163DFE06-2FAD-3CBC-80EF-C38EED6AEA52> /usr/lib/system/libmacho.dylib
    0x7fff72090000 -     0x7fff72092ff3  libquarantine.dylib (110.0.4) <C8F39330-8CB5-30B0-8564-96453DCEFAD7> /usr/lib/system/libquarantine.dylib
    0x7fff72093000 -     0x7fff72094ff7  libremovefile.dylib (48) <FB280185-B5ED-3F08-B08A-A378865C1398> /usr/lib/system/libremovefile.dylib
    0x7fff72095000 -     0x7fff720acfff  libsystem_asl.dylib (377.0.1) <30CE9DAF-B1FA-3510-832B-F1CE19933ED7> /usr/lib/system/libsystem_asl.dylib
    0x7fff720ad000 -     0x7fff720adfff  libsystem_blocks.dylib (74) <E0B8C825-E62B-357E-A2A0-13776F0A0F8C> /usr/lib/system/libsystem_blocks.dylib
    0x7fff720ae000 -     0x7fff72135ff7  libsystem_c.dylib (1353.11.2) <2A5BFAFE-8214-3B35-AD46-C07A1A8B8941> /usr/lib/system/libsystem_c.dylib
    0x7fff72136000 -     0x7fff72139fff  libsystem_configuration.dylib (1061.0.2) <56174463-22ED-337F-B0D4-94995DCDB9B7> /usr/lib/system/libsystem_configuration.dylib
    0x7fff7213a000 -     0x7fff7213dff7  libsystem_coreservices.dylib (114) <01695913-028E-3AE1-8D4E-2B2769109811> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff7213e000 -     0x7fff72145fff  libsystem_darwin.dylib (1353.11.2) <4CE52C63-87AA-3C6D-899F-8C983E5FC061> /usr/lib/system/libsystem_darwin.dylib
    0x7fff72146000 -     0x7fff7214dffb  libsystem_dnssd.dylib (1096.0.2) <DC7381E8-F09F-3441-8267-9B8F50A0EBA9> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff7214e000 -     0x7fff7214fffb  libsystem_featureflags.dylib (17) <DBCA4AA2-CA05-38D5-AB4B-BE0F3E09BB8B> /usr/lib/system/libsystem_featureflags.dylib
    0x7fff72150000 -     0x7fff7219dff7  libsystem_info.dylib (538) <9F9D6368-A11E-32F1-9BB5-C153F42EFED8> /usr/lib/system/libsystem_info.dylib
    0x7fff7219e000 -     0x7fff721cafff  libsystem_kernel.dylib (6153.11.26) <4CE9D54A-A975-348E-B878-EE74EDFC956B> /usr/lib/system/libsystem_kernel.dylib
    0x7fff721cb000 -     0x7fff72212ff7  libsystem_m.dylib (3178) <4F516261-0C0E-3105-AF35-EF39D6347B50> /usr/lib/system/libsystem_m.dylib
    0x7fff72213000 -     0x7fff7223afff  libsystem_malloc.dylib (283) <02925539-3CBA-39EB-BA6B-9A936CFA0BF8> /usr/lib/system/libsystem_malloc.dylib
    0x7fff7223b000 -     0x7fff72248ff3  libsystem_networkextension.dylib (1095.11.9) <8B5EE189-E3D1-31FD-878F-50286B6E7047> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff72249000 -     0x7fff72252fff  libsystem_notify.dylib (241) <89381127-2A07-3F07-B865-358FACCF9102> /usr/lib/system/libsystem_notify.dylib
    0x7fff72253000 -     0x7fff7225cfe7  libsystem_platform.dylib (220) <90E508E4-46D8-33FF-8552-DDAA079977A0> /usr/lib/system/libsystem_platform.dylib
    0x7fff7225d000 -     0x7fff72267fff  libsystem_pthread.dylib (416.11.1) <2EA6F95F-F264-30B6-8AF2-24197B5AED84> /usr/lib/system/libsystem_pthread.dylib
    0x7fff72268000 -     0x7fff7226cffb  libsystem_sandbox.dylib (1217.11.16) <51129CBB-BC46-37F1-A1B5-ECFA9530704D> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff7226d000 -     0x7fff7226ffff  libsystem_secinit.dylib (62.0.4) <A48D9AF3-75F2-3331-A0C8-0A23771F4AC7> /usr/lib/system/libsystem_secinit.dylib
    0x7fff72270000 -     0x7fff72277ffb  libsystem_symptoms.dylib (1238.0.2) <08E8CF75-5F77-3475-A48E-A01CBDF09173> /usr/lib/system/libsystem_symptoms.dylib
    0x7fff72278000 -     0x7fff7228eff2  libsystem_trace.dylib (1147.0.3) <5836645E-9862-326D-AB3B-A19E76BE29B9> /usr/lib/system/libsystem_trace.dylib
    0x7fff72290000 -     0x7fff72295ffb  libunwind.dylib (35.4) <F5AE1D43-7C5F-3BA2-94D3-E769F82C0F61> /usr/lib/system/libunwind.dylib
    0x7fff72296000 -     0x7fff722caff6  libxpc.dylib (1738.11.1) <2E9076CD-6C0E-38B6-8403-B2DDCE125FBF> /usr/lib/system/libxpc.dylib

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

VM Region Summary:
ReadOnly portion of Libraries: Total=425.1M resident=0K(0%) swapped_out_or_unallocated=425.1M(100%)
Writable regions: Total=620.0M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=620.0M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Activity Tracing                   256K        1 
Dispatch continuations            24.0M        1 
Kernel Alloc Once                    8K        1 
MALLOC                           106.1M       28 
MALLOC guard page                   24K        5 
MALLOC_MEDIUM (reserved)         448.0M        4         reserved VM address space (unallocated)
STACK GUARD                          4K        1 
Stack                             16.5M        2 
Stack Guard                          4K        1 
VM_ALLOCATE                       24.8M      100 
__DATA                            7179K      192 
__DATA_CONST                       412K       47 
__LINKEDIT                       350.4M       64 
__OBJC_RO                         31.8M        1 
__OBJC_RW                         1760K        1 
__TEXT                            74.7M      187 
__UNICODE                          564K        1 
mapped file                         72K        2 
shared memory                       12K        3 
===========                     =======  ======= 
TOTAL                              1.1G      642 
TOTAL, minus reserved VM space   638.3M      642 

I also have checked versions 2019.2.1, 2019.2.0, and 2018.3.4 — they fail as well.

cdalvaro commented 4 years ago

Is the same issue as with Homebrew/homebrew-core#44996

Apparently, some homebrew formulas are outdated and they must be updated in order to fix this issue.

As @fxcoudert pointed out in wbond/asn1crypto#158

bayandin commented 4 years ago

@cdalvaro I think it's vice versa. In https://github.com/Homebrew/homebrew-core/issues/44996 pip failed because it used an old version of asn1crypto. And the old version of asn1crypto was broken on Catalina (similar problem with /usr/lib/libcrypto.dylib as this issue about).

For example here it finds /usr/lib/libcrypto.dylib: https://github.com/saltstack/salt/blob/v2019.2.2/salt/utils/rsax931.py#L38 And here it tries to load it and crashes: https://github.com/saltstack/salt/blob/v2019.2.2/salt/utils/rsax931.py#L57

And exactly the same problem is reproducible on salt installed from pypi.

Please correct me if I'm wrong.

cdalvaro commented 4 years ago

@cdalvaro I think it's vice versa. In Homebrew/homebrew-core#44996 pip failed because it used an old version of asn1crypto. And the old version of asn1crypto was broken on Catalina (similar problem with /usr/lib/libcrypto.dylib as this issue about).

For example here it finds /usr/lib/libcrypto.dylib: https://github.com/saltstack/salt/blob/v2019.2.2/salt/utils/rsax931.py#L38 And here it tries to load it and crashes: https://github.com/saltstack/salt/blob/v2019.2.2/salt/utils/rsax931.py#L57

And exactly the same problem is reproducible on salt installed from pypi.

Please correct me if I'm wrong.

Yes, you are totally right, @bayandin

Another thing I noticed is that after upgrading macOS from Mojave to Catalina in my MacBook salt still working.

More even, I was able to copy that installation of salt into a Mac with a fresh installation of Catalina where salt had been previously installed via homebrew and it wasn't working, and after the copy salt began to work perfectly until got updated by revision 1 of the formula.

jpmckinney commented 4 years ago

I have the same issue, discussed in the thread at https://github.com/Homebrew/homebrew-core/issues/44996

The problem can’t be solved at Homebrew’s end.

jpmckinney commented 4 years ago

After doing pip install salt salt-ssh I can run salt and salt-ssh commands without the 'abort trap 6'. Homebrew installs 2019.2.1_1, whereas with pip I installed 2019.2.2, so perhaps the latest version fixes the abort issue?

fxcoudert commented 4 years ago

@jpmckinney we welcome a Homebrew pull request to update to the latest version!

cdalvaro commented 4 years ago

I can confirm that homebrew/homebrew-core#45895 works on Catalina!

bayandin commented 4 years ago

Unfortunately, it doesn't work neither for me nor for homebrews CI:

$ brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/1fa258efcd1ae72e6ecb48d0d81bb338adb12ec3/Formula/salt.rb # Install salt 2019.2.2
$ salt --version
Abort trap: 6

I use Python 3.7.4

The same result for me if I installed this version from pypi.

cdalvaro commented 4 years ago

So this is my research...

I have installed salt 2019.2.2 from formula https://raw.githubusercontent.com/Homebrew/homebrew-core/1fa258efcd1ae72e6ecb48d0d81bb338adb12ec3/Formula/salt.rb on my MacBook which has been upgraded from Mojave to Catalina and it is currently running macOS Catalina 10.15.1. salt-minion is working perfectly and states are being applied properly.

On the other hand, on my Mac Pro where Catalina was installed as a fresh installation, salt 2019.2.2 installed with the same formula is not working...

And last test, I have copied my salt installation from my MacBook into my Mac Pro, and salt-minion is now running properly on my Mac Pro too.

rsync -aP --delete 2019.2.2_macOS_upgrade_installation/ /usr/local/Cellar/salt/2019.2.2/

You can find attached to this comment both salt installations in order to improve this research.

2019.2.2_macOS_upgrade_installation.tar.gz - macOS Catalina upgraded from Mojave

2019.2.2_macOS_new_installation.tar.gz - macOS Catalina fresh installation

mariusvw commented 4 years ago

Workaround that actually worked so far:

brew install openssl
cd /usr/local/lib
ln -s /usr/local/opt/openssl/lib/libssl.dylib libssl.dylib
ln -s /usr/local/opt/openssl/lib/libcrypto.dylib libcrypto.dylib

You might need to use sudo for the link commands, wasn't needed in my case.

More info

bayandin commented 4 years ago

Hey @xeacott, is there more information required for the issue? I'll be happy to provide it. Thanks!

fxcoudert commented 4 years ago

The problem is here: https://github.com/saltstack/salt/blob/master/salt/utils/rsax931.py#L38

A short reproducer on macOS Catalina:

>>> from ctypes.util import find_library
>>> lib = find_library('crypto')
>>> lib
'/usr/lib/libcrypto.dylib'
>>> from ctypes import cdll
>>> cdll.LoadLibrary(lib)
zsh: abort      python3

Because unversioned /usr/lib/libcrypto.dylib should not be used on macOS Catalina. What would help is if the build path of libcrypto could be detected during build, and used after that.

sromanenko commented 4 years ago

The problem is still here. When I run command salt-ssh -i remotehost test.ping MacOs 10.15.1 (19B88)


 ~ salt-ssh -i remotehost test.ping
remotehost:
    ----------
    retcode:
        1
    stderr:
        Traceback (most recent call last):
          File "/var/tmp/.s_romanenko_5ec184_salt/salt-call", line 27, in <module>
            salt_call()
          File "/var/tmp/.s_romanenko_5ec184_salt/pyall/salt/scripts.py", line 426, in salt_call
            import salt.cli.call
          File "/var/tmp/.s_romanenko_5ec184_salt/pyall/salt/cli/call.py", line 8, in <module>
            import salt.cli.caller
          File "/var/tmp/.s_romanenko_5ec184_salt/pyall/salt/cli/caller.py", line 19, in <module>
            import salt.minion
          File "/var/tmp/.s_romanenko_5ec184_salt/pyall/salt/minion.py", line 69, in <module>
            import salt.crypt
          File "/var/tmp/.s_romanenko_5ec184_salt/pyall/salt/crypt.py", line 69, in <module>
            import salt.utils.rsax931
          File "/var/tmp/.s_romanenko_5ec184_salt/pyall/salt/utils/rsax931.py", line 96, in <module>
            libcrypto = _init_libcrypto()
          File "/var/tmp/.s_romanenko_5ec184_salt/pyall/salt/utils/rsax931.py", line 65, in _init_libcrypto
            libcrypto = _load_libcrypto()
          File "/var/tmp/.s_romanenko_5ec184_salt/pyall/salt/utils/rsax931.py", line 57, in _load_libcrypto
            return cdll.LoadLibrary(lib)
          File "/usr/lib/python3.5/ctypes/__init__.py", line 425, in LoadLibrary
            return self._dlltype(name)
          File "/usr/lib/python3.5/ctypes/__init__.py", line 347, in __init__
            self._handle = _dlopen(self._name, mode)
        OSError: /usr/local/opt/openssl@1.1/lib/libcrypto.dylib: cannot open shared object file: No such file or directory
    stdout:```
bayandin commented 4 years ago

@sromanenko

OSError: /usr/local/opt/openssl@1.1/lib/libcrypto.dylib: cannot open shared object file: No such file or directory

It looks like it requires openssl@1.1 brew package.

Have you installed salt using brew or pip? Have you patched an installation somehow (including the creation of symlinks)?

sromanenko commented 4 years ago

@bayandin I've installed saltstack and openssl using brew

➜  ~ salt --version
salt 2019.2.2 (Fluorine)
➜  ~ brew list | grep openssl
openssl@1.1

I've tryed to create symlinks https://github.com/saltstack/salt/issues/55084#issuecomment-552510505 but it hasn't worked.

bayandin commented 4 years ago

@sromanenko ah, probably I've misunderstood the original error message. Does this stacktrace come from the remote machine?

sromanenko commented 4 years ago

@bayandin no, I suppose it comes from my macbook, because remote machine is linux host and I use salt-ssh

➜  ~ ls /usr/local/opt/openssl@1.1/lib/libcrypto.dylib
/usr/local/opt/openssl@1.1/lib/libcrypto.dylib

➜  ~ brew install openssl
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
No changes to formulae.

Warning: openssl@1.1 1.1.1d is already installed and up-to-date
To reinstall 1.1.1d, run `brew reinstall openssl@1.1`
rbobrovnikov commented 4 years ago

asn1crypto package and cryptography (asn1crypto a part of it) meta package upgrade solved my problem on Catalina 10.15.2:

# pip install --upgrade cryptography

andresvia commented 4 years ago

@rbobrovnikov trying to run pip also crashes with the same error, what does installing those packages actually do? Can they be installed the same way python was installed (brew for example)? Thanks!

andresvia commented 4 years ago

All: Probably look at this issue: https://github.com/wbond/asn1crypto/issues/158 and comment: https://github.com/Homebrew/homebrew-core/issues/44996#issuecomment-543945199

CodingMinds commented 4 years ago

@bayandin / @sromanenko :

OSError: /usr/local/opt/openssl@1.1/lib/libcrypto.dylib: cannot open shared object file: No such file or directory

I've the same issue on my end while using salt-ssh on OS X Catalina to manage a Ubuntu Bionic host. The Workaround from the last PR Homebrew/homebrew-core#45895 to Homebrew caused this issue.

The Ubuntu host has no idea about the local brew paths and therefore fails to open libcrypto.dylib. Reverting the workaround (https://github.com/Homebrew/homebrew-core/blob/master/Formula/salt.rb#L132) after installing salt via Homebrew fixed that for me, but I don't know if any other Salt functionality is affected. I just tested it with salt-ssh which works pretty fine, now. I guess updating asn1crypto on my local host with Catalina fixed the underlying issue (See https://github.com/Homebrew/homebrew-core/issues/44996#issuecomment-550674321 and https://github.com/saltstack/salt/issues/55084#issuecomment-566147904).

The first call on each affected host required a thin tarball regeneration with --regen-thin to update the changed file on the remote host.

waynew commented 4 years ago

Looks like this is an issue kind of across the board with Python, crypto, and Catalina. Dang it, Apple, get it together! 😝

waynew commented 4 years ago

I found a workaround here

cd /usr/local/Cellar/openssl/1.0.2t/lib
sudo cp libssl.1.0.0.dylib libcrypto.1.0.0.dylib /usr/local/lib/
cd /usr/local/lib
sudo ln -s libssl.1.0.0.dylib libssl.dylib
sudo ln -s libcrypto.1.0.0.dylib libcrypto.dylib

Basically it appears that asn1crypto is using unversioned crypto libs or something? And Catalina says that's not allowed.

It looks like newer asn1crypto fixes this though? https://github.com/pyca/pyopenssl/issues/874

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

CodingMinds commented 4 years ago

I'm pretty sure this should not be closed. The problem still exists in 2019.2.3

nijotz commented 4 years ago

I agree that this shouldn't be closed. Homebrew is patching salt until this is fixed: https://github.com/Homebrew/homebrew-core/blob/99ad7c17f96d18ff55251d65e878b04e746d5899/Formula/salt.rb#L130

waynew commented 4 years ago

2019.2.3 is in CVE only now. If this is still a problem in v3000 then we can re-open it.

nijotz commented 4 years ago

I'm experiencing the problem with v3000. And that homebrew recipe that I linked is for v3000.

stale[bot] commented 4 years ago

Thank you for updating this issue. It is no longer marked as stale.

arren-ru commented 4 years ago

Still doesn't work for me neither versions 2019.2.3 or 3000. salt-ssh tolds:

OSError: /usr/local/opt/openssl@1.1/lib/libcrypto.dylib: cannot open shared object file: No such file or directory

I did everything what was suggested by community in this thread and nothing.....

bayandin commented 4 years ago

@arren-ru it happens when you use salt from homebrew on mac to connect to Linux remote machine (which doesn't have /usr/local/opt/openssl@1.1/lib/libcrypto.dylib file).

I'm removing the patch from homebrew (https://github.com/Homebrew/homebrew-core/pull/51843) and letting salt folks to fix the problem if it still happens.

jhass commented 4 years ago

I locally modified the patch to result into

    elif sys.platform == 'darwin':
      return cdll.LoadLibrary('/usr/local/opt/openssl@1.1/lib/libcrypto.dylib')
    else:
        lib = find_library('crypto')

Which still isn't ideal, but works for now.

johnkeates commented 4 years ago

Still doesn't work for me neither versions 2019.2.3 or 3000. salt-ssh tolds:

OSError: /usr/local/opt/openssl@1.1/lib/libcrypto.dylib: cannot open shared object file: No such file or directory

I did everything what was suggested by community in this thread and nothing.....

Same issue here and I'm not on Catalina. (Mojave instead) File exists, but (in my case) salt-ssh still reports OSError: /usr/local/opt/openssl@1.1/lib/libcrypto.dylib: cannot open shared object file: No such file or directory

So this seems to have to do with some directory switching; If I run this on the python3 repl I can load it just fine:

>>> _load_libcrypto()
<CDLL '/usr/local/opt/openssl@1.1/lib/libcrypto.dylib', handle 7fc2736836d0 at 0x10b814250>
kaorihinata commented 4 years ago

I've encountered this issue as well, and based on Apple's dlopen(3) implementation (src/dyld.cpp under the dyld project) we can achieve effectively the same result (forbid unversioned loads by policy, and prefer the latest versioned library) by simply globbing the libraries in /usr/lib (ignoring the unversioned stub) and reverse sorting (as they do still follow a sane naming scheme.)

Taking the SunOS/AIX exceptions (also in _load_crypto) as an example, the following works just fine for me (in salt/utils/rsax931.py, after line 47):

        elif salt.utils.platform.is_darwin():
            # Find versioned libraries in system locations, being careful to
            # avoid the unversioned stub which is no longer permitted.
            lib = glob.glob('/usr/lib/libcrypto.*.dylib')
            if lib:
                # Sort so as to prefer the newest version.
                lib = list(reversed(sorted(lib)))
            else:
                # Find library symlinks in Homebrew locations.
                lib = glob.glob('/usr/local/opt/openssl/lib/libcrypto.dylib')
                lib = lib or glob.glob('/usr/local/opt/openssl@*/lib/libcrypto.dylib')
            lib = lib[0] if lib else None

This will attempt to use the system libcrypto libraries before falling back to Homebrew. If you haven't installed openssl or openssl@1.1 via Homebrew, then naturally those 2 directories in /usr/local/opt won't exist, and you'll be out of luck, but as recently as Catalina you still have compatible libraries in /usr/lib. Just avoid the stub.

Anyway, I've not run it through any testing beyond confirming that the salt command runs at the moment as I actually started today wanting to give Salt a shot for the first time. Installing Python 3.7, patching timelib, and writing this later, I have yet to do that, but hey, the more you know.

I can submit a Pull request if desired, but I'll need to find the contributor/developer docs.

Edit: Also, I feel like I should probably note that I believe this is working as intended (on Apple's part.) They don't want people using unversioned libraries.

almoore commented 4 years ago

I am having this issue with salt-ssh 3000.1 I was able to get it to work with a few additions to the _load_crypto. As recommended by @kaorihinata I added the block for

elif salt.utils.platform.is_darwin():
...

I also added a check to the end for if the path exists.

        if not os.path.exists(lib):
            lib = find_library('crypto')
        if lib:
            return cdll.LoadLibrary(lib)
        raise OSError('Cannot locate OpenSSL libcrypto')
kaorihinata commented 4 years ago

I also added a check to the end for if the path exists.

find_library is already called near the top of _load_libcrypto (line 38, just above the SunOS check) which starts us through the remaining check blocks, so there's no need to call it again:

    else:
        lib = find_library('crypto')
        if not lib and salt.utils.platform.is_sunos():

Additionally, it would be pretty hard for the path in lib to not exist if it hasn't been set to None because all checks above use glob (which craws directories), or find_library (which does the same).

(Edit: I also corrected my above post to correct the name to _load_libcrypto and not _load_crypto. My bad.)

almoore commented 4 years ago

@kaorihinata Looks like when I brew installed salt it does not match the v3000.1 release. The path for the lib is hard coded /usr/local/opt/openssl@1.1/lib/libcrypto.dylib in the brew version for some reason. Here are the current differences with the patching that I have done.

38c38
<         lib = find_library('crypto')
---
>         lib = '/usr/local/opt/openssl@1.1/lib/libcrypto.dylib'
47a48,60
>         elif salt.utils.platform.is_darwin():
>             # Find versioned libraries in system locations, being careful to
>             # avoid the unversioned stub which is no longer permitted.
>             import glob
>             lib = glob.glob('/usr/lib/libcrypto.*.dylib')
>             if lib:
>                 # Sort so as to prefer the newest version.
>                 lib = list(reversed(sorted(lib)))
>             else:
>                 # Find library symlinks in Homebrew locations.
>                 lib = glob.glob('/usr/local/opt/openssl/lib/libcrypto.dylib')
>                 lib = lib or glob.glob('/usr/local/opt/openssl@*/lib/libcrypto.dylib')
>             lib = lib[0] if lib else None
55a69,70
>         if not os.path.exists(lib):
>             lib = find_library('crypto')
kaorihinata commented 4 years ago

@almoore I see. I suppose that's about what we can expect from them. I'll create a Pull Request right now so that we can be done with this.

(Edit: I forgot to mention that the reason my solution is more complex is because I install salt from pip to avoid Homebrew's "fixes". My snippet will use Apple's installed OpenSSL libraries without complaint, and as can be seen in the function below _load_libcrypto (specifically, _init_libcrypto), salt still supports pre-1.1 OpenSSL, so unless the salt maintainers themselves say otherwise, I see no reason to specifically hard code just the 1.1 dylibs. If Homebrew wants to force the use of their own dylibs, then they're more than welcome to do that after this.)