php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18981 Segmentation Fault
Submitted: 2002-08-20 06:31 UTC Modified: 2002-08-20 07:21 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: wgaboria at univ-lr dot fr Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.2.1 OS: Solaris 2.7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: wgaboria at univ-lr dot fr
New email:
PHP Version: OS:

 

 [2002-08-20 06:31 UTC] wgaboria at univ-lr dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-20 06:53 UTC] 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 07:16 UTC] wgaboria at univ-lr dot 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 07:21 UTC] edink@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 01 13:01:29 2024 UTC