[Bug nptl/19192] __old_sem_wait never terminates

jurobystricky at hotmail dot com sourceware-bugzilla@sourceware.org
Mon Nov 2 17:34:00 GMT 2015


https://sourceware.org/bugzilla/show_bug.cgi?id=19192

--- Comment #2 from Juro Bystricky <jurobystricky at hotmail dot com> ---
(In reply to Florian Weimer from comment #1)
> Does the hang happen on every call to __old_sem_wait?

It is hard to say. In my case the semaphore is initialized via
"new_sem_init" but then the wait for semaphore is via "old_sem_wait".
In this case there will be always problems, as the two calls assume different
structure for sem_t. Prior to glibc 2.21 this would work as well,
as the two different structures agreed on interpretation of the field "value".

Normally, I would expect no problems with combination
old_sem_init/old_sem_wait.
I should clarify that I ran into this problem using Python 2.7/multiprocessing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list