You are not logged in.

#1 2019-04-20 08:18:25

keiichiiownsu12
Member
Registered: 2019-04-16
Posts: 42

Hollow Knight crashing periodically when using Xbox controller

When playing the game Hollow Knight using an xbox controller, the game will periodically freeze or crash, either when the menu loads up or at some point during play. The game runs perfectly fun when using only the keyboard with no controller plugged in.

I tested another native steam game, momodara: reverie under the moonlight, and that worked without error when using the Xbox controller.

I reran Hollow Knight using steam running from the console. At some point, the game crashed again (with the controller plugged in), and the console returned this output:

>>> Adding process 9903 for game ID 367520
Installing breakpad exception handler for appid(steam)/version(1555457005)
Installing breakpad exception handler for appid(steam)/version(1555457005)
Controller device closed after hid_read failure
Controller 0 disconnected
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
Local Device Found
  type: 0e6f 02c8
  path: sdl://1
  serial_number:  - 0
  Manufacturer: 
  Product:      XInput Controller
  Release:      112
  Interface:    -1

!! Steam controller device opened for index 0.
Steam Controller reserving XInput slot 0
Controller 0 connected, configuring it now...
Controller has an Invalid or missing unit serial number, setting to 'e6f-2c8-4e0c46f'
Stacktrace:

  at (wrapper managed-to-native) UnityEngine.Input.GetJoystickNames () <0x0005c>
  at (wrapper managed-to-native) UnityEngine.Input.GetJoystickNames () <0x0005c>
  at InControl.UnityInputDeviceManager.QueryJoystickInfo () <0x0001c>
  at InControl.UnityInputDeviceManager.Update (ulong,single) <0x00078>
  at InControl.InputManager.UpdateDeviceManagers (single) <0x00081>
  at InControl.InputManager.UpdateInternal () <0x000fc>
  at InControl.InControlManager.Update () <0x00049>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0x0005e>

Native stacktrace:

	/home/ajschadler12/.local/share/Steam/steamapps/common/Hollow Knight/hollow_knight_Data/Mono/x86_64/libmono.so(+0x9843a) [0x7f831163343a]
	/usr/lib/libpthread.so.0(+0x123bf) [0x7f832aef83bf]
	/usr/lib/libc.so.6(gsignal+0x10f) [0x7f832aa1fd7f]
	/usr/lib/libc.so.6(abort+0x124) [0x7f832aa0a671]
	/home/ajschadler12/.local/share/Steam/steamapps/common/Hollow Knight/hollow_knight.x86_64() [0x9e3cdb]
	/home/ajschadler12/.local/share/Steam/steamapps/common/Hollow Knight/hollow_knight_Data/Mono/x86_64/libmono.so(+0xd8c70) [0x7f8311673c70]
	/home/ajschadler12/.local/share/Steam/steamapps/common/Hollow Knight/hollow_knight_Data/Mono/x86_64/libmono.so(+0x3713e) [0x7f83115d213e]
	/usr/lib/libpthread.so.0(+0x123bf) [0x7f832aef83bf]
	/usr/lib/libc.so.6(+0x15f6e5) [0x7f832ab476e5]
	/home/ajschadler12/.local/share/Steam/steamapps/common/Hollow Knight/hollow_knight.x86_64() [0x12bed9f]
	/home/ajschadler12/.local/share/Steam/steamapps/common/Hollow Knight/hollow_knight.x86_64() [0xa7b3d6]
	[0x415d195b]
	/home/ajschadler12/.local/share/Steam/steamapps/common/Hollow Knight/hollow_knight_Data/Mono/x86_64/libmono.so(+0x3b296) [0x7f83115d6296]
	/home/ajschadler12/.local/share/Steam/steamapps/common/Hollow Knight/hollow_knight_Data/Mono/x86_64/libmono.so(mono_runtime_invoke+0x67) [0x7f83116d8ad4]
	/home/ajschadler12/.local/share/Steam/steamapps/common/Hollow Knight/hollow_knight.x86_64() [0x9a5263]
	/home/ajschadler12/.local/share/Steam/steamapps/common/Hollow Knight/hollow_knight.x86_64() [0xa08524]
	/home/ajschadler12/.local/share/Steam/steamapps/common/Hollow Knight/hollow_knight.x86_64() [0x9e1f36]
	/home/ajschadler12/.local/share/Steam/steamapps/common/Hollow Knight/hollow_knight.x86_64() [0x5f6649]
	/home/ajschadler12/.local/share/Steam/steamapps/common/Hollow Knight/hollow_knight.x86_64() [0x802926]
	/home/ajschadler12/.local/share/Steam/steamapps/common/Hollow Knight/hollow_knight.x86_64() [0x45fab8]
	/usr/lib/libc.so.6(__libc_start_main+0xf2) [0x7f832aa0c222]
	/home/ajschadler12/.local/share/Steam/steamapps/common/Hollow Knight/hollow_knight.x86_64() [0x46d2b8]

