Bug #66499 [NEW]: strace segfault with opcache > php 5.5.7

From: Date: Thu, 16 Jan 2014 19:10:38 +0000
Subject: Bug #66499 [NEW]: strace segfault with opcache > php 5.5.7
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183845@lists.php.net to get a copy of this message
From:             spam2 at rhsoft dot net
Operating system: Linux
PHP version:      5.5.8
Package:          opcache
Bug Type:         Bug
Bug description:strace segfault with opcache > php 5.5.7

Description:
------------
strace below, for more informations:
https://bugs.php.net/bug.php?id=66460

and yes this is opcache-head and not 5.5.8 source
 
thank you for closing the bugreport as first action after some 
days because *others* reported all is fine...  what about wait
after the reporter confirms this and what about consider that 
any opcache commit after 55.6 has it's own bugs?

[root@asterisk:~]$ strace -vf -p 17235
Process 17235 attached
accept4(3, {sa_family=AF_INET, sin_port=htons(38214),
sin_addr=inet_addr("91.118.73.6")}, [16], SOCK_CLOEXEC) = 8
getsockname(8, {sa_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr("85.124.176.242")}, [16]) = 0
fcntl(8, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(8, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7f095dcbe000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7f095dcbc000
read(8, "GET /channels.php?html=1 HTTP/1."..., 8000) = 35
read(8, 0x7f095dcbc048, 8000)           = -1 EAGAIN (Resource
temporarily unavailable)
poll([{fd=8, events=POLLIN}], 1, 5069)  = 1 ([{fd=8, revents=POLLIN}])
read(8, "Host: voip.thelounge.net\r\nUser-A"..., 8000) = 110
stat("/var/www/htdocs/channels.php", {st_dev=makedev(8, 17),
st_ino=147731, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0,
st_blksize=4096, st_blocks=8, st_size=4065,
st_atime=2011/12/14-16:41:25, st_mtime=2012/11/27-16:39:26,
st_ctime=2012/11/27-16:39:26}) = 0
lstat("/var/www/htdocs/channels.php", {st_dev=makedev(8, 17),
st_ino=147731, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0,
st_blksize=4096, st_blocks=8, st_size=4065,
st_atime=2011/12/14-16:41:25, st_mtime=2012/11/27-16:39:26,
st_ctime=2012/11/27-16:39:26}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7f095dcba000
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={60, 0}}, NULL) =
0
rt_sigaction(SIGPROF, {0x7f095b8d6810, [PROF], SA_RESTORER|SA_RESTART,
0x7f095c1c4a60}, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0
getcwd("/", 4095)                       = 2
chdir("/var/www/htdocs")                = 0
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={120, 0}}, NULL) =
0
fcntl(6, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1, len=1}) = 0
getcwd("/var/www/htdocs", 4096)         = 16
lstat("/var/www/htdocs", {st_dev=makedev(8, 17), st_ino=147474,
st_mode=S_IFDIR|0755, st_nlink=2, st_uid=0, st_gid=48, st_blksize=4096,
st_blocks=8, st_size=4096, st_atime=2011/12/14-16:41:25,
st_mtime=2011/01/25-13:52:36, st_ctime=2011/12/14-16:41:25}) = 0
lstat("/var/www", {st_dev=makedev(8, 17), st_ino=148415,
st_mode=S_IFDIR|0755, st_nlink=7, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=8, st_size=4096, st_atime=2013/03/02-12:12:17,
st_mtime=2013/05/08-17:01:15, st_ctime=2013/05/08-17:01:15}) = 0
lstat("/var", {st_dev=makedev(8, 17), st_ino=24577,
st_mode=S_IFDIR|0755, st_nlink=20, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=8, st_size=4096, st_atime=2013/07/08-10:56:45,
st_mtime=2014/01/07-13:16:15, st_ctime=2014/01/07-13:16:15}) = 0
lstat("/var/www/htdocs", {st_dev=makedev(8, 17), st_ino=147474,
st_mode=S_IFDIR|0755, st_nlink=2, st_uid=0, st_gid=48, st_blksize=4096,
st_blocks=8, st_size=4096, st_atime=2011/12/14-16:41:25,
st_mtime=2011/01/25-13:52:36, st_ctime=2011/12/14-16:41:25}) = 0
lstat("/var/www", {st_dev=makedev(8, 17), st_ino=148415,
st_mode=S_IFDIR|0755, st_nlink=7, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=8, st_size=4096, st_atime=2013/03/02-12:12:17,
st_mtime=2013/05/08-17:01:15, st_ctime=2013/05/08-17:01:15}) = 0
lstat("/var", {st_dev=makedev(8, 17), st_ino=24577,
st_mode=S_IFDIR|0755, st_nlink=20, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=8, st_size=4096, st_atime=2013/07/08-10:56:45,
st_mtime=2014/01/07-13:16:15, st_ctime=2014/01/07-13:16:15}) = 0
lstat("/var/www/htdocs", {st_dev=makedev(8, 17), st_ino=147474,
st_mode=S_IFDIR|0755, st_nlink=2, st_uid=0, st_gid=48, st_blksize=4096,
st_blocks=8, st_size=4096, st_atime=2011/12/14-16:41:25,
st_mtime=2011/01/25-13:52:36, st_ctime=2011/12/14-16:41:25}) = 0
lstat("/var/www", {st_dev=makedev(8, 17), st_ino=148415,
st_mode=S_IFDIR|0755, st_nlink=7, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=8, st_size=4096, st_atime=2013/03/02-12:12:17,
st_mtime=2013/05/08-17:01:15, st_ctime=2013/05/08-17:01:15}) = 0
lstat("/var", {st_dev=makedev(8, 17), st_ino=24577,
st_mode=S_IFDIR|0755, st_nlink=20, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=8, st_size=4096, st_atime=2013/07/08-10:56:45,
st_mtime=2014/01/07-13:16:15, st_ctime=2014/01/07-13:16:15}) = 0
chdir("/var/www/htdocs")                = 0
getcwd("/var/www/htdocs", 4096)         = 16
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x41} ---
chdir("/etc/httpd")                     = 0
rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_RESTORER|SA_INTERRUPT,
0x7f095c971f90}, {SIG_DFL, [], SA_RESTORER|SA_RESETHAND,
0x7f095c971f90}, 8) = 0
kill(17235, SIGSEGV)                    = 0
rt_sigreturn()                          = 139678171845640
--- SIGSEGV {si_signo=SIGSEGV, si_code=SI_USER, si_pid=17235,
si_uid=490} ---
+++ killed by SIGSEGV +++



-- 
Edit bug report at https://bugs.php.net/bug.php?id=66499&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=66499&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=66499&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=66499&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=66499&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=66499&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=66499&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=66499&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=66499&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=66499&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=66499&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=66499&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=66499&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=66499&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66499&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=66499&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=66499&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=66499&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66499&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=66499&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=66499&r=mysqlcfg



Thread (7 messages)

« previous php.bugs (#183845) next »