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, 20 Dec 2025, Sad Clouds wrote:

I've never seen anyone using atexit() with shared libraries. The usual
mechanisms for these things are _init/_fini or
__attribute__((constructor))/__attribute__((destructor)).


Shared libs. should use __cxa_atexit() with a non-NULL `dso' parameter.

-RVP


Home | Main Index | Thread Index | Old Index