ID: 27183
Updated by: iliaa@php.net
Reported By: chregu@php.net
-Status: Verified
+Status: Closed
Bug Type: Filesystem function related
Operating System: Mac OS X 10.3
PHP Version: 4CVS-2004-02-08 (stable)
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2004-02-10 16:02:58] chregu@php.net
moriyoshi's patch works for me.
------------------------------------------------------------------------
[2004-02-09 13:50:49] moriyoshi@php.net
Here's the patch:
http://www.voltex.jp/downloads/bug27183-
preliminary.diff.txt
The error is obvious: one shouldn't store a transient
pointer to a transient zval that resides in the stack
frame :)
------------------------------------------------------------------------
[2004-02-09 13:33:16] moriyoshi@php.net
Finally I managed to reproduce the crash. It looks like
--enable-debug suppresses the bus error. Really
strange... Another endian issue?
------------------------------------------------------------------------
[2004-02-09 05:44:31] sniper@php.net
I get the same crash with PHP 4.3.3..
# uname -a
Darwin foobar 6.8 Darwin Kernel Version 6.8: Wed Sep 10 15:20:55 PDT
2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC Power Macintosh powerpc
------------------------------------------------------------------------
[2004-02-09 05:25:40] chregu@php.net
it crashes even with the default config:
phpinfo()
PHP Version => 4.3.5RC2
System => Darwin chregu.local 7.2.0 Darwin Kernel
Version 7.2.0: Thu Dec 11 16:20:23 PST 2003; root:xnu/
xnu-517.3.7.obj~1/RELEASE_PPC Power Macintosh
Build Date => Feb 9 2004 11:18:45
Configure Command => './configure' '--with-expat-dir=/
sw/' '--with-zlib'
------------------------------------------------------------------------
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/27183--
Edit this bug report at http://bugs.php.net/?id=27183&edit=1