ID: 25620
User updated by: xris at farcaster dot net
Reported By: xris at farcaster dot net
-Status: Feedback
+Status: Open
Bug Type: Gettext related
Operating System: GNU/Linux 2.4.20
PHP Version: 4.3.3
New Comment:
The backtrace was from a standalone PHP, standard Gentoo
(rather overcomplete) install:
--prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --with-readline --with--ncurses --disable-cgi
--enable-cli --without-db3 --without-db4 --without-db2
--with-mcrypt=/usr --with-mhash --with-gdbm=/usr --with-mcal=/usr
--without-pgsql --with-xpm-dir=/usr/X11R6 --with-pdflib=/usr --with-gd
--with-png-dir=/usr --with-jpeg --with-jpeg-dir=/usr --enable-exif
--without-jpeg --with-tiff-dir=/usr --with-mysql=/usr
--with-mysql-sock=/var/run/mysqld/mysqld.sock --with-ttf --with-t1lib
--with-gettext --with-qtdom --with-pspell --with-openssl --with-curl
--without-imap --with-ldap --with-dom --with-dom-xslt
--without-kerberos --with-pam --disable-memory-limit --disable-mbstring
--disable-mbregex
--disable-ipv6 --enable-dbx --with-zlib --with-zlib-dir=/usr/lib
--with-sablot=/usr --enable-xslt --with-xslt-sablot --with-xmlrpc
--enable-wddx --with-xml --with-bz2 --with-crack --with-ndbm --with-cdb
--enable-bcmath --enable-calendar --enable-dbase --enable-filepro
--enable-ftp --with-mime-magic --enable-sockets --enable-sysvsem
--enable-sysvshm --enable-sysvipc --with-iconv --enable-shmop
--enable-dio
--enable-inline-optimization --enable-track-vars --enable-trans-sid
--enable-versioning --with-config-file-path=/etc/php/cli-php4
I'll build a stripped down version of php and try again.
I think my apache configure options are not really
of any concern, as the problem persists using a CLI version
of PHP?
Previous Comments:
------------------------------------------------------------------------
[2003-09-22 19:33:06] [EMAIL PROTECTED]
What are the configure lines you used to configure Apache and PHP?
------------------------------------------------------------------------
[2003-09-22 15:56:41] xris at farcaster dot net
Okay, i just managed to get PHP to segfault using the
command line version.. here's the backtrace:
#0 0x409bdc4d in _int_free () from /lib/libc.so.6
#1 0x409bcaba in free () from /lib/libc.so.6
#2 0x081b0ad2 in shutdown_memory_manager ()
#3 0x08196956 in php_request_shutdown ()
#4 0x081cef1c in main ()
#5 0x4095f7a7 in __libc_start_main () from /lib/libc.so.6
I guess this doesn't look too good and/or doesn't help much.
Any hints on how to proceed?
------------------------------------------------------------------------
[2003-09-22 15:44:54] xris at farcaster dot net
> Could you try providing a short script that uses
> gettext functions which can be used to reproduce this..?
Sorry, i can't - the bug seems to occurr in larger scripts
only... (at least i wasn't able to reproduce in a small script)
I'd love to provide a backtrace, but all my efforts so far
haven't been very successful, neither by following the
steps here at bugs.php.net nor the description at the
apache.org site.
It doesn't matter if i try gdb or strace, both tools quit
with s.th. like: "ptrace: Operation not permitted"
Any hints on that? I googled for nearly an hour but couldn't
find a reason for gdb to fail with that err.
I tried gdb/apache with "-X -PHP4" as well as attaching to
the apache process afterwards but i keep getting the
mentioned ptrace error - or do i have to use Apache1.3 to
trace the problem? Any help is greatly appreciated.
------------------------------------------------------------------------
[2003-09-22 07:32:58] [EMAIL PROTECTED]
And/or provide a backtrace of the crash (without --enable-debug, of
course as you said it happens only then)
------------------------------------------------------------------------
[2003-09-22 07:30:27] [EMAIL PROTECTED]
Could you try providing a short script that uses gettext functions
which can be used to reproduce this..?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/25620
--
Edit this bug report at http://bugs.php.net/?id=25620&edit=1