From:             [EMAIL PROTECTED]
Operating system: Solaris 7
PHP version:      4.0.6
PHP Bug Type:     iPlanet related
Bug description:  ns-http won't start: Dies in thread-init code

Compiled PHP with

./configure  --with-nsapi=/opt/netscape --without-mysql --enable-libgcc
--with-tsrm-pth

Set up mime.types & obj.conf per the documentation, and added
/usr/local/lib and /opt/ORACLE/... to the start script library path.

Running the start script gets no response, but a core file is created.  GDB
shows the following stack trace:

#0  0xfed39cf0 in __sigprocmask () from /usr/lib/libthread.so.1
(gdb) 
(gdb) where
#0  0xfed39cf0 in __sigprocmask () from /usr/lib/libthread.so.1
#1  0xfed2f324 in _resetsig () from /usr/lib/libthread.so.1
#2  0xfed2ea48 in _sigon () from /usr/lib/libthread.so.1
#3  0xfed3194c in _thrp_kill () from /usr/lib/libthread.so.1
#4  0xfec39470 in abort () from /usr/lib/libc.so.1
#5  0xfe95d3c4 in ts_resource_read (thread_resources=0x0, id=1496176)
    at TSRM.c:320
#6  0xfe95d378 in ts_resource_ex (id=0, th_id=0x16c5f0) at TSRM.c:302
#7  0xfe8d47fc in php4_init (pb=0x0, sn=0x0, rq=0x0) at nsapi.c:494
#8  0xff2660b0 in
__0Fafunc_native_pool_wait_workPFP6GpblockP6HSessionP6HRequest_iUiP6GpblockP6HSessionP6HRequest
() from /netscape/bin/https/lib/libns-httpd40.so
#9  0xff2656d0 in
__0FNfunc_exec_strP6KFuncStructP6GpblockP6HSessionP6HRequest ()
   from /netscape/bin/https/lib/libns-httpd40.so
#10 0xff26597c in INTfunc_exec () from
/netscape/bin/https/lib/libns-httpd40.so
#11 0xff263000 in INTconf_run_init_functions ()
   from /netscape/bin/https/lib/libns-httpd40.so
#12 0x2eeb8 in __0FLmagnus_initP6KPRFileDescPCc ()
#13 0x2f5e4 in main ()

It makes no difference whether I use pthreads or pth, nor whether or not I
compile in OCI-8 support -- the same thing happens.
-- 
Edit bug report at: http://bugs.php.net/?id=12258&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]

Reply via email to