Summary: | Bugs in i965 driver reported by Valgrind memcheck | ||
---|---|---|---|
Product: | Mesa | Reporter: | Eero Tamminen <eero.t.tamminen> |
Component: | Drivers/DRI/i965 | Assignee: | Ian Romanick <idr> |
Status: | VERIFIED FIXED | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | chadversary, kenneth |
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | 66779, 68233 | ||
Bug Blocks: |
Description
Eero Tamminen
2013-06-11 13:55:04 UTC
> Running apitrace's eglretrace under Valgrind memcheck Note: trace was of GLBenchmark Egypt test that had been run on Android. Retracing was done on Debian stable with new Mesa libs and latest Apitrace from git. > On quick look I didn't see what's the problem with the last valgrind warning That was reported also separately, as bug 66779, which got just fixed. Adding dep to that. I just posted a patch to mesa-div which fixes the first case: "i965: Fix brw_vs_prog_data_compare to actually check field members." (unfortunately the list archive hasn't updated yet, otherwise I'd link it) That case was also reported as bug #68233. (In reply to comment #2) > I just posted a patch to mesa-div which fixes the first case: > "i965: Fix brw_vs_prog_data_compare to actually check field members." > (unfortunately the list archive hasn't updated yet, otherwise I'd link it) Oh, I had missed it using the wrong variable (or using &)... <blush> > That case was also reported as bug #68233. Adding as dep. The only valgrind report left from GLBenchmark startup strace eglretrace is this (which happens also with Mesa build from last week): ------------------------------------------ ==19691== Conditional jump or move depends on uninitialised value(s) ==19691== at 0x8013D94: brw_upload_cache (brw_state_cache.c:218) ==19691== by 0x803ACA1: do_vs_prog (brw_vs.c:376) ==19691== by 0x803B5F7: brw_vs_precompile (brw_vs.c:609) ==19691== by 0x8013317: brw_link_shader (brw_shader.cpp:72) ==19691== by 0x84D57D1: _mesa_glsl_link_shader (ir_to_mesa.cpp:3221) ==19691== by 0x8393AED: link_program (shaderapi.c:784) ==19691== by 0x5789E5: retrace_glLinkProgram(trace::Call&) (glproc.hpp:12147) ------------------------------------------ I.e. this code: ------------------------------------------ if (!cache->aux_compare[result_item->cache_id](item_aux, aux, item->aux_size, item->key)) continue; ------------------------------------------ From which I couldn't see what variable was triggering it. These don't happen anymore, I assume this was fixed a long time ago. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.