ID: 24866
Updated by: sniper@php.net
Reported By: herouth at itouch dot co dot il
-Status: Feedback
+Status: Bogus
-Bug Type: Reproducible crash
+Bug Type: Sybase-ct (ctlib) related
Operating System: Linux
PHP Version: 4.3.2
New Comment:
Answer for the problem you're seeing can be found here:
http://www.mbay.net/~mpeppler/Linux-ASE-FAQ.html#q1.15
That helped me to actually reproduce this too, and to prove it's really
not PHP bug.
Previous Comments:
------------------------------------------------------------------------
[2003-08-05 11:45:19] moriyoshi@php.net
Is there any application other than PHP that crashes if LANG is set to
en_US? That doesn't look like a PHP bug and
probably a glibc bug.
If it really segfaults in main_arena() even outside gdb, one of
possible reasons is silent buffer overrun in the heap. Memory block
corruption often causes this kind of problem.
------------------------------------------------------------------------
[2003-08-05 11:14:10] sniper@php.net
I can not reproduce this. I used this configure line:
'./configure' \
'--disable-all' \
'--disable-cgi' \
'--enable-debug' \
'--with-sybase-ct=/opt/sybase-11.9.2/'
Try the same, using latest stable CVS snapshot.
------------------------------------------------------------------------
[2003-08-04 10:13:08] herouth at itouch dot co dot il
No. Compiling with sybase and without imap has no effect. It still
crashes with LANG=en_US, and works with LANG=C.
------------------------------------------------------------------------
[2003-08-04 09:58:22] sniper@php.net
And I guess it works also when you compile PHP with sybase, but without
imap?
------------------------------------------------------------------------
[2003-08-03 04:11:30] herouth at itouch dot co dot il
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.
------------------------------------------------------------------------
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