[Mesa-dev] [Bug 29302] New: indirect context creation segfaults

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 29 13:41:34 PDT 2010


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

           Summary: indirect context creation segfaults
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: GLX
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: wixorpeek at gmail.com
                CC: krh at bitplanet.net


this happens with current git (cd601513f5ff4f488a6f6527bb033e39ee62ffda), x
server 1.7.7. any attempt to create indirect context causes segmentation fault: 

Core was generated by `glxinfo -i'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007fb300dfaa2d in indirect_bind_context (gc=0x2541b10,
old=0x7fb30103d9c0, draw=39845891, read=39845891) at indirect_glx.c:140
140        if (old && !old->isDirect && old->psc->dpy == dpy)
(gdb) print *old
$1 = {buf = 0x7fb3010403e0 "", pc = 0x7fb3010403e0 "", limit = 0x7fb3010403e0
"", bufEnd = 0x7fb30104049c "", bufSize = 188, xid = 0, share_xid = 0, screen =
0, 
  psc = 0x0, imported = 0 '\000', currentContextTag = 0, renderMode = 0,
feedbackBuf = 0x0, selectBuf = 0x0, fastImageUnpack = 0 '\000', fillImage = 0, 
  attributes = {stack = {0x0 <repeats 16 times>}, stackPointer = 0x0}, error =
0, isDirect = 0, currentDpy = 0x0, currentDrawable = 0, vendor = 0x0, 
  renderer = 0x0, version = 0x0, extensions = 0x0, maxSmallRenderCommandSize =
0, majorOpcode = 0, config = 0x0, currentReadable = 0, client_state_private =
0x0, 
  renderType = 0, server_major = 0, server_minor = 0, thread_id = 0,
gl_extension_bits = '\000' <repeats 16 times>, vtable = 0x0}

(old->psc is NULL). direct rendering contexts are fine.

-- 
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 mesa-dev mailing list