ID: 24866 User updated by: herouth at itouch dot co dot il Reported By: herouth at itouch dot co dot il -Status: Feedback +Status: Open Bug Type: Reproducible crash Operating System: Linux PHP Version: 4.3.2 New Comment:
I'm not sure whether I'm using the right procedure to do a backtrace. Basically, I reconfigured php with CFLAGS=-O0 -g, did a make, then ran again, then ran gdb php core, and within gdb, did "backtrace". This is all I've got, and if I did it wrong, well, correct me. (gdb) backtrace #0 0x40445d88 in main_arena () from /lib/libc.so.6 #1 0xb1914044 in ?? () Cannot access memory at address 0x6840445d (gdb) Previous Comments: ------------------------------------------------------------------------ [2003-07-30 12:36:21] [EMAIL PROTECTED] Can you please generate a backtrace. I've tried your example and was unable to replicate the bug. ------------------------------------------------------------------------ [2003-07-30 02:44:38] herouth at itouch dot co dot il Additional information - config parameters used when compiling this CLI PHP: './configure' \ '--prefix=/opt/php' \ '--with-sybase-ct=/opt/sybase-11.9.2/' \ '--with-imap' \ '--without-pear' \ '--without-mysql' \ '--enable-ftp' \ '--with-curl=/usr/local' \ '--with-dom=/usr/local' \ '--with-zlib-dir=/usr' \ '--with-iconv' \ '--enable-sockets' \ '--disable-cgi' \ "$@" ------------------------------------------------------------------------ [2003-07-30 02:40:37] herouth at itouch dot co dot il Tested with CVS snapshot. Same result. ------------------------------------------------------------------------ [2003-07-30 01:58:07] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-07-30 01:56:17] herouth at itouch dot co dot il Description: ------------ PHP CLI crashes (segfault) when locale environment variables. For example: $ unset LC_ALL $ export LANG=en_US $ php -v Segmentation fault (core dumped) $ LANG=C $ php -v PHP 4.3.2 (cli) (built: Jul 6 2003 17:00:52) Copyright (c) 1997-2003 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies $ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24866&edit=1