Discussion:
[Bug 104214] Dota crashes when switching from game to desktop
Add Reply
b***@freedesktop.org
2017-12-11 16:35:06 UTC
Reply
Permalink
Raw Message
https://bugs.freedesktop.org/show_bug.cgi?id=104214

Bug ID: 104214
Summary: Dota crashes when switching from game to desktop
Product: Mesa
Version: 17.3
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Other
Assignee: mesa-***@lists.freedesktop.org
Reporter: ***@gmail.com
QA Contact: mesa-***@lists.freedesktop.org

I upgraded from mesa 17.2.6 to mesa 17.3. Since then, dota2 crashes when
switching from the game to the desktop with alt+tab. It may crash on the first
attempt, but usually I do not need more than 3 attempts to get the crash.

My laptop has an Intel graphics card (i7-7700HQ) and a downgrade to mesa 17.2.x
fixes the issue completely.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
b***@freedesktop.org
2017-12-11 16:38:41 UTC
Reply
Permalink
Raw Message
https://bugs.freedesktop.org/show_bug.cgi?id=104214

--- Comment #1 from Sven <***@gmail.com> ---
Steps to reproduce:
Start Dota, stay on the main menu screen, switch back and forth between the
desktop and Dota. I'm using the mate desktop environment.

Result: (from dmesg)
[ 8804.741329] traps: GLRenderThread[18545] general protection ip:7f5136de2e81
sp:7f5135089960 error:0 in i965_dri.so[7f51369f8000+795000]
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
b***@freedesktop.org
2017-12-11 17:02:53 UTC
Reply
Permalink
Raw Message
https://bugs.freedesktop.org/show_bug.cgi?id=104214

--- Comment #2 from Eero Tamminen <***@intel.com> ---
I cannot reproduce this with KBL (i7-7567U) running Ubuntu 16.04 LTS with
latest Mesa git.

Can you reproduce the issue if you disable/change the "Enable Steam Overlay
while in-game" option from the DOTA2 Steam properties?


Could you provide backtrace of the issue?

0. Install Gdb (in Debian/Ubuntu: "sudo apt install gdb")
1. Start DOTA2
2. Connect Gdb to it (from a terminal) with following command:
sudo gdb /proc/$(pidof dota2)/self $(pidof dota2)
3. Enter "c" to Gdb, to continue
4. Reproduce the DOTA2 crash
5. Attach here the *full* output of "thread apply all bt" Gdb command

(Preferably you should do that after installing Mesa debug symbols package from
the same repository where you installed Mesa from. What package name / what
repository you need for that is distribution specific.)
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
b***@freedesktop.org
2017-12-11 17:08:52 UTC
Reply
Permalink
Raw Message
https://bugs.freedesktop.org/show_bug.cgi?id=104214

--- Comment #3 from Eero Tamminen <***@intel.com> ---
(In reply to Eero Tamminen from comment #2)
Post by b***@freedesktop.org
sudo gdb /proc/$(pidof dota2)/self $(pidof dota2)
Sorry, should be:
sudo gdb /proc/$(pidof dota2)/exe $(pidof dota2)
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
b***@freedesktop.org
2017-12-11 17:43:14 UTC
Reply
Permalink
Raw Message
https://bugs.freedesktop.org/show_bug.cgi?id=104214

--- Comment #4 from Sven <***@gmail.com> ---
Yes, I can reproduce the issue with steam overlay disabled.

I will have to try gdb some other day when I have some more time.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
b***@freedesktop.org
2017-12-24 13:39:18 UTC
Reply
Permalink
Raw Message
https://bugs.freedesktop.org/show_bug.cgi?id=104214

--- Comment #5 from Sven <***@gmail.com> ---
The issue didn't occur at work, where i have an i5-4690. At work I have Arch
Linux with mesa 17.3.0.

On my private laptop, I switched from Gentoo to Arch Linux yesterday (not
because of this issue). Arch also comes with mesa 17.3.0 and the issue occurs
too. In fact, it got worse in the sense that dota doesn't even start anymore
(crashed during black screen with dota logo, main menu doesn't show). Again,
like on Gentoo, downgrading from 17.3.0 to 17.2.6 fixed the issue and dota
starts (yes, I only downgraded the mesa package, didn't even restart X11). My
laptop has an i7-7700HQ.

I saw that Arch also has an 17.3.1 package. I will try that next. Then I will
try to provide some gdb trace or so.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
b***@freedesktop.org
2017-12-29 23:03:42 UTC
Reply
Permalink
Raw Message
https://bugs.freedesktop.org/show_bug.cgi?id=104214

--- Comment #6 from Sven <***@gmail.com> ---
When using mesa 17.3.1 on Arch Linux, Dota still crashed on startup. The error
is

[ 3047.872388] GLRenderThread[12897]: segfault at 44 ip 00007fc93f36fce0 sp
00007fc93d1ec910 error 4 in i965_dri.so[7fc93ef5a000+7f8000]

The Arch Linux package version of mesa is 17.3.1-2. I'm investigating on how to
do the "thread apply all bt". I cannot attach gdb to the PID of a running dota
by hand, cause dota crashes on start right now.
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
Loading...