NetBSD-Users archive

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

Re: 11.0_BETA: glxinfo crashes with Segmentation fault



On Sat, Dec 20, 2025 at 03:40:03PM +0000, Sad Clouds wrote:
> I haven't looked at the implementation but I imagine on Linux when
> dlclose() is called, all of the atexit() handlers are scanned and
> checked to see if they point to the address space of the shared object
> that is being closed. If any of them match, they are executed and then
> removed from the list, so they are not called again on exit().

Yeah, some hack like that, but I guess only removing them from the list.
It is unclear if calling the function on dlclose() would do the right
thing (and it would be a violation of the standard).

Martin



Home | Main Index | Thread Index | Old Index