bug-ncurses
[Top][All Lists]
Advanced

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

Re: form: form_driver (form, REQ_PREV_PAGE) leaks memory


From: Thomas E. Dickey
Subject: Re: form: form_driver (form, REQ_PREV_PAGE) leaks memory
Date: Wed, 28 Mar 2001 13:22:29 -0500 (EST)

On Wed, 28 Mar 2001, Stefan Vogtner wrote:

> Thanks for the instant fix.
> 
> There is another "problem" with ncurses 5.2:
> If I interrupt my program by Ctrl-C the screen is
> not fully reset: Sometimes the program's background color is
> kept after program termination in some cases (~10 %). 
> When linked against ncurses 4.2 (SuSE Linux 6.3) the screen 
> is always fully reset.

I don't know of anything _in_ ncurses which does this (if you're compiling
against the same underlying libraries, offhand I would look into the
change between using select() and poll() - cannot recall anything else
that might be related to the use of system interfaces).

> 
> Regards
> 
> Stefan
> 
> BTW: What about xterm's color capabilities? The standard
>      terminfo of 5.2 has no colors for xterm.

That's discussed in the INSTALL file...

> Jürgen Pfeifer wrote:
> > 
> > > Find enclosed a test case for the memory leak (C++) which
> > > will build on Linux/Solaris with g++ 2.95.2. The leak is
> > > visible with both ncurses 4.2 (of SuSE Linux 6.3) and
> > > the recent 5.2.
> > >
> > > I have spent some time on isolating the leak but I gave
> > > up. Do you have any clue?
> > >
> > Found the bug and will provide a patch to Thomas. Should
> > be in the build for next weekend.
> > 
> > Cheers
> > Jürgen
> > 
> > _______________________________________________
> > Bug-ncurses mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/bug-ncurses
> 
> 

-- 
T.E.Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com




reply via email to

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