Bug 10201

Summary: Refcounting assertion failure - OpenGL screensaver core-dumps with git Mesa (2007-Mar-06)
Product: Mesa Reporter: Chris Rankin <rankincj>
Component: Drivers/DRI/r200Assignee: Default DRI bug account <dri-devel>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Chris Rankin 2007-03-06 14:21:58 UTC
$ /usr/libexec/xscreensaver/atlantis
libGL warning: 3D driver claims to not support visual 0x4b
atlantis: main/framebuffer.c:256: _mesa_reference_framebuffer: Assertion `!*ptr' failed.
Aborted (core dumped)

(gdb) where
#0  0xb7fc2410 in __kernel_vsyscall ()
#1  0x413f3ee9 in raise () from /lib/libc.so.6
#2  0x413f54f1 in abort () from /lib/libc.so.6
#3  0x413ed859 in __assert_fail () from /lib/libc.so.6
#4  0xb7df8f63 in _mesa_reference_framebuffer (ptr=0x809028c, fb=0x83ae288)
    at main/framebuffer.c:256
#5  0xb7ddf643 in _mesa_make_current (newCtx=0x8090140, drawBuffer=0x83ae288,
    readBuffer=0x83ae288) at main/context.c:1727
#6  0xb7db47f4 in r200MakeCurrent (driContextPriv=0x807eed8,
    driDrawPriv=0x807ec80, driReadPriv=0x807ec80) at r200_context.c:685
#7  0xb7db1a17 in driBindContext (dpy=0x806d6a0, scrn=0, draw=46137345,
    read=46137345, ctx=0x807ee98) at ../common/dri_util.c:350
#8  0x4125687f in MakeContextCurrent (dpy=0x806d6a0, draw=46137345,
    read=46137345, gc=0x807ede8) at glxext.c:1625
#9  0x41256b3c in glXMakeCurrent (dpy=0x806d6a0, draw=46137345, gc=0x807ede8)
    at glxext.c:1801
#10 0x0804b1c0 in ?? ()
#11 0x0804dbd6 in ?? ()
#12 0x0804b4f8 in ?? ()
#13 0x0804c054 in ?? ()
#14 0x413e14e4 in __libc_start_main () from /lib/libc.so.6
#15 0x0804a801 in ?? ()
Comment 1 Chris Rankin 2007-03-06 14:24:22 UTC
Environment is FC5 with Xorg from FC6, running Linux 2.6.20.1.
Hardware is dual P4 Xeon with HT, with a Radeon 9200 card.
Comment 2 Roland Scheidegger 2007-03-06 14:32:36 UTC
Not 100% dupe since the code changed, but this is essentially the same as #10182
Comment 3 Roland Scheidegger 2007-03-06 14:35:35 UTC

*** This bug has been marked as a duplicate of bug 10182 ***
Comment 4 Brian Paul 2007-03-06 15:29:20 UTC
OK, try mesa git again.  I've made some additional changes.
Comment 5 Chris Rankin 2007-03-06 16:03:37 UTC
Yes, the xscreensavers, celestia and WoW/Wine all work again with these new changes.
Comment 6 Adam Jackson 2009-08-24 12:26:08 UTC
Mass version move, cvs -> git

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.