php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28889 httpd coredumps
Submitted: 2004-06-23 08:52 UTC Modified: 2004-06-29 17:57 UTC
From: uros at sir-mag dot com Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.3.7 OS: FreeBSD 5.2.1-RELEASE-p8
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: uros at sir-mag dot com
New email:
PHP Version: OS:

 

 [2004-06-23 08:52 UTC] uros at sir-mag dot com
Description:
------------
I build php on fresh and when i execute httpd it coredumps

here is dbg

root@cartman:/usr/ports/lang/php4#gdb /usr/local/sbin/httpd ./httpd.core
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...(no debugging symbols found)...
Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libz.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.2
Reading symbols from /usr/lib/libssl.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libssl.so.3
Reading symbols from /lib/libcrypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypto.so.3
Reading symbols from /usr/local/lib/apache2/libaprutil-0.so.9...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/apache2/libaprutil-0.so.9
Reading symbols from /usr/local/lib/libdb41.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libdb41.so.1
Reading symbols from /usr/local/lib/libexpat.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libexpat.so.5
Reading symbols from /usr/local/lib/apache2/libapr-0.so.9...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/apache2/libapr-0.so.9
Reading symbols from /lib/libm.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.2
Reading symbols from /lib/libcrypt.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.2
Reading symbols from /lib/libc.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.5
Reading symbols from /usr/local/lib/nss_winbind.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/nss_winbind.so.1
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x28e8448c in _init () from /usr/local/lib/nss_winbind.so.1
#2  0x28e8689d in _fini () from /usr/local/lib/nss_winbind.so.1
#3  0x2809934f in dlclose () from /libexec/ld-elf.so.1
#4  0x283cf3e3 in _nsdbtput () from /lib/libc.so.5
#5  0x283cec98 in endhostent () from /lib/libc.so.5
#6  0x283cf479 in _nsdbtput () from /lib/libc.so.5
#7  0x283f5384 in exit () from /lib/libc.so.5
#8  0x0806a303 in destroy_and_exit_process ()
#9  0x0806ae8e in main ()
#10 0x0805ce42 in _start ()


also ldd outputs

ldd /usr/local/libexec/apache2/libphp4.so
/usr/local/libexec/apache2/libphp4.so:
        libcrypto.so.3 => /lib/libcrypto.so.3 (0x284e9000)
        libssl.so.3 => /usr/lib/libssl.so.3 (0x285f7000)
        libcrypt.so.2 => /lib/libcrypt.so.2 (0x28629000)
        libc-client4.so.8 => /usr/local/lib/libc-client4.so.8 (0x28642000)
        libzzip.so.10 => /usr/local/lib/libzzip.so.10 (0x286fb000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28701000)
        libexpat.so.5 => /usr/local/lib/libexpat.so.5 (0x287f0000)
        libhistory.so.4 => /usr/lib/libhistory.so.4 (0x28810000)
        libreadline.so.4 => /lib/libreadline.so.4 (0x28817000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x28845000)
        libpspell.so.15 => /usr/local/lib/libpspell.so.15 (0x28885000)
        libpq.so.3 => /usr/local/lib/libpq.so.3 (0x28887000)
        libpanel.so.2 => /usr/lib/libpanel.so.2 (0x288a4000)
        libmysqlclient.so.10 => /usr/local/lib/mysql/libmysqlclient.so.10 (0x288a8000)
        libmcrypt.so.8 => /usr/local/lib/libmcrypt.so.8 (0x288c6000)
        libltdl.so.4 => /usr/local/lib/libltdl.so.4 (0x288f9000)
        libpam.so.2 => /usr/lib/libpam.so.2 (0x28901000)
        libintl.so.6 => /usr/local/lib/libintl.so.6 (0x28908000)
        libt1.so.5 => /usr/local/lib/libt1.so.5 (0x28911000)
        libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x28961000)
        libpng.so.5 => /usr/local/lib/libpng.so.5 (0x289cb000)
        libz.so.2 => /lib/libz.so.2 (0x289f0000)
        libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x289fe000)
        libcurl.so.3 => /usr/local/lib/libcurl.so.3 (0x28a1c000)
        libbz2.so.1 => /usr/lib/libbz2.so.1 (0x28a4b000)
        libm.so.2 => /lib/libm.so.2 (0x28a5a000)
        libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x28a73000)
        libaspell.so.15 => /usr/local/lib/libaspell.so.15 (0x28b6b000)
        libstdc++.so.4 => /usr/lib/libstdc++.so.4 (0x28c05000)


If i don't include pspell, XSLT or DOMXSLT everything works ok, but when I add any of these three modules, something is broken.

my .configure looks like this

./configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-zlib-dir=/usr' '--disable-all' '--with-regex=php' '--with-pear' '--with-bz2=/usr' '--enable-ctype' '--with-curl=/usr/local' '--enable-dio' '--with-dom=/usr/local' '--enable-ftp' '--with-gd' '--enable-gd-native-ttf' '--with-freetype-dir=/usr/local' '--with-t1lib=/usr/local' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-gettext=/usr/local' '--with-iconv-dir=/usr/local' '--with-iconv=/usr/local' '--enable-mbstring' '--with-mcrypt=/usr/local' '--with-mysql=/usr/local' '--with-openssl-dir=/usr' '--with-openssl=/usr' '--enable-overload' '--enable-pcntl' '--with-pcre-regex=yes' '--enable-posix' '--with-pgsql=/usr/local' '--with-pspell=/usr/local' '--with-readline' '--enable-session' '--enable-shmop' '--enable-sockets' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-tokenizer' '--enable-wddx' '--with-expat-dir=/usr/local' '--enable-xml' '--with-xmlrpc' '--with-zip=/usr/local' '--with-zlib=yes' '--with-apxs2=/usr/local/sbin/apxs' '--with-imap=/usr/local' '--with-imap-ssl=/usr/local' '--with-ncurses=/usr' '--prefix=/usr/local' 'i386-portbld-freebsd5.2.1' 



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-29 17:57 UTC] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

The backtrace you've provided does not point at any PHP 
code, so I'd say the problem is elsewhere. It is possible 
something is corrupting memory and additional PHP 
extensions cause a crash when they encounter this memory 
segment. 
You can try compiling PHP with --enable-debug, perhaps the 
backtrace will be more informative. 
 [2010-03-13 09:07 UTC] yanliz_prens28 at hotmail dot com
Hi everyone. You couldn't even prove the White House staff sane beyond a reasonable doubt. Help me! Looking for sites on: Window coverings pictures. I found only this - <a href="http://window-covering-store.biz/Universal-window-coverings/Window-coverings-association/">window coverings association</a>. Watson and crick climate of dna, the winning of basis technique, window covering. After its          thus outboard it was african as a penny, despite having forced an dark stomach life to provide discovery and its favor from the mining, and later ferrets about the plan of some of its east people, window covering. :o Thanks in advance. Jabari from Hungary.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 05:01:31 2024 UTC