#18981 [Opn->Bgs]: Segmentation Fault

From: Date: Tue, 20 Aug 2002 11:21:41 +0000
Subject: #18981 [Opn->Bgs]: Segmentation Fault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17280@lists.php.net to get a copy of this message
 ID:               18981
 Updated by:       edink@php.net
 Reported By:      wgaboria@univ-lr.fr
-Status:           Open
+Status:           Bogus
 Bug Type:         Reproducible crash
 Operating System: Solaris 2.7
 PHP Version:      4.2.1
 New Comment:

This is probably caused by Apache not being linked to pthread (or
equivalen). Please review the install notes on
http://www.php.net/manual/en/ref.oci8.php
and re-open if that does not
solve your problem.


Previous Comments:
------------------------------------------------------------------------

[2002-08-20 07:16:40] wgaboria@univ-lr.fr

ORACLE_HOME=/oracle/product/8.1.6
PATH=/usr/ccs/bin:$PATH:$ORACLE_HOME/bin
PATH=$PATH:/usr/openwin/bin:/usr/ucb:/usr/local/bin
ORACLE_SID=IUT2
ORACLE_TERM=vt100
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib:/lib:/usr/local/lib
ORACLE_BASE=/oracle
LIBPATH=$ORACLE_HOME/lib
NLS_LANG=french_france.we8iso8859p1
export ORACLE_SID PATH DISPLAY ORACLE_BASE ORACLE_HOME
export DISPLAY LD_LIBRARY_PATH LIBPATH NLS_LANG ORACLE_TERM

/usr/local/apache/bin/httpd
Segmentation Fault (core dumped)

gdb /usr/local/apache/bin/httpd /LOCAL/core
GNU gdb 4.18
Copyright 1998 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.7"...
Core was generated by `/usr/local/apache/bin/httpd'.
Program terminated with signal 11, Segmentation Fault.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1...done.
Reading symbols from /usr/local/apache/libexec/mod_env.so...done.
Reading symbols from
/usr/local/apache/libexec/mod_log_config.so...done.
Reading symbols from /usr/local/apache/libexec/mod_mime.so...done.
Reading symbols from
/usr/local/apache/libexec/mod_negotiation.so...done.
Reading symbols from /usr/local/apache/libexec/mod_status.so...done.
Reading symbols from /usr/local/apache/libexec/mod_include.so...done.
Reading symbols from
/usr/local/apache/libexec/mod_autoindex.so...done.
Reading symbols from /usr/local/apache/libexec/mod_dir.so...done.
Reading symbols from /usr/local/apache/libexec/mod_cgi.so...done.
Reading symbols from /usr/local/apache/libexec/mod_asis.so...done.
Reading symbols from /usr/local/apache/libexec/mod_imap.so...done.
Reading symbols from /usr/local/apache/libexec/mod_actions.so...done.
Reading symbols from /usr/local/apache/libexec/mod_speling.so...done.
Reading symbols from /usr/local/apache/libexec/mod_userdir.so...done.
Reading symbols from /usr/local/apache/libexec/mod_alias.so...done.
Reading symbols from /usr/local/apache/libexec/mod_rewrite.so...done.
Reading symbols from /usr/local/apache/libexec/mod_access.so...done.
Reading symbols from /usr/local/apache/libexec/mod_auth.so...done.
Reading symbols from
/usr/local/apache/libexec/mod_auth_anon.so...done.
Reading symbols from /usr/local/apache/libexec/mod_expires.so...done.
Reading symbols from
/usr/local/apache/libexec/mod_unique_id.so...done.
Reading symbols from /usr/local/apache/libexec/mod_setenvif.so...done.
Reading symbols from /usr/lib/libthread.so.1...done.
#0  0xfe7d3a34 in _t0init () from /usr/lib/libthread.so.1
(gdb) bt
#0  0xfe7d3a34 in _t0init () from /usr/lib/libthread.so.1
#1  0xfe7dbd54 in _init () from /usr/lib/libthread.so.1
#2  0xff3b9abc in ?? ()
#3  0xff3bffc8 in ?? ()
#4  0xff3b2fe8 in ?? ()
#5  0x9ffec in _PROCEDURE_LINKAGE_TABLE_ ()
#6  0x23ee8 in ap_process_resource_config ()
#7  0x24ab4 in ap_read_config ()
#8  0x33cf0 in main ()

THE PROBLEM :
=============
Everything configure and compile OK, but
/usr/local/apache/bin/apachectl start
Segmentation Fault - core dumped
/usr/local/apache/bin/apachectl start: httpd could not be started

SYSTEM : Solaris 2.7

apache_1.3.26
------------------
./configure --prefix=/usr/local/apache --enable-module=most
--enable-shared=max

mod_ssl-2.8.10-1.3.26
------------------
./configure --with-apache=../apache_1.3.26

zlib-1.1.4
----------
./configure 
make test
make install

jpeg-6b
------
./configure  --enable-shared
make
make install

tiff-v3.5.7
-----------
./configure
make
make install

package zlib-1.1.3-sol7-sparc-local
-----------

pdflib-4.0.2
------------
./configure
make
make install

php-4.2.1
---------
./configure --with-apxs=/usr/local/apache/bin/apxs 
--with-config-file-path=/usr/local/apache 
--with-oci8=/oracle/product/8.1.6 
--with-java=/usr/java1.2 
--without-mysql 
--enable-gd-imgstrttf 
--with-gd 
--with-jpeg-dir=/usr/local/include 
--with-xpm-dir 
--with-ttf 
--with-fdftk 
--with-pdflib=/usr/local
make 
make install

WILFRID

------------------------------------------------------------------------

[2002-08-20 06:53:10] sander@php.net

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.



------------------------------------------------------------------------

[2002-08-20 06:31:30] wgaboria@univ-lr.fr

THE PROBLEM :
=============
Everything configure and compile OK, but
/usr/local/apache/bin/apachectl start
Segmentation Fault - core dumped
/usr/local/apache/bin/apachectl start: httpd could not be started


SYSTEM : Solaris 2.7

apache_1.3.26
------------------
./configure --prefix=/usr/local/apache --enable-module=most
--enable-shared=max

mod_ssl-2.8.10-1.3.26
------------------
./configure --with-apache=../apache_1.3.26

zlib-1.1.4
----------
./configure 
make test
make install

jpeg-6b
------
./configure  --enable-shared
make
make install

tiff-v3.5.7
-----------
./configure
make
make install

package zlib-1.1.3-sol7-sparc-local
-----------

pdflib-4.0.2
------------
./configure
make
make install

php-4.2.1
---------
./configure --with-apxs=/usr/local/apache/bin/apxs 
--with-config-file-path=/usr/local/apache 
--with-oci8=/oracle/product/8.1.6 
--with-java=/usr/java1.2 
--without-mysql 
--enable-gd-imgstrttf 
--with-gd 
--with-jpeg-dir=/usr/local/include 
--with-xpm-dir 
--with-ttf 
--with-fdftk 
--with-pdflib=/usr/local
make 
make install


WILFRID


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=18981&edit=1



Thread (4 messages)

« previous php.bugs (#17280) next »