[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: derwin problems
From: |
Roger Gammans |
Subject: |
Re: derwin problems |
Date: |
Sat, 11 May 2002 17:44:11 +0100 |
User-agent: |
Mutt/1.2.5i |
On Fri, May 10, 2002 at 10:04:19PM -0700, Scott Beck wrote:
> > > > I've created a fairly simple program that does this. If you would
> > > > like I can attach it (I wasn't sure if you can have attachments in
> > > > this list).
>
> Well here it is. I really think it is something I am doing in my code though.
> I just find it hard to believe that this simple resize is broken in ncurses.
>
> Compile with:
> gcc -g -o curses curses.c -lncurses -DUSE_DER=1
>
> to see it segv, without -DUSE_DER it works fine
> (atleast on my system it does).
Ok, I Have had a quick look at this, at it segv here inside
wsize with and without libefence.
However this is a programming bug in it, in that it is really
not safe to call wresize from inside a signal handler.
That's not whats causing the segv, I'm seeing here as I applied
this patch (attached) to fix it - but it hasn't made any difference
to the programs behaviour.
(I've been testing here with both 5.0 and 5.2.20020112a).
TTFN.
--
Roger.
Master of Peng Shui. (Ancient oriental art of Penguin Arranging)
fixupsig.patch
Description: Text document
- derwin problems, Scott Beck, 2002/05/04
- Re: derwin problems, Thomas Dickey, 2002/05/04
- Re: derwin problems, Scott Beck, 2002/05/05
- Re: derwin problems, Gernot Hillier, 2002/05/05
- Re: derwin problems, Thomas Dickey, 2002/05/05
- Re: derwin problems, Scott Beck, 2002/05/11
- Re: derwin problems, Thomas Dickey, 2002/05/11
- Re: derwin problems,
Roger Gammans <=
- Re: derwin problems, Roger Gammans, 2002/05/11
- Re: derwin problems, Thomas Dickey, 2002/05/11
- Re: derwin problems, Roger Gammans, 2002/05/13
- Re: derwin problems, Scott Beck, 2002/05/12