[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#471019: libgl1-mesa-glx: segfaults in glGetString(GL_EXTENSIONS) on amd64 when there is no GL context



On Sat, 2008-03-15 at 17:18 +0900, Paul Wise wrote:
> Package: libgl1-mesa-glx
> Version: 7.0.3~rc2-1
> Severity: normal
> 
> On amd64, the attached C program segfaults in glGetString()
> in /usr/lib/libGL.so.1, but on i386 it simply prints "(nil)
> 0.000000". 

According to the GL spec, 'Issuing GL commands when the program is not
connected to a context results in undefined behavior.'


> This causes #439973 - boson segfaults before startup on amd64.

If boson also calls glGetString before connecting to a context, that is
a boson bug.


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer


Reply to: