Bug#839236: sddm fails to display anything. segfault in sddm-greeter
Package: sddm
Version: 0.13.0-1
Severity: normal
Dear Maintainer,
I have updated from jessie to stretch. I have seperate /, /home and swap
partitions and did a clean install reformating the / partition. I was using
kdm but that has been dropped from stretch so I installed sddm instead. Now when
the computer boots, it attempts to start kde but I am left with a black screen.
I can use ctrl-alt-n to get to text console.
There is no error message displayed on the screen but the last message
displayed by dmesg is
[ 31.724349] sddm-greeter[1631]: segfault at 0 ip (null) sp bf8251ac error 4 in sddm-greeter[8048000+42000]
Despite the manual page saying users are not expected to run sddm-greeter, I
tried running it but that didn't work. I discovered that if I kill the
/usr/bin/sddm process, it, the X server, dbus-launch, sddm-greeter etc are
restarted but sddm-greeter segfaults again and I am again left with a black
screen. During this attempted restart the following was logged to
/var/log/debug
Sep 30 12:55:41 compaq sddm[1825]: Socket server stopping...
Sep 30 12:55:41 compaq sddm[1825]: Socket server stopped.
Sep 30 12:55:41 compaq sddm[1825]: Display server stopping...
Sep 30 12:55:41 compaq sddm[1825]: Display server stopped.
Sep 30 12:55:41 compaq sddm[1825]: Running display stop script "/usr/share/sddm/scripts/Xstop"
Sep 30 12:55:42 compaq sddm[1938]: Initializing...
Sep 30 12:55:42 compaq sddm[1938]: Starting...
Sep 30 12:55:42 compaq sddm[1938]: Adding new display on vt 7 ...
Sep 30 12:55:42 compaq sddm[1938]: Display server starting...
Sep 30 12:55:42 compaq sddm[1938]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{ec09794c-106e-4b08-9490-584cd2c42d66} -background none -noreset -displayfd 18 vt7
Sep 30 12:55:43 compaq sddm[1938]: Running display setup script "/usr/share/sddm/scripts/Xsetup"
Sep 30 12:55:43 compaq sddm[1938]: Display server started.
Sep 30 12:55:43 compaq sddm[1938]: Socket server starting...
Sep 30 12:55:43 compaq sddm[1938]: Socket server started.
Sep 30 12:55:43 compaq sddm[1938]: Greeter starting...
Sep 30 12:55:43 compaq sddm[1938]: Adding cookie to "/var/run/sddm/{ec09794c-106e-4b08-9490-584cd2c42d66}"
Sep 30 12:55:43 compaq sddm-helper[1946]: [PAM] Starting...
Sep 30 12:55:43 compaq sddm-helper[1946]: [PAM] Authenticating...
Sep 30 12:55:43 compaq sddm-helper[1946]: [PAM] returning.
Sep 30 12:55:43 compaq sddm[1938]: Greeter session started successfully
Sep 30 12:55:43 compaq sddm-greeter[1949]: Reading from "/usr/share/xsessions/plasma.desktop"
Sep 30 12:55:43 compaq sddm-greeter[1949]: Connected to the daemon.
Sep 30 12:55:43 compaq sddm[1938]: Message received from greeter: Connect
Sep 30 12:55:45 compaq sddm-greeter[1949]: Adding view for "VGA1" QRect(0,0 1024x768)
Sep 30 12:55:45 compaq sddm-greeter[1949]: Message received from daemon: Capabilities
Sep 30 12:55:45 compaq sddm-greeter[1949]: Message received from daemon: HostName
Sep 30 12:55:46 compaq sddm-helper[1946]: [PAM] Ended.
Sep 30 12:55:46 compaq sddm[1938]: Greeter stopped.
The message shown by dmesg has a different process number for
sddm-greeter and the value after "sp" is different but still
says error 4 in sddm-greeter[8048000+42000]
The computer is a Compaq Evo D510 USDT with one Intel Pentium 4 cpu and an
on board intel graphics processor. lspci describes the graphics chip as
82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 4.7.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages sddm depends on:
ii adduser 3.115
ii debconf [debconf-2.0] 1.5.59
ii libc6 2.23-5
ii libgcc1 1:6.1.1-11
ii libpam0g 1.1.8-3.3
ii libqt5core5a 5.6.1+dfsg-3+b1
ii libqt5dbus5 5.6.1+dfsg-3+b1
ii libqt5gui5 5.6.1+dfsg-3+b1
ii libqt5network5 5.6.1+dfsg-3+b1
ii libqt5qml5 5.6.1-8
ii libqt5quick5 5.6.1-8
ii libstdc++6 6.1.1-11
ii libsystemd0 231-4
ii libxcb-xkb1 1.11.1-1.1
ii libxcb1 1.11.1-1.1
ii qml-module-qtquick2 5.6.1-8
ii sddm-theme-breeze [sddm-theme] 4:5.7.4-1
Versions of packages sddm recommends:
ii libpam-systemd 231-4
Versions of packages sddm suggests:
pn libpam-kwallet5 <none>
-- debconf information:
* shared/default-x-display-manager: sddm
sddm/daemon_name: /usr/bin/sddm
Reply to: