Ticket #426 (closed crash: fixed)
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
Change History
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:6 Changed 3 years ago by jeremyhu@…
This is a regression from this commit: http://cgit.freedesktop.org/xorg/xserver/commit/?id=f0006aa58f6cf7552a239e169ff6e7e4fda532f4
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

Crash Report