php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20613 PHP Crashes SIGSEGV under iPlanet
Submitted: 2002-11-24 21:06 UTC Modified: 2002-12-02 16:47 UTC
From: Karl dot Maftoum at canberra dot edu dot au Assigned:
Status: Closed Package: iPlanet related
PHP Version: 4.2.2 OS: Solaris 8
Private report: No CVE-ID: None
 [2002-11-24 21:06 UTC] Karl dot Maftoum at canberra dot edu dot au
This seems similar to 15439 and 20109 but it is on iPlanet Web Server 4.1SP10 on Solaris 8.

PHP crashes the webserver SIGSEGV, I have so far been unable to find the exact script that causes the problem, as it seems fairly random. I do however have a backtrace reproduced below:


#0  0xfec33344 in strlen () from /usr/lib/libc.so.1
#1  0xfdd96a9c in php_register_variable () from /db/www/netscape/bin/libphp4.so
#2  0xfdd794b8 in sapi_nsapi_register_server_variables ()
   from /db/www/netscape/bin/libphp4.so
#3  0xfdd7f1cc in php_register_server_variables ()
   from /db/www/netscape/bin/libphp4.so
#4  0xfdd7f938 in php_hash_environment () from /db/www/netscape/bin/libphp4.so
#5  0xfdd7d75c in php_request_startup () from /db/www/netscape/bin/libphp4.so
#6  0xfdd79d98 in nsapi_module_main () from /db/www/netscape/bin/libphp4.so
#7  0xfdd7a0e8 in php4_execute () from /db/www/netscape/bin/libphp4.so
#8  0xff256ccc in __0Fafunc_native_pool_wait_workPFP6GpblockP6HSessionP6HRequest_iUiP6GpblockP6HSessionP6HRequest ()
   from /db/www/netscape/bin/https/lib/libns-httpd40.so
#9  0xff2562ec in __0FNfunc_exec_strP6KFuncStructP6GpblockP6HSessionP6HRequest
    () from /db/www/netscape/bin/https/lib/libns-httpd40.so
#10 0xff257284 in INTobject_execute ()
   from /db/www/netscape/bin/https/lib/libns-httpd40.so
#11 0xff25bec8 in __0FQ_perform_serviceP6HSessionP6HRequestP6Mhttpd_object ()
   from /db/www/netscape/bin/https/lib/libns-httpd40.so
#12 0xff25bf84 in INTservact_service ()
   from /db/www/netscape/bin/https/lib/libns-httpd40.so
#13 0xff25c29c in INTservact_handle_processed ()
   from /db/www/netscape/bin/https/lib/libns-httpd40.so
---Type <return> to continue, or q <return> to quit--- 
#14 0xff28a8a4 in __0fLHttpRequestUUnacceleratedRespondPCcPcTC ()
   from /db/www/netscape/bin/https/lib/libns-httpd40.so
#15 0xff289680 in __0fLHttpRequestNHandleRequestP6Gnetbuf ()
   from /db/www/netscape/bin/https/lib/libns-httpd40.so
#16 0xff285e9c in __0fNDaemonSessionHRespondv ()
   from /db/www/netscape/bin/https/lib/libns-httpd40.so
#17 0xff285d28 in __0fNDaemonSessionKThreadMainv ()
   from /db/www/netscape/bin/https/lib/libns-httpd40.so
#18 0xff2857b4 in CThreadMain ()
   from /db/www/netscape/bin/https/lib/libns-httpd40.so
#19 0xfef42ad8 in _pt_root () from /db/www/netscape/bin/https/lib/libnspr3.so

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-24 21:39 UTC] Karl dot Maftoum at canberra dot edu dot au
Sorry forgot the configure line:

./configure --with-ldap=/usr/local/ --enable-thread-safety --enable-libgcc --ena
ble-ftp --with-mysql=/usr/local/mysql --with-custom-odbc=/opt/odbc --with-curl=/
opt --with-openssl=/usr/local/ssl --enable-discard-path --enable-wddx --enable-x
slt --with-xslt-sablot --enable-track-vars --enable-sysvsem --with-oci8=/oracle/
home/product/8.1.7 --with-nsapi=/db/www/netscape/server4 --enable-debug=yes --wi
th-msession
 [2002-11-28 22:07 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-12-02 16:47 UTC] Karl dot Maftoum at canberra dot edu dot au
We've been running for 20+ hours with the snapshot build and haven't had a crash yet. So this seems to have fixed it thanks!!!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 09:01:28 2024 UTC