Summary: | ATI/Radeon vt switch dumps core with SWCursor | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Warren Block <wblock> | ||||||
Component: | Server/General | Assignee: | Xorg Project Team <xorg-team> | ||||||
Status: | RESOLVED DUPLICATE | QA Contact: | Xorg Project Team <xorg-team> | ||||||
Severity: | normal | ||||||||
Priority: | medium | CC: | jim, phelps | ||||||
Version: | 7.4 (2008.09) | ||||||||
Hardware: | Other | ||||||||
OS: | FreeBSD | ||||||||
Whiteboard: | |||||||||
i915 platform: | i915 features: | ||||||||
Attachments: |
|
Description
Warren Block
2009-04-18 18:39:11 UTC
Created attachment 24931 [details]
Xorg.0.log.old
I'm seeing what looks like the same issue with xorg-server-1.6.1, xf86-video-nouveau from git (7597203b) and a software cursor: Backtrace: 0: X(xorg_backtrace+0x26) [0x4e7466] 1: X(xf86SigHandler+0x39) [0x46eb49] 2: /lib/libc.so.6 [0x7fcafad16b70] 3: X(xf86_reload_cursors+0x45) [0x4a5985] 4: /usr/lib/xorg/modules/drivers//nouveau_drv.so [0x7fcaf9977ac5] 5: X(xf86CrtcSetModeTransform+0x47d) [0x4a481d] 6: X(xf86SetSingleMode+0x12f) [0x4a49df] 7: X(xf86SwitchMode+0x11b) [0x47695b] 8: X(VidModeSwitchMode+0x6f) [0x47332f] 9: /usr/lib/xorg/modules/extensions//libextmod.so [0x7fcafa431bda] 10: X(Dispatch+0x364) [0x446da4] 11: X(main+0x3bd) [0x42cc9d] 12: /lib/libc.so.6(__libc_start_main+0xe6) [0x7fcafad02ff6] 13: X [0x42c129] Fatal server error: Caught signal 11. Server aborting Like Mr. Block, I'm seeing a NULL cursor_screen_priv at xf86Cursors.c:615. Judging from the comment at xf86Cursors.c:614, I tried tweaking the code to simply return when cursor_screen_priv is NULL and this seems to resolve the problem for me. If I use a hardware cursor, then I don't experience this crash, so presumably cursor_screen_priv is not NULL in this case. Anyway, I tracked down the change to the following git commit: commit 0b8f8b24f718820a72ebdc52423c2e6a44e848c5 Author: Stuart Bennett <sb476@cam.ac.uk> Date: Tue Dec 2 22:52:53 2008 -0800 xf86Cursors: xf86_reload_cursors shouldn't unconditionally show hwcursor (#14820) Also, no need to call ShowCursor when SetCursorPosition already does it Based on a previous patch by Maarten Maathuis Signed-off-by: Keith Packard <keithp@keithp.com> Please let me know if there's anything else I can do to help. Thanks, -Ted This is the same bug as #21535, debian bug #507916, etc. The fix is trivial, just needs a NULL check... |
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.