segfault at 234 error 4 in i915_dri.so
https://bugs.freedesktop.org/show_bug.cgi?id=100189
Bug ID: 100189
Summary: segfault at 234 error 4 in i915_dri.so
Product: Mesa
Version: 17.0
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/i915
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Lubuntu 16.04 4.4.0-38-generic x86_64
17.1~git1703131930
mpv/vo[18230]: segfault at 234 ip 00007ff625ed96e8 sp 00007ff6277fd7b0 error 4 in i915_dri.so[7ff6259f5000+9c8000]
glmark2[26598]: segfault at 234 ip 00007f917ecb36e8 sp 00007ffdf0586e30 error 4 in i915_dri.so[7f917e7cf000+9c8000]
glxgears[27933]: segfault at 234 ip 00007f87f68e66e8 sp 00007fff6da8a110 error 4 in i915_dri.so[7f87f6402000+9c8000]
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100189
--- Comment #1 from Javi Ballester Tomás <[email protected]> --- mpv only crashes when fullscreen on start is activated in mpv.conf (fs=yes).
blender crashes also with segfault:
# Blender 2.78 (sub 0), Commit date: 2017-02-24 14:33, Hash e92f2352830
# backtrace
/home/javi/Downloads/blender-2.78c-linux-glibc219-x86_64/blender(BLI_system_backtrace+0x1d) [0x19aad1d]
/home/javi/Downloads/blender-2.78c-linux-glibc219-x86_64/blender()
[0x104e2e6]
/lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f3f49d924b0]
/usr/lib/x86_64-linux-gnu/dri/i915_dri.so(+0x4e46e8) [0x7f3f352dc6e8]
/usr/lib/x86_64-linux-gnu/dri/i915_dri.so(+0x4e4c65) [0x7f3f352dcc65]
/usr/lib/x86_64-linux-gnu/dri/i915_dri.so(+0x4d68ed) [0x7f3f352ce8ed]
/usr/lib/x86_64-linux-gnu/dri/i915_dri.so(+0x1df184) [0x7f3f34fd7184]/home/javi/Downloads/blender-2.78c-linux-glibc219-x86_64/blender(_ZN13GHOST_Context11initClearGLEv+0x25) [0x19cd185]
/home/javi/Downloads/blender-2.78c-linux-glibc219-x86_64/blender(_ZN16GHOST_ContextGLX24initializeDrawingContextEv+0x270) [0x19cc490]
/home/javi/Downloads/blender-2.78c-linux-glibc219-x86_64/blender(_ZN15GHOST_WindowX1117newDrawingContextE25GHOST_TDrawingContextType+0x5d) [0x19cb9cd]
/home/javi/Downloads/blender-2.78c-linux-glibc219-x86_64/blender(_ZN12GHOST_Window21setDrawingContextTypeE25GHOST_TDrawingContextType+0x8e) [0x19ce33e]
/home/javi/Downloads/blender-2.78c-linux-glibc219-x86_64/blender(_ZN15GHOST_WindowX11C1EP15GHOST_SystemX11P9_XDisplayRK10STR_Stringiijj18GHOST_TWindowStatei25GHOST_TDrawingContextTypebbbtb+0x5b3) [0x19cadb3]
/home/javi/Downloads/blender-2.78c-linux-glibc219-x86_64/blender(_ZN15GHOST_SystemX1112createWindowERK10STR_Stringiijj18GHOST_TWindowState25GHOST_TDrawingContextType16GHOST_GLSettingsbi+0xb1) [0x19c8d71]
/home/javi/Downloads/blender-2.78c-linux-glibc219-x86_64/blender(GHOST_CreateWindow+0x62) [0x19c40b2]
/home/javi/Downloads/blender-2.78c-linux-glibc219-x86_64/blender(wm_window_ghostwindows_ensure+0x1e1) [0x106dbf1]
/home/javi/Downloads/blender-2.78c-linux-glibc219-x86_64/blender(WM_check+0x41) [0x104eb31]
/home/javi/Downloads/blender-2.78c-linux-glibc219-x86_64/blender(wm_homefile_read+0x12c) [0x105b4fc]
/home/javi/Downloads/blender-2.78c-linux-glibc219-x86_64/blender(WM_init+0xff) [0x105d48f]
/home/javi/Downloads/blender-2.78c-linux-glibc219-x86_64/blender(main+0x264) [0xfed4a4]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)
[0x7f3f49d7d830]
/home/javi/Downloads/blender-2.78c-linux-glibc219-x86_64/blender()[0x104b278]
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100189
--- Comment #2 from Emil Velikov <[email protected]> --- Hi Javi, I don't think we have many devs looking at the i915 driver.
If you can track down the commit that introduced the regression (considering it is one) or write a simple test program that will be appreciated.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100189
--- Comment #3 from Javi Ballester Tomás <[email protected]> --- Hi Emil.
The upgrade that initiated the problem was (17.0~git1701100730.17eac3~gd~x, 17.1~git1702040730.106a51~gd~x), something happened between 170110 and 170204.
About the test program or tracking the exact commit, not shure how to do it. Can you point me to info on how to?
Thanks.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100189
--- Comment #4 from Javi Ballester Tomás <[email protected]> --- "LIBGL_ALWAYS_SOFTWARE=1 blender" works. Blender runs without errors. Also Mpv, glmark2 and glxgears.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100189
--- Comment #5 from Emil Velikov <[email protected]> --- (In reply to Javi Ballester Tomás from comment #3)
Quoted 5 lines
Hi Emil.
The upgrade that initiated the problem was (17.0~git1701100730.17eac3~gd~x, 17.1~git1702040730.106a51~gd~x), something happened between 170110 and 170204.
Perfect - what you're looking for is "how to use git bisect". There's dozens of sources out there - from `git help bisect' (in the command line) to the Wine example [1]. In case you're wondering - Mesa source tree is located at [2]
Note that you will need to rebuild and test mesa ~10 times. Make sure to use exact same build (configure) flags as your distro.
[1] https://wiki.winehq.org/Regression_Testing#Running_the_bisection
[2] https://cgit.freedesktop.org/mesa/mesa
(In reply to Javi Ballester Tomás from comment #4)
Quoted 2 lines
"LIBGL_ALWAYS_SOFTWARE=1 blender" works. Blender runs without errors. Also Mpv, glmark2 and glxgears.
This is very good step - it tells us that the software rasteriser is working fine.
I.e. the variable 'disables' the GPU driver and makes the CPU do all the heavy lifting.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100189
--- Comment #6 from Emil Velikov <[email protected]> --- Almost forgot - if you don't want to overwrite your system mesa simply do
$ git bisect... $ configure ... $ make $ export LIBGL_DRIVERS_PATH=`pwd`/lib $ export LIBGL_DEBUG=verbose $ ... app to test ... # ensure that the i915_dri.so from the above location is used
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
[email protected]
Reviewed-by Brian Paulhttps://bugs.freedesktop.org/show_bug.cgi?id=100189
--- Comment #7 from Javi Ballester Tomás <[email protected]> --- The result of 'git bisect':
e027935a795ecf546f3e4abcc25655766f9615ac is the first bad commit commit e027935a795ecf546f3e4abcc25655766f9615ac
Author: Marek Olšák <[email protected]> Date: Wed Feb 22 19:59:27 2017 +0100
st/mesa: don't update unrelated states in non-draw calls such as Clear
If a VAO isn't bound and u_vbuf isn't enabled because of the Core profile, we'll get user vertex buffers in drivers if we update vertex buffers in glClear. So don't do that.
This fixes a regression since disabling u_vbuf for Core profiles.
:040000 040000 7843bc274cb97b72ebd0ba00906ba3baeecf065897a362bcd14da53ec9cfa940b3612d77e54be72d M src
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100189
--- Comment #8 from Marek Olšák <[email protected]> --- Is this the gallium driver?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100189
--- Comment #9 from Javi Ballester Tomás <[email protected]> --- Created attachment 130508
--> https://bugs.freedesktop.org/attachment.cgi?id=130508&action=edit
output of glxinfo
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100189
--- Comment #10 from Javi Ballester Tomás <[email protected]> --- The "Gallium 0.4 on i915 (chipset: Pineview M)" is the one giving the segfault. The "Mesa DRI Intel(R) Pineview M" works.
Additional info, not related to this bug, I think:
The two works with some glitches in Blender. Gallium, the working ones, with black windows or past state window, specially when rendering, that disappears when some action is done in the part of the application that shows this behavior. DRI with colorful semitransparent triangles in the corners of blender windows, these doesn't disappears, but changes when scrolling.
No glitches in any of the two with "LIBGL_ALWAYS_SOFTWARE=1".
I attach the output of "glxinfo | grep OpenGL" for both, some errors in the gallium one.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100189
--- Comment #11 from Javi Ballester Tomás <[email protected]> --- (In reply to Marek Olšák from comment #8)
Quoted 1 line
Is this the gallium driver?
Yes.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100189
--- Comment #12 from Marek Olšák <[email protected]> ---
The i915 gallium driver is unmaintained and not even supported by its manufacturer. This bug report starts its deprecation period. If the driver remains in a broken state for a while, it will be removed from Mesa. Feel free to ignore this bug. Cheers. :)
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100189
Emil Velikov <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Drivers/DRI/i915 |Drivers/Gallium/i915g
--- Comment #13 from Emil Velikov <[email protected]> --- Nicely spotted Marek. Changing the component to gallium/i915g so that Stéphane can find if a bit easier.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100189
--- Comment #14 from Indie <[email protected]> ---
I also have a problem with these Gallium drivers. Is there a way to fix them, or find an old unbroken version?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100189
--- Comment #15 from Indie <[email protected]> --- I actually need this.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100189
--- Comment #16 from Francesco Turco <[email protected]> --- I did a git bisect too, and I get the same bad commit as in comment 7.
I'm trying to build Mesa with Gallium for Intel/i915. But recent versions of Mesa make my web browser Falkon crash at startup.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100189
GitLab Migration User <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |MOVED
Status|NEW |RESOLVED--- Comment #17 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/669.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel