This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]