Bug #78619 [NEW]: PHP7.4RC2 ZTS zend_signal_handler_defer crashes on apache shutdown
| From: | pawel dot filipczak at dynatrace dot com | Date: | Tue, 01 Oct 2019 10:22:27 +0000 |
| Subject: | Bug #78619 [NEW]: PHP7.4RC2 ZTS zend_signal_handler_defer crashes on apache shutdown | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-222974@lists.php.net to get a copy of this message | ||
From: pawel dot filipczak at dynatrace dot com
Operating system: Linux x64
PHP version: 7.4.0RC2
Package: Apache2 related
Bug Type: Bug
Bug description:PHP7.4RC2 ZTS zend_signal_handler_defer crashes on apache shutdown
Description:
------------
On Apache/2.4.7 (Unix) PHP/7.4.0RC2
Thread Safe
reproduction:
apache start
open phpinfo test script
send SIGINT to apache master process
To reproduce, download and call run.sh:
https://dynatrace-my.sharepoint.com/:u:/p/pawel_filipczak/EQUzo-CajKxCn1l-WPwrXacBkyMSI183qbWOfX4gqkTtDg?e=omIyyn
Test script:
---------------
<?php
phpinfo();
Expected result:
----------------
exit code 0
Actual result:
--------------
(gdb) bt
#0 0x00007f4b8024c72b in zend_signal_handler_defer (signo=1,
siginfo=0x7f4b1dffa7f0, context=0x7f4b1dffa6c0) at
/php-src-php-7.4.0RC2/Zend/zend_signal.c:95
#1 <signal handler called>
#2 0x00007f4b8cbd6bb7 in epoll_wait (epfd=8, events=0x1130230,
maxevents=50, timeout=100) at
../sysdeps/unix/sysv/linux/epoll_wait.c:30
#3 0x00007f4b8d72c7e1 in impl_pollset_poll (pollset=0x1130188,
timeout=<optimized out>, num=0x7f4b1dffaeb8, descriptors=0x7f4b1dffae98)
at poll/unix/epoll.c:256
#4 0x00000000004687a3 in listener_thread (thd=0x1131060,
dummy=<optimized out>) at event.c:1460
#5 0x00007f4b8d0b16db in start_thread (arg=0x7f4b1dffb700) at
pthread_create.c:463
#6 0x00007f4b8cbd688f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
--
Edit bug report at https://bugs.php.net/bug.php?id=78619&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78619&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78619&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78619&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78619&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78619&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78619&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78619&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78619&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78619&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78619&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78619&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78619&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78619&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78619&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78619&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78619&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78619&r=mysqlcfg