Ok, i got an Backtrace 

bash-2.03# gdb /netscape/server4/bin/https/bin/ns-httpd
core.ns-httpd.22451.5.60001.60001.1087980112
GNU gdb 6.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8"...(no debugging symbols
found)...
Core was generated by `ns-httpd -d /netscape/server4/https-home/config'.
Program terminated with signal 11, Segmentation fault.
Reading symbols ……………...
(gdb) bt
#0  0xfd74a510 in nnciunm () from /oracle/8.1.7/lib/libclntsh.so.8.0
#1  0xfd76f2e0 in nnfcmcal () from /oracle/8.1.7/lib/libclntsh.so.8.0
#2  0xfd6044b8 in nnfgsrdp () from /oracle/8.1.7/lib/libclntsh.so.8.0
#3  0xfd603200 in nnfgfrm () from /oracle/8.1.7/lib/libclntsh.so.8.0
#4  0xfd78d2b4 in nlifigbl () from /oracle/8.1.7/lib/libclntsh.so.8.0
#5  0xfd601644 in nnfgiinit () from /oracle/8.1.7/lib/libclntsh.so.8.0
#6  0xfd6012bc in nnfgiinit () from /oracle/8.1.7/lib/libclntsh.so.8.0
#7  0xfd5fe0ac in nigconcbs () from /oracle/8.1.7/lib/libclntsh.so.8.0
#8  0xfd5fee90 in nlnvmsc () from /oracle/8.1.7/lib/libclntsh.so.8.0
#9  0xfd506e58 in upicon () from /oracle/8.1.7/lib/libclntsh.so.8.0
#10 0xfd51b370 in kpuValidateSvc () from /oracle/8.1.7/lib/libclntsh.so.8.0
#11 0xfd50c14c in upinblc () from /oracle/8.1.7/lib/libclntsh.so.8.0
#12 0xfd51bdd0 in kpudtch () from /oracle/8.1.7/lib/libclntsh.so.8.0
#13 0xfd5797bc in OCILobRead () from /oracle/8.1.7/lib/libclntsh.so.8.0
#14 0xfde689f4 in _oci_open_server (dbname=0x1 <Address 0x1 out of bounds>,
    persistent=-33583640) at /php-4.3.7/ext/oci8/oci8.c:2531
#15 0xfde68fb0 in oci_do_connect (ht=3, return_value=0x1e94f00, this_ptr=0x0,
    return_value_used=1, tsrm_ls=0xbf95a0, persistent=0, exclusive=0)
    at /php-4.3.7/ext/oci8/oci8.c:2701
#16 0xfde6d5cc in zif_ocilogon (ht=3, return_value=0x1e94f00, this_ptr=0x0,
    return_value_used=1, tsrm_ls=0xbf95a0)
    at /php-4.3.7/ext/oci8/oci8.c:4340
#17 0xfdf64bb4 in execute (op_array=0x1f477a8, tsrm_ls=0xbf95a0)
---Type <return> to continue, or q <return> to quit---
    at /php-4.3.7/Zend/zend_execute.c:1635
#18 0xfdf648c0 in execute (op_array=0x1eeaf08, tsrm_ls=0xbf95a0)
    at /php-4.3.7/Zend/zend_execute.c:1679
#19 0xfdf648c0 in execute (op_array=0x1a221e8, tsrm_ls=0xbf95a0)
    at /php-4.3.7/Zend/zend_execute.c:1679
#20 0xfdf648c0 in execute (op_array=0x1652358, tsrm_ls=0xbf95a0)
    at /php-4.3.7/Zend/zend_execute.c:1679
#21 0xfdf53700 in zend_execute_scripts (type=8, tsrm_ls=0xbf95a0, retval=0x0,
    file_count=3) at /php-4.3.7/Zend/zend.c:891
#22 0xfdf198e8 in php_execute_script (primary_file=0xfce31548,
    tsrm_ls=0xbf95a0) at /php-4.3.7/main/main.c:1731
#23 0xfdf6b8bc in php4_execute (pb=0x114770, sn=0x85e35c, rq=0x85e394)
    at /php-4.3.7/sapi/nsapi/nsapi.c:954
#24 0xff256dac in
__0Fafunc_native_pool_wait_workPFP6GpblockP6HSessionP6HRequest_iUiP6GpblockP6HSessionP6HRequest
()
   from /netscape/server4/bin/https/lib/libns-httpd40.so
#25 0xff2563cc in __0FNfunc_exec_strP6KFuncStructP6GpblockP6HSessionP6HRequest
    () from /netscape/server4/bin/https/lib/libns-httpd40.so
#26 0xff257364 in INTobject_execute ()
   from /netscape/server4/bin/https/lib/libns-httpd40.so
#27 0xff25bfd8 in __0FQ_perform_serviceP6HSessionP6HRequestP6Mhttpd_object ()
   from /netscape/server4/bin/https/lib/libns-httpd40.so
#28 0xff25c094 in INTservact_service ()
  from /netscape/server4/bin/https/lib/libns-httpd40.so
#29 0xff25c3ac in INTservact_handle_processed ()
   from /netscape/server4/bin/https/lib/libns-httpd40.so
#30 0xff28ac1c in __0fLHttpRequestUUnacceleratedRespondPCcPcTC ()
   from /netscape/server4/bin/https/lib/libns-httpd40.so
#31 0xff2899f8 in __0fLHttpRequestNHandleRequestP6Gnetbuf ()
   from /netscape/server4/bin/https/lib/libns-httpd40.so
#32 0xff28621c in __0fNDaemonSessionHRespondv ()
   from /netscape/server4/bin/https/lib/libns-httpd40.so
#33 0xff2860a0 in __0fNDaemonSessionKThreadMainv ()
   from /netscape/server4/bin/https/lib/libns-httpd40.so
#34 0xff285b24 in CThreadMain ()
   from /netscape/server4/bin/https/lib/libns-httpd40.so
#35 0xfef42ad8 in _pt_root ()
   from /netscape/server4/bin/https/lib/libnspr3.so
#36 0xfed2b73c in .L1240 () from /lib/libthread.so.1
#37 0xfed2b73c in .L1240 () from /lib/libthread.so.1 

any Ideas ?

Regards Christian


Quoting [EMAIL PROTECTED]:

> Hi all,
> 
> Produktion System:
> SunOS su00006-5 5.8 Generic_108528-15 sun4u sparc SUNW,Sun-Fire-280R
> IPlanet 4.1 sp 14
> gcc version 3.1 
> 
> ist not possible to create a Backtrace, we’ve also more then one Problem i
> think, ok Step by Step:
> 
> Our Problem:
> Iplanet Webserver is terminated with Signal SIGBUS und SIGSEGV "watchdog is
> restarting it"
> It may be a Problem with OCI8 requests and PHP but we’re not sure.
> We’ve tried to reproduce the errors and done some tests with another Solaris
> Workstation(SunOS sx0172 5.8 Generic_117000-03 sun4u sparc SUNW,Ultra-5_10)
> Iplanet and PHP. Its possible to get info.php(phpinfo()) with Apache Bench
> without Errors at this System. In Produktion we also can get the info.php
> without errors(same PHP compile Options). If we try with real traffic/live
> traffic at the production System we get “Initialized PHP Module”.
> We also can’t locate the PHP code that caused the errors.
> There also no regularities in the logs apparent.
> 
> He’re the Logs and Infos:
> IPlanet error.log
> [17/Jun/2004:19:20:05] info (23922): php4_init reports: Initialized PHP
> Module
> (128 threads exspected)
> [17/Jun/2004:19:21:19] info (23978): php4_init reports: Initialized PHP
> Module
> (128 threads exspected)
> [17/Jun/2004:19:21:59] info (24004): php4_init reports: Initialized PHP
> Module
> (128 threads exspected)
> [17/Jun/2004:19:22:04] info (24037): php4_init reports: Initialized PHP
> Module
> (128 threads exspected)
> [17/Jun/2004:19:22:35] info (24048): php4_init reports: Initialized PHP
> Module
> (128 threads exspected)
> [17/Jun/2004:19:22:38] info (24049): php4_init reports: Initialized PHP
> Module
> (128 threads exspected)
> [17/Jun/2004:19:31:53] info (24611): php4_init reports: Initialized PHP
> Module
> (128 threads exspected)
> [17/Jun/2004:19:37:04] info (24932): php4_init reports: Initialized PHP
> Module
> (128 threads exspected)
> [17/Jun/2004:19:41:22] info (25152): php4_init reports: Initialized PHP
> Module
> (128 threads exspected)
> [17/Jun/2004:20:01:19] info (26380): php4_init reports: Initialized PHP
> Module
> (128 threads exspected)
> [17/Jun/2004:20:06:31] info (26660): php4_init reports: Initialized PHP
> Module
> (128 threads exspected)
> /var/adm/messages
> Jun 17 19:20:04 su00056 uxwdog[15154]: [ID 767207 daemon.error] server
> terminated (signal 11): watchdog is restarting it
> Jun 17 19:22:37 su00056 last message repeated 5 times Jun 17 19:31:52
> su00056
> uxwdog[15154]: [ID 767207 daemon.error] server terminated (signal 10):
> watchdog
> is restarting it
> Jun 17 19:37:02 su00056 last message repeated 2 times 
> Jun 17 19:41:21 su00056 uxwdog[15154]: [ID 767207 daemon.error] server
> terminated (signal 11): watchdog is restarting it
> Jun 17 20:01:17 su00056 uxwdog[15154]: [ID 767207 daemon.error] server
> terminated (signal 11): watchdog is restarting it
> Jun 17 20:06:30 su00056 last message repeated 2 times
> 
> Error count can be up to 3 or more times, restarts per second
> 
> Produktion System:
> SunOS su00006-5 5.8 Generic_108528-15 sun4u sparc SUNW,Sun-Fire-280R
> IPlanet 4.1 sp 14
> gcc version 3.1 
> 
> we've tryed php-4.3.5-DEV up to 4.3.7
> Configure Options for PHP:
> ./configure \
> --prefix=/opt/php/home.intranet.de/php-4.3.7 \
> --with-mysql=no \
> --enable-track-vars \
> --with-gd \
> --with-jpeg-dir=/usr/local/jpeg-6b \
> --with-png-dir=/usr/local/libpng-1.2.5 \
> --with-zlib-dir=/usr/local/zlib-1.1.4 \
> --with-freetype-dir=/usr/local/freetype-2.1.3 \
> --enable-libgcc \
> --with-nsapi=/opt/netscape/server4 \
> --with-ldap=/usr/local/ldapsdk-30 \
> --with-oci8=/opt/oracle/8.1.7 
> 
> we've also tryed 
> --enable-sigchild 
> 
> i also enabled for debugging
> --enable-debug
> 
> Infos from the Net:
> http://bugs.php.net/bug.php?id=15450
> http://bugs.php.net/bug.php?id=16996
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg105908.html
> 
> 
>
--------------------------------------------------------------------------------------------
> Next Problem Backtrace for SIGSEGV:
> /var/adm/messages:
> Jun 17 10:51:18 su00006-5 genunix: [ID 603404 kern.notice] NOTICE: core_log:
> ns-httpd[15821] core dumped:
> /var/core/core.ns-httpd.15821.su00006-5.60001.60001.1087462271
> Jun 17 10:51:18 su00006-5 uxwdog[15820]: [ID 767207 daemon.error] server
> terminated (signal 11): watchdog is restarting it
> 
> bash-2.03# gdb /opt/netscape/server4/bin/https/bin/ns-httpd
> core.ns-httpd.15821.su00006-5.60001.60001.1087462271 
> GNU gdb 6.0
> Copyright 2003 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "sparc-sun-solaris2.8"...(no debugging symbols
> found)...
> Core was generated by `ns-httpd -d
> /opt/netscape/server4/https-home-intranet/config'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /opt/netscape/server4/bin/https/lib/libns-httpd40.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libns-httpd40.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/liblibsi18n.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/liblibsi18n.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libgetprop.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libgetprop.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/liblibdbm.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/liblibdbm.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libnsprwrap.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libnsprwrap.so
> Reading symbols from
> /opt/netscape/server4/bin/https/lib/libMagnusPostInit.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libMagnusPostInit.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libldap30.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libldap30.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libnsres30.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libnsres30.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libnsuni30.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libnsuni30.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libnscnv30.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libnscnv30.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libnsfmt30.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libnsfmt30.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libnscol30.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libnscol30.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libnsbrk30.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libnsbrk30.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libplc3.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libplc3.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libplds3.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libplds3.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libnspr3.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libnspr3.so
> Reading symbols from /lib/libsocket.so.1...(no debugging symbols
> found)...done.
> Loaded symbols for /lib/libsocket.so.1
> Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
> Loaded symbols for /lib/libnsl.so.1
> Reading symbols from /lib/libdl.so.1...(no debugging symbols found)...done.
> Loaded symbols for /lib/libdl.so.1
> Reading symbols from /lib/libposix4.so.1...(no debugging symbols
> found)...done.
> Loaded symbols for /lib/libposix4.so.1
> Reading symbols from /lib/libm.so.1...(no debugging symbols found)...done.
> Loaded symbols for /lib/libm.so.1
> Reading symbols from /lib/libC.so.5...(no debugging symbols found)...done.
> Loaded symbols for /lib/libC.so.5
> Abort (core dumped)
> 
> also created a pstack trace output attached in file
> pstack_15821
>
--------------------------------------------------------------------------------------------
> 
> 
>
--------------------------------------------------------------------------------------------
> Next Problem Backtrace for SIGBUS:
> /var/adm/messages
> Jun 17 10:55:07 su00006-5 genunix: [ID 603404 kern.notice] NOTICE: core_log:
> ns-httpd[17263] core dumped: /var/core/core
> .ns-httpd.17263.su00006-5.60001.60001.1087462502
> Jun 17 10:55:07 su00006-5 uxwdog[15820]: [ID 767207 daemon.error] server
> terminated (signal 10): watchdog is restarting 
> it
> 
> bash-2.03# ./gdb /opt/netscape/server4/bin/https/bin/ns-httpd
> core.ns-httpd.17263.su00006-5.60001.60001.1087462502 
> GNU gdb 6.0
> Copyright 2003 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "sparc-sun-solaris2.8"...(no debugging symbols
> found)...
> Core was generated by `ns-httpd -d
> /opt/netscape/server4/https-home-intranet/config'.
> Program terminated with signal 10, Bus error.
> Reading symbols from /opt/netscape/server4/bin/https/lib/libns-httpd40.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libns-httpd40.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/liblibsi18n.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/liblibsi18n.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libgetprop.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libgetprop.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/liblibdbm.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/liblibdbm.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libnsprwrap.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libnsprwrap.so
> Reading symbols from
> /opt/netscape/server4/bin/https/lib/libMagnusPostInit.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libMagnusPostInit.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libldap30.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libldap30.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libnsres30.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libnsres30.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libnsuni30.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libnsuni30.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libnscnv30.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libnscnv30.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libnsfmt30.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libnsfmt30.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libnscol30.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libnscol30.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libnsbrk30.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libnsbrk30.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libplc3.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libplc3.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libplds3.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libplds3.so
> Reading symbols from /opt/netscape/server4/bin/https/lib/libnspr3.so...
> (no debugging symbols found)...done.
> Loaded symbols for /opt/netscape/server4/bin/https/lib/libnspr3.so
> Reading symbols from /lib/libsocket.so.1...(no debugging symbols
> found)...done.
> Loaded symbols for /lib/libsocket.so.1
> Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
> Loaded symbols for /lib/libnsl.so.1
> Reading symbols from /lib/libdl.so.1...(no debugging symbols found)...done.
> Loaded symbols for /lib/libdl.so.1
> Reading symbols from /lib/libposix4.so.1...(no debugging symbols
> found)...done.
> Loaded symbols for /lib/libposix4.so.1
> Reading symbols from /lib/libm.so.1...(no debugging symbols found)...done.
> Loaded symbols for /lib/libm.so.1
> Reading symbols from /lib/libC.so.5...(no debugging symbols found)...done.
> Loaded symbols for /lib/libC.so.5
> Segmentation Fault (core dumped)
>  
> also created a pstack trace output attached in file
> pstack_17263
>
--------------------------------------------------------------------------------------------
> 
> It may also possible that it’s a libc problem ?
> 
> Question: if Configure Option --enable-libgcc is used(php-4.3.5 up to
> php-4.3.7
> which libgcc Version is required ?
> 
> Well, that’s all for the moment, any ideas ?
> 
> friendly Regards
> Christian 
> 
> 
> 
> --
>                                                       /\
> ------------------------------------------------   /\/  \/\
>   Powerd by llbc.de - letz board it, yeahhh !!    /  \ \ \ \
> -----------------------------------------------  /  / \   \
> 
> 
> 



--
                                                      /\
------------------------------------------------   /\/  \/\
  Powerd by llbc.de - letz board it, yeahhh !!    /  \ \ \ \
-----------------------------------------------  /  / \   \

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to