Bug #16801 Updated: httpd segementation fault at statup

From: Date: Wed, 24 Apr 2002 21:33:44 +0000
Subject: Bug #16801 Updated: httpd segementation fault at statup
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-5885@lists.php.net to get a copy of this message
 ID:               16801
 Updated by:       yohgaki@php.net
 Reported By:      alexandre.ghisoli@ycom.ch
 Status:           Assigned
 Bug Type:         Apache related
 Operating System: Linux  2.4.18
 PHP Version:      4.2.0
 Assigned To:      yohgaki
 New Comment:

Could you add --enable-debug in your configure option (w/o any compiler
optimization option) and take backtrace again?

Could you paste short & complete script reproduces this segfault?




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

[2002-04-24 14:54:33] derick@php.net

Assigning to Yasuo.

Derick

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

[2002-04-24 13:46:26] alexandre.ghisoli@ycom.ch

Ah, Potgresql is :

postgres@evo-147:...DATABASES/postgresql% psql -V
psql (PostgreSQL) 7.2b3

Regards

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

[2002-04-24 13:43:37] alexandre.ghisoli@ycom.ch

I started with the new PHP 4.2.0
I use the same build script (protopkg on Slackware) to build
4.1.2 and 4.2.0.

Then, 4.2.0 make a seg fault at startup, I dont know exactly
where.



There is the configure part :

./configure  \
                --prefix=/usr/local	\
		--with-config-file-path=/usr/local/etc/apache	\
		--with-apxs=/usr/local/apache/sbin/apxs	\
		--enable-discard-path	\
		--disable-debug		\
		--enable-track-vars	\
		--enable-trans-sid	\
		--enable-memory-limit	\
		--enable-versioning	\
		--with-openssl		\
		--enable-calendar	\
		--with-bz2		\
		--with-ftp		\
		--with-gd=/usr		\
		--enable-gd-native-ttf	\
		--with-gmp 		\
		--with-xml=shared 	\
		--enable-socket		\
		--with-regex=php	\
		--enable-sysvsem	\
                --enable-sysvshm	\
		--with-ldap		\
		--with-pgsql		\
		--with-mysql		\
		--with-db2		\
		--with-db3		\
		--with-mm		\
		--with-snmp=/usr/local	\
		--with-gettext=/usr	\
		--with-zlib=/usr	\
		--with-imap-ssl=/usr/local	\
		--with-jpeg-dir=/usr/lib	\
                --with-png-dir=/usr/lib		\
                --with-xpm-dir=/usr/X11R6	\
                --with-freetype-dir=/usr/X11R6	\
                --with-ldap=/usr/local		\
                --enable-locale			\
		--with-mcrypt=/usr/local/lib	\
                i686-pc-linux-gnu



The GDB Backtrace :(gdb) run -X
Starting program: /usr/local/apache/sbin/httpd -X

Program received signal SIGSEGV, Segmentation fault.
strcmp (p1=0x0, p2=0x0) at ../sysdeps/generic/strcmp.c:38
38      ../sysdeps/generic/strcmp.c: No such file or directory.
(gdb) bt
#0  strcmp (p1=0x0, p2=0x0) at ../sysdeps/generic/strcmp.c:38
#1  0x4058e2e0 in OBJ_NAME_new_index () from
/usr/local/pgsql/lib/libpq.so.2
Cannot access memory at address 0x1


It seems to be PostgreSQL related, but the same configure
script on same machine for 4.1.2 is okay.

Thanx
     --Alexandre



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


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



Thread (11 messages)

« previous php.bugs (#5885) next »