ID: 40658
User updated by: errol at issi dot co dot za
Reported By: errol at issi dot co dot za
-Status: Feedback
+Status: Open
Bug Type: CGI related
Operating System: Linux 2.6.20 on ARM
PHP Version: 5.2.1
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2007-02-27 13:29:50] [EMAIL PROTECTED]
Ok, thanks.
------------------------------------------------------------------------
[2007-02-27 13:27:29] errol at issi dot co dot za
I am busy trying a cross-compile of gdb and will see if I can get it to
run and produce the backtrace for you.
------------------------------------------------------------------------
[2007-02-27 13:20:04] [EMAIL PROTECTED]
Well, I don't have an ARM system either.
So I really doubt we can fix something we can't reproduce and there is
no backtrace.
------------------------------------------------------------------------
[2007-02-27 12:45:00] errol at issi dot co dot za
I cannot generate a backtrace as I do not have gdb on the embedded ARM
system. I have also been unable to reproduce the problem on a system
where I have gdb.
I have been able to islolate the problem to this line of code.
while (list($key,$value) = each($result)){
I have checked and $result is a valid array of values.
------------------------------------------------------------------------
[2007-02-27 12:31:20] [EMAIL PROTECTED]
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
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