Comments (7)
from cryptography.
(is this MTE or TBI?
MTE, MacBook Pro M3
Is there a way to get the allocating stack trace?
Any ideas? valgrind
?
From the stack it looks like this is happening in cffi, not our own code. Does this reproduce with other cffi modules?
Yes, I tried with xkbcommon
:
Downloading xkbcommon-1.5.1.tar.gz (80 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.2/80.2 kB 1.3 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 99
╰─> [104 lines of output]
==173==ERROR: HWAddressSanitizer: tag-mismatch on address 0xffffb1688560 at pc 0xffffb156640c
READ of size 8 at 0xffffb1688560 tags: b0/00 (ptr/mem) in thread T0
#0 0xffffb156640c in PyInit__cffi_backend /tmp/pip-install-iycvqhbt/cffi_90ebfd0ff8434d5ab44e8f3435752cb7/src/c/_cffi_backend.c:8038:9
#1 0x66def0 in _PyImport_LoadDynamicModuleWithSpec /usr/src/python3.12-3.12.3-1/build-static/../Python/importdl.c:169:9
#2 0x66d338 in _imp_create_dynamic_impl /usr/src/python3.12-3.12.3-1/build-static/../Python/import.c:3775:11
#3 0x66d338 in _imp_create_dynamic /usr/src/python3.12-3.12.3-1/build-static/../Python/clinic/import.c.h:506:20
#4 0x502d4c in cfunction_vectorcall_FASTCALL /usr/src/python3.12-3.12.3-1/build-static/../Objects/methodobject.c:422:24
#5 0x5652ac in _PyEval_EvalFrameDefault /usr/src/python3.12-3.12.3-1/build-static/Python/bytecodes.c:3254:26
#6 0x4c2f00 in _PyObject_VectorcallTstate /usr/src/python3.12-3.12.3-1/build-static/../Include/internal/pycore_call.h:92:11
#7 0x4c2f00 in object_vacall /usr/src/python3.12-3.12.3-1/build-static/../Objects/call.c:850:14
#8 0x4c4ae4 in PyObject_CallMethodObjArgs /usr/src/python3.12-3.12.3-1/build-static/../Objects/call.c:911:24
#9 0x58bee8 in import_find_and_load /usr/src/python3.12-3.12.3-1/build-static/../Python/import.c:2779:11
#10 0x58bee8 in PyImport_ImportModuleLevelObject /usr/src/python3.12-3.12.3-1/build-static/../Python/import.c:2862:15
#11 0x565f6c in import_name /usr/src/python3.12-3.12.3-1/build-static/../Python/ceval.c:2482:15
#12 0x565f6c in _PyEval_EvalFrameDefault /usr/src/python3.12-3.12.3-1/build-static/Python/bytecodes.c:2135:19
#13 0x4c3ba0 in _PyFunction_Vectorcall /usr/src/python3.12-3.12.3-1/build-static/../Objects/call.c:419:16
#14 0x4c3ba0 in _PyObject_FastCallDictTstate /usr/src/python3.12-3.12.3-1/build-static/../Objects/call.c:133:15
#15 0x4c3ba0 in _PyObject_Call_Prepend /usr/src/python3.12-3.12.3-1/build-static/../Objects/call.c:508:24
#16 0x521060 in slot_tp_init /usr/src/python3.12-3.12.3-1/build-static/../Objects/typeobject.c:9014:15
#17 0x51c7a0 in type_call /usr/src/python3.12-3.12.3-1/build-static/../Objects/typeobject.c:1673:19
#18 0x4c20c4 in _PyObject_MakeTpCall /usr/src/python3.12-3.12.3-1/build-static/../Objects/call.c:240:18
#19 0x561d20 in _PyEval_EvalFrameDefault /usr/src/python3.12-3.12.3-1/build-static/Python/bytecodes.c:2706:19
#20 0x560070 in _PyEval_EvalFrame /usr/src/python3.12-3.12.3-1/build-static/../Include/internal/pycore_ceval.h:89:16
#21 0x560070 in _PyEval_Vector /usr/src/python3.12-3.12.3-1/build-static/../Python/ceval.c:1683:12
#22 0x560070 in PyEval_EvalCode /usr/src/python3.12-3.12.3-1/build-static/../Python/ceval.c:578:21
#23 0x55d264 in builtin_exec_impl /usr/src/python3.12-3.12.3-1/build-static/../Python/bltinmodule.c:1096:17
#24 0x55d264 in builtin_exec /usr/src/python3.12-3.12.3-1/build-static/../Python/clinic/bltinmodule.c.h:586:20
#25 0x502a38 in cfunction_vectorcall_FASTCALL_KEYWORDS /usr/src/python3.12-3.12.3-1/build-static/../Objects/methodobject.c:438:24
#26 0x4c2c78 in _PyObject_VectorcallTstate /usr/src/python3.12-3.12.3-1/build-static/../Include/internal/pycore_call.h:92:11
#27 0x4c2c78 in PyObject_Vectorcall /usr/src/python3.12-3.12.3-1/build-static/../Objects/call.c:325:12
#28 0x561d20 in _PyEval_EvalFrameDefault /usr/src/python3.12-3.12.3-1/build-static/Python/bytecodes.c:2706:19
#29 0x4c3ba0 in _PyFunction_Vectorcall /usr/src/python3.12-3.12.3-1/build-static/../Objects/call.c:419:16
#30 0x4c3ba0 in _PyObject_FastCallDictTstate /usr/src/python3.12-3.12.3-1/build-static/../Objects/call.c:133:15
#31 0x4c3ba0 in _PyObject_Call_Prepend /usr/src/python3.12-3.12.3-1/build-static/../Objects/call.c:508:24
#32 0x521060 in slot_tp_init /usr/src/python3.12-3.12.3-1/build-static/../Objects/typeobject.c:9014:15
#33 0x51c7a0 in type_call /usr/src/python3.12-3.12.3-1/build-static/../Objects/typeobject.c:1673:19
#34 0x4c20c4 in _PyObject_MakeTpCall /usr/src/python3.12-3.12.3-1/build-static/../Objects/call.c:240:18
#35 0x561d20 in _PyEval_EvalFrameDefault /usr/src/python3.12-3.12.3-1/build-static/Python/bytecodes.c:2706:19
#36 0x560070 in _PyEval_EvalFrame /usr/src/python3.12-3.12.3-1/build-static/../Include/internal/pycore_ceval.h:89:16
#37 0x560070 in _PyEval_Vector /usr/src/python3.12-3.12.3-1/build-static/../Python/ceval.c:1683:12
#38 0x560070 in PyEval_EvalCode /usr/src/python3.12-3.12.3-1/build-static/../Python/ceval.c:578:21
#39 0x598ddc in run_eval_code_obj /usr/src/python3.12-3.12.3-1/build-static/../Python/pythonrun.c:1722:9
#40 0x598ddc in run_mod /usr/src/python3.12-3.12.3-1/build-static/../Python/pythonrun.c:1743:19
#41 0x598ddc in PyRun_StringFlags /usr/src/python3.12-3.12.3-1/build-static/../Python/pythonrun.c:1618:15
#42 0x55d318 in builtin_exec_impl /usr/src/python3.12-3.12.3-1/build-static/../Python/bltinmodule.c:1121:17
#43 0x55d318 in builtin_exec /usr/src/python3.12-3.12.3-1/build-static/../Python/clinic/bltinmodule.c.h:586:20
#44 0x502a38 in cfunction_vectorcall_FASTCALL_KEYWORDS /usr/src/python3.12-3.12.3-1/build-static/../Objects/methodobject.c:438:24
#45 0x4c2c78 in _PyObject_VectorcallTstate /usr/src/python3.12-3.12.3-1/build-static/../Include/internal/pycore_call.h:92:11
#46 0x4c2c78 in PyObject_Vectorcall /usr/src/python3.12-3.12.3-1/build-static/../Objects/call.c:325:12
#47 0x561d20 in _PyEval_EvalFrameDefault /usr/src/python3.12-3.12.3-1/build-static/Python/bytecodes.c:2706:19
#48 0x560070 in _PyEval_EvalFrame /usr/src/python3.12-3.12.3-1/build-static/../Include/internal/pycore_ceval.h:89:16
#49 0x560070 in _PyEval_Vector /usr/src/python3.12-3.12.3-1/build-static/../Python/ceval.c:1683:12
#50 0x560070 in PyEval_EvalCode /usr/src/python3.12-3.12.3-1/build-static/../Python/ceval.c:578:21
#51 0x598f70 in run_eval_code_obj /usr/src/python3.12-3.12.3-1/build-static/../Python/pythonrun.c:1722:9
#52 0x598f70 in run_mod /usr/src/python3.12-3.12.3-1/build-static/../Python/pythonrun.c:1743:19
#53 0x67e6f0 in pyrun_file /usr/src/python3.12-3.12.3-1/build-static/../Python/pythonrun.c:1643:15
#54 0x67e2c4 in _PyRun_SimpleFileObject /usr/src/python3.12-3.12.3-1/build-static/../Python/pythonrun.c:433:13
#55 0x67e090 in _PyRun_AnyFileObject /usr/src/python3.12-3.12.3-1/build-static/../Python/pythonrun.c:78:15
#56 0x6890e8 in pymain_run_file_obj /usr/src/python3.12-3.12.3-1/build-static/../Modules/main.c:360:15
#57 0x6890e8 in pymain_run_file /usr/src/python3.12-3.12.3-1/build-static/../Modules/main.c:379:15
#58 0x6890e8 in pymain_run_python /usr/src/python3.12-3.12.3-1/build-static/../Modules/main.c:629:21
#59 0x6890e8 in Py_RunMain /usr/src/python3.12-3.12.3-1/build-static/../Modules/main.c:709:5
#60 0x688ca4 in Py_BytesMain /usr/src/python3.12-3.12.3-1/build-static/../Modules/main.c:763:12
#61 0xffffb43384c0 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#62 0xffffb4338594 in __libc_start_main csu/../csu/libc-start.c:360:3
#63 0x5f24ec in _start (/usr/bin/python3.12+0x5f24ec) (BuildId: 18160fe6beb052a7e6830ecc99e313a3498c377d)
Thread: T0 0xeffe00002000 stack: [0xfffffbf7e000,0xfffffc77e000) sz: 8388608 tls: [0xffffb50ed460,0xffffb50ee320)
Memory tags around the buggy address (one tag corresponds to 16 bytes):
0xffffb1687d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffb1687e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffb1687f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffb1688000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffb1688100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffb1688200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffb1688300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffb1688400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0xffffb1688500: 00 00 00 00 00 00 [00] 00 00 00 00 00 00 00 00 00
0xffffb1688600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffb1688700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffb1688800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffb1688900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffb1688a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffb1688b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffb1688c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffb1688d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Tags for short granules around the buggy address (one tag corresponds to 16 bytes):
0xffffb1688400: .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
=>0xffffb1688500: .. .. .. .. .. .. [..] .. .. .. .. .. .. .. .. ..
0xffffb1688600: .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
See https://clang.llvm.org/docs/HardwareAssistedAddressSanitizerDesign.html#short-granules for a description of short granule tags
Registers where the failure occurred (pc 0xffffb156640c):
x0 b000ffffb1688560 x1 0000000000000000 x2 0000000000000000 x3 0000000000000001
x4 0000000000000002 x5 5300ed5e000b4100 x6 0000000000000006 x7 00000000000001d0
x8 00000000000000b0 x9 0000000000000000 x10 00000ffffb168856 x11 0000000000000000
x12 0000000000000000 x13 0000000000000000 x14 0000000000000000 x15 fffffffffffff000
x16 0000ffffb463b7f0 x17 0000000000000007 x18 0000000000000004 x19 0000ffffb1760070
x20 0200efff00000000 x21 0000ffffb16afa20 x22 0000ffffb17729a0 x23 0000000000000000
x24 0000ffffb1772a50 x25 000000000070f5b8 x26 0000ffffb1565fb4 x27 0000ffffb17729c0
x28 0000000000b8a278 x29 0000fffffc77afa0 x30 0000ffffb1566410 sp 0000fffffc77ae20
SUMMARY: HWAddressSanitizer: tag-mismatch /tmp/pip-install-iycvqhbt/cffi_90ebfd0ff8434d5ab44e8f3435752cb7/src/c/_cffi_backend.c:8038:9 in PyInit__cffi_backend
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
from cryptography.
I'm not sure M3 supports MTE, but it doesn't particularly matter, that was just curiosity.
Does this reproduce with simply pip install cffi && python -c "import cffi"
? I think it will, and therefore think this should be reported to the cffi devs.
Assuming I have the version of the code right and this is cffi 0.16.0, this appears to point to this line of code, which is confusing to me https://github.com/python-cffi/cffi/blob/v1.16.0/src/c/_cffi_backend.c#L8038
from cryptography.
I'm not sure M3 supports MTE, but it doesn't particularly matter, that was just curiosity.
It does.
Does this reproduce with simply
pip install cffi && python -c "import cffi"
?
No
$ docker run --rm -it <image>
$ python3 -m venv venv
$ source venv/bin/activate
$ pip3 install cffi --no-binary ":all:"
Collecting cffi
Downloading cffi-1.16.0.tar.gz (512 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 512.9/512.9 kB 3.8 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pycparser (from cffi)
Downloading pycparser-2.22.tar.gz (172 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 172.7/172.7 kB 3.9 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: cffi, pycparser
Building wheel for cffi (pyproject.toml) ... done
Created wheel for cffi: filename=cffi-1.16.0-cp312-cp312-linux_aarch64.whl size=558605 sha256=d5de52ecea6ee72de6e7e20bd7b849d76bcf86118e2ee2c67033af63113171d2
Stored in directory: /root/.cache/pip/wheels/9f/20/b5/43b003d703a3519a9adbe40423a752dd0c7618afb763739963
Building wheel for pycparser (pyproject.toml) ... done
Created wheel for pycparser: filename=pycparser-2.22-py3-none-any.whl size=117551 sha256=928b6834e3a24b5a187d162685fcbf733ebc027a462b4061a4444ffb90d4242c
Stored in directory: /root/.cache/pip/wheels/36/53/17/c0ae2e096d359a9a8faf47fd7ded8f4c878af41a3c66cb5199
Successfully built cffi pycparser
Installing collected packages: pycparser, cffi
Successfully installed cffi-1.16.0 pycparser-2.22
$ python3
Python 3.12.3 (main, Apr 10 2024, 05:33:47) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cffi
>>>
from cryptography.
Hmm, what about import _cffi_backend
?
from cryptography.
What about import _cffi_backend?
Good catch:
>>> import _cffi_backend
==6891==ERROR: HWAddressSanitizer: tag-mismatch on address 0xffffaf138560 at pc 0xffffaf01640c
READ of size 8 at 0xffffaf138560 tags: b0/00 (ptr/mem) in thread T0
#0 0xffffaf01640c in PyInit__cffi_backend /tmp/pip-install-4y800q_w/cffi_719689ca36314da393f7dd5e1ef29011/src/c/_cffi_backend.c:8038:9
#1 0x66def0 in _PyImport_LoadDynamicModuleWithSpec /usr/src/python3.12-3.12.3-1/build-static/../Python/importdl.c:169:9
#2 0x66d338 in _imp_create_dynamic_impl /usr/src/python3.12-3.12.3-1/build-static/../Python/import.c:3775:11
#3 0x66d338 in _imp_create_dynamic /usr/src/python3.12-3.12.3-1/build-static/../Python/clinic/import.c.h:506:20
#4 0x502d4c in cfunction_vectorcall_FASTCALL /usr/src/python3.12-3.12.3-1/build-static/../Objects/methodobject.c:422:24
#5 0x5652ac in _PyEval_EvalFrameDefault /usr/src/python3.12-3.12.3-1/build-static/Python/bytecodes.c:3254:26
#6 0x4c2f00 in _PyObject_VectorcallTstate /usr/src/python3.12-3.12.3-1/build-static/../Include/internal/pycore_call.h:92:11
#7 0x4c2f00 in object_vacall /usr/src/python3.12-3.12.3-1/build-static/../Objects/call.c:850:14
#8 0x4c4ae4 in PyObject_CallMethodObjArgs /usr/src/python3.12-3.12.3-1/build-static/../Objects/call.c:911:24
#9 0x58bee8 in import_find_and_load /usr/src/python3.12-3.12.3-1/build-static/../Python/import.c:2779:11
#10 0x58bee8 in PyImport_ImportModuleLevelObject /usr/src/python3.12-3.12.3-1/build-static/../Python/import.c:2862:15
#11 0x565f6c in import_name /usr/src/python3.12-3.12.3-1/build-static/../Python/ceval.c:2482:15
#12 0x565f6c in _PyEval_EvalFrameDefault /usr/src/python3.12-3.12.3-1/build-static/Python/bytecodes.c:2135:19
#13 0x560070 in _PyEval_EvalFrame /usr/src/python3.12-3.12.3-1/build-static/../Include/internal/pycore_ceval.h:89:16
#14 0x560070 in _PyEval_Vector /usr/src/python3.12-3.12.3-1/build-static/../Python/ceval.c:1683:12
#15 0x560070 in PyEval_EvalCode /usr/src/python3.12-3.12.3-1/build-static/../Python/ceval.c:578:21
#16 0x598f70 in run_eval_code_obj /usr/src/python3.12-3.12.3-1/build-static/../Python/pythonrun.c:1722:9
#17 0x598f70 in run_mod /usr/src/python3.12-3.12.3-1/build-static/../Python/pythonrun.c:1743:19
#18 0x451460 in PyRun_InteractiveOneObjectEx /usr/src/python3.12-3.12.3-1/build-static/../Python/pythonrun.c:260:9
#19 0x4511a8 in _PyRun_InteractiveLoopObject /usr/src/python3.12-3.12.3-1/build-static/../Python/pythonrun.c:137:15
#20 0x67e0e4 in _PyRun_AnyFileObject /usr/src/python3.12-3.12.3-1/build-static/../Python/pythonrun.c:72:15
#21 0x451078 in PyRun_AnyFileExFlags /usr/src/python3.12-3.12.3-1/build-static/../Python/pythonrun.c:104:15
#22 0x689500 in pymain_run_stdin /usr/src/python3.12-3.12.3-1/build-static/../Modules/main.c:520:15
#23 0x689500 in pymain_run_python /usr/src/python3.12-3.12.3-1/build-static/../Modules/main.c:632:21
#24 0x689500 in Py_RunMain /usr/src/python3.12-3.12.3-1/build-static/../Modules/main.c:709:5
#25 0x688ca4 in Py_BytesMain /usr/src/python3.12-3.12.3-1/build-static/../Modules/main.c:763:12
#26 0xffffb10c84c0 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#27 0xffffb10c8594 in __libc_start_main csu/../csu/libc-start.c:360:3
#28 0x5f24ec in _start (/usr/bin/python3.12+0x5f24ec) (BuildId: 18160fe6beb052a7e6830ecc99e313a3498c377d)
Thread: T0 0xeffe00002000 stack: [0xffffcbbbd000,0xffffcc3bd000) sz: 8388608 tls: [0xffffb1e79460,0xffffb1e7a320)
Memory tags around the buggy address (one tag corresponds to 16 bytes):
0xffffaf137d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffaf137e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffaf137f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffaf138000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffaf138100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffaf138200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffaf138300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffaf138400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0xffffaf138500: 00 00 00 00 00 00 [00] 00 00 00 00 00 00 00 00 00
0xffffaf138600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffaf138700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffaf138800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffaf138900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffaf138a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffaf138b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffaf138c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffaf138d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Tags for short granules around the buggy address (one tag corresponds to 16 bytes):
0xffffaf138400: .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
=>0xffffaf138500: .. .. .. .. .. .. [..] .. .. .. .. .. .. .. .. ..
0xffffaf138600: .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
See https://clang.llvm.org/docs/HardwareAssistedAddressSanitizerDesign.html#short-granules for a description of short granule tags
Registers where the failure occurred (pc 0xffffaf01640c):
x0 b000ffffaf138560 x1 0000000000000000 x2 0000000000000000 x3 0000000000000001
x4 0000000000000002 x5 a900ed5e0000bb00 x6 0000000000000006 x7 0000000000000020
x8 00000000000000b0 x9 0000000000000000 x10 00000ffffaf13856 x11 0000000000000000
x12 0000000000000000 x13 00000000000000a9 x14 0000000000000000 x15 0000ecebfffe0024
x16 0000ffffb13cb7f0 x17 0000000000000007 x18 0000000000000004 x19 0000ffffaf30b9b0
x20 0200efff00000000 x21 0000ffffaf176eb0 x22 0000ffffaf1b3a20 x23 0000000000000000
x24 0000ffffaf1b3650 x25 000000000070f5b8 x26 0000ffffaf015fb4 x27 0000ffffaf1b3a40
x28 0000000000b8a278 x29 0000ffffcc3bb0c0 x30 0000ffffaf016410 sp 0000ffffcc3baf40
SUMMARY: HWAddressSanitizer: tag-mismatch /tmp/pip-install-4y800q_w/cffi_719689ca36314da393f7dd5e1ef29011/src/c/_cffi_backend.c:8038:9 in PyInit__cffi_backend
from cryptography.
Great. Based on this, I'm going to close this in favor of the cffi bug, since that's where the fix needs to be. Thanks for digging in here!
from cryptography.
Related Issues (20)
- UnexpectedTag Error while loading pem certificate using cryptography HOT 6
- Question: where are the `load_pem_private_key` error messages defined? HOT 2
- `tests/hazmat/primitives/test_pkcs7.py::TestPKCS7SignatureBuilder::test_sign_byteslike` crashes: unsafe precondition(s) violated: slice::from_raw_parts requires the pointer to be aligned and non-null, and the total size of the slice not to exceed `isize::MAX` HOT 4
- Add rust debug build to CI
- ImportError: DLL load failed while importing _rust: The specified procedure could not be found. HOT 8
- Is there a Wheel for Python 3.11 ? I could not find it in the website ! HOT 1
- -DOPENSSL_NO_ENGINE=1 still fails with #include <openssl/engine.h> HOT 2
- "is" test of exceptions._Reasons value not working in Fedora Rawhide HOT 6
- Probably found an error in docs HOT 2
- Support for UUID OIDs in X509v3 extensions HOT 8
- AWS lambda deployment Errors while importing cryptography. HOT 3
- Docker Build on ARMv7 python 3.13: _cffi_backend.cpython-313-arm-linux-musleabihf.so: _PyErr_WriteUnraisableMsg: symbol not found; Cryptography-Cffi/build.rs:39:9 ; Error: Failed to Run Custom Build Command for Cryptography-Cffi v0.1.0 (/Tmp/Pip-Install[...]/Cryptography[...]/Src/Rust/Cryptography-Cffi) and Build-Script-Build Exit Status 101 HOT 4
- Certificate chain validation always fails with "required EKU not found" error HOT 3
- Unable to build cryptography 43.0.0 on alpine due to toml parse error HOT 9
- Intermediate certificates that cryptography.x509.load_{pem,der}_x509_certificate can't load HOT 3
- 43.0.0 breaks cryptography on Debian 11 Bullseye (ImportError: libssl.so.3) HOT 2
- Support for signing with RSA-FDH and PKCS#1 1.5 without ASN.1 prefix HOT 3
- Need to `export OPENSSL_DIR="/usr"` to be able to install cryptography on OpenBSD HOT 12
- MultiFernet Support for `extract_timestamp` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cryptography.