-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I added the include_dirs and library_dirs in setup.py to point to openssl 1.1.1u and built sslkeylog successfully on MacOS 13.3. However it crash with a simple test.
import sslkeylog
sslkeylog.set_keylog("secrets.log")
req = requests.get('https://baidu.com')
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000000000001c
Exception Codes: 0x0000000000000001, 0x000000000000001c
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [84537]
VM Region Info: 0x1c is not in any region. Bytes before following region: 140737488138212
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
shared memory 7ffffffcb000-7ffffffcc000 [ 4K] r-x/r-x SM=SHM
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libcrypto.3.dylib 0x108c21c40 OPENSSL_sk_value + 25
1 _sslkeylog.cpython-311-darwin.so 0x1081fdb16 sslkeylog_set_keylog_callback + 70 (_sslkeylog.c:283)
2 Python 0x107628834 cfunction_call + 90
3 Python 0x1075d8e99 _PyObject_MakeTpCall + 126
4 Python 0x1076d18ab _PyEval_EvalFrameDefault + 57269
5 Python 0x1076d7921 _PyEval_Vector + 92
6 Python 0x1075d90d7 _PyObject_FastCallDictTstate + 87
7 Python 0x107649fb5 slot_tp_new + 191
8 Python 0x1076431b8 type_call + 69
9 Python 0x1075d8e99 _PyObject_MakeTpCall + 126
10 Python 0x1076d18ab _PyEval_EvalFrameDefault + 57269
11 Python 0x1076d7921 _PyEval_Vector + 92
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels