[Bug libc/620] signal handler during _int_malloc calling free hangs

jakub at redhat dot com sourceware-bugzilla@sources.redhat.com
Mon Dec 27 15:50:00 GMT 2004


------- 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.



More information about the Glibc-bugs mailing list