Debug info from gdb:


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

!! Controller 0 attributes:
  Type: 30
  ProductID: 712
  Serial: e6f-2c8-4e0c46f
  Capabilities: 001843ff
  Firmware Version: 0
  Firmware Build Time: 2147483647 (Tue, 19 Jan 2038 03:14:07 GMT)
  Bootloader Build Time: 2147483647 (Tue, 19 Jan 2038 03:14:07 GMT)
Loaded Config for Local Selection Path for App ID 413090, Controller 0: /home/ajschadler12/.local/share/Steam/steamapps/workshop/content/241100/1689651975/1007024772344596662_legacy.bin
BYieldingQueryAccountsRegisteredToController
Loaded Config for Local Selection Path for App ID 413090, Controller 0: /home/ajschadler12/.local/share/Steam/steamapps/workshop/content/241100/1588680596/955224498009841798_legacy.bin
Loaded Config for Local Override Path for App ID 367520, Controller 0: /home/ajschadler12/.local/share/Steam//controller_base/empty.vdf
Fetching Config Sets 0
CClientJobFetchPersonalizationFileID
OnFocusWindowChanged to game window type: AppID 367520, 367520
Loaded Config for Local Override Path for App ID 367520, Controller 0: /home/ajschadler12/.local/share/Steam//controller_base/empty.vdf
Set Account Config Sets 0 1 1
JS method call WebChat.GetOverlayChatBrowserInfo with 1 arguments
JS method call Storage.SetString with 3 arguments
OnFocusWindowChanged to window type: k_nGameIDControllerConfigs_Desktop, AppID 413080
Loaded Config for Local Override Path for App ID 413080, Controller 0: /home/ajschadler12/.local/share/Steam//controller_base/empty.vdf
Controller device closed after hid_read failure
Controller 0 disconnected
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully

With a specific message from gdb:

Debug info from gdb:


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

I tried this both using the default hid_steam module and removing it with

# modeprobe -r hid_steam

and the error continues to persist in either circumstance.

Would installing the driver Xpad work, or could that potentially conflict with hid_steam? For now, other games seem to work, and this seems to be a very well-known bug (no pun intended) specific to Hollow Knight. If anyone has encountered the same bug and found a potentially good fix, it would be great to hear about it!


I, uh, nevermind

Offline

#2 2019-05-01 20:59:21

Stewart Little
Member
From: England, UK
Registered: 2017-01-18
Posts: 120

Re: Hollow Knight crashing periodically when using Xbox controller

I've done searches online and found this: https://steamcommunity.com/app/367520/d … 595742997/

Try see if you can follow the users steps and then see if the problem still occurs.


“Great minds discuss ideas; average minds discuss events; small minds discuss people.” -Eleanor Roosevelt
“It is our choices, that show what we truly are, far more than our abilities.” -J. K Rowling
-----
How to Ask Questions the Smart Way

Offline

#3 2019-05-05 04:00:02

ceri
Member
Registered: 2013-10-12
Posts: 57

Re: Hollow Knight crashing periodically when using Xbox controller

I think the above link is for Windows and is a different issue.

The linux build of the unity engine (which HK uses) has a bug which results in it crashing if you insert an xbox 360 controller. You can run the game without it plugged in, then crash the game upon inserting the controller. I experience the same bug and even tried using different drivers with no success.

https://github.com/ValveSoftware/steam- … ssues/5841

You could try using proton and see if it works with that.

Last edited by ceri (2019-05-05 04:01:08)

Offline

Board footer

Powered by FluxBB