#24866 [Opn->Fbk]: PHP CLI crashes when locale has certain values

From: Date: Thu, 31 Jul 2003 18:39:45 +0000
Subject: #24866 [Opn->Fbk]: PHP CLI crashes when locale has certain values
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-45129@lists.php.net to get a copy of this message
ID: 24866 Updated by: sniper@php.net Reported By: herouth at itouch dot co dot il -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: Linux PHP Version: 4.3.2 New Comment: Does it crash with this: # rm config.cache && ./configure --disable-all --disable-cgi --enable-debug # make clean && make # unset LC_ALL # export LANG=en_US # sapi/cli/php -n -v Don't set any CFLAGS/other compile related settings, PHP configure knows better.. Which linux is this? glibc version? Previous Comments: ------------------------------------------------------------------------ [2003-07-31 07:58:42] herouth at itouch dot co dot il Tried --enable-debug and -g3, same result in gdb. Note that crash doesn't happen if running php within gdb. ------------------------------------------------------------------------ [2003-07-31 07:21:39] iliaa@php.net To get the most debug information do the following: 1) Compile php with --enable-debug 2) export CFLAGS=-g3 (optional, but recommended) ------------------------------------------------------------------------ [2003-07-31 04:42:14] herouth at itouch dot co dot il 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) ------------------------------------------------------------------------ [2003-07-30 12:36:21] iliaa@php.net 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' \ "$@" ------------------------------------------------------------------------ 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/24866 -- Edit this bug report at http://bugs.php.net/?id=24866&edit=1

« previous php.bugs (#45129) next »