php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12258 ns-http won't start: Dies in thread-init code
Submitted: 2001-07-19 11:58 UTC Modified: 2002-10-15 01:00 UTC
From: sybalsky at venue dot com Assigned:
Status: No Feedback Package: iPlanet related
PHP Version: 4.0.6 OS: Solaris 7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sybalsky at venue dot com
New email:
PHP Version: OS:

 

 [2001-07-19 11:58 UTC] sybalsky at venue dot com
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-17 02:01 UTC] kalowsky@php.net
Duplicate of 10821
 [2002-09-29 20:17 UTC] sniper@php.net
Does the solution mentioned in #10821 work for you?

 [2002-10-15 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC