This patch (plus http://cgit.freedesktop.org/xorg/xserver/commit/?h=server-1.6-branch&id=0d12c44d832b98da10dccc3b8bac7676d8ea2c96) fixes the issue for me. What happens in my case is that during processing of an UngrabDevice request, DeactivatePointerGrab calls PostNewCursor with a slave device as its argument, which AnimCurDisplayCursor can't handle. Similar fixes probably need to be applied to AnimCurSetCursorPosition and AnimCurRecolorCursor.
Created an attachment (id=21710)
fix
This patch (plus http:// cgit.freedeskto p.org/xorg/ xserver/ commit/ ?h=server- 1.6-branch& id=0d12c44d832b 98da10dccc3b8ba c7676d8ea2c96) fixes the issue for me. What happens in my case is that during processing of an UngrabDevice request, DeactivatePoint erGrab calls PostNewCursor with a slave device as its argument, which AnimCurDisplayC ursor can't handle. Similar fixes probably need to be applied to AnimCurSetCurso rPosition and AnimCurRecolorC ursor.