-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Platform
macOS
Operating system version
MacOS Sonoma Version 14.6.1 (23G93)
System architecture
Intel (x86)
Herd Version
Herd 1.14.1 (Build: 39)
PHP Version
php-fpm 8.1 to 8.3 (application incompatible with other versions)
Bug description
Receive a segfault when accessing a content managed page (admin and other pages work just fine)
Same page works just fine if I use ./artisan serve
I've tried 8.1, 8.2 and 8.3, disabling extensions, and disabling zend op cache but have had no luck and am stumped as to what to try next, as I cannot see what is causing the segfault.
This used to work with Herd and php 8.1 (I want to say a few months ago)... unfortunately, I can't recall which release caused the problem.
Question: how can I go about debugging this problem with Herd? Any help or guidance would be much appreciated. Thank you.
eg. how to catch segfault dumps; or rollback to earlier versions of herd; or any other suggestions
Current settings for php.ini 8.3:
curl.cainfo=/Users/adrian/Library/Application Support/Herd/config/php/cacert.pem
openssl.cafile=/Users/adrian/Library/Application Support/Herd/config/php/cacert.pem
pcre.jit=0
output_buffering=4096
extension=/usr/local/Cellar/php/8.3.12/pecl/20230831/yaml.so
extension=/usr/local/Cellar/php/8.3.12/pecl/20230831/v8js.so
memory_limit=-1
display_errors=On
log_errors=On
#opcache.enable=0
#opcache.jit=0
auto_prepend_file=/Applications/Herd.app/Contents/Resources/valet/dump-loader.php
extension=/Applications/Herd.app/Contents/Resources/herd-ext/herd-83-x64.so
extension=/Users/adrian/Library/Application Support/Herd/config/php/83/spx/spx.so
spx.http_enabled=1
spx.http_key=LARAVEL-HERD
spx.http_ip_whitelist="127.0.0.1"
spx.http_ui_assets_dir=/Users/adrian/Library/Application Support/Herd/config/php/83/spx/assets/web-ui
[xdebug]
zend_extension=/Applications/Herd.app/Contents/Resources/xdebug/xdebug-83-x86.so
xdebug.mode=coverage
xdebug.max_nesting_level=1000
xdebug.start_with_request=false
xdebug.start_upon_error=false
xdebug.log_level=0
Steps to reproduce
n/a - only repeatable with my specific application
Relevant log output
[26-Jan-2025 11:52:09] WARNING: [pool herd] child 42103 exited on signal 11 (SIGSEGV) after 1.103975 seconds from start