Posts: 102
Joined: Mar 2011
Reputation:
0
Wow, you are way more patient with support than I! Anywho,
Regarding the 4 digit number, I'm pretty sure that's the thread number of the process that's being closed. Admittedly having no knowledge of the inner workings of XBMC, I'm guessing XBMC spins up a thread to pole each controller/remote for button presses. Then, when you disconnect the XBOX controller, the system tells XBMC that the controller has disconnect and so XBMC kills that thread.
Which, continuing on the pure conjecture train, means that there might be some sort of unhandled exception in CRemoteControl when a controller is disconnected? Of course, that's assuming "DEBUG: Thread CRemoteControl 3560 terminating" line is really the culprit.
Posts: 271
Joined: Apr 2012
Reputation:
0
2012-04-24, 16:20
(This post was last modified: 2012-04-24, 16:20 by tjcinnamon.)
I mostly agree with you except: when you disconnect the XBOX controller, the system tells XBMC that the controller has disconnect
If this was the case it would be the system sending the command based on controller behavior. Whereas, I believe its the controller sending a message to the adapter saying "I'm shutting down now" Then the adapter sends that to the system. That is why when the battery is suddenly removed it does not crash. Because the message is never sent.
Does that make sense? Perhaps that's what you meant and I got too semantical. However, I agree with you we are on the conjecture train. I'll try to figure out if that 4 digit number is a system process thread ID or a thread ID assigned with XBMC.
I'll give Microsoft a call a bit later. Do you know how often the Dev Team checks these forums? I think we are giving due diligence to help solve this problem and perhaps could get this problem bumped in priority.
Frodo Win 8 Pro x64
Fractal Design Node 605 (looks amazing)
i5 3570K, Asus P8Z77V LK
2x80GB Intel 320 SSD, 4TB NAS
GTX 670x2 SLI, 16GB GSkill Ares
Onkyo RC360 with Paradigm piece-by-piece 5.1 build
Nyxboard and AHK full controlled via XBox Controller
Posts: 102
Joined: Mar 2011
Reputation:
0
2012-04-24, 17:37
(This post was last modified: 2012-04-24, 17:39 by atsumori.)
Actually, I think it's probably better to be semantical in this case and your explanation seems sound.
It's really hit or miss with XBMC support since it's community supported and there's really no guarantee that the guy that did the controller code will show up on the forums and things are bound to be slower since Eden was just released. Once you get the appropriate developer's attention though, they seem pretty good about helping if you get them the information they need. There are four debug logs already in this thread, so if somebody could let us know how to flag down the appropriate developer I feel like we could get this fixed!
Back to testing, I just discovered that disconnecting the Sony PS3 Remote (connected via Bluetooth) causes the same crash. I was in the middle of watching Castle and the battery ran out, causing a crash mid-episode. I was able to replicate the crash again by removing the batteries from the remote. Since the PS3 Remote sucks up batteries faster than a GameGear, this is going to be quite an irritating problem.
Posts: 271
Joined: Apr 2012
Reputation:
0
Hmmmm, so it's not limited to Xbox controllers meaning perhaps it is a system generated message.
I called 2 tiers of Xbox support and they helped as much as they could be that info was not given to them. However, it looks as though any info they had would not help as much because it's a system generated error.
Do playstation controllers have removable batteries? Could we try a "sudden" shutdown instead of letting the controller know when it's dying?
Frodo Win 8 Pro x64
Fractal Design Node 605 (looks amazing)
i5 3570K, Asus P8Z77V LK
2x80GB Intel 320 SSD, 4TB NAS
GTX 670x2 SLI, 16GB GSkill Ares
Onkyo RC360 with Paradigm piece-by-piece 5.1 build
Nyxboard and AHK full controlled via XBox Controller
Posts: 102
Joined: Mar 2011
Reputation:
0
Playstation controllers do not have removable batteries, but I did try yanking out the bluetooth dongle I use to connect the controller to my system. Yanking out the dongle caused XBMC to crash.
Posts: 2
Joined: Apr 2012
Reputation:
0
My xbox 360 controller and my Wii remote won't work. I'm having the same issues and the same messages in the log.
DEBUG: Thread CRemoteControl 3560 terminating
However, I don't think it's an XBMC eden problem, or a controller/driver problem. I'm seeing an emerging pattern here...Windows 7 x64. Perhaps a recent Windows update is the cause of all of our problems. I recently uninstalled and removed all traces of XBMC and tried an older version to see if my controllers would work...still nothing.
If anyone is having this problem on XP, please chime in and let us know.
Posts: 102
Joined: Mar 2011
Reputation:
0
Thanks for creating the additional threads.
I agree that this might be an XBMC Eden (possibly XBMC Eden Windows-only) issue. I just tried running a backup I made of my Dharma install that I made right before updating to Eden. Dharma does not have this issue so the cause is likely updated controller handling code in Eden.
Posts: 2
Joined: Apr 2012
Reputation:
0
Ok, it's not a Windows 7 prob then, I got a hold of a laptop running XP and installed eden. Similar results. Except this time, when I tried to exit XBMC it completely crashed and the laptop froze up.
Posts: 271
Joined: Apr 2012
Reputation:
0
So commenting the line out fixes it completely?
What are you using to compile it? I'll look in the documentation on recompilation. I have Visual Studio 2010 and post when I test it out.
Thanks so much,
JOe K.
Frodo Win 8 Pro x64
Fractal Design Node 605 (looks amazing)
i5 3570K, Asus P8Z77V LK
2x80GB Intel 320 SSD, 4TB NAS
GTX 670x2 SLI, 16GB GSkill Ares
Onkyo RC360 with Paradigm piece-by-piece 5.1 build
Nyxboard and AHK full controlled via XBox Controller
Posts: 102
Joined: Mar 2011
Reputation:
0
You rock evil-B, thanks for looking into this!
Is there any chance you could possibly upload your modified XBMC.exe to mediafire or someplace similar for those of us without a compiling environment?
Posts: 271
Joined: Apr 2012
Reputation:
0
Post Compilation: Is it only the .exe that gets modified or are there other files that get modified as well?
Frodo Win 8 Pro x64
Fractal Design Node 605 (looks amazing)
i5 3570K, Asus P8Z77V LK
2x80GB Intel 320 SSD, 4TB NAS
GTX 670x2 SLI, 16GB GSkill Ares
Onkyo RC360 with Paradigm piece-by-piece 5.1 build
Nyxboard and AHK full controlled via XBox Controller
Posts: 28
Joined: Feb 2011
Reputation:
0
evil-B
Junior Member
Posts: 28
Point me to a place where I can upload the file if you want it. I don't have any account on mediafire or any other file server.
For those of you who don't have the dev environment, know that Visual Studio Express 2010 is free.