[PPL-devel] static initialization interferes with OpenGL

Manoj Rajagopalan rmanoj at umich.edu
Mon Feb 25 02:19:29 CET 2008


Hi Roberto,

   I am using PPL v0.9.16 from one of the Fedora 8 repositories (fedora 
extras?). I am attaching a short C++ program to print out the OpenGL 
version. It requires GLUT.

   When I comment out the inclusion of ppl.hh the code runs. I built the 
executable with the command:

   g++ glversion.cpp -o glversion -lppl -lglut -lGLU -lGL

Thanks,
Manoj



Roberto Bagnara wrote:
> Manoj Rajagopalan wrote:
>>    This looks like a bug to me. I'm working on a Intel Core 2 Duo / 
>> Fedora 8 laptop.
>>
>>    In any application that uses OpenGL, simply including ppl.hh causes 
>> the program to hang. Running GDB and interrupting it shows an error in 
>> the OpenGL library (libGL.so). This is strange but I don't know why it 
>> is happening. I am not encountering any error in non-OpenGL programs 
>> using Parma.
>>
>>    My OpenGL driver is the NVIDIA driver from Livna.
>>
>>    Has anyone encountered something like this before?
> 
> Hi Manoj,
> 
> which version of the PPL are you using?  Can you provide us with
> a short testcase so that we try to reproduce the problem?
> All the best,
> 
>     Roberto
> 


More information about the PPL-devel mailing list