Bug #78918 [NEW]: Segfault with preloading Laravel

From: Date: Fri, 06 Dec 2019 12:31:10 +0000
Subject: Bug #78918 [NEW]: Segfault with preloading Laravel
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-224094@lists.php.net to get a copy of this message
From: brent at spatie dot be Operating system: macOS 10.14 PHP version: 7.4.0 Package: opcache Bug Type: Bug Bug description:Segfault with preloading Laravel Description: ------------ I'm trying to preload a Laravel project. php-fpm is able to boot with the preloaded files, and opcache_get_status shows around 100 files are preloaded. However, as soon as the Laravel kernels boots, php-fpm segfaults: [06-Dec-2019 13:21:24] WARNING: [pool www] child 49201 exited on signal 11 (SIGSEGV) after 119.491091 seconds from start I've tried using dbg to get some more information, but this is all: 0x00007fff7c4eb78e in ?? () from /usr/lib/system/libsystem_kernel.dylib Test script: --------------- The project: https://github.com/brendt/aggregate.stitcher.io The preload file: https://github.com/brendt/aggregate.stitcher.io/blob/master/preload.php The segfault happens as soon as $kernel->handle is called: https://github.com/brendt/aggregate.stitcher.io/blob/master/public/index.php#L47 -- Edit bug report at https://bugs.php.net/bug.php?id=78918&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=78918&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78918&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78918&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78918&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78918&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78918&r=support Expected behavior: https://bugs.php.net/fix.php?id=78918&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78918&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78918&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78918&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=78918&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=78918&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78918&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78918&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78918&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78918&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78918&r=mysqlcfg

« previous php.bugs (#224094) next »