Bug 109797 - Segmentation fault when starting graphical.target
Summary: Segmentation fault when starting graphical.target
Status: RESOLVED WORKSFORME
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: 18.3
Hardware: Other All
: medium normal
Assignee: Intel 3D Bugs Mailing List
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-28 10:51 UTC by Seba
Modified: 2019-06-18 06:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.log (7.06 KB, text/plain)
2019-02-28 10:51 UTC, Seba
Details
mkinitcpi.conf (2.47 KB, text/plain)
2019-02-28 17:05 UTC, Seba
Details
/usr/share/X11/xorg.conf.d/10-quirks.conf (1.32 KB, text/plain)
2019-02-28 17:11 UTC, Seba
Details
/usr/share/X11/xorg.conf.d/40-libinput.conf (1.40 KB, text/plain)
2019-02-28 17:11 UTC, Seba
Details

Description Seba 2019-02-28 10:51:51 UTC
Created attachment 143494 [details]
Xorg.log

After a reboot after upgrade Grub stopped processing after loading graphical.target. By switching to tty2 and investigating I realised xorg got segfaulted. I downgraded and it started to work again.


Relevant pacman info:

$ awk ' $0 ~ /(xorg|mesa|gdm)/ && $0 ~ /2019-02-/ { print $0 }' /var/log/pacman.log
[2019-02-08 07:13] [ALPM] upgraded mesa (18.3.2-1 -> 18.3.3-2)
[2019-02-23 13:20] [ALPM] upgraded xorg-xrdb (1.1.1-1 -> 1.2.0-1)
[2019-02-23 13:20] [ALPM] upgraded xorg-xhost (1.0.7-2 -> 1.0.8-1)
[2019-02-23 13:20] [ALPM] upgraded libgdm (3.30.2-2 -> 3.30.2+5+g57bf0dd7-1)
[2019-02-23 13:20] [ALPM] upgraded gdm (3.30.2-2 -> 3.30.2+5+g57bf0dd7-1)
[2019-02-23 13:20] [ALPM] upgraded lib32-mesa (18.3.2-1 -> 18.3.3-1)
[2019-02-23 13:21] [ALPM] upgraded xorg-xev (1.2.2-2 -> 1.2.3-1)
[2019-02-23 13:21] [ALPM] upgraded xorg-xlsatoms (1.1.2-2 -> 1.1.3-1)
[2019-02-23 13:21] [ALPM] upgraded xorg-xmodmap (1.0.9-2 -> 1.0.10-1)
[2019-02-23 13:21] [ALPM] upgraded xorg-xvinfo (1.1.3-2 -> 1.1.4-1)
[2019-02-26 10:11] [ALPM] upgraded mesa (18.3.3-2 -> 18.3.4-1)
[2019-02-26 10:11] [ALPM] upgraded lib32-mesa (18.3.3-1 -> 18.3.4-1)
[2019-02-27 16:54] [ALPM] upgraded libgdm (3.30.2+5+g57bf0dd7-1 -> 3.30.3-1)
[2019-02-27 16:54] [ALPM] upgraded gdm (3.30.2+5+g57bf0dd7-1 -> 3.30.3-1)
[2019-02-27 20:39] [PACMAN] Running 'pacman -Sy gdm'
[2019-02-27 20:42] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/libgdm-3.30.2-2-x86_64.pkg.tar.xz /var/cache/pacman/pkg/gdm-3.30.2-2-x86_64.pkg.tar.xz'
[2019-02-27 20:42] [ALPM] downgraded libgdm (3.30.3-1 -> 3.30.2-2)
[2019-02-27 20:42] [ALPM] downgraded gdm (3.30.3-1 -> 3.30.2-2)
[2019-02-27 22:10] [PACMAN] Running 'pacman -R gdm'
[2019-02-27 22:10] [ALPM] removed gdm (3.30.2-2)
[2019-02-28 06:58] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/xorg-xrdb-1.1.1-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/xorg-xhost-1.0.7-2-x86_64.pkg.tar.xz /var/cache/pacman/pkg/xorg-xev-1.2.2-2-x86_64.pkg.tar.xz /var/cache/pacman/pkg/xorg-xlsatoms-1.1.2-2-x86_64.pkg.tar.xz /var/cache/pacman/pkg/xorg-xmodmap-1.0.9-2-x86_64.pkg.tar.xz /var/cache/pacman/pkg/xorg-xvinfo-1.1.3-2-x86_64.pkg.tar.xz'
[2019-02-28 06:58] [ALPM] downgraded xorg-xrdb (1.2.0-1 -> 1.1.1-1)
[2019-02-28 06:58] [ALPM] downgraded xorg-xhost (1.0.8-1 -> 1.0.7-2)
[2019-02-28 06:58] [ALPM] downgraded xorg-xev (1.2.3-1 -> 1.2.2-2)
[2019-02-28 06:58] [ALPM] downgraded xorg-xlsatoms (1.1.3-1 -> 1.1.2-2)
[2019-02-28 06:58] [ALPM] downgraded xorg-xmodmap (1.0.10-1 -> 1.0.9-2)
[2019-02-28 06:58] [ALPM] downgraded xorg-xvinfo (1.1.4-1 -> 1.1.3-2)
[2019-02-28 07:02] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/lib32-mesa-18.3.2-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/mesa-18.3.3-2-x86_64.pkg.tar.xz'
[2019-02-28 07:02] [ALPM] downgraded mesa (18.3.4-1 -> 18.3.3-2)
[2019-02-28 07:02] [ALPM] downgraded lib32-mesa (18.3.4-1 -> 18.3.2-1)
[2019-02-28 07:03] [PACMAN] Running 'pacman -S gdm'
[2019-02-28 07:03] [ALPM] installed gdm (3.30.3-1)
[2019-02-28 07:05] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/libgdm-3.30.2-2-x86_64.pkg.tar.xz /var/cache/pacman/pkg/gdm-3.30.2-2-x86_64.pkg.tar.xz'
[2019-02-28 07:05] [ALPM] reinstalled libgdm (3.30.2-2)
[2019-02-28 07:05] [ALPM] downgraded gdm (3.30.3-1 -> 3.30.2-2)
Comment 1 Paul 2019-02-28 14:59:11 UTC
Hi Seba
I've tried to reproduce the issue on my local machine with Intel Core i5-4300M and Intel® HD Graphics 4600 (Haswell) on ArchLinux (manjaro) and 4.20.5 Kernel - but, unfortunately, with no luck.
Could you please provide configuration of your machine?
And maybe you used any additional settings/modesettings?
Also, could you provide content from /usr/share/X11/xorg.conf.d or /etc/X11/xorg.conf.d/ directory. It may be very helpful.
Comment 2 Seba 2019-02-28 17:05:04 UTC
Created attachment 143498 [details]
mkinitcpi.conf
Comment 3 Seba 2019-02-28 17:05:35 UTC
$ uname -a
Linux kvasir 4.20.5-arch1-1-ARCH #1 SMP PREEMPT Sat Jan 26 12:59:18 UTC 2019 x86_64 GNU/Linux
Comment 4 Seba 2019-02-28 17:11:18 UTC
Created attachment 143499 [details]
/usr/share/X11/xorg.conf.d/10-quirks.conf
Comment 5 Seba 2019-02-28 17:11:39 UTC
Created attachment 143500 [details]
/usr/share/X11/xorg.conf.d/40-libinput.conf
Comment 6 Seba 2019-02-28 17:13:34 UTC
Don't know how to find modesettings. Can you point me in the right direction?
Comment 7 Sergii Romantsov 2019-03-01 12:12:11 UTC
Hello, Seba.

