Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Web Design and Hosting
Bogus PHP bug on Mac OS X...
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mark" data-source="post: 10481"><p>Hi,</p><p></p><p>There is so much to post I may miss it all...</p><p></p><p>Beautiful email to the QA people. I hope they listen this time.</p><p></p><p>There was another anonymous comment that did not stick added this morning to bug.php.net. It went like this...</p><p></p><p> ID: 25394</p><p> Comment by: eugene at fsck dot net</p><p> Reported By: mark dot meredith at shaw dot ca</p><p> Status: Bogus</p><p> Bug Type: Reproducible crash</p><p> Operating System: MAC OS 10.2.6</p><p> PHP Version: 4CVS-2003-09-06 (stable)</p><p> New Comment:</p><p></p><p>I get the same problems with php-4.3.3 built with "--</p><p></p><p>enable-memory-limit" as recommended, as well as</p><p></p><p>"memory_limit = -1" in php.ini.</p><p></p><p></p><p></p><p>I ran a simple PHP script that contains 8192 identical</p><p></p><p>lines that perform a simple variable assignment:</p><p></p><p></p><p></p><p>$x = 1;</p><p></p><p></p><p></p><p></p><p></p><p>My gdb session:</p><p></p><p>---------------</p><p></p><p>(gdb) run ~/crash.php</p><p></p><p>Starting program: /Users/eugene/src/php/php-4.3.3/sapi/cli/</p><p></p><p>php ~/crash.php</p><p></p><p>Reading symbols for shared libraries . done</p><p></p><p></p><p></p><p>Program received signal EXC_BAD_ACCESS, Could not access</p><p></p><p>memory.</p><p></p><p>execute (op_array=0x134de8) at /Users/eugene/src/php/php-</p><p></p><p>4.3.3/Zend/zend_execute.c:1027</p><p></p><p>1027 EX(Ts) = (temp_variable *)</p><p></p><p>do_alloca(sizeof(temp_variable)*op_array->T);</p><p></p><p>(gdb) bt</p><p></p><p>#0 execute (op_array=0x134de8) at /Users/eugene/src/php/</p><p></p><p>php-4.3.3/Zend/zend_execute.c:1027</p><p></p><p>#1 0x000c704c in zend_execute_scripts (type=4231488,</p><p></p><p>retval=0x0, file_count=3) at /Users/eugene/src/php/php-</p><p></p><p>4.3.3/Zend/zend.c:885</p><p></p><p>#2 0x0009c4ec in php_execute_script (primary_file=0x0) at</p><p></p><p>/Users/eugene/src/php/php-4.3.3/main/main.c:1723</p><p></p><p>#3 0x000d9e34 in main (argc=2, argv=0xbffffc94) at /Users/</p><p></p><p>eugene/src/php/php-4.3.3/sapi/cli/php_cli.c:818</p><p></p><p></p><p></p><p></p><p></p><p>Mac OS X 10.2.8, build 6R65.</p><p></p><p></p><p></p><p>$ uname -v</p><p></p><p>Darwin Kernel Version 6.8: Wed Sep 10 15:20:55 PDT 2003;</p><p></p><p>root:xnu/xnu-344.49.obj~2/RELEASE_PPC</p><p></p><p>$ gcc -v</p><p></p><p>Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs</p><p></p><p>Thread model: posix</p><p></p><p>gcc version 3.3 20030304 (Apple Computer, Inc. build 1493)</p><p></p><p>... I assume this was posted by a guy named Eugene. Which is a different person entirely from a thread I found at entropy.ch tp://www.entropy.ch/phpbb2/viewtopic.php?t=523 (outdated link removed) who's name is Randy. I am hoping that Randy will post here from now on as, if you read the thread, you will find there will be no adequate help given at entropy.ch for the problem.</p><p></p><p>Because now another comment has been deleted I am beginning to think it must be automatic for BOGUS bugs. Problem is, they will change it back to bogus very quickly if I edit the bug status back to OPEN.</p><p></p><p>Mark.</p></blockquote><p></p>
[QUOTE="mark, post: 10481"] Hi, There is so much to post I may miss it all... Beautiful email to the QA people. I hope they listen this time. There was another anonymous comment that did not stick added this morning to bug.php.net. It went like this... ID: 25394 Comment by: eugene at fsck dot net Reported By: mark dot meredith at shaw dot ca Status: Bogus Bug Type: Reproducible crash Operating System: MAC OS 10.2.6 PHP Version: 4CVS-2003-09-06 (stable) New Comment: I get the same problems with php-4.3.3 built with "-- enable-memory-limit" as recommended, as well as "memory_limit = -1" in php.ini. I ran a simple PHP script that contains 8192 identical lines that perform a simple variable assignment: $x = 1; My gdb session: --------------- (gdb) run ~/crash.php Starting program: /Users/eugene/src/php/php-4.3.3/sapi/cli/ php ~/crash.php Reading symbols for shared libraries . done Program received signal EXC_BAD_ACCESS, Could not access memory. execute (op_array=0x134de8) at /Users/eugene/src/php/php- 4.3.3/Zend/zend_execute.c:1027 1027 EX(Ts) = (temp_variable *) do_alloca(sizeof(temp_variable)*op_array->T); (gdb) bt #0 execute (op_array=0x134de8) at /Users/eugene/src/php/ php-4.3.3/Zend/zend_execute.c:1027 #1 0x000c704c in zend_execute_scripts (type=4231488, retval=0x0, file_count=3) at /Users/eugene/src/php/php- 4.3.3/Zend/zend.c:885 #2 0x0009c4ec in php_execute_script (primary_file=0x0) at /Users/eugene/src/php/php-4.3.3/main/main.c:1723 #3 0x000d9e34 in main (argc=2, argv=0xbffffc94) at /Users/ eugene/src/php/php-4.3.3/sapi/cli/php_cli.c:818 Mac OS X 10.2.8, build 6R65. $ uname -v Darwin Kernel Version 6.8: Wed Sep 10 15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC $ gcc -v Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1493) ... I assume this was posted by a guy named Eugene. Which is a different person entirely from a thread I found at entropy.ch tp://www.entropy.ch/phpbb2/viewtopic.php?t=523 (outdated link removed) who's name is Randy. I am hoping that Randy will post here from now on as, if you read the thread, you will find there will be no adequate help given at entropy.ch for the problem. Because now another comment has been deleted I am beginning to think it must be automatic for BOGUS bugs. Problem is, they will change it back to bogus very quickly if I edit the bug status back to OPEN. Mark. [/QUOTE]
Verification
Post reply
Forums
Digital Lifestyle
Web Design and Hosting
Bogus PHP bug on Mac OS X...
Top