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
Wed Jul 21 06:28:25 UTC 2021


Hello all

After upgrading to Big Sur (Mac OS 11) I also had to upgrade the Mac 
Ports and the shibboleth SP. Things seemed to work fine at first but I 
stumbled upon a strange problem that seems somehow to be affected to the 
Shibboleth SP. Whenever calling some PHP script that contains code using 
some external library (in my particular case it was php-curl), e.g. with 
code like this:

-----------------------8<-----------------------------
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://shibboleth.net/downloads/");
curl_exec($ch);
-----------------------8<-----------------------------

I get several Apache segmentation faults:

[Wed Jul 21 07:51:36.682793 2021] [core:notice] [pid 47556] AH00052: 
child pid 47708 exit signal Segmentation fault (11)

When disabling mod_shib in Apache, the above works as expected. So, 
there is some connection to mod_shib.

At first I assumed this was a problem with my Mac Ports installation, so 
I did a complete clean reinstall of Mac Ports and the packages. As this 
did not help, I eventually switched to Home Brew. But there I see the 
same problem. I tested the same on a CentOS installation, where things 
seem to work.

I'm not sure if this really is a Shib bug and not a problem with my 
computer. Still, as this cost me already quite some time, I post this.

If you have installed the latest Shibboleth SP 3.2.2 on Big Sur, can you 
confirm that a PHP page containing code like the one above works for you 
if you execute this while mod_shib is active (with or without a Shib 
session)?

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