bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bison bugs (memory leaks) found by valgrind in GLR-related tests


From: Joel E. Denny
Subject: Re: Bison bugs (memory leaks) found by valgrind in GLR-related tests
Date: Thu, 8 Dec 2005 02:08:35 -0500 (EST)

On Wed, 7 Dec 2005, Paul Eggert wrote:

twlevo <address@hidden> writes:

noticed if valgrind is configured in
tests/Makefile.am with the option
'$(VALGRIND) --leak-check=full -q'
some error messages in GLR tests
127-135 appear.

maybe some improvement needed?

I reproduced this problem by running the following command:

cd tests
./testsuite -v -d PREBISON='valgrind -q'  PREPARSER='valgrind --leak-check=full 
-q' 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144

A lot of the cxx-type.at tests failed due to memory leaks (the tests
were: 127 128 129 130 131 132 133 134 135).  Perhaps Joel E. Denny or
Paul Hilfinger could look at those?  Some of them look like they might
be bugs in the GLR parser itself.

Unfortunately, I don't have a linux box set up, and I'm pretty sure valgrind requires the kernel. I've been meaning to set one up specifically for valgrind, but it won't be any time soon.

Joel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]