bug-bison
[Top][All Lists]
Advanced

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

Bison 1.35 memory leaks (valgrind report)


From: Tim Van Holder
Subject: Bison 1.35 memory leaks (valgrind report)
Date: 31 Jul 2002 08:19:16 +0200

Was trying out valgrind yesterday, and figured I'd run bison 1.35
through it as well (using a fairly large grammar).  The output is
attached.

There's a few invalid memory accesses that are a potential worry,
and several memory leaks (resulting in 4.6MB of 'lost memory' out
of a total allocation of 10MB).  The 'jump or move based on an
uninitialised value is probably harmless (although there's several
thousand of them due to the large grammar :-) ).
Granted, bison usually ends quickly and the memory will get
cleaned up at exit, but it still seems Wrong(tm).

Attachment: valgrind.log
Description: Text document


reply via email to

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