[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 10:15 +0100, Brice Goglin wrote:

> Can you get a better backtrace with libgl1-mesa-glx-dbg installed?

(gdb) r
Starting program: /home/pabs/foo 
[Thread debugging using libthread_db enabled]
[New Thread 0x2b8f57a9ab80 (LWP 3428)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2b8f57a9ab80 (LWP 3428)]
glGetString () at ../../../src/mesa/x86-64/glapi_x86-64.S:9876
9876    ../../../src/mesa/x86-64/glapi_x86-64.S: No such file or
directory.
        in ../../../src/mesa/x86-64/glapi_x86-64.S
Current language:  auto; currently asm
(gdb) bt full
#0  glGetString () at ../../../src/mesa/x86-64/glapi_x86-64.S:9876
No locals.
#1  0x0000000000400611 in main (argc=1, argv=0x7fff548dc088) at foo.c:7
        extensions = (const GLubyte *) 0x0
(gdb) quit
The program is running.  Exit anyway? (y or n) y

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: