Ticket #426 (closed crash: fixed)

Opened 3 years ago

Last modified 3 years ago

Crash in X11 2.5.22 (OpenGL related)

Reported by: joey.mukherjee@… Owned by: jeremyhu@…
Priority: Expected Milestone: 2.5.3
Component: GLX Version: 2.5.2 (xserver-1.8.2)
Keywords: Cc: jim.carson@…

Description

X11 will crash after running some OpenGL content. My experiences have all been VTK (http://www.vtk.org) related, but unaware if this is the only way to reproduce the crash. One way to reproduce the crash is with the VTK related program, Paraview (http://www.paraview.org/paraview/resources/software.html). I find just starting and then quitting Paraview is enough to generate the crash. However, even while using Paraview I'd had a similar crash.

Attachments

crash.txt (31.4 KB) - added by joey.mukherjee@… 3 years ago.
Crash Report
image.vtk (1.1 KB) - added by joey.mukherjee@… 3 years ago.
Example data file for use with Paraview

Change History

Changed 3 years ago by joey.mukherjee@…

Crash Report

Changed 3 years ago by joey.mukherjee@…

Example data file for use with Paraview

comment:1 Changed 3 years ago by joey.mukherjee@…

I've attached a crash report which shows the error. The example data file I attached may or may not be necessary. To use the example file: File->Open (All Types)->image.vtk. A little image should appear.

comment:2 Changed 3 years ago by jeremyhu@…

  • Status changed from new to assigned
  • Priority changed from Important to Expected

comment:3 Changed 3 years ago by jeremyhu@…

Just to be certain, are you running with:

export LIBGL_ALWAYS_INDIRECT=1

I'm assuming you are, but there might be some weird path with the remote host trying to do software GL on the remote client. It's worth just verifying that the problem persists when you do that.

comment:4 Changed 3 years ago by joey.mukherjee@…

Yes, even with the export command, I see the same issue.

comment:5 Changed 3 years ago by jeremyhu@…

I am able to reproduce the problem using paraview, then File->quit

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000004
[Switching to process 260]
0x000000010020769d in DrawableGone (glxPriv=0x1007c9bc0, xid=8389235) at glxext.c:133
133	    if (glxPriv->drawId != glxPriv->pDraw->id) {
(gdb) print glxPriv
$1 = (__GLXdrawable *) 0x1007c9bc0
(gdb) print glxPriv->pDraw
$2 = (DrawablePtr) 0x0
(gdb) 

comment:7 Changed 3 years ago by jeremyhu@…

It looks like this setting of pDraw to NULL got accidently switched in http://cgit.freedesktop.org/~jeremyhu/xserver/commit/?id=ed7ccc481ad1caaa518cafe944c2327a5d0b6c65

comment:8 Changed 3 years ago by jeremyhu@…

  • Status changed from assigned to closed
  • Resolution set to fixed

comment:9 Changed 3 years ago by jeremyhu@…

  • Milestone changed from 2.6.0 to 2.5.3

comment:10 Changed 3 years ago by jim.carson@…

  • Cc jim.carson@… added

Cc Me!

Note: See TracTickets for help on using tickets.