NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/60215: ld.elf_so dlerror() state is not thread-local



The following reply was made to PR lib/60215; it has been noted by GNATS.

From: =?UTF-8?Q?J=C3=B6rg_Sonnenberger?= <joerg%bec.de@localhost>
To: gnats-bugs%netbsd.org@localhost, lib-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost, tsutsui%ceres.dti.ne.jp@localhost
Cc: 
Subject: Re: lib/60215: ld.elf_so dlerror() state is not thread-local
Date: Thu, 30 Apr 2026 15:09:03 +0200

 On 4/29/26 11:05 PM, Izumi Tsutsui via gnats wrote:
 >   Linux dlsym(3) man page claims dlsym() can return NULL without error:
 >    https://man7.org/linux/man-pages/man3/dlsym.3.html
 >   Maybe this is the reason why GLib/GObject-Introspection always
 >   checks dlerror().
 
 Please read the NOTES section of that page. I'd argue strongly that none 
 of those conditions exist in sane software and should all just be 
 handled as error without any loss.
 
 Joerg
 



Home | Main Index | Thread Index | Old Index