ID: 48668
Updated by: srinatar@php.net
Reported By: dmda at yandex dot ru
Status: Critical
Bug Type: Reproducible crash
Operating System: Solaris
PHP Version: 5.3.0RC4
Assigned To: dsp
New Comment:
by any chance, the submitter built this php5.3 on one machine and ran
it on another machine ?
currently, php 5.3 build process includes -xtarget=native within the
configure flags when used with sun studio compiler. this would mean that
this compiled program will not work on different class of sparc machines
(unless recompiled for that platform)
for e.g, if some one currently built php 5.3 on ultra-sparc III+/IV+
based system (like v410, v220, v880 etc) then if they try to run the
same on older hardware with chips like sparc II+ hardware, then they
might run into crash.
Previous Comments:
------------------------------------------------------------------------
[2009-07-28 14:25:31] dsp@php.net
PHP is broken on Sparc (and possible every other processor that
requires memalignment) at the moment
------------------------------------------------------------------------
[2009-06-26 15:42:15] dsp@php.net
It looks like this is a memalign issue. PHP 5.3.0 is now build with
flags to avoid the crash. I assign the bug to me to provide a proper
fix
for the issue for 5.3.1
------------------------------------------------------------------------
[2009-06-24 12:21:10] johannes@php.net
When using --enable-dbug the code works, without --enable-debug the
code fails, maybe that's the reason why I didn't see this before.
uname -a
SunOS techra46 5.8 Generic_117350-54 sun4u sparc SUNW,Sun-Fire-V210
The issue seems to be independent from the compiler but in some way
system dependent, another similar box worked for me.
------------------------------------------------------------------------
[2009-06-24 06:49:42] dmda at yandex dot ru
to me it looks like bogus pointer appeared in the heap's cache first,
then it was returned by the allocator, called by ALLOC_ZVAL(). I see no
other reasons for the tmp pointer to have this strange value.
------------------------------------------------------------------------
[2009-06-24 00:32:54] scottmac@php.net
Don't think its endian specific, PPC chip works.
Will test with another sparc box shortly.
------------------------------------------------------------------------
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/48668
--
Edit this bug report at http://bugs.php.net/?id=48668&edit=1