From: [EMAIL PROTECTED] Operating system: Solaris 8 PHP version: 4.1.0 PHP Bug Type: Reproducible crash Bug description: php causes iplanet to crash
using either 4.1.0 or 4.0.6 as NSAPI on iplanet 6.0sp1 on solaris 8, iplanet crashes whenever accessing any php scripts. iplanet logs: catastrophe ( 360): Server crash detected (signal SIGSEGV) info ( 360): Crash occurred in NSAPI SAF php4_execute info ( 360): Crash occurred in function _pthread_mutex_lock from module /usr/lib/libthread.so.1 this behavior occurs whenever any php script is run, including things as simple as the following (this is the o.php script that's called in the truss below): <?php phpinfo(); ?> i compiled php using: env \ CC=gcc \ CXX=g++ \ CFLAGS="-O2 -I/local/include -I/local/include/openssl -I/local/include/ucd-snmp -I/local/include/c-client" \ CPPFLAGS="-I/local/include" \ LDFLAGS="-L/local/lib -R/local/lib -L/local/ssl/lib -R/local/ssl/lib -L/local/lib/c-client -R/local/lib/c-client" \ TMPDIR="/tmp" \ ./configure \ --prefix=/local \ --sysconfdir=/etc \ --localstatedir=/var \ --with-config-file-path=/etc/php/ \ --with-nsapi=/var/iplanet/servers \ --with-openssl=/local \ --with-db3=/local/BerkeleyDB-3.2 \ --with-imap-ssl=/local \ --with-imap=/local \ --with-ldap=/local \ --with-zlib=/usr \ --enable-sysvshm \ --enable-sysvsem \ --enable-track-vars \ --enable-force-cgi-redirect \ --with-gettext \ --with-regex=system a truss of the web server shows the following: accept(8, 0xFE2D1B58, 0xFE2D1AEC, 1) = 21 lwp_sema_post(0xFE291E30) = 0 lwp_sema_wait(0xFE291E30) = 0 lwp_mutex_wakeup(0xFEB955B0) = 0 lwp_mutex_lock(0xFEB955B0) = 0 getsockname(21, 0x0049E4D0, 0xFB6D1B8C, 1) = 0 read(21, " G E T / o . p h p H".., 8191) = 273 poll(0xFCC07A48, 0, 10) = 0 stat64("/export/http/i001", 0xFB6D13C0) = 0 stat64("/export/http/i001/o.php", 0xFB6D1450) = 0 Incurred fault #6, FLTBOUNDS %pc = 0xFEB6B73C siginfo: SIGSEGV SEGV_MAPERR addr=0x00000005 Received signal #11, SIGSEGV [caught] siginfo: SIGSEGV SEGV_MAPERR addr=0x00000005 sigprocmask(SIG_SETMASK, 0xFEB8EFE8, 0x00000000) = 0 sigaction(SIGSEGV, 0xFB6D0E08, 0xFB6D0F08) = 0 time() = 1008890166 getpid() = 456 [359] write(9, " [ 2 0 / D e c / 2 0 0 1".., 83) = 83 time() = 1008890166 getpid() = 456 [359] write(9, " [ 2 0 / D e c / 2 0 0 1".., 78) = 78 time() = 1008890166 getpid() = 456 [359] write(9, " [ 2 0 / D e c / 2 0 0 1".., 120) = 120 sigprocmask(SIG_SETMASK, 0xFEB9ADB8, 0xFB6D0E10) = 0 sigprocmask(SIG_SETMASK, 0xFB6D0E10, 0x00000000) = 0 sigprocmask(SIG_SETMASK, 0xFEB9ADB8, 0xFB6D0EB0) = 0 sigprocmask(SIG_SETMASK, 0xFB6D0EB0, 0x00000000) = 0 sigprocmask(SIG_SETMASK, 0xFEB9ADB8, 0x00000000) = 0 sigprocmask(SIG_SETMASK, 0xFEB9ADB8, 0xFB6D10C0) = 0 lwp_kill(13, SIGSEGV) = 0 sigprocmask(SIG_SETMASK, 0xFB6D10C0, 0x00000000) = 0 setcontext(0xFB6D1010) Received signal #11, SIGSEGV [caught] siginfo: SIGSEGV pid=456 uid=2147483042 code=-1 sigprocmask(SIG_SETMASK, 0xFEB8EFE8, 0x00000000) = 0 sigaction(SIGSEGV, 0xFB6D1150, 0x00000000) = 0 sigprocmask(SIG_SETMASK, 0xFEB9ADB8, 0x00000000) = 0 setcontext(0xFB6D1010) Incurred fault #6, FLTBOUNDS %pc = 0xFEB6B73C siginfo: SIGSEGV SEGV_MAPERR addr=0x00000005 Received signal #11, SIGSEGV [default] siginfo: SIGSEGV SEGV_MAPERR addr=0x00000005 *** process killed *** -- Edit bug report at: http://bugs.php.net/?id=14634&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]