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

 ID:                 63785
 User updated by:    lys0212 at qq dot com
 Reported by:        lys0212 at qq dot com
 Summary:            php-fpm segfault
 Status:             Open
 Type:               Bug
 Package:            FPM related
 Operating System:   RHEL6.3
 PHP Version:        5.3.16
 Block user comment: N
 Private report:     N

 New Comment:

#0  0x0000003441288bfb in ?? ()
Missing separate debuginfos, use: debuginfo-install 
php-cli-5.3.3-3.el6_2.8.x86_64
(gdb) bt
#0  0x0000003441288bfb in ?? ()
#1  0x0000000000989624 in string_locale_compare_function (result=0x989624, 
op1=0x7f1e956df079, op2=0x6e6f4d79)
    at /root/php-5.3.19/Zend/zend_operators.c:1322
#2  0x00000000009df260 in ZEND_INIT_METHOD_CALL_SPEC_TMP_CV_HANDLER 
(execute_data=0x30e2718)
    at /root/php-5.3.19/Zend/zend_vm_execute.h:7590
#3  0x00000000009c3f6e in zend_leave_helper_SPEC (execute_data=0x9aba8e) at 
/root/php-5.3.19/Zend/zend_vm_execute.h:209
#4  0x000000000098fc8b in is_numeric_string (str=0x0, length=32767, 
lval=0x42b5c0, dval=0x7fff61a4b810, allow_errors=0)
    at /root/php-5.3.19/Zend/zend_operators.h:110
#5  0x00000000009178ca in _zval_dtor (zvalue=0x3, __zend_filename=0x4 <Address 
0x4 out of bounds>, __zend_lineno=0)
    at /root/php-5.3.19/Zend/zend_variables.h:35
#6  0x0000000000a86c68 in timelib_timezone_lookup ()
#7  0x00007fff00000000 in ?? ()
#8  0x00000034ffffffff in ?? ()
#9  0x00007fff61a4fed8 in ?? ()
#10 0x00000003179f6000 in ?? ()
#11 0x0000000000000000 in ?? ()


Previous Comments:
------------------------------------------------------------------------
[2012-12-19 09:31:02] lys0212 at qq dot com

When I use apache + PHP this kind of mistake won't appear. Use nginx + PHP-FPM 
will

------------------------------------------------------------------------
[2012-12-19 09:25:46] lys0212 at qq dot com

(gdb) bt
#0  0x00000000007fe71a in _zend_mm_alloc_int ()
#1  0x000000000085dfaa in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_TMP_HANDLER ()
#2  0x00007fff6629f770 in ?? ()
#3  0x0000000000000001 in ?? ()
#4  0x0000000000000003 in ?? ()
#5  0x0000000000000008 in ?? ()
#6  0x0000000000000000 in ?? ()

------------------------------------------------------------------------
[2012-12-18 02:50:53] larue...@php.net

is there any reproduce test script for this?

the bts seem randomly...

------------------------------------------------------------------------
[2012-12-17 09:39:52] lys0212 at qq dot com

When I compile PHP use parameters --enable-debug, the period of mistake won't 
appear. In return, --disable-debug this parameter compiler, it appeared again. 
This is very puzzled

------------------------------------------------------------------------
[2012-12-17 09:24:26] lys0212 at qq dot com

[New Thread 16205]
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Core was generated by `php-fpm: pool www                                        
                     '.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000081ba4a in php_stat (filename=Cannot access memory at address 
0xffffffffffffed84
) at /root/php-5.3.16/ext/standard/filestat.c:861
861                             php_error_docref(NULL TSRMLS_CC, E_WARNING, 
"%sstat failed for %s", IS_LINK_OPERATION(type) ? "L" : "", filename);
Missing separate debuginfos, use: debuginfo-install 
php-cli-5.3.3-3.el6_2.8.x86_64
(gdb) bt
#0  0x000000000081ba4a in php_stat (filename=Cannot access memory at address 
0xffffffffffffed84
) at /root/php-5.3.16/ext/standard/filestat.c:861
Cannot access memory at address 0x4

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


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=63785


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

Reply via email to