Bug detailed description:
Destination window of wincopy flickers while press "f" to toggle f/b color buffer
If run on hardware,type "./wincopy", f/b color buffer rendered normally
3. LIBGL_ALWAYS_SOFTWARE=1 ./wincopy
updating status, nowadays swrast driver crashes with this demo
--- 8< ----
Drawing to GL_FRONT buffer
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6d70483 in blit_copy_pixels (ctx=0x7ffff7fd7010, srcx=0, srcy=0, width=300, height=300, dstx=0, dsty=0, type=6144)
warning: Source file is more recent than executable.
1414 drawY = rbDraw->Base.Height - drawY - drawH;
Missing separate debuginfos, use: debuginfo-install expat-2.1.0-5.fc19.x86_64 libGLEW-1.9.0-3.fc19.x86_64 libXau-1.0.8-1.fc19.x86_64 libXdamage-1.1.4-3.fc19.x86_64 libXext-1.3.2-1.fc19.x86_64 libXfixes-5.0.1-1.fc19.x86_64 libXxf86vm-1.1.3-1.fc19.x86_64 libffi-3.0.13-4.fc19.x86_64 libgcc-4.8.3-1.fc19.x86_64 libstdc++-4.8.3-1.fc19.x86_64 libxcb-1.9-3.fc19.x86_64 llvm-libs-3.3-4.fc19.x86_64 mesa-libGLU-9.0.0-4.fc19.x86_64 zlib-1.2.7-10.fc19.x86_64
#0 0x00007ffff6d70483 in blit_copy_pixels (ctx=0x7ffff7fd7010, srcx=0, srcy=0, width=300, height=300, dstx=0, dsty=0,
type=6144) at state_tracker/st_cb_drawpixels.c:1414
#1 0x00007ffff6d708bb in st_CopyPixels (ctx=0x7ffff7fd7010, srcx=0, srcy=0, width=300, height=300, dstx=0, dsty=0, type=6144)
#2 0x00007ffff6c11b4c in _mesa_CopyPixels (srcx=0, srcy=0, width=300, height=300, type=6144) at main/drawpix.c:269
#3 0x0000000000401814 in Redraw () at wincopy.c:164
#4 0x0000000000401905 in EventLoop () at wincopy.c:232
#5 0x00000000004013cf in main (argc=<optimized out>, argv=<optimized out>) at wincopy.c:312
> warning: Source file is more recent than executable.
Sorry about this, it came from unrelated changes .. however I just tested that the function names match fine with a clean tree. Had also a bit more look at it, these issues happen because rbDraw is NULL, maybe st_DrawBuffers would be a good place to start looking what goes wrong (?)
-- 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/226.