This is what valgrind now says about glxgears. The "jump depends on 
uninitialised values" one
looks most worrying:

==3765== Memcheck, a memory error detector.
==3765== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==3765== Using LibVEX rev 1732, a library for dynamic binary translation.
==3765== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==3765== Using valgrind-3.2.3, a dynamic binary instrumentation framework.
==3765== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==3765== 
--3765-- Command line
--3765--    glxgears
--3765-- Startup, with flags:
--3765--    -v
--3765-- Contents of /proc/version:
--3765--   Linux version 2.6.25.2 ([EMAIL PROTECTED]) (gcc version 4.1.2 
20070925 (Red Hat
4.1.2-33)) #1 SMP PREEMPT Wed May 7 18:43:43 BST 2008
--3765-- Arch and hwcaps: X86, x86-sse1-sse2
--3765-- Page sizes: currently 4096, max supported 4096
--3765-- Valgrind library directory: /usr/lib/valgrind
--3765-- Reading syms from /usr/bin/glxgears (0x8048000)
--3765--    object doesn't have a symbol table
--3765-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000)
--3765--    object doesn't have a dynamic symbol table
--3765-- Reading syms from /lib/ld-2.7.so (0x41BE4000)
--3765-- Reading suppressions file: /usr/lib/valgrind/default.supp
--3765-- REDIR: 0x41BF9BB0 (index) redirected to 0x38027F5F 
(vgPlain_x86_linux_REDIR_FOR_index)
--3765-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so 
(0x4001000)
--3765-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so 
(0x4003000)
==3765== WARNING: new redirection conflicts with existing -- ignoring it
--3765--     new: 0x41BF9BB0 (index     ) R-> 0x04006230 index
--3765-- REDIR: 0x41BF9D50 (strlen) redirected to 0x40062E0 (strlen)
--3765-- Reading syms from /usr/lib/libGL.so.1.2 (0x401F000)
--3765-- Reading syms from /lib/libc-2.7.so (0x426AF000)
--3765-- Reading syms from /usr/lib/libX11.so.6.2.0 (0x4C66B000)
--3765--    object doesn't have a symbol table
--3765-- Reading syms from /usr/lib/libXext.so.6.4.0 (0x4C769000)
--3765--    object doesn't have a symbol table
--3765-- Reading syms from /usr/lib/libXxf86vm.so.1.0.0 (0x4CA19000)
--3765--    object doesn't have a symbol table
--3765-- Reading syms from /usr/lib/libXdamage.so.1.1.0 (0x4CB1B000)
--3765--    object doesn't have a symbol table
--3765-- Reading syms from /usr/lib/libXfixes.so.3.1.0 (0x4C88F000)
--3765--    object doesn't have a symbol table
--3765-- Reading syms from /lib/libm-2.7.so (0x4280A000)
--3765-- Reading syms from /lib/libpthread-2.7.so (0x4283C000)
--3765-- Reading syms from /lib/libdl-2.7.so (0x42835000)
--3765-- Reading syms from /usr/lib/libdrm.so.2.3.0 (0x49B27000)
--3765--    object doesn't have a symbol table
--3765-- Reading syms from /usr/lib/libxcb-xlib.so.0.0.0 (0x4C667000)
--3765--    object doesn't have a symbol table
--3765-- Reading syms from /usr/lib/libxcb.so.1.0.0 (0x4C649000)
--3765--    object doesn't have a symbol table
--3765-- Reading syms from /usr/lib/libXau.so.6.0.0 (0x42959000)
--3765--    object doesn't have a symbol table
--3765-- Reading syms from /usr/lib/libXdmcp.so.6.0.0 (0x4297C000)
--3765--    object doesn't have a symbol table
--3765-- REDIR: 0x427203A0 (memset) redirected to 0x4006640 (memset)
--3765-- REDIR: 0x42720890 (memcpy) redirected to 0x4007090 (memcpy)
--3765-- REDIR: 0x4271F4C0 (rindex) redirected to 0x4006110 (rindex)
--3765-- REDIR: 0x4271A810 (calloc) redirected to 0x40047CD (calloc)
--3765-- REDIR: 0x4271F120 (strlen) redirected to 0x40062C0 (strlen)
--3765-- REDIR: 0x4271F310 (strncmp) redirected to 0x4006320 (strncmp)
--3765-- REDIR: 0x4271AB00 (malloc) redirected to 0x40054A0 (malloc)
--3765-- REDIR: 0x42721220 (strchrnul) redirected to 0x40066F0 (strchrnul)
--3765-- REDIR: 0x4271C060 (free) redirected to 0x40050BA (free)
--3765-- REDIR: 0x427965D0 (__strcpy_chk) redirected to 0x40067F0 (__strcpy_chk)
--3765-- REDIR: 0x42720330 (memmove) redirected to 0x4006670 (memmove)
--3765-- REDIR: 0x4271C250 (realloc) redirected to 0x400554F (realloc)
--3765-- REDIR: 0x4271F410 (strncpy) redirected to 0x4006930 (strncpy)
--3765-- REDIR: 0x4271EC30 (strcpy) redirected to 0x40072F0 (strcpy)
--3765-- REDIR: 0x4271EA50 (index) redirected to 0x4006200 (index)
--3765-- REDIR: 0x4271F1D0 (strnlen) redirected to 0x4006290 (strnlen)
--3765-- REDIR: 0x42720400 (mempcpy) redirected to 0x4006B70 (mempcpy)
--3765-- Reading syms from /usr/X11R6/lib/modules/dri/r300_dri.so (0x4180000)
--3765-- Reading syms from /lib/libexpat.so.1.5.2 (0x42B14000)
--3765--    object doesn't have a symbol table
--3765-- REDIR: 0x42720590 (stpcpy) redirected to 0x4006850 (stpcpy)
==3765== Warning: set address range perms: large range 268435456 (defined)
--3765-- REDIR: 0x4271EBC0 (strcmp) redirected to 0x4006390 (strcmp)
==3765== Warning: set address range perms: large range 130023424 (defined)
==3765== Syscall param ioctl(generic) points to uninitialised byte(s)
==3765==    at 0x4277AC29: ioctl (in /lib/libc-2.7.so)
==3765==    by 0x41A2C54: radeonInitScreen (radeon_screen.c:733)
==3765==    by 0x419E477: driCreateNewScreen (dri_util.c:881)
==3765==    by 0x4055341: driCreateScreen (dri_glx.c:775)
==3765==    by 0x40371D3: __glXInitialize (glxext.c:602)
==3765==    by 0x403300D: GetGLXPrivScreenConfig (glxcmds.c:184)
==3765==    by 0x4033D49: glXChooseVisual (glxcmds.c:1252)
==3765==    by 0x804A2EB: (within /usr/bin/glxgears)
==3765==    by 0x426C538F: (below main) (in /lib/libc-2.7.so)
==3765==  Address 0xBEB82F3E is on thread 1's stack
--3765-- REDIR: 0x4271AE40 (posix_memalign) redirected to 0x400477B 
(posix_memalign)
--3765-- Reading syms from /usr/lib/libtxc_dxtn.so (0x43AC000)
--3765--    object doesn't have a symbol table
==3765== 
==3765== Syscall param ioctl(generic) points to uninitialised byte(s)
==3765==    at 0x4277AC29: ioctl (in /lib/libc-2.7.so)
==3765==    by 0x419D378: do_wait (vblank.c:256)
==3765==    by 0x419D452: driDrawableInitVBlank (vblank.c:310)
==3765==    by 0x41A2FE7: radeonMakeCurrent (radeon_context.c:284)
==3765==    by 0x419E98D: driBindContext (dri_util.c:196)
==3765==    by 0x40540BB: driBindContext (dri_glx.c:855)
==3765==    by 0x4035C77: MakeContextCurrent (glxcurrent.c:384)
==3765==    by 0x4035EF7: glXMakeCurrent (glxcurrent.c:501)
==3765==    by 0x804A09E: (within /usr/bin/glxgears)
==3765==    by 0x426C538F: (below main) (in /lib/libc-2.7.so)
==3765==  Address 0xBEB8311C is on thread 1's stack
==3765== 
==3765== Conditional jump or move depends on uninitialised value(s)
==3765==    at 0x41A374F: radeonWaitForFrameCompletion (radeon_ioctl.c:132)
==3765==    by 0x41A3FBC: radeonPageFlip (radeon_ioctl.c:295)
==3765==    by 0x41A31B8: radeonSwapBuffers (radeon_context.c:223)
==3765==    by 0x419D74B: driSwapBuffers (dri_util.c:452)
==3765==    by 0x403574C: glXSwapBuffers (glxcmds.c:844)
==3765==    by 0x804A646: (within /usr/bin/glxgears)
==3765==    by 0x426C538F: (below main) (in /lib/libc-2.7.so)
==3765== 
==3765== Syscall param ioctl(generic) points to uninitialised byte(s)
==3765==    at 0x4277AC29: ioctl (in /lib/libc-2.7.so)
==3765==    by 0x419D378: do_wait (vblank.c:256)
==3765==    by 0x419D545: driWaitForVBlank (vblank.c:407)
==3765==    by 0x41A3FFE: radeonPageFlip (radeon_ioctl.c:297)
==3765==    by 0x41A31B8: radeonSwapBuffers (radeon_context.c:223)
==3765==    by 0x419D74B: driSwapBuffers (dri_util.c:452)
==3765==    by 0x403574C: glXSwapBuffers (glxcmds.c:844)
==3765==    by 0x804A646: (within /usr/bin/glxgears)
==3765==    by 0x426C538F: (below main) (in /lib/libc-2.7.so)
==3765==  Address 0xBEB83174 is on thread 1's stack
==3765== Warning: noted but unhandled ioctl 0x6452 with no size/direction hints
==3765==    This could cause spurious value errors to appear.
==3765==    See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a 
proper wrapper.
==3765== Warning: noted but unhandled ioctl 0x6452 with no size/direction hints
==3765==    This could cause spurious value errors to appear.
==3765==    See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a 
proper wrapper.
==3765== Warning: noted but unhandled ioctl 0x6452 with no size/direction hints
==3765==    This could cause spurious value errors to appear.
==3765==    See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a 
proper wrapper.
DRM_RADEON_FLIP: return = -22
==3765== 
==3765== ERROR SUMMARY: 8 errors from 4 contexts (suppressed: 37 from 1)
==3765== 
==3765== 1 errors in context 1 of 4:
==3765== Syscall param ioctl(generic) points to uninitialised byte(s)
==3765==    at 0x4277AC29: ioctl (in /lib/libc-2.7.so)
==3765==    by 0x419D378: do_wait (vblank.c:256)
==3765==    by 0x419D452: driDrawableInitVBlank (vblank.c:310)
==3765==    by 0x41A2FE7: radeonMakeCurrent (radeon_context.c:284)
==3765==    by 0x419E98D: driBindContext (dri_util.c:196)
==3765==    by 0x40540BB: driBindContext (dri_glx.c:855)
==3765==    by 0x4035C77: MakeContextCurrent (glxcurrent.c:384)
==3765==    by 0x4035EF7: glXMakeCurrent (glxcurrent.c:501)
==3765==    by 0x804A09E: (within /usr/bin/glxgears)
==3765==    by 0x426C538F: (below main) (in /lib/libc-2.7.so)
==3765==  Address 0xBEB8311C is on thread 1's stack
==3765== 
==3765== 1 errors in context 2 of 4:
==3765== Syscall param ioctl(generic) points to uninitialised byte(s)
==3765==    at 0x4277AC29: ioctl (in /lib/libc-2.7.so)
==3765==    by 0x41A2C54: radeonInitScreen (radeon_screen.c:733)
==3765==    by 0x419E477: driCreateNewScreen (dri_util.c:881)
==3765==    by 0x4055341: driCreateScreen (dri_glx.c:775)
==3765==    by 0x40371D3: __glXInitialize (glxext.c:602)
==3765==    by 0x403300D: GetGLXPrivScreenConfig (glxcmds.c:184)
==3765==    by 0x4033D49: glXChooseVisual (glxcmds.c:1252)
==3765==    by 0x804A2EB: (within /usr/bin/glxgears)
==3765==    by 0x426C538F: (below main) (in /lib/libc-2.7.so)
==3765==  Address 0xBEB82F3E is on thread 1's stack
==3765== 
==3765== 3 errors in context 3 of 4:
==3765== Syscall param ioctl(generic) points to uninitialised byte(s)
==3765==    at 0x4277AC29: ioctl (in /lib/libc-2.7.so)
==3765==    by 0x419D378: do_wait (vblank.c:256)
==3765==    by 0x419D545: driWaitForVBlank (vblank.c:407)
==3765==    by 0x41A3FFE: radeonPageFlip (radeon_ioctl.c:297)
==3765==    by 0x41A31B8: radeonSwapBuffers (radeon_context.c:223)
==3765==    by 0x419D74B: driSwapBuffers (dri_util.c:452)
==3765==    by 0x403574C: glXSwapBuffers (glxcmds.c:844)
==3765==    by 0x804A646: (within /usr/bin/glxgears)
==3765==    by 0x426C538F: (below main) (in /lib/libc-2.7.so)
==3765==  Address 0xBEB83174 is on thread 1's stack
==3765== 
==3765== 3 errors in context 4 of 4:
==3765== Conditional jump or move depends on uninitialised value(s)
==3765==    at 0x41A374F: radeonWaitForFrameCompletion (radeon_ioctl.c:132)
==3765==    by 0x41A3FBC: radeonPageFlip (radeon_ioctl.c:295)
==3765==    by 0x41A31B8: radeonSwapBuffers (radeon_context.c:223)
==3765==    by 0x419D74B: driSwapBuffers (dri_util.c:452)
==3765==    by 0x403574C: glXSwapBuffers (glxcmds.c:844)
==3765==    by 0x804A646: (within /usr/bin/glxgears)
==3765==    by 0x426C538F: (below main) (in /lib/libc-2.7.so)
--3765-- 
--3765-- supp:   37 dl-hack3
==3765== 
==3765== IN SUMMARY: 8 errors from 4 contexts (suppressed: 37 from 1)
==3765== 
==3765== malloc/free: in use at exit: 6,089,436 bytes in 879 blocks.
==3765== malloc/free: 1,250 allocs, 371 frees, 8,861,977 bytes allocated.
==3765== 
==3765== searching for pointers to 879 not-freed blocks.
==3765== checked 1,707,384 bytes.
==3765== 
==3765== LEAK SUMMARY:
==3765==    definitely lost: 716 bytes in 18 blocks.
==3765==      possibly lost: 0 bytes in 0 blocks.
==3765==    still reachable: 6,088,720 bytes in 861 blocks.
==3765==         suppressed: 0 bytes in 0 blocks.
==3765== Rerun with --leak-check=full to see details of leaked memory.
--3765--  memcheck: sanity checks: 76 cheap, 4 expensive
--3765--  memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--3765--  memcheck: auxmaps: 0 searches, 0 comparisons
--3765--  memcheck: SMs: n_issued      = 147 (2352k, 2M)
--3765--  memcheck: SMs: n_deissued    = 0 (0k, 0M)
--3765--  memcheck: SMs: max_noaccess  = 65535 (1048560k, 1023M)
--3765--  memcheck: SMs: max_undefined = 40 (640k, 0M)
--3765--  memcheck: SMs: max_defined   = 6157 (98512k, 96M)
--3765--  memcheck: SMs: max_non_DSM   = 147 (2352k, 2M)
--3765--  memcheck: max sec V bit nodes:    17 (0k, 0M)
--3765--  memcheck: set_sec_vbits8 calls: 151 (new: 17, updates: 134)
--3765--  memcheck: max shadow mem size:   2656k, 2M
--3765-- translate:            fast SP updates identified: 14,445 ( 88.6%)
--3765-- translate:   generic_known SP updates identified: 1,309 (  8.0%)
--3765-- translate: generic_unknown SP updates identified: 534 (  3.2%)
--3765--     tt/tc: 25,549 tt lookups requiring 28,363 probes
--3765--     tt/tc: 25,549 fast-cache updates, 3 flushes
--3765--  transtab: new        11,919 (302,477 -> 4,888,174; ratio 161:10) [0 
scs]
--3765--  transtab: dumped     0 (0 -> ??)
--3765--  transtab: discarded  6 (146 -> ??)
--3765-- scheduler: 7,611,203 jumps (bb entries).
--3765-- scheduler: 76/15,773 major/minor sched events.
--3765--    sanity: 77 cheap, 4 expensive checks.
--3765--    exectx: 30,011 lists, 765 contexts (avg 0 per list)
--3765--    exectx: 1,666 searches, 910 full compares (546 per 1000)
--3765--    exectx: 0 cmp2, 142 cmp4, 0 cmpAll

Cheers,
Chris



      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to