#64 readback segfaults (with osmesa)

Render SPU (5)

both in current cvs and in 1.7 readback segfaults when
used with osmesa.

CR Debug(kde01:18101): Render SPU: GL_VENDOR:
Brian Paul
CR Debug(kde01:18101): Render SPU: GL_RENDERER:
Mesa OffScreen
CR Debug(kde01:18101): Render SPU: GL_VERSION:
1.3 Mesa 4.0.4
psubmit using window size: 400 x 400
CR Debug(kde01:18101): Readback SPU: 5 bytes per
pixel (3 RGB[A] + 2 Z)
CR Debug(kde01:18101): Readback SPU: 800000 bytes
per 400x400 image
CR Error(kde01:18095): "psubmit" terminated with
uncaught signal=11 (SIGSEGV)

Program received signal SIGSEGV, Segmentation fault.
0x4034e227 in XQueryExtension () from
(gdb) bt
#0 0x4034e227 in XQueryExtension () from
#1 0x40342e7b in XInitExtension () from
#2 0x41134ad4 in XextAddDisplay () from
#3 0x4119ad8f in __glXFindDisplay () from
#4 0x4119b43a in __glXInitialize () from /usr/lib/libGL.so
#5 0x41198d34 in glXSwapBuffers () from
#6 0x4108965f in renderspu_SystemSwapBuffers
(w=0x80a95f0, flags=0) at renderspu_glx.c:1295
#7 0x41085613 in renderspuSwapBuffers (window=0,
flags=0) at renderspu.c:457
#8 0x400a8e66 in readbackspuSwapBuffers (win=0,
flags=0) at readbackspu.c:694
#9 0x40055cda in stubSwapBuffers
(window=0x804d558, flags=0) at context.c:1107
#10 0x4005498b in crSwapBuffers (window=0, flags=0)
at stub.c:71
#11 0x080496ce in main (argc=7, argv=0xbffff3a4) at
(gdb) frame 6
#6 0x4108965f in renderspu_SystemSwapBuffers
(w=0x80a95f0, flags=0) at renderspu_glx.c:1295
1295 render_spu.ws.glXSwapBuffers(
w->visual->dpy, w->window );
(gdb) print w->window
$1 = 0
(gdb) print w->visual
$2 = (VisualInfo *) 0x41090c5c
(gdb) print w->visual->dpy
$3 = (Display *) 0x0


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks