Bug 107226 - Xorg server 1.20.0 crashes due to an assertion failure in dixRegisterPrivateKey()
Summary: Xorg server 1.20.0 crashes due to an assertion failure in dixRegisterPrivateK...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/Acceleration/glamor (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-13 20:06 UTC by Peter Klotz
Modified: 2018-10-20 16:20 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Backtrace of the core dump captured by systemd on startup (1.97 KB, text/plain)
2018-07-13 20:06 UTC, Peter Klotz
no flags Details
Log of failed Xorg server startup (6.39 KB, text/plain)
2018-07-14 19:49 UTC, Peter Klotz
no flags Details
Log of successful Xorg server startup (50.29 KB, text/plain)
2018-07-14 19:50 UTC, Peter Klotz
no flags Details
journalctl output of a failing boot with kernel 4.18.9 (161.71 KB, text/plain)
2018-10-06 20:08 UTC, Peter Klotz
no flags Details

Description Peter Klotz 2018-07-13 20:06:37 UTC
Created attachment 140633 [details]
Backtrace of the core dump captured by systemd on startup

The attached backtrace shows a failed assertion in dixRegisterPrivateKey().

The hardware is an old Intel Core 2 Duo P8400 Notebook (ICH9 Family) with an Intel GMA4500 GPU. An external monitor is connected via HDMI.

The OS is an up-to-date Arch Linux x86_64 with kernel 4.17.5.

The problem is rather annoying since it prevents the machine from booting. It could be some kind of race condition because after several attempts the Xorg server keeps running and SDDM displays its login screen. Due to this bug I currently avoid reboots. Maybe at some point I will lock myself out of the system (at least from a GUI perspective).
Comment 1 Peter Klotz 2018-07-14 19:49:29 UTC
Created attachment 140637 [details]
Log of failed Xorg server startup
Comment 2 Peter Klotz 2018-07-14 19:50:03 UTC
Created attachment 140638 [details]
Log of successful Xorg server startup
Comment 3 Timo Aaltonen 2018-10-02 11:06:29 UTC
Could you attach a dmesg dump together with the xorg log from a failing boot?
Comment 4 Peter Klotz 2018-10-06 20:08:51 UTC
Created attachment 141924 [details]
journalctl output of a failing boot with kernel 4.18.9

A closer look at the startup messages shows that sddm crashes first, then Xorg.

These messages appear in the log:

Oct 06 17:07:43 asusb50a sddm[489]: Failed to read display number from pipe
Oct 06 17:07:43 asusb50a sddm[489]: Display server failed to start. Exiting

Right after these messages sddm dumps core, Xorg follows 3 seconds later.


Sorry but I was unable to locate the corresponding Xorg log. Either Xorg crashed before any log output was produced or the log was never flushed to the disk.
Comment 5 Peter Klotz 2018-10-20 16:20:11 UTC
The bug can be considered as resolved.

It seems SDDM is to blame in combination with loading of the i915 kernel module. Older kernels like 4.14 work fine, but when booting newest 4.18 kernels the system hangs on every boot.

Putting the i915 module into initramfs fixes the issue.


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.