[Top][All Lists]

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

Re: core dump in torture test

From: Thomas Dickey
Subject: Re: core dump in torture test
Date: Sat, 19 Oct 2002 17:04:24 -0400
User-agent: Mutt/1.2.5i

On Sat, Oct 19, 2002 at 04:50:28PM -0400, Lucas Gonze wrote:
> > Reading quickly, it seems your sigwinch handler is calling code that
> > can break things (malloc and stdio stuff).  There's not much you can
> > do in a signal handler if you're planning to come back to the interrupted
> > program, other than set variables to tell that an interrupt occurred.
> In this case it depends on whether the crash is related to reentrant code
> or to repeated creation and deletion of windows.  If it's about reentrant
> code, then it's not as much of a bug.  If it's about lots of creation and
> deletion, it's a bug.
> But also, sigwinch is not your ordinary signal.  It has a special status
> in windowing programs.  

it'll still dump core when you interrupt a program (independent of ncurses).

Thomas E. Dickey <address@hidden>

reply via email to

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