1. You are using wayland? - please, try without wayland - to check if it helps.
2. Updating only mesa (without gdm and xorg-related packages) - is it still segfaults?
2. Additionally, please make mesa yourself with debugs (https://mesa3d.org/install.html) - to see stack trace.

Meson-conf for mesa:
git clone git://anongit.freedesktop.org/git/mesa/mesa
cd ./mesa
meson -Dbuildtype=debug -Dvalgrind=false -Ddri-drivers=i965 -Dgallium-drivers=iris -Dvulkan-drivers=intel -Dgallium-omx="disabled" -Dplatforms=x11,wayland,drm,surfaceless -Dtools=intel,glsl -Db_ndebug=false ./mbuild_v64/
ninja -C ./mbuild_v64/ install
Comment 8 Denis 2019-06-04 15:58:50 UTC
Hi Seba, did you have a chance to check suggestion from Sergii?
Comment 9 Seba 2019-06-17 11:01:05 UTC
Sorry hadn't had the time before.
I tried to reproduce it today without any luck.
I downgraded mesa, xorg, gdm, wayland and linux to the versions installed when I had the problem in the first place.

I guess we can close this issue as it is not reproducable, if you don't have any better idea on how to test.

Best


$ awk ' $0 ~ /(xorg|mesa|gdm|linux|wayland)/ && $0 ~ /2019-06-/ { print $0 }' /var/log/pacman.log
[2019-06-17 12:15] [ALPM] upgraded mesa (19.0.4-1 -> 19.0.6-1)
[2019-06-17 12:15] [ALPM] upgraded xorg-server-common (1.20.4-1 -> 1.20.5-1)
[2019-06-17 12:15] [ALPM] upgraded xorg-server-xwayland (1.20.4-1 -> 1.20.5-1)
[2019-06-17 12:15] [ALPM] upgraded lib32-mesa (19.0.4-1 -> 19.0.6-1)
[2019-06-17 12:16] [ALPM] upgraded linux-firmware (20190424.4b6cf2b-1 -> 20190514.711d329-1)
[2019-06-17 12:16] [ALPM] upgraded linux (5.1.2.arch1-1 -> 5.1.9.arch1-1)
[2019-06-17 12:16] [ALPM] upgraded linux-headers (5.1.2.arch1-1 -> 5.1.9.arch1-1)
[2019-06-17 12:16] [ALPM] upgraded xorg-server (1.20.4-1 -> 1.20.5-1)
[2019-06-17 12:16] [ALPM] upgraded xorg-sessreg (1.1.1-2 -> 1.1.2-1)
[2019-06-17 12:16] [ALPM] running '60-linux.hook'...
[2019-06-17 12:16] [ALPM] running '90-linux.hook'...
[2019-06-17 12:16] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2019-06-17 12:16] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2019-06-17 12:16] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
[2019-06-17 12:16] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2019-06-17 12:16] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2019-06-17 12:16] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2019-06-17 12:33] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/lib32-mesa-18.3.4-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/mesa-18.3.4-1-x86_64.pkg.tar.xz'
[2019-06-17 12:33] [ALPM] downgraded mesa (19.0.6-1 -> 18.3.4-1)
[2019-06-17 12:33] [ALPM] downgraded lib32-mesa (19.0.6-1 -> 18.3.4-1)
[2019-06-17 12:37] [ALPM] upgraded mesa (18.3.4-1 -> 19.0.6-1)
[2019-06-17 12:37] [ALPM] upgraded lib32-mesa (18.3.4-1 -> 19.0.6-1)
[2019-06-17 12:39] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/libgdm-3.30.3-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/gdm-3.30.3-1-x86_64.pkg.tar.xz'
[2019-06-17 12:39] [ALPM] downgraded libgdm (3.32.0+2+g820f90f5-1 -> 3.30.3-1)
[2019-06-17 12:39] [ALPM] downgraded gdm (3.32.0+2+g820f90f5-1 -> 3.30.3-1)
[2019-06-17 12:46] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/xorg-xrdb-1.2.0-1-x86_64.pkg.tar.xz'
[2019-06-17 12:46] [ALPM] reinstalled xorg-xrdb (1.2.0-1)
[2019-06-17 12:46] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/xorg-xhost-1.0.8-1-x86_64.pkg.tar.xz'
[2019-06-17 12:46] [ALPM] reinstalled xorg-xhost (1.0.8-1)
[2019-06-17 12:46] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/xorg-xev-1.2.3-1-x86_64.pkg.tar.xz'
[2019-06-17 12:46] [ALPM] reinstalled xorg-xev (1.2.3-1)
[2019-06-17 12:46] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/xorg-xlsatoms-1.1.3-1-x86_64.pkg.tar.xz'
[2019-06-17 12:46] [ALPM] reinstalled xorg-xlsatoms (1.1.3-1)
[2019-06-17 12:46] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/xorg-xmodmap-1.0.10-1-x86_64.pkg.tar.xz'
[2019-06-17 12:46] [ALPM] reinstalled xorg-xmodmap (1.0.10-1)
[2019-06-17 12:46] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/xorg-xvinfo-1.1.4-1-x86_64.pkg.tar.xz'
[2019-06-17 12:46] [ALPM] reinstalled xorg-xvinfo (1.1.4-1)
[2019-06-17 12:48] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/libgdm-3.30.3-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/gdm-3.30.3-1-x86_64.pkg.tar.xz'
[2019-06-17 12:48] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/lib32-mesa-18.3.4-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/mesa-18.3.4-1-x86_64.pkg.tar.xz'
[2019-06-17 12:48] [ALPM] downgraded mesa (19.0.6-1 -> 18.3.4-1)
[2019-06-17 12:48] [ALPM] downgraded lib32-mesa (19.0.6-1 -> 18.3.4-1)
[2019-06-17 12:50] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/linux-4.20.5.arch1-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/linux-headers-4.20.5.arch1-1-x86_64.pkg.tar.xz'
[2019-06-17 12:50] [ALPM] downgraded linux (5.1.9.arch1-1 -> 4.20.5.arch1-1)
[2019-06-17 12:50] [ALPM] downgraded linux-headers (5.1.9.arch1-1 -> 4.20.5.arch1-1)
[2019-06-17 12:50] [ALPM] running '60-linux.hook'...
[2019-06-17 12:50] [ALPM] running '90-linux.hook'...
[2019-06-17 12:50] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2019-06-17 12:50] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2019-06-17 12:50] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
[2019-06-17 12:50] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2019-06-17 12:50] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2019-06-17 12:50] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2019-06-17 12:55] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/xorg-server-xwayland-1.20.3-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/wayland-protocols-1.17-1-any.pkg.tar.xz /var/cache/pacman/pkg/lib32-wayland-1.16.0-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/wayland-1.16.0-1-x86_64.pkg.tar.xz'
[2019-06-17 12:55] [ALPM] downgraded wayland (1.17.0-1 -> 1.16.0-1)
[2019-06-17 12:55] [ALPM] downgraded xorg-server-xwayland (1.20.5-1 -> 1.20.3-1)
[2019-06-17 12:55] [ALPM] reinstalled wayland-protocols (1.17-1)
[2019-06-17 12:55] [ALPM] downgraded lib32-wayland (1.17.0-1 -> 1.16.0-1)
Comment 10 Denis 2019-06-18 06:55:49 UTC
hi, thanks for the update. Then I am closing this issue now, feel free to reopen in case if you reproduce it in future


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.