ID: 40658
Updated by: [EMAIL PROTECTED]
Reported By: errol at issi dot co dot za
-Status: Open
+Status: Feedback
Bug Type: CGI related
Operating System: Linux 2.6.20 on ARM
PHP Version: 5.2.1
New Comment:
>Here is the backtrace
Again, we would like to know where exactly it happens, not just the
function name.
Try to compile it with CFAGS="-O0 -g" and regenerate the backtrace.
Btw, is there valgrind for Linux on ARM? It would help very much.
Previous Comments:
------------------------------------------------------------------------
[2007-02-27 16:23:26] errol at issi dot co dot za
Here is the backtrace from the latest build I downloaded from snaps.
(gdb) bt
#0 ZEND_ASSIGN_SPEC_CV_VAR_HANDLER (execute_data=0xbeec5730)
at
/home/issarm/Projects/arm-2007-02-18/src/php5.2-200702271530/Zend/zend_execute.c:69
#1 0x002126c8 in execute (op_array=0x40334310)
at
/home/issarm/Projects/arm-2007-02-18/src/php5.2-200702271530/Zend/zend_vm_execute.h:92
#2 0x001f5878 in zend_execute_scripts (type=8, retval=<value optimized
out>,
file_count=0)
at
/home/issarm/Projects/arm-2007-02-18/src/php5.2-200702271530/Zend/zend.c:1134
#3 0x001b8ba0 in php_execute_script (primary_file=Cannot access memory
at address 0xfffffe03
)
at
/home/issarm/Projects/arm-2007-02-18/src/php5.2-200702271530/main/main.c:1787
#4 0x002713f8 in main (argc=0, argv=0x643030)
at
/home/issarm/Projects/arm-2007-02-18/src/php5.2-200702271530/sapi/cgi/cgi_main.c:1746
------------------------------------------------------------------------
[2007-02-27 15:59:20] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
------------------------------------------------------------------------
[2007-02-27 15:57:46] errol at issi dot co dot za
I have run after compiling with --enable-debug and e-mailed you the
results.
I hope this helps.
------------------------------------------------------------------------
[2007-02-27 14:54:10] [EMAIL PROTECTED]
The backtrace isn't really useful, the most important information is
missing - on which line the crash happens.
Make sure PHP is compiled with --enable-debug.
------------------------------------------------------------------------
[2007-02-27 14:48:30] errol at issi dot co dot za
I managed to get gdb to cross-compile and run on the ARM. Here is the
backtrace
#0 ZEND_ASSIGN_SPEC_CV_VAR_HANDLER (execute_data=0xbef2f730)
at
/home/issarm/Projects/arm-2007-02-18/src/php-5.2.1/Zend/zend_execute.c:183
#1 0x0020e6fc in execute (op_array=0x40334308)
at
/home/issarm/Projects/arm-2007-02-18/src/php-5.2.1/Zend/zend_vm_execute.h:92
#2 0x001f18b8 in zend_execute_scripts (type=8, retval=<value optimized
out>,
file_count=1701011824)
at
/home/issarm/Projects/arm-2007-02-18/src/php-5.2.1/Zend/zend.c:1135
#3 0x001b50e0 in php_execute_script (primary_file=Cannot access memory
at address 0xfffffe03
)
at
/home/issarm/Projects/arm-2007-02-18/src/php-5.2.1/main/main.c:1784
#4 0x0026d480 in main (argc=0, argv=0x643030)
at
/home/issarm/Projects/arm-2007-02-18/src/php-5.2.1/sapi/cgi/cgi_main.c:1738
------------------------------------------------------------------------
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/40658
--
Edit this bug report at http://bugs.php.net/?id=40658&edit=1