Comment 0 for bug 333748

Revision history for this message
In , Martin Olsson (mnemo) wrote :

100% reproducible crash for 64-bit UXA+G45 and 32-bit UXA+965

1. boot ubuntu jaunty live cd (get it here: http://cdimage.ubuntu.com/daily-live/current/ )
2. run "sudo apt-get install git-core cmake build-essential glutg3-dev libtiff-dev libpng-dev"
3. run "git clone git://git.freedesktop.org/git/piglit" and move into that dir
4. run "ccmake ." and once inside the ugly curses ccmake UI, press "c", "e", "g" to configure and generate a makefile
5. run "make" to build all the test cases
6. finally, start the offending test using "./piglit-run.py -t glean/makeCurrent tests/all.tests result_dir"
7. SEGV in xserver

details about thig bug is included here:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/333748

btw, piglit is a GREAT way to find bugs. I hope you will be using it a lot!!

below is the stacktrace to the SEGV:
#0 DRI2GetBuffers (pDraw=0x0, width=0x1c1b444, height=0x1c1b448,
    attachments=0x7fff5d328f00, count=4, out_count=0x7fff5d328f3c)
    at ../../../../hw/xfree86/dri2/dri2.c:76
 pPriv = <value optimized out>
 buffers = <value optimized out>
#1 0x00007fb452344ca1 in dri2GetBuffers (driDrawable=<value optimized out>,
    width=0x1c1b444, height=0x1c1b448, attachments=0x7fff5d328f00, count=4,
    out_count=0x7fff5d328f3c, loaderPrivate=0x1e5ec60)
    at ../../glx/glxdri2.c:363
 buffers = <value optimized out>
 i = <value optimized out>
#2 0x00007fb440baba82 in intel_update_renderbuffers ()
   from /usr/lib/dri/i965_dri.so
#3 0x00007fb440babed5 in intelMakeCurrent () from /usr/lib/dri/i965_dri.so
#4 0x00007fb440ba2e2c in ?? () from /usr/lib/dri/i965_dri.so
#5 0x00007fb45233a936 in __glXForceCurrent (cl=0x1a30300,
    tag=<value optimized out>, error=0x7fff5d32907c) at ../../glx/glxext.c:394
 cx = (__GLXcontext *) 0x177bf90
#6 0x00007fb452338aae in DoMakeCurrent (cl=0x1a30300,
    drawId=<value optimized out>, readId=0, contextId=<value optimized out>,
    tag=1) at ../../glx/glxcmds.c:605
 client = (ClientPtr) 0x1c22610
 reply = {type = 0 '\0', unused = 0 '\0', sequenceNumber = 0,
  length = 0, contextTag = 5353551, pad2 = 0, pad3 = 0, pad4 = 0,
  pad5 = 13479616, pad6 = 0}
 glxc = (__GLXcontext *) 0x0
 prevglxc = (__GLXcontext *) 0x177bf90
 drawPriv = (__GLXdrawable *) 0x0
 readPriv = (__GLXdrawable *) 0x0
 error = <value optimized out>
 mask = <value optimized out>
 __PRETTY_FUNCTION__ = "DoMakeCurrent"
#7 0x00007fb45233aea2 in __glXDispatch (client=0x1c22610)
    at ../../glx/glxext.c:523
 stuff = (xGLXSingleReq *) 0x20362e0
 opcode = <value optimized out>
 cl = (__GLXclientState *) 0x1a30300
 retval = 1
#8 0x000000000044e1d4 in Dispatch () at ../../dix/dispatch.c:437
 result = <value optimized out>
 client = (ClientPtr) 0x1c22610
 nready = 0
 start_tick = 4500
#9 0x0000000000433c5d in main (argc=10, argv=0x7fff5d329298,
    envp=<value optimized out>) at ../../dix/main.c:397
 i = 1
 alwaysCheckForInput = {0, 1}