Bug 104443

Summary: i965/brw_bufmgr.c:1104 Segfault when using alt-tab
Product: Mesa Reporter: EoD <EoD>
Component: Drivers/DRI/i965Assignee: Intel 3D Bugs Mailing List <intel-3d-bugs>
Status: RESOLVED DUPLICATE QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium CC: evangelos, freedesktop.org
Version: 17.3   
Hardware: Other   
OS: All   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=104342
https://bugs.freedesktop.org/show_bug.cgi?id=104301
https://bugs.freedesktop.org/show_bug.cgi?id=104376
https://bugs.freedesktop.org/show_bug.cgi?id=104392
Whiteboard:
i915 platform: i915 features:
Attachments: gdb backtrace of the crash

Description EoD 2018-01-02 03:20:15 UTC
Created attachment 136480 [details]
gdb backtrace of the crash

When playing videos with mpv and using Alt+Tab to switch between windows, mpv crashes regularly with the following segfault: 

> Thread 8 "mpv/vo" received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7fffd9a50700 (LWP 14333)]
> brw_bo_get_tiling (bo=0x55, tiling_mode=0x7fffd9a4f098, swizzle_mode=0x7fffd9a4f09c)
>    at /usr/src/debug/media-libs/mesa-17.3.1/mesa-17.3.1/src/mesa/drivers/dri/i965/brw_bufmgr.c:1104
> 
> 1104	   *tiling_mode = bo->tiling_mode;

This might be a duplicate of bug 104342
Comment 1 vadym 2018-01-04 11:31:17 UTC
Hello EoD, 

Suggest please what platform and distro are you using ?
Comment 2 Evangelos Foutras 2018-01-11 06:03:10 UTC
The patch from bug 104214 should fix this. I had the same issue with mpv and at some point also got the same backtrace.

*** This bug has been marked as a duplicate of bug 104214 ***

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.