ID: 37349 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Assigned Bug Type: Streams related Operating System: n/a PHP Version: 6CVS-2006-05-07 (CVS) Assigned To: pollita New Comment:
I've updated the valgrind report, now with ICU 3.5-cvs (contains a fix to a related bug I've reported). Now the report is smaller. IMHO, this is surely a streams problem. as fair as I can see the code isn't calculaing the buffer length correctly when passing that value to u_memchr(). Sara, can you please check this problem? You are the best (if not the only) person who can fix this. Previous Comments: ------------------------------------------------------------------------ [2006-05-27 09:56:19] [EMAIL PROTECTED] I've upgraded ICU to version 3.4.1 and I still get the same problems: http://mega.ist.utl.pt/~ncpl/php6-tidy-valgrind.txt ------------------------------------------------------------------------ [2006-05-27 09:40:35] [EMAIL PROTECTED] no, Tony, I'm not :) I'll update ICU to check if that is the problem. ------------------------------------------------------------------------ [2006-05-27 09:33:51] [EMAIL PROTECTED] Nuno, you must be kidding: ----- [24 May 9:53pm UTC] [EMAIL PROTECTED] <..> I can't reproduce it with the latest CVS. ----- I said I don't see any valgrind warnings with any of tidy tests, what's the point to refer to your first post? What exactly do you get? ------------------------------------------------------------------------ [2006-05-26 18:03:44] [EMAIL PROTECTED] Tony: its in my first comment :) You just need to run valgrind on run-tests.php while testing the tidy/tests/020.phpt file. This produces a nice error message: 'BORK TEST', along with a huge valgrind report. (also, the problem might be in ICU. I haven't look further though) ------------------------------------------------------------------------ [2006-05-26 06:38:27] [EMAIL PROTECTED] Okay, but how to reproduce it? ------------------------------------------------------------------------ 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/37349 -- Edit this bug report at http://bugs.php.net/?id=37349&edit=1