You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Seeking guidance: zend_mm_heap corrupted → exit 133 → upstream 502 under PHP 8.6 ZTS worker (quieter on digest-pinned 8.5.13 / same FrankenPHP 1.14.0)
#2896
Hi — posting in Q&A rather than filing a bug. We are not claiming a proven FrankenPHP (or PHP) root cause. Symptom signature overlaps known extension/ZTS territory (especially phpredis#2976), and we may belong partly upstream of FrankenPHP. Still hoping for eyes on whether this matches anything you’ve seen with PHP 8.6 ZTS + worker, and what would help most next.
Symptom chain (prod, aarch64)
container: zend_mm_heap corrupted
→ process exit 133 (128+5), OOMKilled=false
→ Docker restarts active web container
→ host Caddy reverse_proxy to 127.0.0.1:8080|8081
(EOF / idle close / connection refused / reset by peer)
→ HTTP 502 → Cloudflare
Not OOM, not disk pressure, not EC2 status-check failure.
When it showed up (timeline ≠ causation proof)
When (UTC)
Notes
2026-11-23
First prod image on floating dunglas/frankenphp:1-php8.6 (PHP 8.6.0 ZTS). Prior class: floating 1-php8.5 / historically PHP 8.5.12.
2026-11-20 → 11-27
Host journal unavailable (vacuumed). Zeros ≠ proof of calm.
2026-11-28–29
Earliest retained exit-133 / origin-502 days — still Symfony 8.1.11 under PHP 8.6.
2026-11-30
Symfony 8.2 live; later same day phpredis RC1 → RC2.
2026-12-01
Storm ~171× exit-133 · ~15.3k host Caddy 502s.
2026-12-02
Same zend_mm → 133 on green tip 13743c07… and a failed blue tip.
Ruled out as onset (necessary cause): Symfony 8.2; app feature commits (same crash on prior image); disk / OOM / EC2 checks.
Exact live frankenphp version / base digest on the crashing green container at crash time: unknown this pass. Full phpinfo() not captured yet — happy to provide redacted dumps from retained images.
Caveats we own: short soak ≠ prod fixed; FrankenPHP 1.14.0 is shared across C and D so PHP minor alone may not be the only discriminator; redis RC2 still crashed in prod; classic/worker-off A/B not yet run; Nov 20–27 onset gap unobservable on host journal.
Hypotheses (ranked, unproven)
Native extension under ZTS worker (phpredis class strongly signature-matched to phpredis#2976; RC2 incomplete as sole fix).
PHP 8.6 + FrankenPHP worker / zend MM interaction (open).
Floating 1-php8.6 base churn (open).
Related FrankenPHP history with different triggers (not claimed as this path): #2265, #2170, #2226; ZTS/opcache/aarch64 adjacent #2638/#2714/#2715; drain UX #2836.
Questions
Known zend_mm_heap / exit-133 reports on PHP 8.6 ZTS + worker that match this (vs “file under phpredis / PHP”)?
Anything special about FrankenPHP 1.14.0 shared by the 8.5.13 and 8.6 images we should A/B (older 1.13.x, classic/worker-off, max_requests)?
What would help most next — minimized repro compose, redacted phpinfo() / frankenphp version from retained 8.6 vs 8.5.13 images, cores, worker-off differential?
Happy to follow whatever format helps, or move this to Issues / phpredis if that’s the better home.
More version detail
Crashing class extras
Composer platform (8.6 era): "php": ">=8.6"
phpredis SHAs: RC1 13d721a59… → RC2 d774b10f57fc…
APCu git tip 66300e28… (5.1.29)
Other extensions: mbstring, gd, intl, opcache, zip, pdo_pgsql, @composer
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Looking for known issues / guidance
Hi — posting in Q&A rather than filing a bug. We are not claiming a proven FrankenPHP (or PHP) root cause. Symptom signature overlaps known extension/ZTS territory (especially phpredis#2976), and we may belong partly upstream of FrankenPHP. Still hoping for eyes on whether this matches anything you’ve seen with PHP 8.6 ZTS + worker, and what would help most next.
Symptom chain (prod, aarch64)
Not OOM, not disk pressure, not EC2 status-check failure.
When it showed up (timeline ≠ causation proof)
dunglas/frankenphp:1-php8.6(PHP 8.6.0 ZTS). Prior class: floating1-php8.5/ historically PHP 8.5.12.zend_mm→ 133 on green tip13743c07…and a failed blue tip.Ruled out as onset (necessary cause): Symfony 8.2; app feature commits (same crash on prior image); disk / OOM / EC2 checks.
Environment (crashing vs mitigated)
dunglas/frankenphp:1-php8.6dunglas/frankenphp:1-php8.5.13@sha256:9bc99c45d4a792b88a5815a3ebce058fc58df7ee52e72ecd18127cc3b13c9c5a(linux/arm64)sha256:36b5ff13…(truncated); prod layer digests not re-pinned in Dockerfilesha256:b8e0919047838ea32771ef573d74df9a9128de1e908a999366e26c11bc6e7ba4type: phpredis(native)debian:13-slim(Trixie)t4g.mediumaarch64, Ubuntu deploy via SSM, blue/greenbin/deploy-aws, host Caddy → loopbackExact live
frankenphp version/ base digest on the crashing green container at crash time: unknown this pass. Fullphpinfo()not captured yet — happy to provide redacted dumps from retained images.Worker Caddyfile (stock):
Serving SHAs
13743c07d959…·app-php-prod:git-13743c07d959-id-765b7f45107e1b07eb9e…·git-1b07eb9ebe90-id-3fad0ffa5da42df20c2815de57b797a5fee8837c0362d7f9d2d6·app-php-prod:git-2df20c2815de-id-a89450478eec·sha256:a89450478eec…51f8bd4a937867aa9689bdb894345bd7bf91709c·app-php-prod:git-51f8bd4a9378-id-9653bc5489e2·sha256:9653bc5489e271cc9e1f57e798929956082e979891e21c2baf8b2d69ec34eb78Isolated soak (not a prod load-test)
Same FrankenPHP 1.14.0 + worker ON + redis RC2 + Symfony 8.2, concurrent
ohabrowse:8m hard burst (19 199 × 200)zend_mm_heap corruptedCaveats we own: short soak ≠ prod fixed; FrankenPHP 1.14.0 is shared across C and D so PHP minor alone may not be the only discriminator; redis RC2 still crashed in prod; classic/worker-off A/B not yet run; Nov 20–27 onset gap unobservable on host journal.
Hypotheses (ranked, unproven)
1-php8.6base churn (open).Related FrankenPHP history with different triggers (not claimed as this path): #2265, #2170, #2226; ZTS/opcache/aarch64 adjacent #2638/#2714/#2715; drain UX #2836.
Questions
zend_mm_heap/ exit-133 reports on PHP 8.6 ZTS + worker that match this (vs “file under phpredis / PHP”)?max_requests)?phpinfo()/frankenphp versionfrom retained 8.6 vs 8.5.13 images, cores, worker-off differential?Happy to follow whatever format helps, or move this to Issues / phpredis if that’s the better home.
More version detail
Crashing class extras
"php": ">=8.6"13d721a59…→ RC2d774b10f57fc…66300e28…(5.1.29)mbstring,gd,intl,opcache,zip,pdo_pgsql,@composervalidate_timestamps=0+ preloadi-02a2ced44fcf6fa32,us-east-1a; deploy path/opt/terminal-themesas ubuntu;TT_SKIP_GIT=1 TT_SKIP_PRUNE=1 ./bin/deploy-aws deploy|rollbackMitigated pin extras
"php": ">=8.5.9"fb25820…; lz4/zstd on; igbinary/msgpack/phpser off2df20c28/ 8.5.13 — never auto-rollback to13743c07/ 8.6Historical A/B context
ce4686da…) — Hub RepoDigest not retained1-php8.5.12arm64: PHP 8.5.12 / FrankenPHP v1.13.5 ·sha256:5c414a31…(Composer-blocked byroave/security-advisoriesphp <8.5.13)386ee5fe…·app-php-prod:git-386ee5fe8226-id-a2edeb39b041(SF 8.1.11, redis RC1)Explicit non-claims
All reactions