|
From: <aho...@es...> - 2003-10-16 16:38:13
|
I get the following log and segfault when running glxgears (or any other GL program it seems) with valgrind. My machine config is: AMD XP 1900 Radeon 9000 RH 9 with DRI from cvs Any suggestions where to start? Is there a convenient way to run gdb on valgrind while still using the 'valgrind' wrapper script? cheers, aaron wilder:~$ valgrind -v glxgears ==10543== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux. ==10543== Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward. ==10543== Using valgrind-20031012, a program supervision framework for x86-linux. ==10543== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward. ==10543== Command line: ==10543== glxgears ==10543== Startup, with flags: ==10543== --suppressions=/home/aholtzma/lib/valgrind/default.supp ==10543== -v ==10543== Reading syms from /usr/X11R6/bin/glxgears ==10543== object doesn't have a symbol table ==10543== object doesn't have any debug info ==10543== Reading syms from /lib/ld-2.3.2.so ==10543== object doesn't have any debug info ==10543== Reading syms from /home/aholtzma/lib/valgrind/vgskin_memcheck.so ==10543== Reading syms from /home/aholtzma/lib/valgrind/valgrind.so ==10543== Reading syms from /usr/X11R6/lib/libGL.so.1.2 ==10543== Reading syms from /usr/X11R6/lib/libXext.so.6.4 ==10543== object doesn't have a symbol table ==10543== object doesn't have any debug info ==10543== Reading syms from /usr/X11R6/lib/libX11.so.6.2 ==10543== object doesn't have a symbol table ==10543== object doesn't have any debug info ==10543== Reading syms from /home/aholtzma/lib/valgrind/libpthread.so ==10543== Reading syms from /lib/libm-2.3.2.so ==10543== object doesn't have any debug info ==10543== Reading syms from /lib/libc-2.3.2.so ==10543== object doesn't have any debug info ==10543== Reading syms from /lib/libdl-2.3.2.so ==10543== object doesn't have any debug info ==10543== Reading suppressions file: /home/aholtzma/lib/valgrind/default.supp ==10543== Estimated CPU clock rate is 1601 MHz ==10543== REPLACING libc(__GI___errno_location) with libpthread(__errno_location) ==10543== REPLACING libc(__GI___h_errno_location) with libpthread(__h_errno_location) ==10543== REPLACING libc(__GI___res_state) with libpthread(__res_state) ==10543== ==10543== TRANSLATE: 0x403F4CF0 redirected to 0x40387DC8 ==10543== Reading syms from /usr/X11R6/lib/modules/dri/r200_dri.so ==10543== Syscall param ioctl(generic) contains uninitialised or unaddressable byte(s) ==10543== at 0x404BAD24: __GI___ioctl (in /lib/libc-2.3.2.so) ==10543== by 0x417C6B65: r200CreateScreen (r200_screen.c:185) ==10543== by 0x417C6E93: r200InitDriver (r200_screen.c:301) ==10543== by 0x416B2AF8: __driUtilCreateScreen (dri_util.c:1201) ==10543== Address 0xBFFFED94 is on thread 1's stack ==10543== ==10543== Use of uninitialised value of size 4 ==10543== at 0x417A9D4A: sigfpe_handler (common_x86.c:118) ==10543== by 0x4017EF2F: ??? (vg_hashtable.c:213) ==10543== by 0x417A9F6B: _mesa_init_all_x86_transform_asm (common_x86.c:275) ==10543== by 0x4172D95A: _math_init (m_xform.c:218) ==10543== ==10543== Invalid read of size 2 ==10543== at 0x417A9D4A: sigfpe_handler (common_x86.c:118) ==10543== by 0x4017EF2F: ??? (vg_hashtable.c:213) ==10543== by 0x417A9F6B: _mesa_init_all_x86_transform_asm (common_x86.c:275) ==10543== by 0x4172D95A: _math_init (m_xform.c:218) ==10543== Address 0x6E is not stack'd, malloc'd or free'd Segmentation fault wilder:~$ |