$ LD_LIBRARY_PATH=$PWD/10.2.1/lib valgrind glxtest/glxtest ==12748== Memcheck, a memory error detector ==12748== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==12748== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==12748== Command: glxtest/glxtest ==12748== ==12748== Warning: client switching stacks? SP change: 0xbebe4600 --> 0x4022f9c ==12748== to suppress, use: --max-stackframe=1162078620 or greater ==12748== Warning: client switching stacks? SP change: 0x4022f9c --> 0xbebe4600 ==12748== to suppress, use: --max-stackframe=1162078620 or greater ==12748== Use of uninitialised value of size 4 ==12748== at 0x4D33143: cso_hash_find (cso_hash.c:210) ==12748== by 0x4D8F4BC: util_hash_table_remove (u_hash_table.c:109) ==12748== by 0x4A54FB3: nouveau_drm_screen_unref (nouveau_drm_winsys.c:29) ==12748== by 0x4A6A04A: nv30_screen_destroy (nv30_screen.c:313) ==12748== by 0x4A52678: dri_destroy_screen_helper (dri_screen.c:378) ==12748== by 0x4A5271D: dri_destroy_screen (dri_screen.c:388) ==12748== by 0x4A4EFA5: driDestroyScreen (dri_util.c:235) ==12748== by 0x49518DC: dri2DestroyScreen (dri2_glx.c:710) ==12748== by 0x492AD48: FreeScreenConfigs.isra.3 (glxext.c:208) ==12748== by 0x492ADD1: glx_display_free (glxext.c:231) ==12748== by 0x492AF22: __glXCloseDisplay (glxext.c:277) ==12748== by 0x40843E0: XCloseDisplay (in /usr/lib/libX11.so.6.3.0) ==12748== ==12748== Invalid read of size 4 ==12748== at 0x4A6B2A5: nv30_context_kick_notify (nv30_context.c:45) ==12748== by 0x6EFAE5B: ??? (in /usr/lib/libdrm_nouveau.so.2.0.0) ==12748== by 0x6EFB149: ??? (in /usr/lib/libdrm_nouveau.so.2.0.0) ==12748== by 0x6EFBEB9: nouveau_pushbuf_kick (in /usr/lib/libdrm_nouveau.so.2.0.0) ==12748== by 0x4A6270E: nouveau_fence_wait (nouveau_fence.c:196) ==12748== by 0x4A6A06C: nv30_screen_destroy (nv30_screen.c:323) ==12748== by 0x4A52678: dri_destroy_screen_helper (dri_screen.c:378) ==12748== by 0x4A5271D: dri_destroy_screen (dri_screen.c:388) ==12748== by 0x4A4EFA5: driDestroyScreen (dri_util.c:235) ==12748== by 0x49518DC: dri2DestroyScreen (dri2_glx.c:710) ==12748== by 0x492AD48: FreeScreenConfigs.isra.3 (glxext.c:208) ==12748== by 0x492ADD1: glx_display_free (glxext.c:231) ==12748== Address 0x46be9f8 is 408 bytes inside a block of size 1,724 free'd ==12748== at 0x402B038: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==12748== by 0x4A6B261: nv30_context_destroy (nouveau_context.h:94) ==12748== by 0x4C6CDE4: st_destroy_context (st_context.c:339) ==12748== by 0x4C87D57: st_context_destroy (st_manager.c:619) ==12748== by 0x4A52113: dri_destroy_context (dri_context.c:192) ==12748== by 0x4A4EB93: driDestroyContext (dri_util.c:487) ==12748== by 0x4951C06: dri2_destroy_context (dri2_glx.c:129) ==12748== by 0x4927D80: glXDestroyContext (glxcmds.c:473) ==12748== by 0x8048D06: glxtest() (in glxtest/glxtest) ==12748== by 0x8048D84: main (in glxtest/glxtest) ==12748== nouveau: kernel rejected pushbuf: Bad file descriptor nouveau: ch0: krec 0 pushes 1 bufs 1 relocs 0 nouveau: ch0: buf 00000000 00000002 00000004 00000004 00000000 nouveau: ch0: psh 00000000 000000012c 0000000140 nouveau: 0x0008fd6c nouveau: 0x00000000 nouveau: 0x00000003 nouveau: 0x00020000 nouveau: 0x00000000 ^C==12748== ==12748== HEAP SUMMARY: ==12748== in use at exit: 219,761 bytes in 573 blocks ==12748== total heap usage: 5,544 allocs, 4,971 frees, 2,298,146 bytes allocated ==12748== ==12748== LEAK SUMMARY: ==12748== definitely lost: 0 bytes in 0 blocks ==12748== indirectly lost: 0 bytes in 0 blocks ==12748== possibly lost: 5,700 bytes in 160 blocks ==12748== still reachable: 214,061 bytes in 413 blocks ==12748== suppressed: 0 bytes in 0 blocks ==12748== Rerun with --leak-check=full to see details of leaked memory ==12748== ==12748== For counts of detected and suppressed errors, rerun with: -v ==12748== Use --track-origins=yes to see where uninitialised values come from ==12748== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) $ LD_LIBRARY_PATH=$PWD/10.2.1-reverted/lib valgrind glxtest/glxtest ==12563== Memcheck, a memory error detector ==12563== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==12563== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==12563== Command: glxtest/glxtest ==12563== ==12563== Warning: client switching stacks? SP change: 0xbe8a45f0 --> 0x4022f9c ==12563== to suppress, use: --max-stackframe=1165486508 or greater ==12563== Warning: client switching stacks? SP change: 0x4022f9c --> 0xbe8a45f0 ==12563== to suppress, use: --max-stackframe=1165486508 or greater ==12563== Use of uninitialised value of size 4 ==12563== at 0x4D33143: cso_hash_find (cso_hash.c:210) ==12563== by 0x4D8F4BC: util_hash_table_remove (u_hash_table.c:109) ==12563== by 0x4A54FB3: nouveau_drm_screen_unref (nouveau_drm_winsys.c:29) ==12563== by 0x4A69FC9: nv30_screen_destroy (nv30_screen.c:313) ==12563== by 0x4A52678: dri_destroy_screen_helper (dri_screen.c:378) ==12563== by 0x4A5271D: dri_destroy_screen (dri_screen.c:388) ==12563== by 0x4A4EFA5: driDestroyScreen (dri_util.c:235) ==12563== by 0x49518EC: dri2DestroyScreen (dri2_glx.c:710) ==12563== by 0x492AD58: FreeScreenConfigs.isra.3 (glxext.c:208) ==12563== by 0x492ADE1: glx_display_free (glxext.c:231) ==12563== by 0x492AF32: __glXCloseDisplay (glxext.c:277) ==12563== by 0x40843E0: XCloseDisplay (in /usr/lib/libX11.so.6.3.0) ==12563== VENDOR nouveau RENDERER Gallium 0.4 on NV34 VERSION 1.5 Mesa 10.2.1 TFP TRUE ==12563== ==12563== HEAP SUMMARY: ==12563== in use at exit: 14,424 bytes in 101 blocks ==12563== total heap usage: 5,546 allocs, 5,445 frees, 2,298,410 bytes allocated ==12563== ==12563== LEAK SUMMARY: ==12563== definitely lost: 632 bytes in 8 blocks ==12563== indirectly lost: 0 bytes in 0 blocks ==12563== possibly lost: 0 bytes in 0 blocks ==12563== still reachable: 13,792 bytes in 93 blocks ==12563== suppressed: 0 bytes in 0 blocks ==12563== Rerun with --leak-check=full to see details of leaked memory ==12563== ==12563== For counts of detected and suppressed errors, rerun with: -v ==12563== Use --track-origins=yes to see where uninitialised values come from ==12563== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) $ LD_LIBRARY_PATH=$PWD/10.2.1-bufctx/lib valgrind glxtest/glxtest ==12569== Memcheck, a memory error detector ==12569== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==12569== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==12569== Command: glxtest/glxtest ==12569== ==12569== Warning: client switching stacks? SP change: 0xbec1e5f0 --> 0x4022f9c ==12569== to suppress, use: --max-stackframe=1161841068 or greater ==12569== Warning: client switching stacks? SP change: 0x4022f9c --> 0xbec1e5f0 ==12569== to suppress, use: --max-stackframe=1161841068 or greater ==12569== Use of uninitialised value of size 4 ==12569== at 0x4D33163: cso_hash_find (cso_hash.c:210) ==12569== by 0x4D8F4DC: util_hash_table_remove (u_hash_table.c:109) ==12569== by 0x4A54FB3: nouveau_drm_screen_unref (nouveau_drm_winsys.c:29) ==12569== by 0x4A6A04A: nv30_screen_destroy (nv30_screen.c:313) ==12569== by 0x4A52678: dri_destroy_screen_helper (dri_screen.c:378) ==12569== by 0x4A5271D: dri_destroy_screen (dri_screen.c:388) ==12569== by 0x4A4EFA5: driDestroyScreen (dri_util.c:235) ==12569== by 0x49518EC: dri2DestroyScreen (dri2_glx.c:710) ==12569== by 0x492AD58: FreeScreenConfigs.isra.3 (glxext.c:208) ==12569== by 0x492ADE1: glx_display_free (glxext.c:231) ==12569== by 0x492AF32: __glXCloseDisplay (glxext.c:277) ==12569== by 0x40843E0: XCloseDisplay (in /usr/lib/libX11.so.6.3.0) ==12569== nouveau: kernel rejected pushbuf: Bad file descriptor nouveau: ch0: krec 0 pushes 1 bufs 1 relocs 0 nouveau: ch0: buf 00000000 00000002 00000004 00000004 00000000 nouveau: ch0: psh 00000000 000000012c 0000000140 nouveau: 0x0008fd6c nouveau: 0x00000000 nouveau: 0x00000003 nouveau: 0x00020000 nouveau: 0x00000000 ^C==12569== ==12569== HEAP SUMMARY: ==12569== in use at exit: 219,831 bytes in 573 blocks ==12569== total heap usage: 5,544 allocs, 4,971 frees, 2,298,336 bytes allocated ==12569== ==12569== LEAK SUMMARY: ==12569== definitely lost: 0 bytes in 0 blocks ==12569== indirectly lost: 0 bytes in 0 blocks ==12569== possibly lost: 5,700 bytes in 160 blocks ==12569== still reachable: 214,131 bytes in 413 blocks ==12569== suppressed: 0 bytes in 0 blocks ==12569== Rerun with --leak-check=full to see details of leaked memory ==12569== ==12569== For counts of detected and suppressed errors, rerun with: -v ==12569== Use --track-origins=yes to see where uninitialised values come from ==12569== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) $ LD_LIBRARY_PATH=$PWD/10.2.1-leaks/lib valgrind glxtest/glxtest ==12577== Memcheck, a memory error detector ==12577== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==12577== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==12577== Command: glxtest/glxtest ==12577== ==12577== Warning: client switching stacks? SP change: 0xbe9565f0 --> 0x4022f9c ==12577== to suppress, use: --max-stackframe=1164757420 or greater ==12577== Warning: client switching stacks? SP change: 0x4022f9c --> 0xbe9565f0 ==12577== to suppress, use: --max-stackframe=1164757420 or greater ==12577== Use of uninitialised value of size 4 ==12577== at 0x4D33193: cso_hash_find (cso_hash.c:210) ==12577== by 0x4D8F50C: util_hash_table_remove (u_hash_table.c:109) ==12577== by 0x4A54FB3: nouveau_drm_screen_unref (nouveau_drm_winsys.c:29) ==12577== by 0x4A6A04A: nv30_screen_destroy (nv30_screen.c:313) ==12577== by 0x4A52678: dri_destroy_screen_helper (dri_screen.c:378) ==12577== by 0x4A5271D: dri_destroy_screen (dri_screen.c:388) ==12577== by 0x4A4EFA5: driDestroyScreen (dri_util.c:235) ==12577== by 0x49518EC: dri2DestroyScreen (dri2_glx.c:710) ==12577== by 0x492AD58: FreeScreenConfigs.isra.3 (glxext.c:208) ==12577== by 0x492ADE1: glx_display_free (glxext.c:231) ==12577== by 0x492AF32: __glXCloseDisplay (glxext.c:277) ==12577== by 0x40843E0: XCloseDisplay (in /usr/lib/libX11.so.6.3.0) ==12577== ==12577== Invalid read of size 4 ==12577== at 0x4A6B2E5: nv30_context_kick_notify (nv30_context.c:45) ==12577== by 0x6EFAE5B: ??? (in /usr/lib/libdrm_nouveau.so.2.0.0) ==12577== by 0x6EFB149: ??? (in /usr/lib/libdrm_nouveau.so.2.0.0) ==12577== by 0x6EFBEB9: nouveau_pushbuf_kick (in /usr/lib/libdrm_nouveau.so.2.0.0) ==12577== by 0x4A6270E: nouveau_fence_wait (nouveau_fence.c:196) ==12577== by 0x4A6A06C: nv30_screen_destroy (nv30_screen.c:323) ==12577== by 0x4A52678: dri_destroy_screen_helper (dri_screen.c:378) ==12577== by 0x4A5271D: dri_destroy_screen (dri_screen.c:388) ==12577== by 0x4A4EFA5: driDestroyScreen (dri_util.c:235) ==12577== by 0x49518EC: dri2DestroyScreen (dri2_glx.c:710) ==12577== by 0x492AD58: FreeScreenConfigs.isra.3 (glxext.c:208) ==12577== by 0x492ADE1: glx_display_free (glxext.c:231) ==12577== Address 0x46beaa0 is 408 bytes inside a block of size 1,724 free'd ==12577== at 0x402B038: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==12577== by 0x4A6B2A1: nv30_context_destroy (nouveau_context.h:94) ==12577== by 0x4C6CE34: st_destroy_context (st_context.c:339) ==12577== by 0x4C87DA7: st_context_destroy (st_manager.c:619) ==12577== by 0x4A52113: dri_destroy_context (dri_context.c:192) ==12577== by 0x4A4EB93: driDestroyContext (dri_util.c:487) ==12577== by 0x4951C16: dri2_destroy_context (dri2_glx.c:129) ==12577== by 0x4927D90: glXDestroyContext (glxcmds.c:473) ==12577== by 0x8048D06: glxtest() (in glxtest/glxtest) ==12577== by 0x8048D84: main (in glxtest/glxtest) ==12577== nouveau: kernel rejected pushbuf: Bad file descriptor nouveau: ch0: krec 0 pushes 1 bufs 1 relocs 0 nouveau: ch0: buf 00000000 00000002 00000004 00000004 00000000 nouveau: ch0: psh 00000000 000000012c 0000000140 nouveau: 0x0008fd6c nouveau: 0x00000000 nouveau: 0x00000003 nouveau: 0x00020000 nouveau: 0x00000000 ^C==12577== ==12577== HEAP SUMMARY: ==12577== in use at exit: 219,824 bytes in 573 blocks ==12577== total heap usage: 5,544 allocs, 4,971 frees, 2,298,317 bytes allocated ==12577== ==12577== LEAK SUMMARY: ==12577== definitely lost: 0 bytes in 0 blocks ==12577== indirectly lost: 0 bytes in 0 blocks ==12577== possibly lost: 5,700 bytes in 160 blocks ==12577== still reachable: 214,124 bytes in 413 blocks ==12577== suppressed: 0 bytes in 0 blocks ==12577== Rerun with --leak-check=full to see details of leaked memory ==12577== ==12577== For counts of detected and suppressed errors, rerun with: -v ==12577== Use --track-origins=yes to see where uninitialised values come from ==12577== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) $ LD_LIBRARY_PATH=$PWD/10.2.1-bufctx_leaks/lib valgrind glxtest/glxtest ==12584== Memcheck, a memory error detector ==12584== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==12584== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==12584== Command: glxtest/glxtest ==12584== ==12584== Warning: client switching stacks? SP change: 0xbed295f0 --> 0x4022f9c ==12584== to suppress, use: --max-stackframe=1160747436 or greater ==12584== Warning: client switching stacks? SP change: 0x4022f9c --> 0xbed295f0 ==12584== to suppress, use: --max-stackframe=1160747436 or greater ==12584== Use of uninitialised value of size 4 ==12584== at 0x4D331B3: cso_hash_find (cso_hash.c:210) ==12584== by 0x4D8F52C: util_hash_table_remove (u_hash_table.c:109) ==12584== by 0x4A54FB3: nouveau_drm_screen_unref (nouveau_drm_winsys.c:29) ==12584== by 0x4A6A04A: nv30_screen_destroy (nv30_screen.c:313) ==12584== by 0x4A52678: dri_destroy_screen_helper (dri_screen.c:378) ==12584== by 0x4A5271D: dri_destroy_screen (dri_screen.c:388) ==12584== by 0x4A4EFA5: driDestroyScreen (dri_util.c:235) ==12584== by 0x49518EC: dri2DestroyScreen (dri2_glx.c:710) ==12584== by 0x492AD58: FreeScreenConfigs.isra.3 (glxext.c:208) ==12584== by 0x492ADE1: glx_display_free (glxext.c:231) ==12584== by 0x492AF32: __glXCloseDisplay (glxext.c:277) ==12584== by 0x40843E0: XCloseDisplay (in /usr/lib/libX11.so.6.3.0) ==12584== nouveau: kernel rejected pushbuf: Bad file descriptor nouveau: ch0: krec 0 pushes 1 bufs 1 relocs 0 nouveau: ch0: buf 00000000 00000002 00000004 00000004 00000000 nouveau: ch0: psh 00000000 000000012c 0000000140 nouveau: 0x0008fd6c nouveau: 0x00000000 nouveau: 0x00000003 nouveau: 0x00020000 nouveau: 0x00000000 ^C==12584== ==12584== HEAP SUMMARY: ==12584== in use at exit: 219,873 bytes in 573 blocks ==12584== total heap usage: 5,544 allocs, 4,971 frees, 2,298,450 bytes allocated ==12584== ==12584== LEAK SUMMARY: ==12584== definitely lost: 0 bytes in 0 blocks ==12584== indirectly lost: 0 bytes in 0 blocks ==12584== possibly lost: 5,700 bytes in 160 blocks ==12584== still reachable: 214,173 bytes in 413 blocks ==12584== suppressed: 0 bytes in 0 blocks ==12584== Rerun with --leak-check=full to see details of leaked memory ==12584== ==12584== For counts of detected and suppressed errors, rerun with: -v ==12584== Use --track-origins=yes to see where uninitialised values come from ==12584== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)