This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/620] signal handler during _int_malloc calling free hangs
- From: "jakub at redhat dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 27 Dec 2004 15:50:18 -0000
- Subject: [Bug libc/620] signal handler during _int_malloc calling free hangs
- References: <20041227154409.620.michael.pronath@gmx.de>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From jakub at redhat dot com 2004-12-27 15:50 -------
Your software is broken.
http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html#tag_02_04_03
All functions not in the above table are considered to be unsafe with respect to
signals. In the presence of
signals, all functions defined by this volume of IEEE Std 1003.1-2001 shall
behave as defined when called from or
interrupted by a signal-catching function, with a single exception: when a signal
interrupts an unsafe function
and the signal-catching function calls an unsafe function, the behavior is
undefined.
Note that neither malloc nor free are async-signal safe.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sources.redhat.com/bugzilla/show_bug.cgi?id=620
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.