XBMC freezing 30 seconds after loading Win7
#1
Hey

Hoping someone can help, this only started happening after a reboot last night, I also have an ATV2 (also pre-eden build 4/11/11) but that all seems fine etc... have tried deleting both GUI settings XML and advanced settings (I usually use SQL ATV2 still connecting fine)


I find this after every freeze in the log file:


18:27:58 T:5096 NOTICE: Getting hardware information now...
18:27:58 T:5096 NOTICE: Checking resolution 12
18:27:58 T:5096 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
18:27:58 T:5096 NOTICE: Loaded playercorefactory configuration
18:27:58 T:5096 NOTICE: Loading player core factory settings from special://profile/playercorefactory.xml.
18:27:58 T:5096 NOTICE: Loaded playercorefactory configuration
18:27:58 T:5096 NOTICE: No settings file to load to load (special://xbmc/system/advancedsettings.xml)
18:27:58 T:5096 NOTICE: No settings file to load to load (special://masterprofile/advancedsettings.xml)
18:27:58 T:5096 NOTICE: Default DVD Player: dvdplayer
18:27:58 T:5096 NOTICE: Default Video Player: dvdplayer
18:27:58 T:5096 NOTICE: Default Audio Player: paplayer
18:27:58 T:5096 NOTICE: Loading media sources from special://masterprofile/sources.xml
18:28:04 T:4112 ERROR: CRemoteControl::Connect - failed to connect
18:28:05 T:5096 NOTICE: initializing playlistplayer
18:28:05 T:5096 NOTICE: DONE initializing playlistplayer
18:28:05 T:5096 WARNING: file doesnt have <fontset> with name 'Better Font', defaulting to first fontset
18:28:13 T:4056 NOTICE: -->Python Interpreter Initialized<--
18:28:13 T:360 NOTICE: -->Python Interpreter Initialized<--
18:28:13 T:5096 NOTICE: initialize done
18:28:13 T:5096 NOTICE: Running the application...
18:28:13 T:2800 NOTICE: -->Python Interpreter Initialized<--
18:28:13 T:5096 NOTICE: Webserver: Starting...
18:28:13 T:5096 NOTICE: WebServer: Started the webserver
18:28:13 T:5096 NOTICE: starting upnp server
18:28:14 T:5096 NOTICE: starting upnp renderer
18:28:14 T:5096 NOTICE: ES: Starting event server
18:28:14 T:5108 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
18:28:14 T:5108 NOTICE: UDP: Listening on port 9777
18:28:17 T:5096 ERROR: Control 1 in window 10099 has been asked to focus, but it can't
18:28:21 T:3756 ERROR: dll_fgets emulated function failed
18:28:32 T:3116 ERROR: WEATHER: Unable to get data: Invalid License Key.
18:28:40 T:2800 NOTICE: StorageServer Module loaded RUN
18:28:40 T:2800 NOTICE: StorageClient-0.8 Starting server
18:28:40 T:396 NOTICE: -->Python Interpreter Initialized<--
18:28:40 T:4496 NOTICE: -->Python Interpreter Initialized<--
18:28:40 T:396 NOTICE: #########################################################################################
18:28:40 T:396 NOTICE: Recently added script is no longer needed and the skins should remove dependencies for it
18:28:40 T:396 NOTICE: https://github.com/xbmc/xbmc/commit/a61c...54e4494a22
18:28:40 T:396 NOTICE: forum thread can be found at http://forum.xbmc.org/showthread.php?tid=99502
18:28:40 T:396 NOTICE: #########################################################################################
18:28:45 T:4028 NOTICE: -->Python Interpreter Initialized<--
18:28:45 T:4028 ERROR: CThread:ConfusedtaticThread : Access violation at 0x1e0221fc: Reading location 0x00000004


Any Help would be terrific - Pulling my hair out
Reply
#2
We need to see a complete log with debug logging enabled. You may find XBMC won't run for long enough for you to enabled debug logging. If so here's how to do it manually. Press Windows-R and in the Run dialog type:

notepad "%appdata%\xbmc\userdata\advancedsettings.xml"

Click OK and if you're asked to create a new file answer Yes and Notepad will open. Copy and paste in the following (or merge it in if you already have an advancedsettings.xml):

Code:
<advancedsettings>
  <loglevel>1</loglevel>
</advancedsettings>

Close Notepad and save the changes. Now start XBMC and wait for it to crash.

Open the debug log by pressing Windows-R and in the Run dialog type:

"%appdata%\xbmc\xbmc.log"

(including the quotes). Click OK and the log should open in Notepad. Copy and paste the log into http://pastebin.com/ and post the link it gives you here.

JR
Reply
#3
jhsrennie Wrote:We need to see a complete log with debug logging enabled. You may find XBMC won't run for long enough for you to enabled debug logging. If so here's how to do it manually. Press Windows-R and in the Run dialog type:

notepad "%appdata%\xbmc\userdata\advancedsettings.xml"

Click OK and if you're asked to create a new file answer Yes and Notepad will open. Copy and paste in the following (or merge it in if you already have an advancedsettings.xml):

Code:
<advancedsettings>
  <loglevel>1</loglevel>
</advancedsettings>

Close Notepad and save the changes. Now start XBMC and wait for it to crash.

Open the debug log by pressing Windows-R and in the Run dialog type:

"%appdata%\xbmc\xbmc.log"

(including the quotes). Click OK and the log should open in Notepad. Copy and paste the log into http://pastebin.com/ and post the link it gives you here.

JR

Done - did 2 log dumps just in case

number 1 - http://pastebin.com/czmTkaBB
number 2 - http://pastebin.com/hGnqBNnV

Again, Thank you for any assistance - from the 2nd log it looks like it might be an add-on doing it... but i am unsure....
Reply
#4
It looks as if script.mymediadb is to blame. I guess that's the MyMediaDB add-on.

However I'd be surprised if an add-on could crash XBMC as they're written in Python and it's hard to cause an access violation in Python. I wonder if there is some corruption in your database that's upsetting XBMC. I also note that you're using a custom build not the v10.1 release.

I'd try moving or renaming the Database folder then see if XBMC crashes. To get at the database folder press Windows-R and in the Run dialog type:

"%appdata%\xbmc\userdata"

(including the quotes) then click OK and an Explorer window should open. The Database folder will be one of the folders in this window.

JR


JR
Reply
#5
jhsrennie Wrote:It looks as if script.mymediadb is to blame. I guess that's the MyMediaDB add-on.

However I'd be surprised if an add-on could crash XBMC as they're written in Python and it's hard to cause an access violation in Python. I wonder if there is some corruption in your database that's upsetting XBMC. I also note that you're using a custom build not the v10.1 release.

I'd try moving or renaming the Database folder then see if XBMC crashes. To get at the database folder press Windows-R and in the Run dialog type:

"%appdata%\xbmc\userdata"

(including the quotes) then click OK and an Explorer window should open. The Database folder will be one of the folders in this window.

JR


JR


Must of been a corrupt DB - that fixed it Smile you are a legend Big Grin Big Grin
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC freezing 30 seconds after loading Win70