Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
mesa
mesa
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,379
    • Issues 2,379
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 663
    • Merge Requests 663
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • mesamesa
  • Issues
  • #82

Closed
Open
Opened Sep 18, 2019 by Bugzilla Migration User@bugzilla-migration

SIGSEGV drisw_glx.c:95

Submitted by Vinson Lee

Assigned to mes..@..op.org

Link to original bug (#45352)

Description

mesa:1d01429c (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

Version: git

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: mesa/mesa#82