[Windows] XBMC crashes when XBOX-controller disconnects - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Windows support (/forumdisplay.php?fid=59)
+---- Thread: [Windows] XBMC crashes when XBOX-controller disconnects (/showthread.php?tid=129274)
XBMC crashes when XBOX-controller disconnects - niltron - 2012-04-18 13:30
I updated to Eden v. 11.0 yesterday and everything works great except this one thing. Every time I pop the batteries on my wireless XBOX-controller, XBMC crashes. Note that this only happens during video playback. I can pop the batteries while in the menus and XBMC will keep running. I never had this problem before updating. Any ideas?
RE: XBMC crashes when XBOX-controller disconnects - atsumori - 2012-04-18 14:44
I have the same issue and this is what I've found so far:
Issue: Disconnecting Xbox360 controller (ps3 controller in motioninjoy xbox360 mode) causes xbmc to crash. I'm using the Eden Final release on Windows 7 64bit, and I haven't fiddled with any controller settings for XBMC yet. I did not have this issue with Dharma.
Replicating the issue:
1) Connect controller and start up XBMC (I don't think this order is important)
2) launch a game from advanced launcher and play
3) exit the game and return to xbmc
4) disconnect controller
Doing so causes XBMC to freeze. Windows will then tell me the program has become unresponsive and ask to close XBMC
Things I've noticed
*You have to actually play a game to cause the issue. XBMC behaves as expected if you just connect and disconnect without playing a game.
*XMBC will crash if you launch the game on it's own as well (without using advanced launcher). Keeping xbmc in windowed mode, navigating and launching the game in windows, and then exiting the game and disconnecting the controller causes xbmc to crash once XBMC is reactivated.
*The crash also occurs when connecting the controller, but only for the first time connecting the controller after startup. If you disconnect and then reconnect without restarting the computer, the reconnect will be handled without crash.
* XBMC only crashes after it is activated. If, for example, you have another window open and XMBC in the background (in windowed mode) when the controller disconnects, you can actually still see XBMC react to your mouse in the background after the disconnect. It's only when you then reactivate XBMC that XBMC crashes.
For my tests I used MAME for both testing through advanced launcher and out (from desktop), as well as Snes9X through advanced launcher.
There is a from another thread where I also brought up this issue, but that thread has a couple of issues in it so it's probably better for me to post all information about this bug here from now on.
*Edited to update pastebin link.
RE: XBMC crashes when XBOX-controller disconnects - n00neimp0rtant - 2012-04-18 16:05
I can confirm this as well. I use a PS3 controller emulated as a 360 controller through MotionInJoy, so I don't know if it is an issue with MotionInJoy or with 360 controllers.
RE: XBMC crashes when XBOX-controller disconnects - achaw - 2012-04-18 23:14
Same here with buetooth wiimote...i think is crashing even is bluetooth is activated...
RE: XBMC crashes when XBOX-controller disconnects - bradgy - 2012-04-21 23:44
Happens for me too... I was getting really annoyed that I couldn't work out why it kept crashing. Win 7 x64 , New Eden install Cirrus extended v2. I'll debug log and see if i can record the crash.
RE: XBMC crashes when XBOX-controller disconnects - achaw - 2012-04-22 01:23
(2012-04-21 23:44)bradgy Wrote: Happens for me too... I was getting really annoyed that I couldn't work out why it kept crashing. Win 7 x64 , New Eden install Cirrus extended v2. I'll debug log and see if i can record the crash.
Im using cirrus extended v2 too....probably that is the problem?
RE: XBMC crashes when XBOX-controller disconnects - atsumori - 2012-04-22 09:13
Hmm, I'm using Aeon Nox 2 and still have the same problem.
RE: XBMC crashes when XBOX-controller disconnects - niltron - 2012-04-22 13:36
Noticed this also happens in menus contrary to what I said in my first post. No one's got a fix for this?
RE: XBMC crashes when XBOX-controller disconnects - achaw - 2012-04-22 18:28
is not theme problem...try with aeon and neon, and crash too.It happens too when i back from sleep.
My debug log: http://pastebin.com/z1uZKyGG
In my case, i think is bluetooth/bluesoleil related
RE: XBMC crashes when XBOX-controller disconnects - tjcinnamon - 2012-04-24 00:37
Here's my set up:
EDEN, Win 7 x64, GTX 285 (most recent driver), official XBox Wireless Adapter with most recent drivers, Pulse-Eight Nyxboard.
Behavior is pretty straight forward: If I have the controller on and it turns off automatically like all Xbox Wireless Controllers do (through inactivity), XBMC crashes. This happens whether XBMC has focus or not. I load up an emulator and XBMC does not have focus, if the controller disconnects XBMC crashes. If I'm watching a movie (i.e. has focus) and the controller disconnects it crashes.
Here's my Debug Log: http://pastebin.com/L54UXfbM
Any headway on this? Let me know if there's anything I can do to help.
I think this is the line that is causing the error:
Thread CRemoteControl 1384 terminating