Description of problem:
when using real time thread (with SCHED_FIFO policy) and malloc, the machine can
get stuck in malloc when another thread is doing some fork.
After checking the source there is a busy loop in get_arena2 (in malloc/arena.c)
which can occurs in fork situations.
This problem have been corrected in RHEL3.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. log in as root
2. run the attached program malloc_bug
the program aborts because it detects a hang situation
the program shall run flawlessly.
Created attachment 141584 [details]
program to show the problem
Created attachment 141585 [details]
patch to correct the problem
this patch is a backport of the patch that was done by U.Drepper on
glibc-2.3.2-95.31 to correct the problem on RHEL3.
Fedora Legacy project has ended. These will not be fixed by Fedora Legacy.