Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 1997 21:33:53 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, phk@critter.freebsd.dk
Cc:        atrens@nortel.ca, freebsd-bugs@FreeBSD.ORG, gram@cdsec.com, hackers@FreeBSD.ORG, julian@whistle.com, mike@smith.net.au
Subject:   Re: Bug in malloc/free
Message-ID:  <199709191133.VAA14034@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>>Flushing in abort() should be safe because abort() is not among the
>>functions that are safe to call from a signal handler :-).
>
>Bummer.
>
>So what should I do in malloc when I realize that continuing doesn't
>make sense ?
>
>	kill (diesig, getpid()); ?
>	for which value of diesig ?

Calling abort() from malloc() should be safe because malloc() is not
among the functions that are safe to call from a signal handler :-).

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709191133.VAA14034>