[Bug 271490] Deadlock between _rtld_atfork_pre and _thr_attr_init
[email protected] Sat, 20 May 2023 08:11:32 +0000
| Newsgroups | gmane.os.freebsd.devel.threading |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271490 --- Comment #10 from Konstantin Belousov <[email protected]> --- Please try the following. Does the patch help in your settings? I am esp. interested in the ruby test. diff --git a/lib/libthr/thread/thr_rtld.c b/lib/libthr/thread/thr_rtld.c index a9d1924967a7..c9c4871bab54 100644 --- a/lib/libthr/thread/thr_rtld.c +++ b/lib/libthr/thread/thr_rtld.c @@ -80,7 +80,7 @@ _thr_rtld_lock_create(void) busy_places |= (1 << locki); l = &lock_place[locki]; - l->lock.rw_flags = URWLOCK_PREFER_READER; +// l->lock.rw_flags = URWLOCK_PREFER_READER; return (l); } -- You are receiving this mail because: You are the assignee for the bug.