-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Exit code 139 if exception thrown in callback since PHP 8.4 #17968
Comments
This might be related to #17866. Please re-test with 8.4.5, which should be released in a week or so. |
This problem also exists with PHP 8.4.1, so i think it has a different cause. |
@NiroDeveloper Ah ok, I missed that part. We'll need a better reproducer then. You can try generating a backtrace from the core dump, or running PHP with Valgrind or address sanitizer ( |
I tried your reproducer in laravel/framework#54875 (comment) by making a new Laravel 12 project, putting that in a Pest test file, and running PHP on it, but I got no crash. |
@nielsdos Good point, i can confirm that. |
@iluuu1994 I have now created a reproducer repository: https://github.com/NiroDeveloper/php-issue-17968
|
If that's the case, this should be reported over at https://bugs.xdebug.org, as it's almost certainly to blame. But your reproducer should still come in handy there. 🙂 |
Ok, I created this issue: https://bugs.xdebug.org/view.php?id=2327 |
Description
The following code:
Resulted in this output:
But I expected a successful test.
I use Laravel 12 with PHP 8.4 (this problem does not occur with PHP 8.3)
I haven't been able to reproduce this without Laravel yet, i will post new information then.
Note: This problem does not occur while debugging using xdebug.
PHP Version
8.4.1 - 8.4.4
Operating System
Docker php:8.4-cli-alpine under Windows 11
The text was updated successfully, but these errors were encountered: