https://bugs.freedesktop.org/show_bug.cgi?id=40423
--- Comment #14 from Jure Repinc <jlp.b...@gmail.com> 2011-09-01 05:10:06 PDT --- This is what valgrind gives on my laptop with ATI Mobility Radeon 5470: $ valgrind --tool=memcheck ./glxtest ==20468== Memcheck, a memory error detector ==20468== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==20468== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==20468== Command: ./glxtest ==20468== ==20468== Invalid read of size 4 ==20468== at 0x52341B2: _mesa_make_extension_string (in /usr/lib64/mesa/r600g_dri.so) ==20468== by 0x5246397: _mesa_make_current (in /usr/lib64/mesa/r600g_dri.so) ==20468== by 0x5236B01: st_api_make_current (in /usr/lib64/mesa/r600g_dri.so) ==20468== by 0x521F352: dri_make_current (in /usr/lib64/mesa/r600g_dri.so) ==20468== by 0x51FF655: driBindContext (in /usr/lib64/mesa/r600g_dri.so) ==20468== by 0x3C14056B0E: dri2_bind_context (in /usr/lib64/opengl/xorg-x11/lib/libGL.so.1.2) ==20468== by 0x3C1403032D: MakeContextCurrent (in /usr/lib64/opengl/xorg-x11/lib/libGL.so.1.2) ==20468== by 0x400F1C: glxtest() (glxtest.cpp:193) ==20468== by 0x4010B2: main (glxtest.cpp:239) ==20468== Address 0x4f157b0 is 0 bytes inside a block of size 1 alloc'd ==20468== at 0x4A063E4: calloc (vg_replace_malloc.c:467) ==20468== by 0x5234429: _mesa_make_extension_string (in /usr/lib64/mesa/r600g_dri.so) ==20468== by 0x5246397: _mesa_make_current (in /usr/lib64/mesa/r600g_dri.so) ==20468== by 0x5236B01: st_api_make_current (in /usr/lib64/mesa/r600g_dri.so) ==20468== by 0x521F352: dri_make_current (in /usr/lib64/mesa/r600g_dri.so) ==20468== by 0x51FF655: driBindContext (in /usr/lib64/mesa/r600g_dri.so) ==20468== by 0x3C14056B0E: dri2_bind_context (in /usr/lib64/opengl/xorg-x11/lib/libGL.so.1.2) ==20468== by 0x3C1403032D: MakeContextCurrent (in /usr/lib64/opengl/xorg-x11/lib/libGL.so.1.2) ==20468== by 0x400F1C: glxtest() (glxtest.cpp:193) ==20468== by 0x4010B2: main (glxtest.cpp:239) ==20468== VENDOR X.Org RENDERER Gallium 0.4 on AMD CEDAR VERSION 2.1 Mesa 7.12-devel (git-82fff5f) TFP TRUE ==20468== ==20468== HEAP SUMMARY: ==20468== in use at exit: 212,008 bytes in 531 blocks ==20468== total heap usage: 3,105 allocs, 2,574 frees, 2,729,162 bytes allocated ==20468== ==20468== LEAK SUMMARY: ==20468== definitely lost: 1,948 bytes in 4 blocks ==20468== indirectly lost: 0 bytes in 0 blocks ==20468== possibly lost: 120 bytes in 3 blocks ==20468== still reachable: 209,940 bytes in 524 blocks ==20468== suppressed: 0 bytes in 0 blocks ==20468== Rerun with --leak-check=full to see details of leaked memory ==20468== ==20468== For counts of detected and suppressed errors, rerun with: -v ==20468== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 11 from 9) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel