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

Answer ID 146
Published 11/10/2004 09:22 AM
Updated 04/15/2010 09:52 AM

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.

Was this answer helpful?
Your rating has been submitted, please tell us how we can make this answer more useful.

LIVE CHAT

Chat online with one of our support agents

CHAT NOW

ASK US A QUESTION

Contact Support for assistance

CONTACT US