ID:               27183
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-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] [EMAIL PROTECTED]

moriyoshi's patch works for me.

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

[2004-02-09 13:50:49] [EMAIL PROTECTED]

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

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

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

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

Reply via email to