Bug #72724 [Opn->Fbk]: PHP7: session-uploadprogress kills httpd

From: Date: Mon, 01 Aug 2016 12:15:18 +0000
Subject: Bug #72724 [Opn->Fbk]: PHP7: session-uploadprogress kills httpd
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-202797@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72724&edit=1 ID: 72724 Updated by: laruence@php.net Reported by: spam2 at rhsoft dot net Summary: PHP7: session-uploadprogress kills httpd -Status: Open +Status: Feedback Type: Bug Package: Session related Operating System: Linux PHP Version: 7.0.9 Block user comment: N Private report: N New Comment: Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2016-08-01 09:02:58] spam2 at rhsoft dot net 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 this bug report at https://bugs.php.net/bug.php?id=72724&edit=1

« previous php.bugs (#202797) next »