Re: Bug #16801: httpd segementation fault at statup (fwd)

From: Date: Wed, 24 Apr 2002 21:31:41 +0000
Subject: Re: Bug #16801: httpd segementation fault at statup (fwd)
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-5270@lists.php.net to get a copy of this message
Derick Rethans wrote:
Hi! Can you have a look at this?
Sure. -- Yasuo Ohgaki
Derick ---------- Forwarded message ---------- Date: 24 Apr 2002 17:43:37 -0000 From: alexandre.ghisoli@ycom.ch To: php-bugs@lists.php.net Subject: Bug #16801: httpd segementation fault at statup
From:             alexandre.ghisoli@ycom.ch
Operating system: Linux 2.4.18
PHP version:      4.2.0
PHP Bug Type:     Apache related
Bug description: httpd segementation fault at statup 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


« previous php.qa (#5270) next »