Comment 31 for bug 348428

Revision history for this message
In , Bugzi09-fdo-tormod (bugzi09-fdo-tormod) wrote :

Created an attachment (id=24378)
gdb session with full backtrace

Forwarded from Ubuntu https://bugs.launchpad.net/bugs/348428

When running two X servers (fast user switching) the second session will crash when switching to another VT:

*** glibc detected *** /usr/bin/X: double free or corruption (out): 0x0d73de98 ***

Snippet from gdb (note the render_state value):

#10 0xb792d336 in drm_intel_bo_unreference () from /usr/lib/libdrm_intel.so.1
No symbol table info available.
#11 0xb799e1dc in gen4_render_state_cleanup (pScrn=0x98f8760)
    at ../../src/i965_render.c:1727
 render_state = (struct gen4_render_state *) 0xc
 i = 0
#12 0xb797165d in I830LeaveVT (scrnIndex=0, flags=0)
    at ../../src/i830_driver.c:3624
 pScrn = (ScrnInfoPtr) 0x98f8760
 pI830 = (I830Ptr) 0x98f8dd8

This happens with -intel from master, mesa 7.4 and xserver 1.6.