caddy: linux arm: Invalid memory address or null pointer dereference panic when using fastcgi
This is via vanilla Caddy 0.10.5 on a Raspberry pi 3 (arm v7), running a 32 bit Arch linux. Earlier versions, such as 0.10.4 work fine.
PHP version: 7.1.7
When using FastCGI with php-fm, Caddy generates an Internal server error (http 500). Additionally, a panic is logged:
[PANIC /] /usr/local/go/src/sync/atomic/asm_linux_arm.s:109 - runtime error: invalid memory address or nil pointer dereference
Caddy file:
mysite.com {
gzip
root /var/www/mysite.com
fastcgi / /run/php-fpm/php-fpm.sock php
}
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 20 (3 by maintainers)
Commits related to this issue
- Fix for #1788. Remove sync.Atomic. — committed to abiosoft/caddy by abiosoft 7 years ago
- Fix for #1788. Remove sync.Atomic. — committed to abiosoft/caddy by abiosoft 7 years ago
- Fix for #1788. Remove sync.Atomic. — committed to abiosoft/caddy by abiosoft 7 years ago
- Fix for #1788. Rearrange struct fields. — committed to abiosoft/caddy by abiosoft 7 years ago
- Merge pull request #1789 from abiosoft/fix-atomic-add fastcgi: Fix for #1788. Align atomic fields to 64-bit word (Go bug) — committed to caddyserver/caddy by mholt 7 years ago
- Fix for #1788. Rearrange struct fields. — committed to devangels/caddy by abiosoft 7 years ago
duplicate of https://github.com/mholt/caddy/issues/1786