Linux - OpenGL applications crash and print out a warning like: WARNING: Your system is running with a buddy dynamic...

Updated 01/20/2022 12:52 PM

OpenGL applications crash and print out the following warning:

 

WARNING: Your system is running with a buggy dynamic loader.

This may cause crashes in certain applications.  If you

experience crashes you can try setting the environment

variable __GL_SINGLE_THREADED to 1.  For more information

please consult the FREQUENTLY ASKED QUESTIONS section in

the file /usr/share/doc/NVIDIA_GLX-1.0/README.


The dynamic loader on your system has a bug which will cause applications linked with pthreads, and that dlopen() libGL multiple times, to crash. This bug is present in older versions of the dynamic loader. Distributions that shipped with this loader include but are not limited to Red Hat Linux 6.2 and Mandrake Linux 7.1. Version 2.2 and later of the dynamic loader are known to work properly. If the crashing application is single threaded then setting the environment variable __GL_SINGLE_THREADED to 1 will prevent the crash.

In the bash shell you would enter:

export __GL_SINGLE_THREADED=1

and in csh and derivatives use:

setenv __GL_SINGLE_THREADED 1

Previous releases of the NVIDIA Accelerated Linux Driver Set attempted to work around this problem, however the workaround caused problems with other applications and was removed after version 1.0-1541.

Is this answer helpful?

Live Chat

Chat online with one of our support agents

CHAT NOW

ASK US A QUESTION

Contact Support for assistance

Ask a Question