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 think I pinpointed it. 
I tried your configure/compile sequence and it eliminated the 
problem. 
I went on and re-compiled using my original configure line, 
except the sybase-ct line. No problem. 
I added the --with-sybase-ct line, and the crash reappeared. 
As for my Linux, it's an old RedHat, kernel 2.2.16-3smp. glibc is, 
I think, 2.1.3.


Previous Comments:
------------------------------------------------------------------------

[2003-07-31 13:39:44] [EMAIL PROTECTED]

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?




------------------------------------------------------------------------

[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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

Can you please generate a backtrace. I've tried your example and was
unable to replicate the bug.

------------------------------------------------------------------------

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

Reply via email to