Bug 45352 - SIGSEGV drisw_glx.c:95
Summary: SIGSEGV drisw_glx.c:95
Alias: None
Product: Mesa
Classification: Unclassified
Component: GLX (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: mesa-dev
QA Contact:
Depends on:
Reported: 2012-01-28 16:02 UTC by Vinson Lee
Modified: 2019-09-18 17:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Vinson Lee 2012-01-28 16:02:59 UTC
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);
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
Comment 1 GitLab Migration User 2019-09-18 17:44:04 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/82.

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.