PHP 4.0 Bug #5120: nsapi module causes restart of the webserver
| From: | david at switch dot be | Date: | Mon, 19 Jun 2000 09:55:58 +0000 |
| Subject: | PHP 4.0 Bug #5120: nsapi module causes restart of the webserver | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21712@lists.php.net to get a copy of this message | ||
From: david@switch.be
Operating system: solaris 2.5.1 sparc
PHP version: 4.0 Latest CVS (19/06/2000)
PHP Bug Type: Reproduceable crash
Bug description: nsapi module causes restart of the webserver
i just compiled the latest snapshot on a sun solaris 2.5.1 sparc machine with the sun cc compiler
i installed the nsapi module in our netscape enterprise 3.5.1 server and made the changes to the
config file according the readme file (wich contains an error btw, on the line Service
fn=php4_execute ; php4_execute should be enclosed by quotes)
i restarted the server with the new config files and tried calling a plain html file of which i
changed the extension to php
at that time the server started restarting itself until i killed the procces
after i removed the php lib everything worked fine again
there was no error output in any log file
when i run the server with truss i get following output:
20770: stat("/home/vzeebrod/htmldoc/test.php", 0x0103BB60) = 0
20770: lwp_sema_v(0xEF093EA0) = 0
20770: lwp_sema_p(0xEF093EA0) = 0
20770: lwp_mutex_unlock(0xEF376808) = 0
20770: lwp_mutex_lock(0xEF376808) = 0
20770: lwp_sema_v(0xEF093EA0) = 0
20770: lwp_sema_p(0xEF093EA0) = 0
20770: lwp_mutex_unlock(0xEF376808) = 0
20770: lwp_mutex_lock(0xEF376808) = 0
20770: Incurred fault #6, FLTBOUNDS %pc = 0xEF1561BC
20770: siginfo: SIGSEGV SEGV_MAPERR addr=0xFFFFFFFF
20770: Received signal #11, SIGSEGV [caught]
20770: siginfo: SIGSEGV SEGV_MAPERR addr=0xFFFFFFFF
20770: sigprocmask(SIG_SETMASK, 0xEF373794, 0x00000000) = 0
20770: sigaction(SIGSEGV, 0xEF0936A8, 0x00000000) = 0
20770: setcontext(0xEF0937E8)
20770: Incurred fault #6, FLTBOUNDS %pc = 0xEF1561BC
20770: siginfo: SIGSEGV SEGV_MAPERR addr=0xFFFFFFFF
20770: Received signal #11, SIGSEGV [default]
20770: siginfo: SIGSEGV SEGV_MAPERR addr=0xFFFFFFFF
20770: *** process killed ***