PDA

View Full Version : The database disk image is malformed


goatcow
2009-04-23, 03:44
I've nuked and reinstalled xbmc multiple times now, with the latest babylon t3ch build, the previous babylon t3ch build, etc.

No i haven't tried the stable image yet, the t3ch alpha build was running perfectly until this - and with far better performance. About the only thing i can think of is that i added more videos into the library directory- but we are only talking going from 20 to 30 videos total.


Xbox starts up, I hear the startup sound from xbmc and then nothing.

Here is the errorlog:

5:34 M: 56225792 NOTICE: -----------------------------------------------------------------------
19:05:34 M: 56205312 NOTICE: Starting XBMC, Platform: Xbox. Built on Apr 4 2009 (SVN:19198, compiler 1310)
19:05:35 M: 56205312 NOTICE: special://xbmc/ is mapped to: Q:\
19:05:35 M: 56205312 NOTICE: special://masterprofile/ is mapped to: q:\UserData
19:05:35 M: 56205312 NOTICE: special://home/ is mapped to: Q:\
19:05:35 M: 56205312 NOTICE: special://temp/ is mapped to: Z:\
19:05:35 M: 56205312 NOTICE: The executable running is: F:\Apps\xbmc\default.xbe
19:05:35 M: 56205312 NOTICE: Log File is located: Q:\xbmc.log
19:05:35 M: 56205312 NOTICE: -----------------------------------------------------------------------
19:05:35 M: 56205312 NOTICE: Unmapped drive T
19:05:35 M: 56205312 NOTICE: Mapping drive T to Harddisk0\Partition6\Apps\xbmc\UserData
19:05:35 M: 56205312 NOTICE: Setup DirectX
19:05:35 M: 56180736 NOTICE: Mapping drive C to Harddisk0\Partition2
19:05:35 M: 56180736 NOTICE: Mapping drive E to Harddisk0\Partition1
19:05:35 M: 56180736 NOTICE: Unmapped drive D
19:05:35 M: 56180736 NOTICE: Mapping drive D to Cdrom0
19:05:35 M: 56180736 NOTICE: Mapping drive F to Harddisk0\Partition6
19:05:35 M: 56180736 NOTICE: Mapping drive X to Harddisk0\Partition3
19:05:35 M: 56180736 NOTICE: Mapping drive Y to Harddisk0\Partition4
19:05:35 M: 56180736 NOTICE: Unmapped drive Z
19:05:35 M: 56180736 NOTICE: Mapping drive Z to Harddisk0\Partition5
19:05:35 M: 56180736 NOTICE: load settings...
19:05:35 M: 56180736 NOTICE: Mapping drive P to Harddisk0\Partition6\Apps\xbmc\UserData
19:05:35 M: 56176640 NOTICE: special://profile/ is mapped to: q:\UserData
19:05:35 M: 56176640 NOTICE: loading special://masterprofile/guisettings.xml
19:05:35 M: 56016896 NOTICE: Getting hardware information now...
19:05:35 M: 56016896 NOTICE: Checking resolution 10
19:05:35 M: 56016896 NOTICE: Setting autoresolution mode 5
19:05:35 M: 56016896 NOTICE: No advancedsettings.xml to load (special://masterprofile/advancedsettings.xml)
19:05:35 M: 56016896 NOTICE: Default Video Player: mplayer
19:05:35 M: 56016896 NOTICE: Default Audio Player: paplayer
19:05:35 M: 56016896 NOTICE: Per AV pack settings are off
19:05:35 M: 56139776 NOTICE: q:\UserData\sources.xml
19:05:41 M: 50868224 WARNING: use dashboard
19:05:41 M: 50540544 NOTICE: Checking the Date!
19:05:41 M: 50540544 NOTICE: start dvd mediatype detection
19:05:41 M: 50475008 NOTICE: initializing playlistplayer
19:05:41 M: 50475008 NOTICE: DONE initializing playlistplayer
19:05:41 M: 50466816 NOTICE: load default skin:[Project Mayhem III]
19:05:42 M: 46223360 NOTICE: Updating video library on startup
19:05:42 M: 46211072 ERROR: SQLite: The database disk image is malformed
Query: SELECT * FROM sqlite_master WHERE type = 'table' AND name = 'version'
19:05:42 M: 46211072 FATAL: Unknown exception code (0xe06d7363)
at 0x000ce58c

Any help you can provide will be greatly appreciated - this is my step daughters "movie machine" that she uses for watching disney movies...and right now it's sorely missed.

-Rocky

althekiller
2009-04-23, 03:56
See if you can boot from a boot disk, FTP in and wipe out XBMC/userdata/databases/*.db. There is also a key press to hold at boot time to clear out some things in userdata, but I'm not sure what all files or what the keys are :p (see the wiki). If neither of these things work enable debugging in advancedsettings.xml (wiki again) and post a full debug log to pastebin.com or similar.

goatcow
2009-04-23, 04:09
Thanks for the ideas - i've nuked and paved a couple times so i'll give that advancedsettings a try tomorrow.

nicoli_k
2009-04-23, 04:54
if you're using component cables and it's not working, then try it with the regular RCA (red, white, yellow cable) or S-video and see if the video shows up. you can then select Auto resolution or enable HD and retry with the component cable.
if you're not using component, then disregard.

from the online instruction manual at http://xbmc.org/wiki/?title=Troubleshooting
" XBMC is set as my dashboard, and boots to a black screen when I turn on my XBOX. What can I do?

You can reset all XBMC settings to defaults, by holding down the two thumbsticks at startup. See more here.
If this is unsuccessful, you can force XBMC to start the Error Recovery Mode, which will give you FTP access, by holding down the White and Y button down during startup."

goatcow
2009-04-24, 01:03
Here is the output with log level 3

16:58:26 M: 56225792 NOTICE: -----------------------------------------------------------------------
16:58:26 M: 56205312 NOTICE: Starting XBMC, Platform: Xbox. Built on Apr 4 2009 (SVN:19198, compiler 1310)
16:58:26 M: 56205312 NOTICE: special://xbmc/ is mapped to: Q:\
16:58:26 M: 56205312 NOTICE: special://masterprofile/ is mapped to: q:\UserData
16:58:26 M: 56205312 NOTICE: special://home/ is mapped to: Q:\
16:58:26 M: 56205312 NOTICE: special://temp/ is mapped to: Z:\
16:58:26 M: 56205312 NOTICE: The executable running is: F:\Apps\xbmc\default.xbe
16:58:26 M: 56205312 NOTICE: Log File is located: Q:\xbmc.log
16:58:26 M: 56205312 NOTICE: -----------------------------------------------------------------------
16:58:26 M: 56205312 NOTICE: Unmapped drive T
16:58:26 M: 56205312 NOTICE: Mapping drive T to Harddisk0\Partition6\Apps\xbmc\UserData
16:58:26 M: 56205312 NOTICE: Setup DirectX
16:58:27 M: 56180736 NOTICE: Mapping drive C to Harddisk0\Partition2
16:58:27 M: 56180736 NOTICE: Mapping drive E to Harddisk0\Partition1
16:58:27 M: 56180736 NOTICE: Unmapped drive D
16:58:27 M: 56180736 NOTICE: Mapping drive D to Cdrom0
16:58:27 M: 56180736 NOTICE: Mapping drive F to Harddisk0\Partition6
16:58:27 M: 56180736 NOTICE: Mapping drive X to Harddisk0\Partition3
16:58:27 M: 56180736 NOTICE: Mapping drive Y to Harddisk0\Partition4
16:58:27 M: 56180736 NOTICE: Unmapped drive Z
16:58:27 M: 56180736 NOTICE: Mapping drive Z to Harddisk0\Partition5
16:58:27 M: 56180736 NOTICE: load settings...
16:58:27 M: 56180736 NOTICE: Mapping drive P to Harddisk0\Partition6\Apps\xbmc\UserData
16:58:27 M: 56176640 NOTICE: special://profile/ is mapped to: q:\UserData
16:58:27 M: 56176640 NOTICE: loading special://masterprofile/guisettings.xml
16:58:27 M: 56016896 NOTICE: Getting hardware information now...
16:58:27 M: 56016896 NOTICE: Checking resolution 10
16:58:27 M: 56016896 NOTICE: Setting autoresolution mode 5
16:58:27 M: 56012800 NOTICE: Loaded advancedsettings.xml from special://profile/advancedsettings.xml
16:58:27 M: 56012800 NOTICE: Getting hardware information now...
16:58:27 M: 56012800 INFO: Using analog output
16:58:27 M: 56012800 INFO: AC3 pass through is disabled
16:58:27 M: 56012800 INFO: DTS pass through is disabled
16:58:27 M: 56012800 NOTICE: Checking resolution 10
16:58:27 M: 56012800 INFO: AV Pack: S-Video
16:58:27 M: 56012800 INFO: AV Flags: Widescreen
16:58:27 M: 56012800 NOTICE: Setting autoresolution mode 5
16:58:27 M: 56012800 NOTICE: Default Video Player: mplayer
16:58:27 M: 56012800 NOTICE: Default Audio Player: paplayer
16:58:27 M: 56012800 NOTICE: Per AV pack settings are off
16:58:27 M: 56131584 NOTICE: q:\UserData\sources.xml
16:58:27 M: 56131584 DEBUG: Setting <default> source to : Kids
16:58:27 M: 56131584 INFO: Checking skinpath existence, and existence of keymap.xml:Q:\skin...
16:58:27 M: 51720192 INFO: load language info file:special://xbmc/language/English/langinfo.xml
16:58:27 M: 51720192 INFO: load keyboard layout configuration info file: Q:\language\english\keyboardmap.xml
16:58:27 M: 51720192 INFO: unable to load Q:\language\english\keyboardmap.xml: Failed to open file at line 0
16:58:27 M: 51195904 INFO: load language file:special://xbmc/language/English/strings.xml
16:58:27 M: 47685632 INFO: load keymapping
16:58:27 M: 47710208 INFO: Loading special://xbmc/system/Keymap.xml
16:58:27 M: 50872320 DEBUG: CButtonTranslator::Load - no userdata keymap found, skipping
16:58:27 M: 50884608 INFO: Checking skin version of: Project Mayhem III
16:58:27 M: 50884608 INFO: Skin version is: 2.1
16:58:27 M: 50884608 INFO: GUI format 720x480 NTSC 16:9
16:58:27 M: 50884608 INFO: install unhandled exception filter
16:58:27 M: 50884608 INFO: creating subdirectories
16:58:27 M: 50884608 INFO: userdata folder: q:\UserData
16:58:27 M: 50884608 INFO: recording folder:
16:58:27 M: 50884608 INFO: screenshots folder:
16:58:27 M: 50884608 INFO: thumbnails folder:q:\UserData\Thumbnails
16:58:27 M: 50884608 DEBUG: CNetwork::SetupNetwork - Setting up network...
16:58:27 M: 50884608 WARNING: use dashboard
16:58:27 M: 50556928 NOTICE: Checking the Date!
16:58:27 M: 50556928 INFO: - Current Date is: 23-4-2009
16:58:27 M: 50556928 NOTICE: start dvd mediatype detection
16:58:27 M: 50491392 NOTICE: initializing playlistplayer
16:58:27 M: 50491392 DEBUG: Compiled with libcdio Version 0.72
16:58:27 M: 50491392 NOTICE: DONE initializing playlistplayer
16:58:27 M: 50491392 INFO: lcd not used
16:58:28 M: 50483200 NOTICE: load default skin:[Project Mayhem III]
16:58:28 M: 50483200 INFO: load skin from:Q:\skin\Project Mayhem III
16:58:28 M: 50483200 INFO: delete old skin...
16:58:28 M: 50483200 INFO: Default 4:3 resolution directory is Q:\skin\Project Mayhem III\PAL
16:58:28 M: 50483200 INFO: Default 16:9 resolution directory is Q:\skin\Project Mayhem III\PAL16x9
16:58:28 M: 50483200 INFO: Skin version is: 2.1
16:58:28 M: 50483200 INFO: Loading skin includes from Q:\skin\Project Mayhem III\PAL\includes.xml
16:58:28 M: 49016832 INFO: load fonts for skin...
16:58:28 M: 49020928 INFO: Loading fonts from Q:\skin\Project Mayhem III\ntsc16x9\Font.xml
16:58:28 M: 48664576 DEBUG: unable to load Q:\skin\Project Mayhem III\language\english\strings.xml: Failed to open file at line 0
16:58:28 M: 48672768 DEBUG: unable to load Q:\skin\Project Mayhem III\language\English\strings.xml: Failed to open file at line 0
16:58:28 M: 48652288 INFO: load new skin...
16:58:28 M: 48652288 INFO: Skin version is: 2.1
16:58:28 M: 48652288 INFO: Loading skin file: Home.xml
16:58:28 M: 47771648 INFO: CNetwork::LogState - Link: full duplex
16:58:28 M: 47730688 INFO: CNetwork::LogState - Link: 100 mbps
16:58:28 M: 47697920 INFO: CNetwork::LogState - ip:
16:58:28 M: 47656960 INFO: CNetwork::LogState - subnet:
16:58:28 M: 47620096 INFO: CNetwork::LogState - gateway:
16:58:28 M: 47587328 INFO: CNetwork::LogState - dns: ,
16:58:28 M: 47759360 DEBUG: Load Home.xml: 87.09ms
16:58:28 M: 47759360 INFO: Loading user windows, path Q:\skin\Project Mayhem III\PAL16x9
16:58:28 M: 47759360 INFO: Loading user windows, path Q:\skin\Project Mayhem III\PAL
16:58:28 M: 47759360 INFO: Loading skin file: Q:\skin\Project Mayhem III\PAL\custom2_SkinSettings.xml
16:58:28 M: 47759360 DEBUG: Load Skin XML: 105.71ms
16:58:28 M: 47759360 INFO: initialize new skin...
16:58:28 M: 47759360 INFO: Loading skin file: Pointer.xml
16:58:28 M: 47759360 DEBUG: Load Pointer.xml: 11.47ms
16:58:28 M: 47726592 DEBUG: Alloc resources: 42.39ms (12.04 ms skin load, 14.68 ms preload)
16:58:28 M: 47726592 INFO: Loading skin file: DialogVolumeBar.xml
16:58:28 M: 47726592 DEBUG: Load DialogVolumeBar.xml: 13.01ms
16:58:28 M: 47718400 DEBUG: Alloc resources: 22.68ms (13.31 ms skin load, 0.15 ms preload)
16:58:28 M: 47718400 INFO: Loading skin file: DialogSeekBar.xml
16:58:28 M: 47718400 DEBUG: Load DialogSeekBar.xml: 14.13ms
16:58:28 M: 47681536 DEBUG: Alloc resources: 16.69ms (14.83 ms skin load, 0.27 ms preload)
16:58:28 M: 47681536 INFO: Loading skin file: DialogKaiToast.xml
16:58:28 M: 47681536 DEBUG: Load DialogKaiToast.xml: 2.71ms
16:58:28 M: 47681536 DEBUG: Alloc resources: 3.29ms (3.29 ms skin load, 0.00 ms preload)
16:58:28 M: 47681536 INFO: Loading skin file: DialogMuteBug.xml
16:58:28 M: 47681536 DEBUG: Load DialogMuteBug.xml: 3.64ms
16:58:28 M: 47681536 DEBUG: Alloc resources: 3.95ms (3.94 ms skin load, 0.00 ms preload)
16:58:28 M: 47288320 INFO: Loading special://home/skin/Project Mayhem III/sounds/sounds.xml
16:58:28 M: 47288320 INFO: skin loaded...
16:58:28 M: 46129152 DEBUG: Dll WLDAP32.dll was not found in path
16:58:28 M: 46129152 DEBUG: Unable to load referenced dll WLDAP32.dll - Dll: Q:\system\libcurl.dll
16:58:28 M: 46129152 DEBUG: kernel32.dll fake function DisableThreadLibraryCalls called
16:58:28 M: 46129152 INFO: Loading skin file: DialogBusy.xml
16:58:28 M: 46129152 DEBUG: Load DialogBusy.xml: 19.40ms
16:58:29 M: 46653440 DEBUG: Activating window ID: 12999
16:58:29 M: 46653440 DEBUG: Checking if window ID 12999 is locked.
16:58:29 M: 46223360 INFO: Loading skin file: Startup.xml
16:58:29 M: 46223360 DEBUG: Load Startup.xml: 15.77ms
16:58:29 M: 46223360 DEBUG: Alloc resources: 16.25ms (16.11 ms skin load, 0.13 ms preload)
16:58:29 M: 46223360 INFO: removing tempfiles
16:58:29 M: 46223360 NOTICE: Updating video library on startup
16:58:29 M: 46223360 INFO: Loading skin file: DialogVideoScan.xml
16:58:29 M: 46223360 DEBUG: Load DialogVideoScan.xml: 12.64ms
16:58:29 M: 46223360 DEBUG: Alloc resources: 13.19ms (12.95 ms skin load, 0.11 ms preload)
16:58:29 M: 46211072 ERROR: SQLite: The database disk image is malformed
Query: SELECT * FROM sqlite_master WHERE type = 'table' AND name = 'version'
16:58:29 M: 46211072 FATAL: Unknown exception code (0xe06d7363)
at 0x000ce58c

nicoli_k
2009-04-24, 04:29
fjungman had the same problem in may of last year: http://xbmc.org/forum/showthread.php?t=21481&page=3

his solution:
Deleted the other three databases and it boots right up.

Love to know what happened. I guess I lost all my thumbs...:(

goatcow
2009-04-25, 01:53
updating to bablyon beta1 cleared it up for me...