[Bug 77863] i965/valgrind + glxgears = More than 10000000 total errors detected

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 10 12:35:32 PDT 2015


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

--- Comment #5 from Austin English <austinenglish at gmail.com> ---
(In reply to Kenneth Graunke from comment #4)
> Recompiling the valgrind package, you mean?
> 
> Are you closing glxgears by hitting Ctrl+C in the terminal or clicking the
> [X] button in the window titlebar?  Both of those simply kill the
> application - it does not call glXDestroyContext.  So everything it ever did
> with OpenGL leaks.
> 
> If you close it by pressing the Escape key, then it will quit gracefully,
> calling glXDestroyContext.  With DRI2, I get no leaks at all.  (DRI3
> apparently has a few small leaks.)

Thanks for clarifying. Indeed, using escape shows no leaks.

I do get one valrind issue, in the driver:
==32457== Syscall param ioctl(generic) points to uninitialised byte(s)
==32457==    at 0x34E72F6407: ioctl (in /usr/lib64/libc-2.20.so)
==32457==    by 0x34F02036C7: drmIoctl (in /usr/lib64/libdrm.so.2.4.0)
==32457==    by 0x34F02061FB: drmPrimeHandleToFD (in
/usr/lib64/libdrm.so.2.4.0)
==32457==    by 0x57B561D: drm_intel_bo_gem_export_to_prime (in
/usr/lib64/libdrm_intel.so.1.0.0)
==32457==    by 0x5340807: ??? (in /usr/lib64/dri/i965_dri.so)
==32457==    by 0x34F2A4E53D: ??? (in /usr/lib64/libGL.so.1.2.0)
==32457==    by 0x34F2A4F389: ??? (in /usr/lib64/libGL.so.1.2.0)
==32457==    by 0x535DE96: ??? (in /usr/lib64/dri/i965_dri.so)
==32457==    by 0x535E1C4: ??? (in /usr/lib64/dri/i965_dri.so)
==32457==    by 0x535E316: ??? (in /usr/lib64/dri/i965_dri.so)
==32457==    by 0x52FEE95: ??? (in /usr/lib64/dri/i965_dri.so)
==32457==    by 0x34F2A4D979: ??? (in /usr/lib64/libGL.so.1.2.0)
==32457==  Address 0xffefff958 is on thread 1's stack
==32457==  in frame #2, created by drmPrimeHandleToFD (???:)
==32457==

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20150310/be33078c/attachment.html>


More information about the intel-3d-bugs mailing list