ID: 34782 Updated by: [EMAIL PROTECTED] Reported By: linus at mccabe dot nu -Status: Open +Status: Feedback Bug Type: Scripting Engine problem Operating System: * PHP Version: 5CVS-2005-10-08 (snap) New Comment:
What configure line did you use? What MPM you use in Apache2? Previous Comments: ------------------------------------------------------------------------ [2005-10-08 14:50:52] linus at mccabe dot nu Here you'll find some valgrind outputs: http://x.mccabe.nu/public/traces/ I didnt build apache from source, so I used: valgrind --log-file=./trace1 /usr/sbin/apache -X I hope its good enough anyway? The result can be seen in trace1.log, trace2.log and trace3.log. trace1.log shows was on a request on a small php file that did not include any parsing error or use token_get_all. trace2.log shows the request of earlier mentioned 'test.php' requested once. trace3.log shows the request of 'test.php' requested twice and the second time it gave the wrong result. traceX_full.log is the same request all over again, but using: valgrind --leak-check=full --log-file=./trace1 /usr/sbin/apache -X Hope this helps and let me know if there's anything else i can do! /Linus ------------------------------------------------------------------------ [2005-10-08 13:37:45] [EMAIL PROTECTED] This is probably related to the strange reports about highlight_string doing weird things. If you can, please try to run this: sudo valgrind /path/to/apachesrc/src/httpd -X and request the same file twice. If valgrind gives any errors, please put the trace online and provide a link here. With this we see if it is indeed multiple requests causeing this problem. ------------------------------------------------------------------------ [2005-10-08 08:06:08] linus at mccabe dot nu I should also add that this is not reproducable with cli version of php (probably because it's always a new process?). Only with apache module have I seen this behaviour and once it get's into 'error mode' it usually stays that way. /Linus ------------------------------------------------------------------------ [2005-10-08 08:03:04] linus at mccabe dot nu I tried with php5-win32-latest: Apache/2.0.52 (Win32) PHP/5.1.0RC2-dev Same behaviour... ------------------------------------------------------------------------ [2005-10-07 21:56:48] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip ------------------------------------------------------------------------ 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/34782 -- Edit this bug report at http://bugs.php.net/?id=34782&edit=1
