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 Thu, Dec 18, 2025 at 07:27:51PM +0100, Henryk Paluch wrote:
> I'm sorry but it is not bug in Mesa - thanks to RVP now we know for sure
> that it is bug in handling atexit(3) call when invoked from shared libraries
> via dlopen(3)/dlclose(3) calls. As demonstrated by RVP's example.
You can not portably use atexit() for a function from a shared library
that you then dlclose() before exiting.
Use a destructor function instead.
Martin
Home |
Main Index |
Thread Index |
Old Index