Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 2004 00:21:15 -0700 (PDT)
From:      Ilya Storozhilov <storozhilov@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/66317: Apache+PHP core dumps after upgrading to 5.2.1 p5
Message-ID:  <200405060721.i467LFkc023439@www.freebsd.org>
Resent-Message-ID: <200405060730.i467UQsc070029@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         66317
>Category:       misc
>Synopsis:       Apache+PHP core dumps after upgrading to 5.2.1 p5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 06 00:30:26 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ilya Storozhilov
>Release:        FreeBSD 5.2.1 p5
>Organization:
Pregrad.Net Ltd.
>Environment:
FreeBSD prog2.pregrad.net 5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5 #0: Thu Apr 29 11:16:47 MSD 2004     root@prog2.pregrad.net:/usr/obj/usr/src/sys/PROG2  i386
>Description:
After upgrading from 5.2.1 p4 to 5.2.1 p5 Apache 1.3.29 (compiled from sources) + PHP 4.3.6 as DSO (compiled from sources) core dumps at startup occueres.

Apache configure params:
./configure --enable-module=so --enable-module=rewrite
PHP configure params:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-pgsql=/usr/local/pgsql

Problem appeares only on 5.2.1 p5. On earler versions everything works fine. If PHP compiled without PostgreSQL support Apache starts good. It was tested on two FreeBSD boxes.

$ ldd -a /usr/local/apache/bin/httpd
/usr/local/apache/bin/httpd:
        libcrypt.so.2 => /lib/libcrypt.so.2 (0x280f8000)
        libc.so.5 => /lib/libc.so.5 (0x28111000)

$ ldd -a /usr/local/apache/libexec/libphp4.so
/usr/local/apache/libexec/libphp4.so:
        libcrypt.so.2 => /lib/libcrypt.so.2 (0x282ec000)
        libpq.so.3 => /usr/local/pgsql/lib/libpq.so.3 (0x28305000)
        libm.so.2 => /lib/libm.so.2 (0x2831b000)
/usr/local/pgsql/lib/libpq.so.3:
        libcrypt.so.2 => /lib/libcrypt.so.2 (0x282ec000)
        libc_r.so.5 => /usr/lib/libc_r.so.5 (0x28334000)

All libraries present on system.
>How-To-Repeat:
      
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



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