>
> On Wed, 2009-06-17 at 13:49 +0400, jvlad wrote:
>> solaris2.8/sparc 32bit (it's 32bit, not 64bit as I mentioned before):
>
> yes, I used 32bit on the niagara box, too.
>
>> $ uname -a
>> SunOS qu1 5.8 Generic_108528-11 sun4u sparc SUNW,UltraSPARC-IIi-cEngine
>
> I used a similar machine from our lab now and did some tests and
> couldn't reproduce.
> The problems you're seeing are both times when the PHP interpreter is
> run, so can you do a
>    $ sapi/cli/php -m
> or similar just to see if the binary itself works, my assumption would
> be that the loader is loading the wrong libs or similar, maybe also
> check whether
>    $ ldd sapi/cli/php
> makes sense.
>
> johannes
>
>
$ gdb ./php/php-5.3.0RC3/sapi/cli/php --core=./core
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8"...
Reading symbols from /usr/lib/librt.so.1...done.
Loaded symbols for /usr/lib/librt.so.1
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libresolv.so.2...done.
Loaded symbols for /usr/lib/libresolv.so.2
Reading symbols from /usr/lib/libm.so.1...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libpthread.so.1...done.
Loaded symbols for /usr/lib/libpthread.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libaio.so.1...done.
Loaded symbols for /usr/lib/libaio.so.1
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/platform/sun4u/lib/libc_psr.so.1...done.
Loaded symbols for 
/usr/platform/SUNW,UltraSPARC-IIi-cEngine/lib/libc_psr.so.1
Reading symbols from /usr/lib/libthread.so.1...done.
Loaded symbols for /usr/lib/libthread.so.1
Reading symbols from /usr/lib/locale/en_US/en_US.so.2...done.
Loaded symbols for /usr/lib/locale/en_US/en_US.so.2
Reading symbols from /usr/lib/ld.so.1...done.
Loaded symbols for /usr/lib/ld.so.1
Core was generated by 
`/export/home/jvlad/php/php-5.3.0RC3/sapi/cli/php -n -dshort_open_tag=0 -dsaf'.
Program terminated with signal 10, Bus error.
[New process 67262    ]
[New process 132798    ]
[New process 198334    ]
#0  0x0030c3f8 in ZEND_ASSIGN_SPEC_CV_TMP_HANDLER (execute_data=0x8221e0)
    at /export/home/jvlad/php/php-5.3.0RC3/Zend/zend_execute.c:725
725                                     **variable_ptr_ptr = *value;
(gdb) bt
#0  0x0030c3f8 in ZEND_ASSIGN_SPEC_CV_TMP_HANDLER (execute_data=0x8221e0)
    at /export/home/jvlad/php/php-5.3.0RC3/Zend/zend_execute.c:725
#1  0x002b2e14 in execute (op_array=0x6d9fd0)
    at /export/home/jvlad/php/php-5.3.0RC3/Zend/zend_vm_execute.h:104
#2  0x00292854 in zend_execute_scripts (type=8, retval=0x0, file_count=3)
    at /export/home/jvlad/php/php-5.3.0RC3/Zend/zend.c:1188
#3  0x0023ff6c in php_execute_script (primary_file=0xffbefa88)
    at /export/home/jvlad/php/php-5.3.0RC3/main/main.c:2196
#4  0x0031e348 in main (argc=13, argv=0xffbefb44)
    at /export/home/jvlad/php/php-5.3.0RC3/sapi/cli/php_cli.c:1188
(gdb)


Let me know if you need any further info. 



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to