Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#15930 - [kdm] After logging into KDE via KDM then logging out Xorg crashes

Attached to Project: Arch Linux
Opened by Fred (pseudonomous) - Friday, 14 August 2009, 00:23 GMT
Last edited by Pierre Schmitz (Pierre) - Friday, 30 October 2009, 23:45 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Pierre Schmitz (Pierre)
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

When I logout from KDE Xorg crashes, this happens consistently everytime I login, whether I start KDE via kdm with init:

x:5:respawn:/usr/bin/kdm --nodeamon

or

x:5:once:/etc/rc.d/kdm start

Or U call the /etc/rc.d/kdm start script from a console.

The kdm process continues to run although X has crashed.

I've never had any trouble starting X by restarting kdm, even after a crash.

Additional info:
* package version(s)

Most of my KDE packages are either at version 4.3.0-1 or 4.3.0-2 my system is up to date as of August 13, 2009 except for my curl package, which I doubt matters. I can't figure out to tell what version kdm is nor what package provides it.

Xorg packages:

extra/xf86-input-evdev 2.2.3-1 (xorg-input-drivers)
X.org evdev input driver
extra/xf86-input-synaptics 1.1.2-2 (xorg-input-drivers)
synaptics driver for notebook touchpads
extra/xf86-video-intel 2.7.99.902-1 (xorg-video-drivers)
X.org Intel i810/i830/i915/945G/G965+ video drivers
extra/xf86-video-vesa 2.2.0-1 (xorg xorg-video-drivers)
X.org vesa video driver
extra/xorg-apps 7.4-2
Various X.Org applications
extra/xorg-font-utils 7.4-2
X.Org font utilities
extra/xorg-fonts-100dpi 1.0.1-2 (xorg)
X.org 100dpi fonts
extra/xorg-fonts-75dpi 1.0.1-2 (xorg)
X.org 75dpi fonts
extra/xorg-fonts-alias 1.0.1-2
X.org font alias files
extra/xorg-fonts-encodings 1.0.2-3
X.org font encoding files
extra/xorg-fonts-misc 1.0.0-4
X.org misc fonts
extra/xorg-res-utils 1.0.3-3 (xorg)
X.Org X11 resource utilities
extra/xorg-server 1.6.3-2 (xorg)
X.Org X servers
extra/xorg-server-utils 7.4-6 (xorg)
X.Org utilities required by xorg-server
extra/xorg-twm 1.0.4-3 (xorg)
Tab Window Manager for the X Window System
extra/xorg-utils 7.4-4 (xorg)
Collection of client utilities used to query the X server
extra/xorg-xauth 1.0.3-1
X.Org authorization settings program
extra/xorg-xinit 1.1.1-1 (xorg)
X.Org initialisation program
extra/xorg-xkb-utils 7.4-2
X.org keyboard utilities

DRM:

extra/libdrm 2.4.12-1
Userspace interface to kernel DRM service

kernel:

core/kernel-headers 2.6.30.1-1 (base)
Kernel headers sanitized for use in userspace
core/kernel26 2.6.30.4-1 (base)
The Linux Kernel and modules
core/kernel26-firmware 2.6.30-1 (base)
The included firmware files of the Linux Kernel
core/klibc-module-init-tools 3.8-1 (base)
Utilities for inserting and removing modules from the Linux kernel
core/module-init-tools 3.8-1 (base)
utilities needed by Linux systems for managing loadable kernel modules

Hardware info:

I've got a dell mini 10v netbook, that's got an atom n270 processor w/ intel gma 950 graphics, more specifically here's info about my memory controller and Display controller from lspci:

00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)


* config and/or log files etc.

I've attached the whole Xorg.0.log.old, but I think this is the significant part:

(EE) intel(0): Failed to initialize kernel memory manager
(==) intel(0): VideoRam: 262144 KB
(II) intel(0): Attempting memory allocation with tiled buffers.

Backtrace:
0: /usr/bin/X(xorg_backtrace+0x3b) [0x813171b]
1: /usr/bin/X(xf86SigHandler+0x9e) [0x80caf0e]
2: [0xb7ffa400]
3: /usr/lib/xorg/modules/drivers//intel_drv.so(i830_allocate_memory+0x203) [0xb7a519f3]
4: /usr/lib/xorg/modules/drivers//intel_drv.so(i830_allocate_framebuffer+0x2b9) [0xb7a52109]
5: /usr/lib/xorg/modules/drivers//intel_drv.so(i830_allocate_2d_memory+0xeb) [0xb7a5242b]
6: /usr/lib/xorg/modules/drivers//intel_drv.so [0xb7a47565]
7: /usr/lib/xorg/modules/drivers//intel_drv.so [0xb7a4be8f]
8: /usr/bin/X(AddScreen+0x198) [0x8071788]
9: /usr/bin/X(InitOutput+0x72e) [0x80af88e]
10: /usr/bin/X(main+0x1cb) [0x8071e9b]
11: /lib/libc.so.6(__libc_start_main+0xe6) [0xb7bbda36]
12: /usr/bin/X [0x8071511]

Fatal server error:
Caught signal 11. Server aborting

I've attached my /var/log/kdm.log as well, note that it contains some entries pertaining to my current, not yet crashed session
of KDE, as well as the previous session that crashed.

I'll atach the kdmrc file too

Steps to reproduce:

Start KDM, logout of KDE.
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Friday, 30 October 2009, 23:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in KDE 4.3.3
Comment by Fred (pseudonomous) - Friday, 14 August 2009, 00:24 GMT
I'm not sure if those files got attached, here they are again, just in case.
Comment by Glenn Matthys (RedShift) - Friday, 14 August 2009, 07:30 GMT
I have the same problem as you, also using the intel driver. It doesn't happen to me on my nvidia workstation. I was waiting for a new upstream release of xf86-video-intel to see if it would solve this problem.
Comment by Glenn Matthys (RedShift) - Friday, 14 August 2009, 07:40 GMT Comment by David Gonzalez (allenskd) - Saturday, 15 August 2009, 17:30 GMT
I looked up this in KDE's bug tracker yesterday and found a solution, since we have the same graphics card I'd hope it works for you

Related to: https://bugs.kde.org/show_bug.cgi?id=202629

Edit kdmrc ( in /usr/share/config/kdm/kdmrc )
In the section of [X-*-Core] at the end paste "TerminateServer=true" (without the quotes and before greeter)

   kdmrc (1.6 KiB)
Comment by Jan de Groot (JGC) - Saturday, 15 August 2009, 18:30 GMT
As discussed before, this should just be default. xdm and gdm restart X after exit also, so it's not weird if kdm does the same by default.

Loading...