ID: 28889 Updated by: [EMAIL PROTECTED] Reported By: uros at sir-mag dot com -Status: Open +Status: Bogus Bug Type: Apache2 related Operating System: FreeBSD 5.2.1-RELEASE-p8 PHP Version: 4.3.7 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [2004-06-23 08:52:43] uros at sir-mag dot com Description: ------------ I build php on fresh and when i execute httpd it coredumps here is dbg [EMAIL PROTECTED]:/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' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28889&edit=1