View Single Post
Old 12-28-11, 11:48 AM   #1
O01eg
Registered User
 
Join Date: Dec 2011
Posts: 3
Exclamation Xorg 1.11.2 gets segfault after switch into its console.

When I switch into Xorg server after some time of work at another console the Xorg server get segfault if it have started with hardware cursor. With enabled software cursor this bug cann't be reproduced.

Some information from coredump:

Core was generated by `X :4 vt1 -nolisten tcp -br'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000004e6cc5 in xf86CursorSetCursor (pDev=0x1050260, pScreen=0x8b2430,
pCurs=0x140dd70, x=640, y=512)
at
/tmp/portage/x11-base/xorg-server-1.11.2-r2/work/xorg-server-1.11.2/hw/xfree86/ramdac/xf86Cursor.c:329
329 ScreenPriv->HotX = pCurs->bits->xhot;
(gdb) p pCurs
$3 = (CursorPtr) 0x140dd70
(gdb) p pCurs->bits
$4 = (CursorBitsPtr) 0x100cb5f0100cb60
(gdb) p pCurs->bits->xhot
Cannot access memory at address 0x100cb5f0100cb78
(gdb) p *pCurs
$5 = {bits = 0x100cb5f0100cb60, foreRed = 1280, foreGreen = 255, foreBlue =
1281, backRed = 255, backGreen = 0, backBlue = 0, refcnt = 1,
devPrivates = 0xff003100ff0030, id = 0, serialNumber = 0, name = 3592765440}
(gdb) p *pCurs->bits
Cannot access memory at address 0x100cb5f0100cb60
(gdb) bt
#0 0x00000000004e6cc5 in xf86CursorSetCursor (pDev=0x1050260, pScreen=0x8b2430,
pCurs=0x140dd70, x=640, y=512)
at
/tmp/portage/x11-base/xorg-server-1.11.2-r2/work/xorg-server-1.11.2/hw/xfree86/ramdac/xf86Cursor.c:329
#1 0x00000000004e68d9 in xf86CursorEnableDisableFBAccess (index=0, enable=1)
at
/tmp/portage/x11-base/xorg-server-1.11.2-r2/work/xorg-server-1.11.2/hw/xfree86/ramdac/xf86Cursor.c:235
#2 0x0000000000492d8e in xf86VTSwitch () at
/tmp/portage/x11-base/xorg-server-1.11.2-r2/work/xorg-server-1.11.2/hw/xfree86/common/xf86Events.c:530
#3 0x0000000000492696 in xf86Wakeup (blockData=0x0, err=-1, pReadmask=0x884840)
at
/tmp/portage/x11-base/xorg-server-1.11.2-r2/work/xorg-server-1.11.2/hw/xfree86/common/xf86Events.c:284
#4 0x00000000004423b2 in WakeupHandler (result=-1, pReadmask=0x884840)
at
/tmp/portage/x11-base/xorg-server-1.11.2-r2/work/xorg-server-1.11.2/dix/dixutils.c:421
#5 0x00000000005f0611 in WaitForSomething (pClientsReady=0x1086c80) at
/tmp/portage/x11-base/xorg-server-1.11.2-r2/work/xorg-server-1.11.2/os/WaitFor.c:235
#6 0x000000000043426d in Dispatch () at
/tmp/portage/x11-base/xorg-server-1.11.2-r2/work/xorg-server-1.11.2/dix/dispatch.c:368
#7 0x000000000042596d in main (argc=6, argv=0x7fff56b1ec08,
envp=0x7fff56b1ec40)
at
/tmp/portage/x11-base/xorg-server-1.11.2-r2/work/xorg-server-1.11.2/dix/main.c:287

Here https://bugs.freedesktop.org/show_bug.cgi?id=44193 Xorg.1.log and xorg.conf.
Attached Files
File Type: gz nvidia-bug-report.log.gz (68.0 KB, 23 views)
O01eg is offline   Reply With Quote