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

Re: gl debugging help requested



On Thu, 2007-06-28 at 16:58 -0500, Tom "spot" Callaway wrote:
> I'm trying to clean up vamos (a GL realistic automotive simulator), but
> while I can get it to build on my rawhide box, it segfaults upon
> execution.
> 
> When I run it through gdb, it says it is segfaulting on:
> 
> 0x00002aaaac0d2c0b in glGenTextures () from /usr/lib64/libGL.so.1
> (gdb) bt
> #0  0x00002aaaac0d2c0b in glGenTextures () from /usr/lib64/libGL.so.1

Try installing debuginfo for /usr/lib64/libGL.so.1 and rerunning.  This
is just a hunch but is the second argument to glGenTextures a valid
non-NULL pointer?  (maybe a wrong size assumption 32 vs 64-bit in the
Vamos_Media::Texture_Image implementation?)

See:
http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/gentextures.html

[snip]

Hope this helps
Dave


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