View Single Post
Old 10-30-06, 04:37 PM   #1
flz
Registered User
 
Join Date: Oct 2006
Posts: 13
Default Beta driver: Beryl crashes in libGLcore.so.1

While I can debug crashes when they happen in beryl itself, debugging libGL* isn't so easy.

I'm using nvidia driver 9625 (I think it's the only one providing GL_EXT_texture_from_pixmap) with individual xorg releases (so, more recent than 7.1, and not yet 7.2).

Might be a programming error, but I can't be sure, anyway here's the trace

innercity# gdb -c beryl.core /usr/local/bin/beryl
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
Core was generated by `beryl'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/X11R6/lib/libpng.so.5...done.
Loaded symbols for /usr/X11R6/lib/libpng.so.5
Reading symbols from /lib/libz.so.3...done.
Loaded symbols for /lib/libz.so.3
Reading symbols from /usr/X11R6/lib/libXcomposite.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXcomposite.so.1
Reading symbols from /usr/X11R6/lib/libXdamage.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXdamage.so.1
Reading symbols from /usr/X11R6/lib/libXfixes.so.3...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.3
Reading symbols from /usr/X11R6/lib/libXrandr.so.2...done.
Loaded symbols for /usr/X11R6/lib/libXrandr.so.2
Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.1
Reading symbols from /usr/X11R6/lib/libXinerama.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXinerama.so.1
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libstartup-notification-1.so.0...done.
Loaded symbols for /usr/X11R6/lib/libstartup-notification-1.so.0
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libXau.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.6
Reading symbols from /usr/X11R6/lib/libXdmcp.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXdmcp.so.6
Reading symbols from /usr/lib/librpcsvc.so.3...done.
Loaded symbols for /usr/lib/librpcsvc.so.3
Reading symbols from /usr/X11R6/lib/libGL.so.1...done.
Loaded symbols for /usr/X11R6/lib/libGL.so.1
Reading symbols from /lib/libm.so.4...done.
Loaded symbols for /lib/libm.so.4
Reading symbols from /usr/lib/libpthread.so.2...done.
Loaded symbols for /usr/lib/libpthread.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libGLcore.so.1...done.
Loaded symbols for /lib/libGLcore.so.1
Reading symbols from /lib/libnvidia-tls.so.1...done.
Loaded symbols for /lib/libnvidia-tls.so.1
Reading symbols from /usr/local/lib/compat/libm.so.3...done.
Loaded symbols for /usr/local/lib/compat/libm.so.3
Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.1
Reading symbols from /usr/local/lib/beryl/libsettings.so...done.
Loaded symbols for /usr/local/lib/beryl/libsettings.so
Reading symbols from /usr/X11R6/lib/libglib-2.0.so.0...done.
Loaded symbols for /usr/X11R6/lib/libglib-2.0.so.0
Reading symbols from /usr/X11R6/lib/libiconv.so.3...done.
Loaded symbols for /usr/X11R6/lib/libiconv.so.3
Reading symbols from /usr/local/lib/libintl.so.6...done.
Loaded symbols for /usr/local/lib/libintl.so.6
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x288141df in _nv000405gl () from /lib/libGLcore.so.1
[New LWP 100132]

(gdb) bt full
#0 0x288141df in _nv000405gl () from /lib/libGLcore.so.1
No symbol table info available.
#1 0x00000001 in ?? ()
No symbol table info available.
#2 0x00000002 in ?? ()
No symbol table info available.
#3 0x08107000 in ?? ()
No symbol table info available.
#4 0x28255e60 in glXWaitVideoSyncSGI () from /usr/X11R6/lib/libGL.so.1
No symbol table info available.
#5 0x08191000 in ?? ()
No symbol table info available.
#6 0xbfbfe3f4 in ?? ()
No symbol table info available.
#7 0x080ea000 in ?? ()
No symbol table info available.
#8 0x080ea000 in ?? ()
No symbol table info available.
#9 0xbfbfe9a0 in ?? ()
No symbol table info available.
#10 0x2807e2a0 in elf_hash () from /libexec/ld-elf.so.1
No symbol table info available.
Previous frame inner to this frame (corrupt stack?)
flz is offline   Reply With Quote