[Mesa-dev] [Bug 45352] New: SIGSEGV drisw_glx.c:95

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jan 28 16:02:59 PST 2012


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

             Bug #: 45352
           Summary: SIGSEGV drisw_glx.c:95
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: GLX
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: vlee at freedesktop.org


mesa:1d01429c6a1ae679d0cc0cb61db1948fca5ced4c (master)

Run piglit glx-visuals-depth -pixmap on swrast or softpipe.

$ ./bin/glx-visuals-depth -pixmap
Mesa: Initializing x86-64 optimizations
Segmentation fault (core dumped)

(gdb) bt
#0  XCreateDrawable (visualid=0, drawable=56623106, dpy=0x18e1010,
pdp=0x1ae4f90) at drisw_glx.c:95
#1  driswCreateDrawable (base=0x18f07d0, xDrawable=56623106,
drawable=<optimized out>, modes=0x18fef80) at drisw_glx.c:528
#2  0x00007f4ce94f5f24 in CreateDRIDrawable (dpy=<optimized out>,
config=0x18fef80, drawable=56623106, glxdrawable=56623107, 
    attrib_list=0x0, num_attribs=0) at glx_pbuffer.c:203
#3  0x00007f4ce94f62fa in CreateDrawable (dpy=0x18e1010, config=0x18fef80,
drawable=56623106, attrib_list=0x0, 
    glxCode=22 '\026') at glx_pbuffer.c:442
#4  0x000000000042d4b7 in piglit_glx_iterate_pixmap_fbconfigs (draw=0x429384
<draw>)
    at piglit/tests/util/piglit-glx-util.c:293
#5  0x0000000000429607 in main (argc=2, argv=0x7fffe629c678) at
piglit/tests/glx/glx-visuals-depth.c:104
(gdb) frame 0
#0  XCreateDrawable (visualid=0, drawable=56623106, dpy=0x18e1010,
pdp=0x1ae4f90) at drisw_glx.c:95
95       pdp->ximage = XCreateImage(dpy,
(gdb) l
90       visTemp.visualid = visualid;
91       visMask = VisualIDMask;
92       pdp->visinfo = XGetVisualInfo(dpy, visMask, &visTemp, &num_visuals);
93    
94       /* create XImage */
95       pdp->ximage = XCreateImage(dpy,
96                                  pdp->visinfo->visual,
97                                  pdp->visinfo->depth,
98                                  ZPixmap, 0,             /* format, offset
*/
99                                  NULL,                   /* data */
(gdb) print pdp->visinfo
$1 = (XVisualInfo *) 0x0

-- 
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