From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 10:25:33 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F04516A4B3 for ; Sun, 12 Oct 2003 10:25:33 -0700 (PDT) Received: from ahab.dictos.com (adsl-67-125-129-106.dsl.frsn02.pacbell.net [67.125.129.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D85643FA3 for ; Sun, 12 Oct 2003 10:25:32 -0700 (PDT) (envelope-from jason@ahab.dictos.com) Received: from ahab.dictos.com (localhost.dictos.com [127.0.0.1]) by ahab.dictos.com (8.12.9/8.12.9) with ESMTP id h9C5OpAm002467 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Sat, 11 Oct 2003 22:24:51 -0700 (PDT) (envelope-from jason@ahab.dictos.com) Received: from localhost (localhost [[UNIX: localhost]]) by ahab.dictos.com (8.12.9/8.12.9/Submit) id h9C5OklX002466 for questions@freebsd.org; Sat, 11 Oct 2003 22:24:46 -0700 (PDT) (envelope-from jason) From: jason dictos To: questions@freebsd.org Date: Sat, 11 Oct 2003 22:24:46 -0700 User-Agent: KMail/1.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310112224.46151.jason@dictos.com> Subject: apache 1.3.27 with mod_php4 crashes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jason@dictos.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2003 17:25:33 -0000 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