Windows XBMC freezes on startup

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
tulipo Offline
Junior Member
Posts: 1
Joined: May 2012
Reputation: 0
Post: #11
Hi guys i'm experiencing same problem with my new HTPC. I'm following and using xbmc from the version 10 and i've never had this problem before.

XBMC ver 11.0 Eden

I startup my pc, automatically start xbmc and after few keypress on my remote XBMC freeze windows. I need to switch off the pc to solve. I try to unistall and deleting profile folder too but nothing to do.

Here's my debug log: http://pastebin.com/7V2cePW4
find quote
jhsrennie Offline
Team-XBMC Developer
Posts: 7,237
Joined: Nov 2008
Reputation: 117
Location: Chester, UK
Post: #12
I can't see anything obvious in the log. Did XBMC freeze when recording this log? It looks as if you used TeamViewer and pressed alt-F4 to end XBMC. Can you record a log showing a freeze?
(This post was last modified: 2012-05-27 10:00 by jhsrennie.)
find quote
hotrod02 Offline
Junior Member
Posts: 1
Joined: Jun 2012
Reputation: 0
Post: #13
I have the same exact issue you guys are having with my Dell XPS 14Z. I have installed it on atleast 3 other computers without any problems. I tried to set up logs, but the logs are not writing to the newly created "advancedsettings" file in my appdata directory.

Please help! Love the software and need it on this laptop.

Update:

I was troubleshooting the issue for again today. I think I fixed it. Here is what I did to get XBMC 11 to work.
1. Uninstalled the Intel driver, uninstalled and reinstalled XBMC without any luck.
2. Uninstalled the Nvidia driver and had the same results.
3. Reinstalled both drivers and now it works.
(This post was last modified: 2012-06-23 15:45 by hotrod02.)
find quote
sc84647 Offline
Junior Member
Posts: 4
Joined: Jun 2012
Reputation: 0
Post: #14
I also am having the same problem - running on Win7 on Toshiba L775-111 and it hangs on startup. The last entry in the log is same as seanp25 is seeing. I've tried uninstalling (including removing the profile directory) and reinstalling but the problem persists.

Full history - I did a fresh first-time install, enabled Airplay, played a few videos/photos from an iPhone, then it hung and the PC needed rebooting. I'm very keen to get XMBC working (it looked great for the 10 minutes I was able to use it!), any advice appreciated.
(This post was last modified: 2012-06-07 23:31 by sc84647.)
find quote
jhsrennie Offline
Team-XBMC Developer
Posts: 7,237
Joined: Nov 2008
Reputation: 117
Location: Chester, UK
Post: #15
Because I can't reproduce this the only way to attack the problem is for me to do a custom build of Eden with extra logging around the bit of the code that's crashing. You would have to download the modified XBMC.exe and copy it into the Eden installation directory. If you want to have a go let me know and I'll create the custom build.
find quote
jordandk Offline
Member
Posts: 67
Joined: Dec 2010
Reputation: 0
Location: Denmark
Post: #16
I had the problem too last night. I found out XBMC would'nt startup if I have an audio cd in my drive. It keep saying XBMC not responding, until I took the cd out, then it started up as usual.

Did the test 3 times with different cd's and each time the result was the same with not responding.
find quote
jhsrennie Offline
Team-XBMC Developer
Posts: 7,237
Joined: Nov 2008
Reputation: 117
Location: Chester, UK
Post: #17
OK I've built a version of Eden with extra logging. It will still crash/hang, but at least we'll have more idea where it's happening.

Grab XBMC.exe from http://swarchive.ratsauce.co.uk/xbmc/HangInWindows/ and copy the file into the XBMC installation directory i.e. replace the version of XBMC.exe created by the Eden installer. Now just run XBMC, and after it hangs/crashes upload the log to http://pastebin.com/ and post the link here.

The extra logging info will look like:

Code:
DEBUG: guilib: Fill viewport always for solving rendering passes
  INFO: CApplication::Create: calling CUtil::InitRandomSeed()
  INFO: CApplication::Create: calling g_mediaManager.Initialize()
  INFO: CApplication::Create: returning CApplication::Initialize()
  INFO: CApplication::Initialize: entering CApplication::Initialize()
  INFO: CApplication::Initialize: calling g_curlInterface.Load()
