Closed Bug 841415 Opened 8 years ago Closed 8 years ago
_ctypes .py doesn't work in Mac
STR: 1. Try to sign any app using the provided test script (security/manager/ssl/tests/unit/test_signed_apps/sign_b2g_app.py) on MacOS (tried on Darwin Kernel Version 12.2.0). 2. Python dies with a SIGSEGV error Cause: Apparently, Python behaves differently on Darwin than it does either on Linux or on Windows, and it messes the return pointer from PL_strdup.
This fixes it for me. Setting the return value to *void makes Python not touch the pointer at all, apparently.
Attachment #713946 - Flags: review?(bsmith)
This has been pending of review for about 4 months... want me to assign it so somebody else?
Status: NEW → ASSIGNED
Attachment #713946 - Flags: review?(bsmith) → review+
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.