[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:39:41 -0400 |
User-agent: |
Mutt/1.3.27i |
On Sat, Oct 19, 2002 at 05:15:11PM -0400, Lucas Gonze wrote:
> > it'll still dump core when you interrupt a program (independent of ncurses).
>
> ? I don't get your meaning.
If malloc is interrupted, and the signal handler uses malloc, there's no
guarantee that malloc will function properly. The same applies to stdio
and other things that operate on data in the user space. Sometimes it
works, sometimes it doesn't. (I'd like it to work all the time - back
15 years ago when I first was interested in sigwinch, it seemed to work
just fine using malloc in a signal handler, but that was BSD 4.3).
--
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, 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, 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
- Re: horizontal resize + wide swindow causes core dump, Thomas E. Dickey, 2002/10/22
- Re: horizontal resize + wide swindow causes core dump, Lucas Gonze, 2002/10/22