From:
Operating system: GNU/Linux (Fedora 16)
PHP version: 5.4SVN-2011-12-30 (snap)
Package: Apache2 related
Bug Type: Bug
Bug description:httpd.worker segfault on startup
Description:
------------
With PHP build in ZTS mode, apache in worker mode segfault during launch
Test script:
---------------
$ gdb /usr/sbin/httpd.worker
(gdb) run -X
Expected result:
----------------
no error
Actual result:
--------------
(gdb) run -X
...
Program received signal SIGSEGV, Segmentation fault.
0x00007fffec8ca897 in _zend_hash_add_or_update (ht=0x55555585a2e8,
arKey=<optimized out>, nKeyLength=17, pData=0x7fffffffde70, nDataSize=24,
pDest=0x0, flag=1)
at /usr/src/debug/php5.4-201112300630/Zend/zend_hash.c:268
268 HANDLE_BLOCK_INTERRUPTIONS();
(gdb) bt
#0 0x00007fffec8ca897 in _zend_hash_add_or_update
(ht=0x55555585a2e8, arKey=<optimized out>, nKeyLength=17,
pData=0x7fffffffde70, nDataSize=24, pDest=0x0, flag=1)
at /usr/src/debug/php5.4-201112300630/Zend/zend_hash.c:268
#1 0x00007fffec979217 in real_value_hnd
(cmd=0x7fffffffe1a0, dummy=0x55555585a2e8, name=0x5555558c40b8
"register_globals", value=0x7fffffffded0 "0", status=4)
at
/usr/src/debug/php5.4-201112300630/sapi/apache2handler/apache_config.c:73
#2 0x00007fffec9792ae in real_flag_hnd
(cmd=0x7fffffffe1a0, dummy=0x55555585a2e8, arg1=0x5555558c40b8
"register_globals", arg2=0x5555558c40d0 "off", status=<optimized out>)
at
/usr/src/debug/php5.4-201112300630/sapi/apache2handler/apache_config.c:98
#3 0x0000555555580483 in invoke_cmd
(cmd=0x7fffecc918f8, parms=0x7fffffffe1a0, mconfig=0x55555585a2e8,
args=0x55555582f224 "")
at /usr/src/debug/httpd-2.2.21/server/config.c:810
#4 0x00005555555826fa in ap_walk_config_sub
(section_vector=0x5555557dc798,
parms=0x7fffffffe1a0, current=0x55555582f1d0)
at /usr/src/debug/httpd-2.2.21/server/config.c:1163
#5 ap_walk_config (current=0x55555582f1d0, parms=0x7fffffffe1a0,
section_vector=0x5555557dc798)
at /usr/src/debug/httpd-2.2.21/server/config.c:1196
#6 0x0000555555583612 in ap_process_config_tree (s=<optimized out>,
conftree=<optimized out>, p=0x5555557b7158, ptemp=<optimized out>)
at /usr/src/debug/httpd-2.2.21/server/config.c:1765
#7 0x000055555556c314 in main (argc=2, argv=0x7fffffffe418)
at /usr/src/debug/httpd-2.2.21/server/main.c:644
--
Edit bug report at https://bugs.php.net/bug.php?id=60627&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60627&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60627&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=60627&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60627&r=fixed
Fixed in SVN and need be documented:
https://bugs.php.net/fix.php?id=60627&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60627&r=alreadyfixed
Need backtrace:
https://bugs.php.net/fix.php?id=60627&r=needtrace
Need Reproduce Script:
https://bugs.php.net/fix.php?id=60627&r=needscript
Try newer version:
https://bugs.php.net/fix.php?id=60627&r=oldversion
Not developer issue:
https://bugs.php.net/fix.php?id=60627&r=support
Expected behavior:
https://bugs.php.net/fix.php?id=60627&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=60627&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=60627&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60627&r=globals
PHP 4 support discontinued:
https://bugs.php.net/fix.php?id=60627&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=60627&r=dst
IIS Stability:
https://bugs.php.net/fix.php?id=60627&r=isapi
Install GNU Sed:
https://bugs.php.net/fix.php?id=60627&r=gnused
Floating point limitations:
https://bugs.php.net/fix.php?id=60627&r=float
No Zend Extensions:
https://bugs.php.net/fix.php?id=60627&r=nozend
MySQL Configuration Error:
https://bugs.php.net/fix.php?id=60627&r=mysqlcfg