[Mesa-dev] [Bug 32528] X server crashes in VMware guest when KDE started with kwin "OpenGLIsUnsafe=false"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 20 08:25:25 PST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=32528

--- Comment #1 from Hugh Daschbach <hdasch at gmail.com> 2010-12-20 08:25:25 PST ---
Before finding that it's common to simply disable OpenGL in
.kde4/share/config/kwinrc:

    OpenGLIsUnsafe=true

I poked around the crash a bit.  I believe the crash happens when
swrastSetTexBuffer2() passes a NULL texImage->Data value down to
sPriv->swrast_loader->getImage().  Here's the backtrace from gdb just before
the crash:


Breakpoint 1, 0xb747da06 in VMWAREGetImage ()
   from /usr/lib/xorg/modules/drivers/vmwlegacy_drv.so
(gdb) bt
#0  0xb747da06 in VMWAREGetImage ()
   from /usr/lib/xorg/modules/drivers/vmwlegacy_drv.so
#1  0x081a786d in miSpriteGetImage ()
#2  0xb74cc14b in swrastGetImage ()
   from /usr/lib/xorg/modules/extensions/libglx.so
#3  0xaef6f81c in swrastSetTexBuffer2 (pDRICtx=0xa31e888, target=3553, 
    texture_format=8410, dPriv=0xa0a9068) at swrast.c:97
#4  0xaef6f887 in swrastSetTexBuffer (pDRICtx=0xa31e888, target=3553, 
    dPriv=0xa0a9068) at swrast.c:106
#5  0xb74cc0ad in __glXDRIbindTexImage ()
   from /usr/lib/xorg/modules/extensions/libglx.so
#6  0xb74c8802 in __glXDisp_BindTexImageEXT ()
   from /usr/lib/xorg/modules/extensions/libglx.so
#7  0xb74c967a in __glXDisp_VendorPrivate ()
   from /usr/lib/xorg/modules/extensions/libglx.so
#8  0xb74cb66f in __glXDispatch ()
   from /usr/lib/xorg/modules/extensions/libglx.so
#9  0x0806f187 in Dispatch ()
#10 0x080621b5 in main ()
(gdb) c
Continuing.

Now that I've turned on OpenGLIsSafe, this isn't a big issue for me.  But I'm
left wondering, is this a bug, an incomplete feature, or an unsupported
configuration?  Is it an itch worth scratching further?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list