[Bug 255698] dlerror() returns non-NULL after a successful call to dlopen()/dlsym()
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat May 8 07:14:30 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255698
--- Comment #1 from Eugene M. Kim <astralblue at gmail.com> ---
Actual result (taken on a -CURRENT system, built from main branch commit
34abb05be77a32a2b2673fb4b85eaa53a3d1446e, note dlerror() returns non-NULL on
the first dlerror() call, even after a successful dlopen() and also before the
first dlopen(), also note the dlerror() message after a successful dlopen() is
from the previous failure):
dlerror()=0x800222770 ()
dlerror()=0x0
dlopen(/foobar.so, RTLD_NOW)=0x0
dlerror()=0x800222770 (Cannot open "/foobar.so")
dlerror()=0x0
dlopen(/usr/lib/libm.so, RTLD_NOW)=0x800226808
dlerror()=0x800222770 (Cannot open "/foobar.so")
dlerror()=0x0
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list