Bug 44193 - Xorg crash after switch into its console.
Xorg crash after switch into its console.
Status: REOPENED
Product: xorg
Classification: Unclassified
Component: Server/General
7.7 (2012.06)
x86-64 (AMD64) Linux (All)
: medium major
Assigned To: Xorg Project Team
Xorg Project Team
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-27 12:11 UTC by Oleg
Modified: 2013-01-28 12:52 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.1.log (22.25 KB, text/plain)
2011-12-27 12:11 UTC, Oleg
no flags Details
xorg.conf (5.61 KB, text/plain)
2011-12-27 12:18 UTC, Oleg
no flags Details
Xorg.log after VT_ACTIVATE failed: Input/output error (42.46 KB, text/plain)
2013-01-28 12:51 UTC, Raphaël Droz
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg 2011-12-27 12:11:26 UTC
Created attachment 54866 [details]
Xorg.1.log

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
Comment 1 Oleg 2011-12-27 12:18:29 UTC
Created attachment 54868 [details]
xorg.conf

My xorg.conf
Comment 2 Julien Cristau 2011-12-28 02:57:49 UTC
We don't support the closed nvidia driver.
Comment 3 Raphaël Droz 2013-01-28 12:51:52 UTC
Created attachment 73771 [details]
Xorg.log after VT_ACTIVATE failed: Input/output error

getting the same issue using nouveau.
This happens randomly, using X, and without the need to switch tty.

xorg 1.13.1, nouveau 1.0.4 (NV34), linux 3.7.0
I will try to provide a stacktrace later.
maybe related: bug #31169 (attachement 47853)

(WW) xf86CloseConsole: KDSETMODE failed: Input/output error
(WW) xf86CloseConsole: VT_GETMODE failed: Input/output error
Fatal server error:
xf86CloseConsole: VT_ACTIVATE failed: Input/output error
Comment 4 Raphaël Droz 2013-01-28 12:52:27 UTC
reopening