Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 2003 22:24:14 -0700
From:      jason dictos <jason@dictos.com>
To:        ports@freebsd.org
Subject:   Apache 1.3.27 with mod_php4 crashes
Message-ID:  <200310112224.14718.jason@dictos.com>

next in thread | raw e-mail | index | archive | help
Hi All,

	I recently re-compiled mod_php4 with the following options:
CONFIGURE_ARGS+=--with-zlib
LIB_DEPENDS+=	mcrypt.8:${PORTSDIR}/security/libmcrypt
CONFIGURE_ARGS+=--with-mcrypt=${LOCALBASE}
LIB_DEPENDS+=	c-client4.8:${PORTSDIR}/mail/cclient
CONFIGURE_ARGS+=--with-imap=${LOCALBASE}
CONFIGURE_ARGS+=--with-imap-ssl=${LOCALBASE}
LIB_DEPENDS+=	mysqlclient.10:${PORTSDIR}/databases/mysql323-client
CONFIGURE_ARGS+=--with-mysql=${LOCALBASE}
LIB_DEPENDS+=	ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+=	lber.2:${PORTSDIR}/net/openldap20
CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
USE_OPENSSL=yes
CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
LIB_DEPENDS+=	expat.4:${PORTSDIR}/textproc/expat2
CONFIGURE_ARGS+=--with-expat-dir=${LOCALBASE}
CONFIGURE_ARGS+=--with-xmlrpc
LIB_DEPENDS+=	xml2.5:${PORTSDIR}/textproc/libxml2
CONFIGURE_ARGS+=--with-dom=${LOCALBASE}
CONFIGURE_ARGS+=--enable-ftp
CONFIGURE_ARGS+=--with-curl=${LOCALBASE}
BUILD_DEPENDS+=	${LOCALBASE}/lib/libcurl.a:${PORTSDIR}/ftp/curl
LIB_DEPENDS+=	intl.4:${PORTSDIR}/devel/gettext
CONFIGURE_ARGS+=--with-gettext=${LOCALBASE}
LIB_DEPENDS+=	iconv.3:${PORTSDIR}/converters/libiconv
CONFIGURE_ARGS+=--with-iconv=${LOCALBASE}


And now if I have the mod_php4 module listed in the httpd.conf file, apache 
will crash out and dump the core:

Oct 11 22:21:17 ahab kernel: pid 2428 (httpd), uid 0: exited on signal 11 
(core dumped)

I tried starting httpd with GDB in the hops that I could look at the call 
stack and somehow make a guess as to why it is crashing, but gdb doesn't 
appear to be catching the signal:

(gdb) handle 11
Signal        Stop      Print   Pass to program Description
SIGSEGV       Yes       Yes     Yes             Segmentation fault

Yet it appears to be handling it. Here's what happens when I do a run through 
gdb:
(gdb) r
Starting program: /usr/local/sbin/httpd
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...
Program exited normally.
(gdb)

Says the program exited normally??

Ideas?

Thanks,
-Jason



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310112224.14718.jason>