From:             [EMAIL PROTECTED]
Operating system: Solaris 9
PHP version:      4CVS-2002-10-26
PHP Bug Type:     iPlanet related
Bug description:  iplanet 6 core dump w/NSAPI load

This bug is similar to 18701 and 15439, but those bugs never reported
backtraces or have been full resolved.

The ns-httpd process crashes and core dumps as follows:

26/Oct/2002:14:28:05] catastrophe (12480): Server crash detected (signal
SIGBUS)
[26/Oct/2002:14:28:05] info (12480): Crash occurred in NSAPI SAF
php4_execute
[26/Oct/2002:14:28:05] info (12480): Crash occurred in function
php_register_variable_ex from module

when loading any php script. The php script that reproduces this is:

bash-2.05$ more phpinfo.php 
<html>
 <head>
  <title>PHP Test</title>
 </head>
 <body>
 <?php echo "Hello World<p>"; ?>
 <? phpinfo(); ?>
 </body>
</html>

Configuration info:

Running snapshot: php4-200210252100

iPlanet 6 SP4 Webserver on Solaris 9
iPlanet-WebServer-Enterprise/6.0SP4 B07/17/2002 14:04

./configure  --enable-debug --enable-libgcc
--with-nsapi=/usr/iplanet/servers/

gdb backtrace:

(gdb) bt
#0  0xfe629cac in php_register_variable_ex (var=0xfe6c05a8 "REQUEST_LINE",

    val=0xfda5f6b8, track_vars_array=0xfe6c05a8, tsrm_ls=0x1792d8)
    at /home/cjs/work/php4-200210252100/main/php_variables.c:176
#1  0xfe62986c in php_register_variable_safe (var=0xfe6c05a8
"REQUEST_LINE", 
    strval=0xc722f0 "GET /phpinfo.php HTTP/1.1", str_len=25, 
    track_vars_array=0x35a6d8, tsrm_ls=0x1792d8)
    at /home/cjs/work/php4-200210252100/main/php_variables.c:56
#2  0xfe629784 in php_register_variable (var=0xfe6c05a8 "REQUEST_LINE", 
    strval=0xc722f0 "GET /phpinfo.php HTTP/1.1",
track_vars_array=0x35a6d8, 
    tsrm_ls=0x1792d8)
    at /home/cjs/work/php4-200210252100/main/php_variables.c:37
#3  0xfe678df0 in sapi_nsapi_register_server_variables (
    track_vars_array=0x35a6d8, tsrm_ls=0x1792d8)
    at /home/cjs/work/php4-200210252100/sapi/nsapi/nsapi.c:290
#4  0xfe61e794 in php_hash_environment (tsrm_ls=0x1792d8)
    at /home/cjs/work/php4-200210252100/main/main.c:1220
#5  0xfe61d258 in php_request_startup (tsrm_ls=0x1792d8)
    at /home/cjs/work/php4-200210252100/main/main.c:857
#6  0xfe67956c in nsapi_module_main (request_context=0xc72d60, 
    tsrm_ls=0x1792d8)
    at /home/cjs/work/php4-200210252100/sapi/nsapi/nsapi.c:458
#7  0xfe679744 in php4_execute (pb=0xc3f88, sn=0xc36a48, rq=0xc36a90)
    at /home/cjs/work/php4-200210252100/sapi/nsapi/nsapi.c:523
#8  0xff1d89b4 in
__0FNfunc_exec_strP6KFuncStructP6GpblockP6HSessionP6HRequest
    () from /usr/iplanet/servers/bin/https/lib/libns-httpd40.so
#9  0xff1d9cf8 in INTobject_execute ()
   from /usr/iplanet/servers/bin/https/lib/libns-httpd40.so
#10 0xff1dd8e8 in INTservact_service ()
   from /usr/iplanet/servers/bin/https/lib/libns-httpd40.so
#11 0xff1dde84 in INTservact_handle_processed ()
   from /usr/iplanet/servers/bin/https/lib/libns-httpd40.so
#12 0xff215c0c in __0fLHttpRequestUUnacceleratedRespondPCcTBPc ()
   from /usr/iplanet/servers/bin/https/lib/libns-httpd40.so
#13 0xff2150c0 in __0fLHttpRequestNHandleRequestP6Gnetbuf ()
   from /usr/iplanet/servers/bin/https/lib/libns-httpd40.so
#14 0xff213388 in __0fNDaemonSessionDrunv ()
   from /usr/iplanet/servers/bin/https/lib/libns-httpd40.so
#15 0xff163b80 in ThreadMain ()
   from /usr/iplanet/servers/bin/https/lib/libnsprwrap.so
#16 0xfede76a0 in _pt_root ()
   from /usr/iplanet/servers/bin/https/lib/libnspr4.so
-- 
Edit bug report at http://bugs.php.net/?id=20109&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20109&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20109&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20109&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20109&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20109&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20109&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20109&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20109&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20109&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20109&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20109&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20109&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20109&r=isapi

Reply via email to