Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game seems to crash on exit #2

Open
OverDhill opened this issue Feb 27, 2017 · 8 comments
Open

Game seems to crash on exit #2

OverDhill opened this issue Feb 27, 2017 · 8 comments

Comments

@OverDhill
Copy link

I am using this great app but there are times when I exit the game (which is also using x360ce) to quit back to Windows I get a dialog "Application has stopped error on exit"

Problem signature:
Problem Event Name: APPCRASH
Application Name: RSG-Win64-Shipping.exe
Application Version: 4.13.2.0
Application Timestamp: 58400cd0
Fault Module Name: dinput8.dll
Fault Module Version: 6.1.7600.16385
Fault Module Timestamp: 4a5bdecf
Exception Code: c0000005
Exception Offset: 0000000000021b52
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: ff2d
Additional Information 2: ff2de61358b40bee9a2f94b225eb1c4e
Additional Information 3: 7abf
Additional Information 4: 7abf5ca792c385aaa27ce35a301ce19a

@briankendall
Copy link
Owner

Hi @OverDhill, some questions to help me figure this out:

  1. Can you confirm that the crash doesn't occur if you don't use devreorder?

  2. Did you install it individually for each app you use it for, or did you use the system-wide method?

  3. Which game is having this issue, and are there any other games that crash like this?

@gyrovague
Copy link

I'm not OP, but chiming in anyway:
I get a similar crash using devreorder+x360ce with RocketLeague (after exiting the game). The crash goes away if I don't use devreorder. I "installed" devreorder only in the RocketLeague bin folder. I never really bothered to report this, since it only happens after I've quit the game already anyway.

@briankendall
Copy link
Owner

@gyrovague Thanks for the report, particularly because RocketLeague is a game I own. It's starting to sound like the common thread here is combining x360ce with devreorder, so that's the first place I'll look for a problem.

Can you send me the devreorder.ini file you're using for RocketLeague? (My guess is that you're hiding the DirectInput controller that's driving x360ce.)

@OverDhill
Copy link
Author

I am not hiding any controllers and only re-ordering them so x3605ce is using the ones I want. I do however have a number of controllers on my simpit.

; devreorder settings
; Any line starting with ; is a comment and will be ignored

[order]
; In this section write the names of your controllers in the
; order you want them to be detected, one per line. Make sure
; they exactly match the name printed in the Game Controllers
; control, panel, including any capital letters and
; punctuation.
; (To open the Game Controllers control panel, press Win+R,
; type joy.cpl into the dialog box, and press enter.)
; Example:
; vJoy Device
; Controller (XBOX 360 For Windows)
Joystick - HOTAS Warthog
Throttle - HOTAS Warthog
T.16000M
Saitek Pro Flight Combat Rudder Pedals
Logitech WingMan Formula Force GP USB
GP-Wiz40 Dev2
GP-Wiz40 Dev3
GP-Wiz40 Dev4
BU0836X Interface
F16 MFD 2
F16 MFD 1
[hidden]
; In this section, write the names of controllers that you
; want to be hidden. Again their name must exactly match
; the name printed in the Game Controllers control panel.
; Example:
; Wireless Controller

@gyrovague
Copy link

@briankendall Here is my devreorder.ini in RocketLeague:

; devreorder settings
; Any line starting with ; is a comment and will be ignored

[order]
; In this section write the names of your controllers in the
; order you want them to be detected, one per line. Make sure
; they exactly match the name printed in the Game Controllers
; control, panel, including any capital letters and
; punctuation.
; (To open the Game Controllers control panel, press Win+R,
; type joy.cpl into the dialog box, and press enter.)
; Example:
; vJoy Device
; Controller (XBOX 360 For Windows)
Controller (XBOX One For Windows)
Thrustmaster dual analog 3.2

[hidden]
; In this section, write the names of controllers that you
; want to be hidden. Again their name must exactly match
; the name printed in the Game Controllers control panel.
; Example:
; Wireless Controller
vJoy Device
Joystick - HOTAS Warthog
Throttle - HOTAS Warthog
Logitech G27 Racing Wheel USB

With this config, x360ce only sees my two analog controllers, which is what I want. BTW, this app really improved things for me, since before it I had to always unplug a bunch of things to avoid x360ce trying to use them (it seems to just grab the first 4 USB devices it finds, in some non-controllable order, and ignore all the rest), and this now allows me to conveniently play two-player split-screen RocketLeague.

Let me know if I can provide additional info to help debug. I can theoretically attach to the process and find the crash in the dll if I compile it myself and run in VS or something, but I don't really have much time to spend on this, and the crash at exit isn't so bad.

@gyrovague
Copy link

For posterity, here is the crash output:

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	RocketLeague.exe
  Application Version:	1.0.10897.0
  Application Timestamp:	58ae3a2c
  Fault Module Name:	dinput8.dll
  Fault Module Version:	6.1.7600.16385
  Fault Module Timestamp:	4a5bd9c1
  Exception Code:	c0000005
  Exception Offset:	0001a6a4
  OS Version:	6.1.7601.2.1.0.256.1
  Locale ID:	7177
  Additional Information 1:	0a9e
  Additional Information 2:	0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:	0a9e
  Additional Information 4:	0a9e372d3b4ad19135b953a78882e789

@briankendall
Copy link
Owner

Well I can definitely reproduce this bug with my copy of Rocket League. Unfortunately at this juncture I'm not sure how to fix it.

There's some kind of interaction happening between devreorder and x360ce, as if I remove either one of them the issue goes away. However as a test I made a version of dinput8.dll that does absolutely nothing other than pass through to the original dll, and the crash still occurred. So the problem is probably in how the modified dll calls into the original one. It'll take some more investigation for me to figure it out.

@gyrovague
Copy link

Sounds like some sort of rug-pulled-out-from-under you type of situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants