[MacPorts] #53885: openssl crashes svn on ppc due to asm code in OPENSSL_crypto207_probe ()
MacPorts
noreply at macports.org
Mon Apr 3 02:34:04 UTC 2017
#53885: openssl crashes svn on ppc due to asm code in OPENSSL_crypto207_probe ()
----------------------+---------------------
Reporter: kencu | Owner:
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: wontfix | Keywords: powerpc
Port: openssl |
----------------------+---------------------
Comment (by kencu):
Ultimately I think this behaviour on Tiger is due to some inconsistency in
the signal handling -- Leopard correctly handles SIGILL during the probes
in openssl to not cause a crash. On Tiger however it goes to the default
behavour and writes a full crashlog every time the probe fails on the
illegal instruction, which is every time any program uses openssl.
`sigaction` does not appear to be picking up the requested change on
Tiger.
I thought it might just be a POSIX guard thing in signal.h (these errors
are common on Tiger), but the first attempt at that didn't fix it -- so I
just #ifdef'd the crashing call out, and now it works correctly.
--
Ticket URL: <https://trac.macports.org/ticket/53885#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list