bug-bison
[Top][All Lists]
Advanced

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

Re: memory leak


From: Olivier Dwelshauvers
Subject: Re: memory leak
Date: Fri, 09 Feb 2001 11:54:45 +0100

So it could be a Bison problem...
It seems strange that nobody has never experience the same problem.

If anybody have an idea on the source of the problem, any comments are welcome

-- Olivier Dwelshauvers



Hans Aberg wrote:

> At 18:37 +0100 2001/02/08, Olivier Dwelshauvers wrote:
> >I had to take a code written by so else for a compiler used in a "real
> >time" environment.
> >After each execution, I noticed a memory leak of about 4k. This is not
> >so much, but in my case it is a big problem because the compiler never
> >end thus the memory is never released.
> ...
> >Has anyone ever heard about this kind of problem? If no, some idea to
> >check the memory assignment?
>
> I have noticed what appears to a memory leak, because I use both Bison and
> the program it generates as plugins to an IDE (Integrated Development
> Environment), and if I compile a lot, eventually the IDE runs out of
> memory. I then have to restart the IDE.
>
> >We use "ParaSoft Insure" debuger and it claims that the memory leakS
> >come from "bison.simple", in the stack management :
> >        line 502 : *++yyvsp = yylval;
> >        line 561 : *++yyvsp = yyval;
> >        line 748 : return 0;
>
> -- I thought it was Bison itself that was leaking, but it interesting that
> you have found that the parser program that Bison generates is leaking.
>
>   Hans Aberg




reply via email to

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