[g3.8pre-624-gf1d931517] Hexen freeze when switch kb. layout

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!

[g3.8pre-624-gf1d931517] Hexen freeze when switch kb. layout

Postby Undead » Sun Mar 10, 2019 1:19 pm

When switching keyboard layouts in Hexen or Hexen: DD, the game locks up. For some reason, this doesn’t happen with any other IWAD, and because it’s an instant freeze, I can’t show anything by using a log file.

I’ve confirmed that this only happens when using Windows shortcuts (in my case, Shift + Alt + 1–4). When switching via the taskbar and returning to the game, GZDoom doesn’t lock up.

Below is a list of my keyboard layouts, if relevant:

Image

(Swedish, Croatian, Serbian, Russian)
User avatar
Undead
 
 
 
Joined: 26 Dec 2013
Location: Sweden

Re: [g3.8pre-624-gf1d931517] Hexen freeze when switch kb. la

Postby Rachael » Sun Mar 10, 2019 10:45 pm

For this, it might be helpful to list your bindings for those selected keys.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle

Re: [g3.8pre-624-gf1d931517] Hexen freeze when switch kb. la

Postby Undead » Mon Mar 11, 2019 12:06 am

Rachael wrote:For this, it might be helpful to list your bindings for those selected keys.

You mean ingame? Shift for running, 1–4 is weapons, and Alt is unbound. And that’s not unique to Hexen—my bindings are the same in other games.
User avatar
Undead
 
 
 
Joined: 26 Dec 2013
Location: Sweden

Re: [g3.8pre-624-gf1d931517] Hexen freeze when switch kb. la

Postby _mental_ » Mon Mar 11, 2019 3:55 am

It dead locks inside DefWindowProcW() indeed.
Code: Select allExpand view
win32u.dll!NtUserMessageCall()
user32.dll!RealDefWindowProcWorker()
user32.dll!DefWindowProcW()
gzdoom.exe!WndProc(HWND__ * hWnd, unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 623
user32.dll!UserCallWinProcCheckWow()
user32.dll!CallWindowProcW()
opengl32.dll!wglWndProc()
user32.dll!UserCallWinProcCheckWow()
user32.dll!DispatchMessageWorker()
gzdoom.exe!I_GetEvent() Line 768
gzdoom.exe!I_StartTic() Line 791

The message in question was WM_INPUTLANGCHANGEREQUEST.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: [g3.8pre-624-gf1d931517] Hexen freeze when switch kb. la

Postby Graf Zahl » Mon Mar 11, 2019 4:37 am

Not related to this problem, but that call trace finally reveals why it was impossible to do live switch between D3D and OpenGL in the past - behold that wglWndProc in there!
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Bugs

Who is online

Users browsing this forum: Vlada999 and 0 guests