DEBUG: SECTION:LoadDLL(special://xbmcbin/system/libcurl.dll)
  INFO: CApplication::Initialize: calling g_curlInterface.Unload()
  INFO: CApplication::Initialize: calling CApplication::StartServices()
NOTICE: initializing playlistplayer

The logs that have been posted in this thread stop at the entry:

Code:
DEBUG: guilib: Fill viewport always for solving rendering passes

and normally the next log entry is:

Code:
DEBUG: SECTION:LoadDLL(special://xbmcbin/system/libcurl.dll)

so hopefully the extra logging will tell us where in between XBMC is hanging.
(This post was last modified: 2012-06-08 12:50 by jhsrennie.)
find quote
sc84647 Offline
Junior Member
Posts: 4
Joined: Jun 2012
Reputation: 0
Post: #18
OK - I've downloaded the extra logging version, enabled debug and run it - here's the log
http://pastebin.com/SPUEkF1z

Looks like the last entries are:
Code:
08:41:54 T:6528   DEBUG: CButtonTranslator::Load - no userdata IRSSmap.xml found, skipping
08:41:54 T:6528    INFO: GUI format 1600x900 1600x900 @ 60.00 - Full Screen
08:41:54 T:6528   DEBUG: guilib: Fill viewport always for solving rendering passes
08:41:54 T:6528    INFO: CApplication::Create: calling CUtil::InitRandomSeed()
08:41:54 T:6528    INFO: CApplication::Create: calling g_mediaManager.Initialize()
08:41:55 T:1480   DEBUG: CRemoteControl::Connect - connecting to: 127.0.0.1:24000 ...
08:41:57 T:1480   ERROR: CRemoteControl::Connect - failed to connect
08:41:57 T:1480    INFO: CRemoteControl::Process - failed to connect to irss, will keep retrying every 5 seconds

Note this might not be the same problem as jordandk is seeing, there is definitely no CD in my machine.

UPDATE: OK it seems to be working again, not sure how/why, but the log from the working instance diverges from previous logs after this line:
Code:
09:22:42 T:7004    INFO: CApplication::Create: calling g_mediaManager.Initialize()

and instead logs out:
Code:
09:22:42 T:7004    INFO: CApplication::Create: returning CApplication::Initialize()
09:22:42 T:7004    INFO: CApplication::Initialize: entering CApplication::Initialize()
09:22:42 T:7004    INFO: CApplication::Initialize: calling g_curlInterface.Load()
09:22:42 T:7004   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/libcurl.dll)
09:22:42 T:7004    INFO: CApplication::Initialize: calling g_curlInterface.Unload()
09:22:42 T:7004    INFO: CApplication::Initialize: calling CApplication::StartServices()
09:22:42 T:7004  NOTICE: initializing playlistplayer
09:22:42 T:7004  NOTICE: DONE initializing playlistplayer
09:22:42 T:7004   DEBUG: DPMS: supported power-saving modes: OFF STANDBY
...
(This post was last modified: 2012-06-09 10:32 by sc84647.)
find quote
jhsrennie Offline
Team-XBMC Developer
Posts: 7,237
Joined: Nov 2008
Reputation: 117
Location: Chester, UK
Post: #19
This looks very like a hang polling the optical disks.

I've updated the XBMC.exe on my site to enhance the logging around the optical disk check. You might be interested to try it, though if your system is no longer hanging the info we'll get will be limited.

Incidentally, there's nothing "experimental" about this build. It's the same as the release version of Eden except for the extra logging, so you can use it for your regular film watching.
find quote
sc84647 Offline
Junior Member
Posts: 4
Joined: Jun 2012
Reputation: 0
Post: #20
Yes agreed - it seems to be connected to optical drives - managed to reproduce the problem again with your updated build (although it seems to be an intermittent problem):

Code:
20:07:36 T:10800    INFO: CMediaManager::Initialize: calling m_platformStorage->Initialize()
20:07:36 T:10800    INFO: CWin32StorageProvider::Initialize: calling CWIN32Util::GetDrivesByType
20:07:36 T:10800    INFO: CWin32StorageProvider::Initialize: called CWIN32Util::GetDrivesByType
20:07:36 T:10800    INFO: CWin32StorageProvider::Initialize: checking for DRIVE_CLOSED_MEDIA_PRESENT
20:07:36 T:10800    INFO: CWin32StorageProvider::Initialize: checking drive E:
20:07:36 T:8896   DEBUG: CRemoteControl::Connect - connecting to: 127.0.0.1:24000 ...
20:07:43 T:8896   ERROR: CRemoteControl::Connect - failed to connect
20:07:43 T:8896    INFO: CRemoteControl::Process - failed to connect to irss, will keep retrying every 5 seconds

At the same time that XBMC was hanging, trying to open the E: drive in Windows Explorer would also hang - not sure if one causes the other, or something else is causing both to hang.
find quote
Post Reply