[Bug 254995] pthread_cond_timedwait() returns EDEADLK

[email protected]
Newsgroups gmane.os.freebsd.devel.threading
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254995

--- Comment #4 from Konstantin Belousov <[email protected]> ---
(In reply to nkoch from comment #3)
Of course I cannot exclude memory corruption, but both condvar and mutex looks
consistent.  And mutex seems to be owned by the errored thread, so the most
likely
cause is that mutex was not unlocked properly before sleeping for condvar.

I read the code and do not see how could it happen.  The only possible case
which
might cause some disturbance there is stop.  Hm, could it be that some of your
exec's failed?  Do you ever exec from mt process, or only exec after fork?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-threads
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.