Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 May 2025 15:45:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        threads@FreeBSD.org
Subject:   [Bug 286502] RTLD deadlocks during IFUNC resolution
Message-ID:  <bug-286502-13406-1EylY5JH6K@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-286502-13406@https.bugs.freebsd.org/bugzilla/>
References:  <bug-286502-13406@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286502

--- Comment #4 from Dapeng Gao <dapeng.gao@cl.cam.ac.uk> ---
(In reply to Konstantin Belousov from comment #3)

I'm a little confused.

If the first symbol in foo.so to be resolved by _rtld_bind were just a regular
STT_FUNC, filter loading would happen there and no deadlock would occur when
the ifunc is resolved in the future.

So, the resolver does not inherently cause the filter loading, and deadlock may
or may not happen depending on whether the resolver is the first resolved
symbol. This seems rather undesirable.

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-286502-13406-1EylY5JH6K>