Bug #81353 [Opn]: segfault with preloading and error_handler

From: Date: Thu, 12 Aug 2021 17:56:21 +0000
Subject: Bug #81353 [Opn]: segfault with preloading and error_handler
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235797@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81353&edit=1

 ID:                 81353
 Updated by:         mike@php.net
 Reported by:        mike@php.net
 Summary:            segfault with preloading and error_handler
 Status:             Open
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   Linux, macOS
 PHP Version:        7.4.22
 Block user comment: N
 Private report:     N

 New Comment:

Sorry, read "4th parameter" as if 0-indexed -- i.e. as errcontext (5th param)


Previous Comments:
------------------------------------------------------------------------
[2021-08-12 17:46:25] mike@php.net

Description:
------------
Probable ingredients:

* preloading
* big set of files to cache
* strict_types
* error_handler receiving NULL as 4th parameter
* monolog

Test script:
---------------
git clone https://github.com/m6w6/php-crash-preload-error_handler
cd php-crash-preload-error_handler
composer install
./run.sh



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=81353&edit=1


Thread (10 messages)

« previous php.bugs (#235797) next »