#37349 [Asn->Fbk]: memory corruption within run-tests.php

From: Date: Tue, 01 Aug 2006 22:21:54 +0000
Subject: #37349 [Asn->Fbk]: memory corruption within run-tests.php
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-100197@lists.php.net to get a copy of this message
 ID:               37349
 Updated by:       tony2001@php.net
 Reported By:      nlopess@php.net
-Status:           Assigned
+Status:           Feedback
 Bug Type:         Streams related
 Operating System: n/a
 PHP Version:      6CVS-2006-05-07 (CVS)
 Assigned To:      pollita
 New Comment:

Nuno, please check if it's still reproducible with the latest CVS.
Thanks.


Previous Comments:
------------------------------------------------------------------------

[2006-06-10 23:31:25] nlopess@php.net

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.

------------------------------------------------------------------------

[2006-05-27 09:56:19] nlopess@php.net

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] nlopess@php.net

no, Tony, I'm not :)
I'll update ICU to check if that is the problem.

------------------------------------------------------------------------

[2006-05-27 09:33:51] tony2001@php.net

Nuno, you must be kidding:
-----
[24 May 9:53pm UTC] tony2001@php.net 
<..>
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] nlopess@php.net

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)

------------------------------------------------------------------------

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


Thread (14 messages)

« previous php.bugs (#100197) next »