Bug 109797 - Segmentation fault when starting graphical.target
Summary: Segmentation fault when starting graphical.target
Status: NEEDINFO
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-04 15:58 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

Note You need to log in before you can comment on or make changes to this bug.
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?


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.