Weird crash in in _nv000029gl () from /usr/lib/libGL.so.1

From: Colossus (colossus73NOSPAM_at_gmail.com)
Date: 10/19/04


Date: Tue, 19 Oct 2004 12:36:07 +0200

Hi everyone,

I'm developing a 3d opengl scene editor for Linux. I got a segmentation
fault when calling glBindTexture, it follows the gdb's backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 6532)]
0x40a2372d in memset () from /lib/libc.so.6
Current language: auto; currently c
(gdb) bt
#0 0x40a2372d in memset () from /lib/libc.so.6
#1 0x40a1d70b in calloc () from /lib/libc.so.6
#2 0x407a5bee in _nv000029gl () from /usr/lib/libGL.so.1
#3 0x00000010 in ?? ()
#4 0x0000005c in ?? ()
#5 0x40faeb1e in _nv000819gl () from /usr/lib/libGLcore.so.1
#6 0x00000010 in ?? ()
#7 0x0000005c in ?? ()
#8 0x00000000 in ?? ()
#9 0x41847040 in ?? ()
#10 0x00000004 in ?? ()
#11 0x00000003 in ?? ()
#12 0x0831d478 in ?? ()
#13 0x08335060 in ?? ()
#14 0x00847040 in ?? ()
#15 0x40de7e92 in _nv000807gl () from /usr/lib/libGLcore.so.1
#16 0x41847040 in ?? ()
#17 0x00000003 in ?? ()
#18 0x00000001 in ?? ()
#19 0x0831d3a0 in ?? ()
#20 0x00000001 in ?? ()
#21 0x41847040 in ?? ()
#22 0xbfffed98 in ?? ()
#23 0x4185331c in ?? ()
#24 0x00000000 in ?? ()
#25 0x01847040 in ?? ()
#26 0x40de806f in _nv000807gl () from /usr/lib/libGLcore.so.1
#27 0x41847040 in ?? ()
#28 0x00000000 in ?? ()
#29 0x00000001 in ?? ()
#30 0x00000003 in ?? ()
#31 0x00000001 in ?? ()
#32 0x080dd708 in ?? ()
#33 0x080df0c8 in ?? ()
#34 0xbffff040 in ?? ()
#35 0x0805dc21 in TextureLoader::CreateTexture (this=Cannot access memory at
address 0x9) at textureloader.cpp:115
Previous frame inner to this frame (corrupt stack?)
(gdb)

The line 115 is:
113 glGenTextures ( 1, &textureID );
114 printf ("** Bind the texture with %d\n",textureID );
115 glBindTexture ( GL_TEXTURE_2D , textureID );
116 printf ("** Done !" );

This happens when I'm loading TGA files. I have attached the required log
files. I really hope someone may help. Other info follows:

OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce4 Ti 4600/AGP/SSE2
OpenGL version string: 1.5.1 NVIDIA 61.06

cat /proc/driver/nvidia/cards/0:
Model: GeForce4 Ti 4600
IRQ: 11
Video BIOS: 04.25.00.26.00
Card Type: AGP
cat /proc/cpuinfo

processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 2.20GHz
stepping : 4
cpu MHz : 2210.559
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips : 4358.14

Thanks a lot,

-- 
Bye,
Colossus
Cpsed, a Linux OpenGL 3D scene editor
http://cpsed.sourceforge.net/


Relevant Pages

  • Re: OpenGL extensions in Linux (Its not hard?)
    ... OpenGL extensions also hamper portability. ... Windows 2000, XP, Vista etc. are no more "one OS" than RedHat and Debian. ... So are all desktop Linux distros. ... How many of these libraries does GLUT require? ...
    (comp.graphics.api.opengl)
  • Re: OpenGL extensions in Linux (Its not hard?)
    ... OpenGL extensions also hamper portability. ... Windows 2000, XP, Vista etc. are no more "one OS" than RedHat and Debian. ... So are all desktop Linux distros. ... How many of these libraries does GLUT require? ...
    (comp.graphics.api.opengl)
  • Re: OpenGL extensions in Linux (Its not hard?)
    ... Your problem is not OpenGL extensions. ... MS Windows, that is _one_ OS with various hardware it supports. ... versions of Linux ... How many of these libraries does GLUT require? ...
    (comp.graphics.api.opengl)
  • Re: nvidia
    ... Linux may indeed be the answer you seek. ... I know Les very well. ... The nvidia rpms supplied by our 3rd party sites ... We both kept running into openGL problems and the Windows / Mac ...
    (Fedora)
  • Segmentation fault using glDisable...
    ... I'm using openGL in an application, ... But today suddently I get a segmentation ... fault when the application calls glDisable in setupGL function. ... i'm using Mandriva 2006 with mesa and glut installed. ...
    (comp.graphics.api.opengl)