XBMC shut down my xBox ???

If you need any help with XBMC4XBOX, such as installing or using the software, please post it in here.
d3ad connection
Posts: 8
Joined: Mon Jun 09, 2014 8:59 am
Has thanked: 1 time

Re: XBMC shut down my xBox ???

Post by d3ad connection »

Here's an update after some months. Even with the FTP server disabled, I still got a shutdown eventually, and only in XBMC. It would sometimes happen immediately, or after 10 minutes or so. The log is no help, it just stopped in the middle of writing the final line. I tried many different builds, including those from years back. The only ones that don't have any issues on my Xbox are pre-2008 ones. No other games, programs or actions shut off my Xbox, only running XBMC. :( Sucks because I have a custom skin that I would love to use on this box with XBMC as the dashboard.
User avatar
darknior
Posts: 59
Joined: Wed Jul 04, 2012 3:08 am
Location: France
Been thanked: 4 times

Re: XBMC shut down my xBox ???

Post by darknior »

Same for me :(
It is so bad we don't find any solution !!! Because i always use XBMC on my XBOX .... but now i can't :(
I will try the new release this week and feedback.
d3ad connection
Posts: 8
Joined: Mon Jun 09, 2014 8:59 am
Has thanked: 1 time

Re: XBMC shut down my xBox ???

Post by d3ad connection »

Another update from me. The last build (that I can find compiled) that doesn't crash my Xbox is 2/26/07 (r7937). I was able to leave this on for hours and even transfer a whole game through FTP with no shut off. However, the next build I could find after that, which is 3/4/07 (r8014) shuts off my Xbox almost immediately upon startup, just like every other one after that. I'm not sure what could have changed in between these builds which would cause this?

I would greatly appreciate it if someone who is more familiar with the code could take a look at this issue. I'm willing to give any info and test things out on my Xbox, I'd really just like to get XBMC running okay. :(

Here's the changelog for all changes in between these builds:

Code: Select all

2007-03-04  8014  changed: ttf font renderer now uses gpu for rotation and shifting of characters, also some speedups in character lookup time.
2007-03-04  8013  fixed: If Programs was locked, you could still execute xbe's via the skin/webserver etc.
2007-03-04  8012  fixed: mplayer wouldn't display the new video frame directly after a paused seek.
2007-03-04  8011  changed: make sure renderer restores present interval instead of setting it to fixed value if it changes it temporarily.
2007-03-04  8010  changed: removed more hacks to unpause player before seek.
2007-03-04  8009  Modified: Home button textures didn't look square in 16x9 modes.
2007-03-04  8008  fixed: dvdplayer would stutter alot during dvd playback since r7923 due to rendering thread being stalled when waiting on libdvdnav virtual machine lock.
2007-03-04  8007  Updated: Splash images.
2007-03-04  8006  updated: Finnish based on 7958 by mikko70 updated: Chinese (Traditional) based on 7958 by omenpica updated: German (Austria) based on 4947 by ceomr
2007-03-03  8005  fixed: conditional return of InternetState wasn't updated
2007-03-03  8004  changed: removed unused functions in IPlayer changed: moved hack for unpausing player before seek into players that need it instead of global added: frame stepping for mplayer (thnx to asteron for idea and initial patch) added: preliminary code for framestepping in dvdplayer, currently disabled as it causes audio desync on unpause.
2007-03-03  8003  fixed: XBMC_PC didn't show the Internet sate due to System Info changes.
2007-03-03  8002  added: CPU idle thread with HLT instruction to cool and lower energy usage. (thanks michaelbrumm!)
2007-03-02  8001  fixed: system up and system total up time was broken
2007-03-02  8000  added: built in function: "backupsysteminfo", will create bios, eeprom backup and systeminformation txt file to /system/systeminfo/ fixed: on no systeminfo request the "busy" text was shown for a couple of seconds
2007-03-02  7999  changed: Weather icons all use the 128x128 sized ones now.
2007-03-02  7998  fixed: cmdlineargs.h left out of last commit
2007-03-02  7997  fixed: XBMCTex command line parsing of filenames with spaces + better animgif palette support, thanks to Equinox.
2007-03-02  7996  fixed: imdb plot would sometimes not be fully parsed
2007-03-01  7995  fixed: left out SendATACommand IRQL fix in previous commit
2007-03-01  7994  fixed: password dialog md5 sums are no longer compared using case-sensitive methods (password itself is still case-sensitive), xml md5 sums changed back to lowercase
2007-03-01  7992  fixed: XBMC_PC didn't compile due to System Info changes.
2007-03-01  7990  changed: system info, more move to Info manager and changed to background info loader
2007-03-01  7989  removed: non used inet check thread code
2007-03-01  7988  fixed: SendATACommand caused corruption during file I/O.
2007-03-01  7986  changed: SEND_CLICK_MESSAGE() -> SendWindowMessage() in CGUIButtonControl::OnClick(). Fixes control conflicts with python WindowDialogs and dialogs
2007-03-01  7985  Fixed : PM3 Music Now Playing Overlay Thumbnail didn't keep its aspect ratio properly
2007-03-01  7984  fixed: Video + Visualisation in XBMC_PC didn't clear that background when in fullscreen.
2007-02-28  7983  fixed: Year and Genre tags weren't written when encoding with LAME.
2007-02-28  7982  added: .nfo parsing can now read xml files of the form outputted by scrapers or export from db.
2007-02-28  7981  fixed: Crash if <thumb> tag was missing value.
2007-02-28  7980  fixed: Clean Database would screw up insertion of new movies in certain cases. It is suggested that users export their DB, delete, then reimport.
2007-02-28  7979  updated: German language file by sCAPe
2007-02-28  7978  updated: french language (thanks to frostbox)
2007-02-28  7973  fixed: imdb scraper genres
2007-02-28  7972  fixed: imdb scraper rating and votes
2007-02-28  7970  updated: Swedish language file by blittan (based on english 7958)
2007-02-28  7968  updated: Swedish language file by blittan (based on english 7953)
2007-02-28  7967  updated: German language file by sCAPe (Based on english strings version 7958)
2007-02-28  7966  Removed : PM3 Changelog_PM.txt because changes are now listed in the main SVN log
2007-02-28  7965  Changed : PM3 Added a scrollbar to the scrapper list in DialogContentSettings.xml
2007-02-28  7964  fixed: Set Content dialog continually fired click messages when select messages were sent (meant a pagecontrol screwed everything up)
2007-02-28  7963  fixed: XBMC_PC didn't compile due to SystemInfo changes.
2007-02-28  7962  fixed: Added missing files for "fixedlist"
2007-02-28  7961  added: "fixedlist" type of list container - same as list except it has a fixed <focusposition>
2007-02-28  7960  added: tuxbox client, new advancedsettings -> <sendallaudiopids>false</sendallaudiopids>: default:false! true: will send all available Audio Channels (aPIDs) to mplayer. To the the new mplayer.dll !-->
2007-02-28  7959  fixed: tuxbox client, currentservicedata request was broken
2007-02-28  7958  changed: system info, more move to Info manager and some improvements
2007-02-28  7957  fixed: sys.path[0] was broken from the sys.argv addition.
2007-02-27  7954  fixed: dvdplayer would play movie out of sync if bob deinterlacer was used and movies field rate matched screen refresh rate. 25fps movie pal display, 30fps movie ntsc display.
2007-02-27  7953  Added : GUI option to disable 'Add Source' button in root of media windows, will show regardless of status if there are no bookmarks. Settings>Appearance>View Options
2007-02-27  7950  fixed: Buttonscroller didn't allow <include>'s within the <buttons> and <button> tags.
2007-02-27  7949  changed: scrap tv scraper parsing behaviour
2007-02-27  7947  fixed: missing string localization. please devs, NEVER ADD THESE AGAIN.
2007-02-27  7946  changed: simplified system info stuff in GUIInfoManager fixed: TuxBox no longer highjacks the usage of port 31339 over http. (ps this probably breaks tuxbox client, will need to be verified by somebody with a dreambox)
2007-02-27  7945  updated: filmweb.pl scraper (thanks to smuto).
2007-02-27  7943  added: httpapi command GetPlayListLength
2007-02-27  7942  fixed: misunderstanding regarding encodings in imdb.cpp
2007-02-27  7940  fixed: charsetconversion for movie selection when using scrapers
2007-02-26  7937  fixed: XBMC_PC wouldn't compile due to missing #ifdef's
2007-02-26  7935  fixed: XBVideoConfig did not clear flags before saving
2007-02-26  7933  updated: Swedish language file by blittan (based on english 7929)
2007-02-26  7932  added: scrap support for tvshows
2007-02-26  7931  updated: Swedish language file by blittan (based on english 7924)
2007-02-26  7930  changed: system info, more move to Info manager
2007-02-26  7929  added: Video HD Mode and Aspect Ratio settings
2007-02-26  7927  added: Scrapers referrer spoofing for thumbnails. added: Adult CD Movies scraper
2007-02-26  7925  fixed: MD5 routines fixed, resulting in SMB being fixed. (thanks elupus!)
2007-02-26  7924  changed: system info, initial move to Info manager
User avatar
darknior
Posts: 59
Joined: Wed Jul 04, 2012 3:08 am
Location: France
Been thanked: 4 times

Re: XBMC shut down my xBox ???

Post by darknior »

Hi
Have you a link where i can found this build too ?
I would like to try it and report if it works fine ?
Thanks
d3ad connection
Posts: 8
Joined: Mon Jun 09, 2014 8:59 am
Has thanked: 1 time

Re: XBMC shut down my xBox ???

Post by d3ad connection »

I sent you a PM.
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: XBMC shut down my xBox ???

Post by BuZz »

Without access to a machine that has this problem it is going to be hard to debug. For those that have it, considering the price of an xbox, it might just be worth getting another one as this doesn't seem a common issue at least.
User avatar
darknior
Posts: 59
Joined: Wed Jul 04, 2012 3:08 am
Location: France
Been thanked: 4 times

Re: XBMC shut down my xBox ???

Post by darknior »

Woaw, i also try the last XBMC-SVN_2007-02-26_rev7937-T3CH and it works fine without crash !
The problem were to understand what make the new one shut down the xbox ?
User avatar
darknior
Posts: 59
Joined: Wed Jul 04, 2012 3:08 am
Location: France
Been thanked: 4 times

Re: XBMC shut down my xBox ???

Post by darknior »

BuZz wrote:Without access to a machine that has this problem it is going to be hard to debug. For those that have it, considering the price of an xbox, it might just be worth getting another one as this doesn't seem a common issue at least.
It is not a solution :(
I have this problem on two xbox i have mod, add the YUV, etc ... i can't change them for a crappy new xbox :(
And the problem appear about 1 year for me ... before all is working fine ...

What information can we give you to help ?
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: XBMC shut down my xBox ???

Post by BuZz »

you could checkout the version that works, then svn up say 10 revisions later, and rebuild. then once you find one that crashes trace back to find the exact revision which breaks (in a similar fashion to git bisect). I can then look at the code changes. This is what I would do if I had the hardware to test on (if locating the line via a debug build wasn't possible)
User avatar
mrmajikbus45
Posts: 345
Joined: Mon Nov 18, 2013 12:36 am
Location: Indianapolis, IN, USA
Has thanked: 32 times
Been thanked: 56 times

Re: XBMC shut down my xBox ???

Post by mrmajikbus45 »

Actually Buzz, I had this happen a few months ago with a v1.1 that I had laying about. I loaded the softmod without an issue, installed XBMC without an issue. Run XBMC, and it would shut off after 5-15 seconds. Thought it may be the traces, so I did the standard solder repair of the traces. Not the issue. Thought it was a heatsink issue, so I removed the pink gum and replaced it with Arctic Silver 5, no dice. Thought about it for a while, and realized it only shut off after installing X4X 3.5 beta 4. I stuck a Slayer's disc in, and cold booted it with zero issues. No shut off. Installed EvoX, and made it the default boot xbe. Worked fine, and left it on for 24 hours as a test. Deleted X4X, and then cleared the softmod so it was a virgin Xbox again. Redid the softmod, and reinstalled XBMC 3.5 B4 without an issue. Worked fine. I just wonder if something was screwed up in FTP, so I never reported it. Haven't seen it since.
Last edited by mrmajikbus45 on Tue Sep 02, 2014 8:04 pm, edited 1 time in total.
A strong man doesn't need to read the future, he makes his own. -Solid Snake
American as Guile!
Get your Chimp on!
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: XBMC shut down my xBox ???

Post by BuZz »

that could be an unrelated issue mind, as this seems to be a problem introduced back in 2007 and only affecting a small number of machines. I suspect some code that probes something that breaks on certain revision of machine, or something related to a specific mod/bios.
User avatar
mrmajikbus45
Posts: 345
Joined: Mon Nov 18, 2013 12:36 am
Location: Indianapolis, IN, USA
Has thanked: 32 times
Been thanked: 56 times

Re: XBMC shut down my xBox ???

Post by mrmajikbus45 »

Just figured since I had a situation that could fall under this guise, I would input my information. Maybe it helps someone.
A strong man doesn't need to read the future, he makes his own. -Solid Snake
American as Guile!
Get your Chimp on!
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: XBMC shut down my xBox ???

Post by BuZz »

sure thing.
d3ad connection
Posts: 8
Joined: Mon Jun 09, 2014 8:59 am
Has thanked: 1 time

Re: XBMC shut down my xBox ???

Post by d3ad connection »

BuZz wrote:you could checkout the version that works, then svn up say 10 revisions later, and rebuild. then once you find one that crashes trace back to find the exact revision which breaks (in a similar fashion to git bisect). I can then look at the code changes. This is what I would do if I had the hardware to test on (if locating the line via a debug build wasn't possible)
I'll do this when I have some time, and will post what I find here. Thanks.
d3ad connection
Posts: 8
Joined: Mon Jun 09, 2014 8:59 am
Has thanked: 1 time

Re: XBMC shut down my xBox ???

Post by d3ad connection »

Finally got a VM set up with XDK and been doing some testing. r8002 is the culprit. My Xbox doesn't seem to like the HLT instruction, and shuts itself off for whatever reason. I edited xbmc\utils\idle.cpp and deleted the ASM code from CIdleThread::Process and no shut off at all! Finally I can use the latest XBMC4Xbox! :D

Darknior, if you wish to try out my fixed build of 3.5RC2 on your Xbox, PM me.
tim619
Posts: 204
Joined: Sun Mar 10, 2013 10:22 am
Has thanked: 25 times
Been thanked: 59 times

Re: XBMC shut down my xBox ???

Post by tim619 »

You're referring to

Code: Select all

void CIdleThread::Process()
{
  while (!m_bStop)
  {
    __asm
    {
      hlt
      hlt
      hlt
      hlt
      hlt
      hlt
    }
  }
}
Do you have the lastest xbox original dashboard installed?
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: XBMC shut down my xBox ???

Post by BuZz »

Interesting
d3ad connection wrote:Finally got a VM set up with XDK and been doing some testing. r8002 is the culprit. My Xbox doesn't seem to like the HLT instruction, and shuts itself off for whatever reason. I edited xbmc\utils\idle.cpp and deleted the ASM code from CIdleThread::Process and no shut off at all! Finally I can use the latest XBMC4Xbox! :D
Thanks for testing this and tracking down the commit. Interesting that it causes a shutdown on your machine. Not sure whether this is a hardware issue/bug or something related to the BIOS (Which BIOS are you running currently ? Hardmod/Softmod or ?). I could certainly include an advancedsettings.xml option to disable the idle thread which could be used for others with this issue (Seems to be only 2 users currently).

[edit] and this thread has some comments from people regarding the changeset - http://forum.xbmc.org/showthread.php?tid=25125 (and how much it reduced power consumption/cpu usage etc)
d3ad connection
Posts: 8
Joined: Mon Jun 09, 2014 8:59 am
Has thanked: 1 time

Re: XBMC shut down my xBox ???

Post by d3ad connection »

tim619 wrote:Do you have the lastest xbox original dashboard installed?
Yes, it's 5960.
BuZz wrote:Which BIOS are you running currently ? Hardmod/Softmod or ?
It's a softmod, NDURE 3.1.
BuZz wrote:I could certainly include an advancedsettings.xml option to disable the idle thread which could be used for others with this issue (Seems to be only 2 users currently).
That would be greatly appreciated, thanks :D
User avatar
darknior
Posts: 59
Joined: Wed Jul 04, 2012 3:08 am
Location: France
Been thanked: 4 times

Re: XBMC shut down my xBox ???

Post by darknior »

Thanks a lot @d3ad connection, it works really fine for me too :)

xBox 1.6, BIOS 5838.01
Last official NTSC US system to have HD !
xBox starting with UnleashX in 1080i !

Thanks @BuZz if you think you can add a setting for this trick in the official relaese ;)

Like i write before ... 1.5 years ago XBMC works really fine on my xbox and i use it every days ... so strange ...
I'm sure we are not only two with this problem ...
Post Reply