Package: xorg
Severity: normal
Since a month or so, I experience regular crashes of my Debian testing
machine. About one per week, if not more. The crash is related to the
use of Xorg (so my report here), but usually break the whole system down.
Sorry for the length of this message, but I wanted to give you as much
information as I could.
SOME GENERIC REMARKS
- CRASH NEVER OCCURS WHEN THE MACHINE IS UNATTENDED (mine is up 24/24)
or in remote text access (I do remote backups, have a CVS server on it,
and such: never crashed during that kind of operations). That even if
Xorg is running in whatever configuration.
- IT USUALLY CRASH WHEN OR JUST AFTER I SWITCH X SESSION.
I usually run 2 to 4 xsessions in parallel (CTRL-ALT-F7 to CTRL-ALT-F10)
and switch between them using the usual key commands.
SYMPTOMS BEFORE CRASHES
===
- Text consoles becomes unreadable. Either the screen is black, only
cursor shown, or strange graphics in black/gray/white filling the
screen. In both case, except of the display, the terminal seems to
be functional.
- Pixmap under X11 are sometimes filled with random data found in
memory. Eg. the KDE bar is filled with what looks like to be some
Firefox page displayed some time ago, or simply random noise.
- When switching session (by alt-ctrl-Fn) a temporary black screen
appears (not unusual) but there is blue-green dotted cursor as wide
as the screen that can be moved with the mouse. Sometimes the crash
occurs on that screen.
- Those symptoms can last pretty long before a crash occurs. They
doesnt show up when only one session is openned (and swtiching
to text consoles). Usually opening a second session is enough to
render the text consoles unusable.
LOGS TRACES LEFT AFTER REBOOT
=
As the crash of the Xserver render the machine unusable (usually the
kernel is crashed too), there are not much info I have left. But there
are some logs that my be interesting. They are below:
- From /var/log/Xorg.0.log.old
Note: Last crash didnt left anything useful in this log file.
So I pastle an older crash under the same conditions (but from
06/03/04, so likely with a previous Xorg version):
Backtrace:
0: /usr/X11R6/bin/X(xf86SigHandler+0x88) [0x80897b8]
1: [0xe420]
2: /usr/X11R6/bin/X(OtherClientGone+0x51) [0x80ccf61]
3: /usr/X11R6/bin/X(FreeClientResources+0x8c) [0x80d891c]
4: /usr/X11R6/bin/X(CloseDownClient+0x180) [0x80c8f90]
5: /usr/X11R6/bin/X(Dispatch+0x261) [0x80c9b61]
6: /usr/X11R6/bin/X(main+0x415) [0x80d6765]
7: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd0) [0xb7e20eb0]
8: /usr/X11R6/bin/X [0x8070131]
Fatal server error:
Caught signal 11. Server aborting
- From /var/log/Xorg.1.log.old
Note: This is from last crash.
(II) SIS(0): Restoring by setting old mode 0x03
(II) Open ACPI successful (/var/run/acpid.socket)
(II) SIS(0): Setting standard mode 0x4d
This is repeated a few times before EOF.
- From /var/log/daemon.log
Note: On last crash, the kernel didnt die completly but new
processes seemed unable to start, so the Cannot execute
and abnormal terminaison below, imho.
Apr 22 09:22:56 garp kdm[6262]: X server for display :0 terminated
unexpectedly
Apr 22 09:23:00 garp kdm: :0[6301]: Cannot execute reset script
/etc/kde3/kdm/Xreset
Apr 22 09:23:03 garp kdm: :0[24093]: Abnormal termination of greeter for
display :0, code 0, signal 11
Apr 22 09:30:08 garp kdm[6262]: X server for display :1 terminated
unexpectedly
Apr 22 09:30:09 garp kdm: :1[28956]: Cannot execute reset script
/etc/kde3/kdm/Xreset
Apr 22 09:30:16 garp kdm: :1[24203]: Abnormal termination of greeter for
display :1, code 0, signal 11
Apr 22 09:31:26 garp kdm: :2[7400]: Cannot execute reset script
/etc/kde3/kdm/Xreset
Apr 22 09:35:01 garp dnsmasq[5646]: started, version 2.27 cachesize 150
Apr 22 09:35:01 garp dnsmasq[5646]: compile time options: IPv6
GNU-getopt RTNetlink ISC-leasefile no-DBus I18N
- From /var/log/messages
Note: I replaced Apr 22 09:24:22 garp kernel: by kernel: to
reduce the line length.
kernel: c015bc78
kernel: Modules linked in: nls_iso8859_1
nls_cp437 vfat fat binfmt_misc lp thermal fan button processor ac
battery ipv6 iptable_raw iptable_mangle ipt_ULOG ipt_TTL ipt_ttl
ipt_TOS ipt_tos ipt_TCPMSS ipt_tcpmss ipt_state ipt_sctp ipt_SAME
ipt_REJECT ipt_REDIRECT ipt_recent ipt_realm ipt_pkttype ipt_physdev
ipt_owner ipt_NOTRACK ipt_NETMAP ipt_multiport ipt_MASQUERADE ipt_MARK
ipt_mark ipt_mac ipt_LOG ipt_limit ipt_length ipt_iprange ipt_helper
ipt_hashlimit ipt_esp ipt_ECN ipt_ecn ipt_DSCP ipt_dscp ipt_conntrack