Bug #72724 [NEW]: PHP7: session-uploadprogress kills httpd
| From: | spam2 at rhsoft dot net | Date: | Mon, 01 Aug 2016 09:03:06 +0000 |
| Subject: | Bug #72724 [NEW]: PHP7: session-uploadprogress kills httpd | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-202795@lists.php.net to get a copy of this message | ||
From: spam2 at rhsoft dot net
Operating system: Linux
PHP version: 7.0.9
Package: Session related
Bug Type: Bug
Bug description:PHP7: session-uploadprogress kills httpd
Description:
------------
last week i ported our upload-progress from the pecl-exetnsion to the
session support started with PHP 5.4, all fine on PHP 5.6
after upgrade to 7.0.9 (hardened build with stack-protector, PIE/PIC)
the upload-progress itself works fine but at the moment the upload is
finished httpd crashs
see "/usr/bin/strace -s 256 -q -y -f -v httpd" bottom output
\3138\207\304=\35\363\362\370\251\221\264\0270\254\2348.\27\322q\274\327\341Q\224\315\276U\302\354\10b\316\4(\0350\264\230<\214\364x9\364G\37\364\207\314\265\341"...,
3976) = 3976
[pid 15402]
close(13</Volumes/dune/www-servers/uploadprogress/uploadtemp/phpv4MOhn>)
= 0
[pid 15402] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR,
si_addr=0x18} ---
[pid 15402] chdir("/etc/httpd") = 0
[pid 15402] rt_sigaction(SIGSEGV, {SIG_DFL, [],
SA_RESTORER|SA_INTERRUPT, 0x7fd3d7d9ec30}, {SIG_DFL, [],
SA_RESTORER|SA_RESETHAND, 0x7fd3d7d9ec30}, 8) = 0
[pid 15402] kill(15402, SIGSEGV) = 0
[pid 15402] rt_sigreturn({mask=[]}) = 24
[pid 15402] --- SIGSEGV {si_signo=SIGSEGV, si_code=SI_USER,
si_pid=15402, si_uid=48} ---
[pid 15402] +++ killed by SIGSEGV +++
[pid 15395] <... select resumed> ) = ? ERESTARTNOHAND (To be
restarted if no handler)
[pid 15395] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED,
si_pid=15402, si_uid=48, si_status=SIGSEGV, si_utime=4, si_stime=31}
---
[pid 15395] select(0, NULL, NULL, NULL, {0, 349972}) = 0 (Timeout)
[pid 15395] wait4(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}],
WNOHANG|WSTOPPED, NULL) = 15402
[pid 15395] write(2</Volumes/dune/www-servers/_logs/apache_error.log>,
"[Mon Aug 01 10:58:23.271421 2016] [core:notice] [pid 15395] AH00052:
child pid 15402 exit signal Segmentation fault (11)\n", 121) = 121
[pid 15395] wait4(-1, 0x7ffe54af4184, WNOHANG|WSTOPPED, NULL) = 0
Test script:
---------------
well, it would be fine when this bugtracker would support other
attachments than patches, the whole testcase lives in it's own folder
including the javascript ajax part
--
Edit bug report at https://bugs.php.net/bug.php?id=72724&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72724&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72724&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72724&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=72724&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=72724&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=72724&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=72724&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=72724&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=72724&r=support
Expected behavior: https://bugs.php.net/fix.php?id=72724&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=72724&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=72724&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=72724&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72724&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=72724&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=72724&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=72724&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=72724&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=72724&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=72724&r=mysqlcfg