[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>
http://invisible-island.net
ftp://invisible-island.net
- conflict of include name, Lucas Gonze, 2002/10/19
- Re: conflict of include name, Thomas Dickey, 2002/10/19
- Re: conflict of include name, Lucas Gonze, 2002/10/19
- infinite loop in abort handler, Lucas Gonze, 2002/10/19
- core dump in torture test, Lucas Gonze, 2002/10/19
- Re: core dump in torture test, Thomas Dickey, 2002/10/19
- Re: core dump in torture test, Lucas Gonze, 2002/10/19
- Re: core dump in torture test,
Thomas Dickey <=
- Re: core dump in torture test, Lucas Gonze, 2002/10/19
- Re: core dump in torture test, Thomas Dickey, 2002/10/19
- Re: core dump in torture test, Lucas Gonze, 2002/10/19
- Re: core dump in torture test, Lucas Gonze, 2002/10/20
- CDK color map, Lucas Gonze, 2002/10/20
- \n in swindow has no effect, Lucas Gonze, 2002/10/20
- Re: \n in swindow has no effect, Thomas Dickey, 2002/10/20
- horizontal resize + wide swindow causes core dump, Lucas Gonze, 2002/10/21
- Re: horizontal resize + wide swindow causes core dump, Thomas Dickey, 2002/10/21
- Re: horizontal resize + wide swindow causes core dump, Lucas Gonze, 2002/10/21