Apache segmentation fault with SP 3.2.3 when calling PHP functions on Mac OS Big Sur?

Lukas Hämmerle lukas.haemmerle at switch.ch
Fri Jul 23 15:59:58 UTC 2021


On 21.07.21 18:18, Cantor, Scott wrote:
> On 7/21/21, 12:08 PM, "users on behalf of Lukas Hämmerle"
> <users-bounces at shibboleth.net on behalf of lukas.haemmerle at switch.ch>
> wrote:
> 
>> Seems plausible. Any hints on how to debug this?
> 
> otool is the Mac ldd, it will dump the libraries used. You'd have to
> scan everything that's involved with the correct LDPATH to spot a
> mismatch.

otool gives me:

otool -L /usr/local/sbin/shibd
> /usr/local/sbin/shibd:
> 	/usr/local/Cellar/shibboleth-sp/3.2.3/lib/libshibsp.10.dylib (compatibility version 11.0.0, current version 11.2.0)
> 	/usr/local/opt/log4shib/lib/liblog4shib.2.dylib (compatibility version 3.0.0, current version 3.0.0)
> 	/usr/local/opt/xml-security-c/lib/libxml-security-c.20.dylib (compatibility version 21.0.0, current version 21.2.0)
> 	/usr/local/opt/opensaml/lib/libsaml.12.dylib (compatibility version 13.0.0, current version 13.0.0)
> 	/usr/local/opt/xerces-c/lib/libxerces-c-3.2.dylib (compatibility version 0.0.0, current version 0.0.0)
> 	/usr/local/opt/xml-tooling-c/lib/libxmltooling.10.dylib (compatibility version 11.0.0, current version 11.0.0)
> 	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 905.6.0)
> 	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1292.100.5)

I'm not used interpreting this but it seems to be that at least all 
current version numbers are equal/higher than the compatible version 
numbers. Then again 0.0.0 seems an awfully low version number
for xerces while 1292 for libSystem seems rather high :-)


ls -lh /usr/local/opt/shibboleth-sp/lib/
total 6416
-r--r--r--  1 user  admin   1.0M Jul 20 18:37 libshibsp-lite.10.dylib
lrwxr-xr-x  1 user  admin    23B Jul  6 21:10 libshibsp-lite.dylib -> 
libshibsp-lite.10.dylib
-rw-r--r--  1 user  admin   2.1M Jul 20 18:37 libshibsp.10.dylib
lrwxr-xr-x  1 user  admin    18B Jul  6 21:10 libshibsp.dylib -> 
libshibsp.10.dylib
drwxr-xr-x  4 user  admin   128B Jul 20 18:37 pkgconfig
drwxr-xr-x  8 user  admin   256B Jul  6 21:10 shibboleth


Best Regards
Lukas



-- 
SWITCH
Lukas Hämmerle, Trust & Identity
Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland
+41 44 268 15 64  lukas.haemmerle at switch.ch  http://www.switch.ch


More information about the users mailing list