Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

Journeyman III

glGetTexImage locks

on Ubuntu 10.04 x64 with

Hi again,


I return with another strange bug, which from time to time blocks the thread doing the rendering in the function glGetTexImage.


It is difficult to reproduce, it happens quite often but at random intervals after the aplication starts. The aplication can be deblocked if the xserver updates the screen for instance move a window or switch to a different window. It can also deblock if in an ssh terminal you export the display and run glxinfo (although some times the glxinfo blocks also by doing this).


I can not include a small test code, I wasn't able to reproduce it in a small test app.


The system is: Intel i5-2400 and ATI HD 5870 or 6970 (the video card seems not to make a difference) on Ubuntu 10.04 x64 with




PS: Although it will not help too much, here is a backtrace from my application:


Thread 22 (Thread 0x7f7c0ffef700 (LWP 12041)):

#0  0x00007f7c40128197 in ioctl () at ../sysdeps/unix/syscall-template.S:82

#1  0x00007f7c07176acb in ?? () from /usr/lib64/dri/

#2  0x00007f7c07176fb3 in ?? () from /usr/lib64/dri/

#3  0x00007f7c071770a8 in ?? () from /usr/lib64/dri/

#4  0x00007f7c071682e5 in ?? () from /usr/lib64/dri/

#5  0x00007f7c06827360 in ?? () from /usr/lib64/dri/

#6  0x00007f7c067a6b83 in ?? () from /usr/lib64/dri/

#7  0x00007f7c067a6ca4 in ?? () from /usr/lib64/dri/

#8  0x00007f7c067af526 in ?? () from /usr/lib64/dri/

#9  0x00007f7c067c7bae in ?? () from /usr/lib64/dri/

#10 0x00007f7c06487200 in ?? () from /usr/lib64/dri/

#11 0x00007f7c0629f69a in ?? () from /usr/lib64/dri/

#12 0x00007f7c05adea04 in ?? () from /usr/lib64/dri/

#13 0x00007f7c05ae02fc in ?? () from /usr/lib64/dri/

#14 0x00007f7c34759d63 in glsl_texture_write_image (im=0x158f810, tex=0x145dc30, level=0, verbose=0 '\000') at glsl/glsl.cpp:198

0 Replies