[Bug 40423] Firefox GLX test crashes with Mesa 7.12-devel, Gallium 0.4 on AMD JUNIPER

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 1 05:29:40 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=40423

--- Comment #15 from Jure Repinc <jlp.bugs at gmail.com> 2011-09-01 05:29:39 PDT ---
Ups forgot the debugging symbols for mesa:

$ valgrind --tool=memcheck ./glxtest
==28048== Memcheck, a memory error detector
==28048== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==28048== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==28048== Command: ./glxtest
==28048== 
==28048== Invalid read of size 4
==28048==    at 0x54B71B2: _mesa_make_extension_string (extensions.c:912)
==28048==    by 0x54C9397: _mesa_make_current (context.c:1514)
==28048==    by 0x54B9B01: st_api_make_current (st_manager.c:789)
==28048==    by 0x54A2352: dri_make_current (dri_context.c:205)
==28048==    by 0x5482655: driBindContext (dri_util.c:196)
==28048==    by 0x509FB0E: dri2_bind_context (dri2_glx.c:151)
==28048==    by 0x507932D: MakeContextCurrent (glxcurrent.c:269)
==28048==    by 0x400F1C: glxtest() (glxtest.cpp:193)
==28048==    by 0x4010B2: main (glxtest.cpp:239)
==28048==  Address 0x4f157b0 is 0 bytes inside a block of size 1 alloc'd
==28048==    at 0x4A063E4: calloc (vg_replace_malloc.c:467)
==28048==    by 0x54B7429: _mesa_make_extension_string (extensions.c:776)
==28048==    by 0x54C9397: _mesa_make_current (context.c:1514)
==28048==    by 0x54B9B01: st_api_make_current (st_manager.c:789)
==28048==    by 0x54A2352: dri_make_current (dri_context.c:205)
==28048==    by 0x5482655: driBindContext (dri_util.c:196)
==28048==    by 0x509FB0E: dri2_bind_context (dri2_glx.c:151)
==28048==    by 0x507932D: MakeContextCurrent (glxcurrent.c:269)
==28048==    by 0x400F1C: glxtest() (glxtest.cpp:193)
==28048==    by 0x4010B2: main (glxtest.cpp:239)
==28048== 
VENDOR
X.Org
RENDERER
Gallium 0.4 on AMD CEDAR
VERSION
2.1 Mesa 7.12-devel (git-11f6466)
TFP
TRUE
==28048== 
==28048== HEAP SUMMARY:
==28048==     in use at exit: 212,008 bytes in 531 blocks
==28048==   total heap usage: 3,105 allocs, 2,574 frees, 2,729,162 bytes
allocated
==28048== 
==28048== LEAK SUMMARY:
==28048==    definitely lost: 1,948 bytes in 4 blocks
==28048==    indirectly lost: 0 bytes in 0 blocks
==28048==      possibly lost: 120 bytes in 3 blocks
==28048==    still reachable: 209,940 bytes in 524 blocks
==28048==         suppressed: 0 bytes in 0 blocks
==28048== Rerun with --leak-check=full to see details of leaked memory
==28048== 
==28048== For counts of detected and suppressed errors, rerun with: -v
==28048== 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.


More information about the dri-devel mailing list