Re: PHP 4.0 Bug #6731: Apache crashes with PHP/Oracle module enabled

From: Date: Wed, 13 Sep 2000 17:57:51 +0000
Subject: Re: PHP 4.0 Bug #6731: Apache crashes with PHP/Oracle module enabled
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-33192@lists.php.net to get a copy of this message
please relink your apache adding -lpthread to the LDFLAGS. the problem here is that a executable thats *not* linked agains -lpthread cannot load a shared library that is liked against -lpthread. (libphp4.so - linked against -lclntsh linked against -lpthread). this is a glibc-2.1 bug that supposed to be fixed in 2.2. plz verify and close the bug-report! tc On Thu, Sep 14, 2000 at 03:48:05AM -0000, mike.johnson@isunnetworks.com wrote: > From: mike.johnson@isunnetworks.com > Operating system: Red Hat Linux 6.2 > PHP version: 4.0.2 > PHP Bug Type: OCI8 related > Bug description: Apache crashes with PHP/Oracle module enabled > > PHP compiled with following arguments: > ./configure \ > --target=%{_target_platform} \ > --prefix=%{_prefix} \ > --with-config-file-path=%{_sysconfdir} \ > --disable-debug \ > --enable-pic \ > --enable-inline-optimization \ > $* \ > --with-exec-dir=%{_bindir} \ > --with-regex=system \ > --with-jpeg-dir=%{_prefix} \ > --with-png \ > --with-db2 \ > --with-gd \ > --with-oci8 \ > --with-zlib \ > --with-gdbm \ > --enable-debugger \ > --enable-magic-quotes \ > --enable-safe-mode \ > --enable-sysvsem \ > --enable-sysvshm \ > --enable-track-vars \ > --enable-yp \ > --enable-ftp \ > --with-xml > > ORACLE_HOME is defined. > Oracle version is 8.1.6 > Apache version is 1.3.12 > > When I start apache with php enabled, it crashes: > [mike@io mike]$ httpd -t > Syntax OK > Segmentation fault > > gdb: > (gdb) r -t > Starting program: /usr/sbin/httpd -t > Syntax OK > Cannot access memory at address 0x40b17bb4 > (gdb) where > #0 0x4000bd99 in _dl_debug_state () at dl-debug.c:56 > #1 0x401b60c6 in _dl_close (map=0x80b4fc8) at dl-close.c:195 > #2 0xaff0d in ?? () > #3 0xaff0d in ?? () > #4 0xaff0d in ?? () > #5 0xaff0d in ?? () > #6 0xaff0d in ?? () > #7 0xaff0d in ?? () > #8 0xaff0d in ?? () > #9 0xaff0d in ?? () > #10 0xaff0d in ?? () > #11 0xaff0d in ?? () > #12 0xaff0d in ?? () > #13 0xaff0d in ?? () > #14 0xaff0d in ?? () > > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.dev (#33192) next »