Summary: | hang in sauerbaten after recent git master upgrade | ||
---|---|---|---|
Product: | Mesa | Reporter: | David Ronis <David.Ronis> |
Component: | Drivers/DRI/r200 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | critical | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Fix double unmap call when flushing from refill |
Description
David Ronis
2010-03-14 11:13:54 UTC
Created attachment 34055 [details] [review] Fix double unmap call when flushing from refill Does this fix the bug for you? The game has gone back to its previous level of stability; namely, I still crash, just not 100% of the time. (I think that this is bug 25597) I see the following on the console: *********************************WARN_ONCE********************************* File radeon_dma.c function radeonReleaseDmaRegions line 340 Leaking dma buffer object! *************************************************************************** *** glibc detected *** ./bin_unix/native_client: free(): invalid pointer: 0x084576b4 *** ======= Backtrace: ========= /lib/libc.so.6[0xb7307564] /lib/libc.so.6(cfree+0x90)[0xb730b010] /usr/lib/dri/r200_dri.so[0xb6484d31] /usr/lib/dri/r200_dri.so[0xb6482997] /usr/lib/dri/r200_dri.so[0xb647ea9e] /usr/lib/dri/r200_dri.so[0xb644a5d1] /usr/lib/dri/r200_dri.so[0xb6441cc8] /usr/lib/libGL.so.1[0xb75700b9] /usr/lib/libGL.so.1[0xb7537c3a] /usr/lib/libGL.so.1(glXDestroyContext+0x18)[0xb7537d9e] /usr/lib/libSDL-1.2.so.0[0xb76cb1b4] Here's a backtrace I was able to capture after the last crash (with your patch applied). #5 0xb6484d31 in radeonReleaseDmaRegions (rmesa=0x8457698) at radeon_dma.c:343 dma_bo = (struct radeon_dma_bo *) 0x84576b4 temp = (struct radeon_dma_bo *) 0x96d8cf8 expire_at = 64069 time = 63969 __FUNCTION__ = "radeonReleaseDmaRegions" #6 0xb6482997 in rcommonFlushCmdBuf (rmesa=0x8457698, caller=0xb66bb428 "radeonDestroyContext") at radeon_common.c:1224 ret = -1236282016 #7 0xb647ea9e in radeonDestroyContext (driContextPriv=0x842eac0) at radeon_common_context.c:308 ctx = (GLcontext *) 0x0 radeon = (radeonContextPtr) 0x8457698 current = (radeonContextPtr) 0x0 __PRETTY_FUNCTION__ = "radeonDestroyContext" __FUNCTION__ = "radeonDestroyContext" #8 0xb644a5d1 in r200DestroyContext (driContextPriv=0x842eac0) at r200_context.c:511 i = 6 rmesa = (r200ContextPtr) 0x8457698 #9 0xb6441cc8 in driDestroyContext (pcp=0x842eac0) at ../common/dri_util.c:551 No locals. #10 0xb75700b9 in driDestroyContext (context=0x84554d0, psc=0x8454aa0, dpy=0x84116d8) at dri_glx.c:482 pcp = (__GLXDRIcontextPrivate *) 0x84554d0 #11 0xb7537c3a in DestroyContext (dpy=0x84116d8, gc=0x842cc10) at glxcmds.c:548 req = (xGLXDestroyContextReq *) 0xb73e3ff4 xid = 67108866 opcode = 151 '\227' imported = 0 '\0' #12 0xb7537d9e in glXDestroyContext (dpy=0x84116d8, gc=0x842cc10) at glxcmds.c:584 No locals. #13 0xb76cb1b4 in X11_GL_Shutdown () from /usr/lib/libSDL-1.2.so.0 No locals. #14 0x0842cc10 in ?? () No symbol table info available. #15 0x00000000 in ?? () No symbol table info available. Fixed in commit e9c2c4a76466fc1ccfbf4d5de048414f7126b940 to 7.8 branch. Only one bug per report, please :) This hasn't been committed to master it seems. |
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.