[Bug 111376] [bisected] Steam crashes when newest Iris built with LTO

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 12 09:46:17 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=111376

            Bug ID: 111376
           Summary: [bisected] Steam crashes when newest Iris built with
                    LTO
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/Iris
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: mike at fireburn.co.uk
        QA Contact: intel-3d-bugs at lists.freedesktop.org

I've bisected back to
https://gitlab.freedesktop.org/mesa/mesa/commit/0fd4359733e6920d5cac9596eeada753a587a246

I was seeing steam[1804860]: segfault at 0 ip 00000000f6371b97 sp
00000000fff096c0 error 6 in iris_dri.so[f5cf7000+1134000] in my dmesg 

Here's the build:

meson --buildtype plain --libdir lib --localstatedir /var/lib --prefix /usr
--sysconfdir /etc --wrap-mode nodownload --cross-file
/var/tmp/portage/media-libs/mesa-9999/temp/meson.i686-pc-linux-gnu.x86
-Dplatforms=surfaceless,x11,wayland,drm -Dllvm=true -Dlmsensors=true
-Dlibunwind=false -Dgallium-nine=true -Dgallium-va=true
-Dva-libs-path=/usr/lib/va/drivers -Dgallium-vdpau=true -Dgallium-xa=false
-Dgallium-xvmc=false -Dgallium-opencl=disabled -Dglx-read-only-text=false
-Dosmesa=none -Dbuild-tests=false -Dglx=dri -Dshared-glapi=true -Ddri3=true
-Degl=true -Dgbm=true -Dgles1=false -Dgles2=true -Dglvnd=false -Dselinux=false
-Dvalgrind=false -Ddri-drivers= -Dgallium-drivers=iris,radeonsi,swrast
-Dvulkan-drivers=amd,intel -Dvulkan-overlay-layer=true --buildtype plain
-Db_ndebug=true /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999-abi_x86_32.x86
The Meson build system
Version: 0.51.1
Source dir: /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999
Build dir: /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999-abi_x86_32.x86
Build type: cross build
Program python found: YES
(/var/tmp/portage/media-libs/mesa-9999/temp/python3.7/bin/python)
Project name: mesa
Project version: 19.2.0-devel
Appending CFLAGS from environment: '-O3 -march=native -pipe -flto=8'
Appending LDFLAGS from environment: '-O3 -march=native -pipe -flto=8 -Wl,-O2
-Wl,--hash-style=gnu -Wl,--as-needed -Wl,--build-id=sha1'
C compiler for the build machine: x86_64-pc-linux-gnu-gcc -m32 (gcc 9.1.0
"x86_64-pc-linux-gnu-gcc (Gentoo 9.1.0-r1 p1.1) 9.1.0")
Appending CXXFLAGS from environment: '-O3 -march=native -pipe -flto=8'
Appending LDFLAGS from environment: '-O3 -march=native -pipe -flto=8 -Wl,-O2
-Wl,--hash-style=gnu -Wl,--as-needed -Wl,--build-id=sha1'
C++ compiler for the build machine: x86_64-pc-linux-gnu-g++ -m32 (gcc 9.1.0
"x86_64-pc-linux-gnu-g++ (Gentoo 9.1.0-r1 p1.1) 9.1.0")
C compiler for the host machine: x86_64-pc-linux-gnu-gcc -m32 (gcc 9.1.0
"x86_64-pc-linux-gnu-gcc (Gentoo 9.1.0-r1 p1.1) 9.1

And a backtrace from an unstripped mesa

Thread 1 "steam" received signal SIGSEGV, Segmentation fault.
0xf632d4ad in ralloc_steal () from /usr/lib/dri/iris_dri.so
(gdb) bt
#0  0xf632d4ad in ralloc_steal () from /usr/lib/dri/iris_dri.so
#1  0xf63efe93 in steal_memory(ir_instruction*, void*) [clone .lto_priv.0] ()
from /usr/lib/dri/iris_dri.so
#2  0xf63ee7ca in ir_hierarchical_visitor::visit_enter(ir_function*) () from
/usr/lib/dri/iris_dri.so
#3  0xf63ee0b1 in ir_function::accept(ir_hierarchical_visitor*) () from
/usr/lib/dri/iris_dri.so
#4  0xf6678787 in _mesa_get_fixed_func_fragment_program () from
/usr/lib/dri/iris_dri.so
#5  0xf675c65b in update_program () from /usr/lib/dri/iris_dri.so
#6  0xf6772b2f in _mesa_update_state_locked () from /usr/lib/dri/iris_dri.so
#7  0xf6773237 in _mesa_update_state () from /usr/lib/dri/iris_dri.so
#8  0xf6497467 in _mesa_Clear () from /usr/lib/dri/iris_dri.so
#9  0xed1ae806 in ?? () from
/home/fireburn/.local/share/Steam/ubuntu12_32/vgui2_s.so
#10 0xed1bd4ed in ?? () from
/home/fireburn/.local/share/Steam/ubuntu12_32/vgui2_s.so
#11 0xf054bc6d in ?? () from
/home/fireburn/.local/share/Steam/ubuntu12_32/steamui.so
#12 0xf054bef5 in ?? () from
/home/fireburn/.local/share/Steam/ubuntu12_32/steamui.so
#13 0xf053e28f in ?? () from
/home/fireburn/.local/share/Steam/ubuntu12_32/steamui.so
#14 0xf0491eaa in ?? () from
/home/fireburn/.local/share/Steam/ubuntu12_32/steamui.so
#15 0xf0493c2e in ?? () from
/home/fireburn/.local/share/Steam/ubuntu12_32/steamui.so
#16 0x5658e1b0 in RunSteam(int, char**, bool) ()
#17 0x5658f0ab in ?? ()
#18 0x5657a06c in ?? ()
#19 0xf78a5021 in __libc_start_main () from /lib/libc.so.6
#20 0x5657dd29 in _start ()

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20190812/e6ba4e0e/attachment.html>


More information about the intel-3d-bugs mailing list