Kodi Community Forum
XBMC crashes upon entering music folder - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: XBMC crashes upon entering music folder (/showthread.php?tid=33127)

Pages: 1 2


XBMC crashes upon entering music folder - slizzap - 2008-05-12

I added 2 sources to the Music section of XBMC. One source goes to a folder with random single MP3s, and the other source goes to a folder with my entire collection (~1200 folders, each containining one artist/album). It started initially loading the thumbnails, then crashed. Now, every time I enter that source, XBMC just closes.

Here's a copy of the pertinent information in the debug log. Anybody have any suggestions on what I can do to resolve this?

If log is hard to read, you can get the full log file from here

22:55:38 T:2728 M:1546924032 DEBUG: Clearing cached fileitems [M:\Albums\]
22:55:38 T:2728 M:1546924032 DEBUG: CGUIMediaWindow::GetDirectory (M:\Albums\)
22:55:38 T:2728 M:1546924032 DEBUG: ParentPath = []
22:55:38 T:2728 M:1545019392 DEBUG: RetrieveMusicInfo() took 0 msec
22:55:38 T:2728 M:1544966144 DEBUG: CFileItemList::Sort, sorting took 0 millis
22:55:38 T:2392 M:1544978432 DEBUG: thread start, auto delete: 0
22:55:38 T:1744 M:1544962048 DEBUG: thread start, auto delete: 0
22:55:38 T:2312 M:1544941568 DEBUG: thread start, auto delete: 0
22:55:38 T:2052 M:1544622080 DEBUG: thread start, auto delete: 0
22:55:38 T:2084 M:1544609792 DEBUG: thread start, auto delete: 0
22:55:38 T:2052 M:1544413184 INFO: Creating thumb from: M:\Albums\KMFDM - Symbols\folder.jpg as: C:\Documents and Settings\Administrator\Application Data\XBMC\UserData\Thumbnails\Music\8\85d1230a.tbn
22:55:38 T:2052 M:1542209536 DEBUG: Unable to resolve kernel32.dll LockResource
22:55:38 T:2052 M:1542422528 DEBUG: Unable to resolve kernel32.dll GlobalSize
22:55:38 T:2052 M:1542422528 DEBUG: Unable to resolve kernel32.dll SizeofResource
22:55:38 T:2052 M:1542418432 DEBUG: Unable to resolve user32.dll GetIconInfo
22:55:38 T:2052 M:1542418432 DEBUG: Unable to resolve user32.dll DrawTextA
22:55:38 T:2052 M:1542418432 DEBUG: Unable to resolve gdi32.dll StretchDIBits
22:55:38 T:2052 M:1542418432 DEBUG: Unable to resolve gdi32.dll RectVisible
22:55:38 T:2052 M:1542418432 DEBUG: Unable to resolve gdi32.dll StretchBlt
22:55:38 T:2052 M:1542418432 DEBUG: Unable to resolve gdi32.dll SaveDC
22:55:38 T:2052 M:1542418432 DEBUG: Unable to resolve gdi32.dll GetClipBox
22:55:38 T:2052 M:1542418432 DEBUG: Unable to resolve gdi32.dll CreateRectRgnIndirect
22:55:38 T:2052 M:1542414336 DEBUG: Unable to resolve gdi32.dll ExtSelectClipRgn
22:55:38 T:2052 M:1542414336 DEBUG: Unable to resolve gdi32.dll SetStretchBltMode
22:55:38 T:2052 M:1542414336 DEBUG: Unable to resolve gdi32.dll SetDIBitsToDevice
22:55:38 T:2052 M:1542414336 DEBUG: Unable to resolve gdi32.dll RestoreDC
22:55:38 T:2052 M:1542414336 DEBUG: Unable to resolve gdi32.dll GetObjectA
22:55:38 T:2052 M:1542414336 DEBUG: Unable to resolve gdi32.dll CombineRgn
22:55:38 T:2052 M:1542414336 DEBUG: Unable to resolve gdi32.dll CreateRectRgn
22:55:38 T:2052 M:1542414336 DEBUG: Unable to resolve gdi32.dll GetDIBits
22:55:38 T:2052 M:1542414336 DEBUG: Unable to resolve gdi32.dll PlayEnhMetaFile
22:55:38 T:2052 M:1542414336 DEBUG: Unable to resolve gdi32.dll RealizePalette
22:55:38 T:2052 M:1542414336 DEBUG: Unable to resolve gdi32.dll SelectPalette
22:55:38 T:2052 M:1542414336 DEBUG: Unable to resolve gdi32.dll GetEnhMetaFilePaletteEntries
22:55:38 T:2052 M:1542414336 DEBUG: Unable to resolve gdi32.dll CreateFontIndirectA
22:55:38 T:2052 M:1542414336 DEBUG: Unable to resolve gdi32.dll CreateCompatibleBitmap
22:55:38 T:2052 M:1542414336 DEBUG: Unable to resolve gdi32.dll DeleteEnhMetaFile
22:55:38 T:2052 M:1542414336 DEBUG: Unable to resolve gdi32.dll SetWinMetaFileBits
22:55:38 T:2052 M:1542414336 DEBUG: Unable to resolve gdi32.dll GetEnhMetaFileHeader
22:55:38 T:2052 M:1542414336 DEBUG: Unable to resolve gdi32.dll SetEnhMetaFileBits
22:55:38 T:2052 M:1542410240 DEBUG: Unable to resolve gdi32.dll PatBlt
22:55:38 T:2052 M:1542410240 DEBUG: Unable to resolve gdi32.dll SetBrushOrgEx
22:55:38 T:2052 M:1542410240 DEBUG: Unable to resolve gdi32.dll CreateDIBPatternBrushPt
22:55:38 T:2052 M:1542410240 DEBUG: Unable to resolve gdi32.dll CreateDIBSection
22:55:38 T:2052 M:1542406144 DEBUG: Unable to resolve msvcr71.dll _unlink
22:55:38 T:2052 M:1542406144 DEBUG: Unable to resolve msvcr71.dll _cabs
22:55:38 T:2052 M:1542402048 DEBUG: Unable to resolve msvcr71.dll ??0exception@@QAE@ABV0@@Z
22:55:38 T:2052 M:1542402048 DEBUG: Unable to resolve msvcr71.dll ??1exception@@UAE@XZ
22:55:38 T:2052 M:1542402048 DEBUG: Unable to resolve msvcr71.dll ??0exception@@QAE@XZ
22:55:38 T:2052 M:1542402048 DEBUG: Unable to resolve msvcr71.dll _mbsnbicmp
22:55:38 T:2052 M:1542402048 DEBUG: Unable to resolve msvcr71.dll ldiv
22:55:38 T:2052 M:1542402048 DEBUG: Unable to resolve msvcr71.dll _mbsnbcpy
22:55:38 T:2052 M:1542402048 DEBUG: Unable to resolve msvcr71.dll _mbslen
22:55:38 T:2052 M:1542402048 DEBUG: Unable to resolve msvcr71.dll tmpnam
22:55:38 T:2052 M:1542397952 DEBUG: Unable to resolve msvcr71.dll tmpfile
22:55:38 T:2052 M:1542397952 DEBUG: Unable to resolve msvcr71.dll ?terminate@@YAXXZ
22:55:38 T:2052 M:1542397952 DEBUG: Unable to resolve msvcr71.dll ??1type_info@@UAE@XZ
22:55:38 T:2052 M:1542397952 DEBUG: Unable to resolve msvcr71.dll _setmode
22:55:38 T:2052 M:1542393856 DEBUG: Dll MSVCP71.dll was not found in path
22:55:38 T:2052 M:1542393856 DEBUG: Unable to load referenced dll MSVCP71.dll - Dll: Q:\system\ImageLib.dll
22:55:38 T:2052 M:1542393856 DEBUG: Unable to resolve MSVCP71.dll ??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z
22:55:38 T:2052 M:1542393856 DEBUG: Unable to resolve MSVCP71.dll ??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z
22:55:38 T:2052 M:1542393856 DEBUG: Unable to resolve MSVCP71.dll ??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ
22:55:38 T:2052 M:1542393856 DEBUG: Unable to resolve MSVCP71.dll ?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ
22:55:38 T:2084 M:1542348800 INFO: Creating thumb from: M:\Albums\KMFDM - Trust\folder.jpg as: C:\Documents and Settings\Administrator\Application Data\XBMC\UserData\Thumbnails\Music\c\c48be63f.tbn
22:55:38 T:2084 M:1541488640 DEBUG: msg: Error loading jpeg - no SOI marker found in first 4096 bytes
22:55:38 T:2084 M:1541603328 DEBUG: msg: Error loading jpeg - no SOI marker found in first 4096 bytes
22:55:38 T:2084 M:1541443584 ERROR: msvcr71.dll: Unresolved function called (_setmode), Count number 1
22:55:38 T:2084 M:1541312512 INFO: msg: error: JPEG decoder not available
22:55:38 T:2084 M:1541292032 INFO: msg: The IJG JPEG library is required for JPEG decoding support.
22:55:38 T:2084 M:1541292032 INFO: msg: The source code for the IJG JPEG library can be downloaded from:
http://www.ijg.org


- WiSo - 2008-05-13

Dunno if this is related but please try the latest Imagelib.dll from svn: http://xbmc.svn.sourceforge.net/viewvc/*checkout*/xbmc/branches/linuxport/XBMC/system/ImageLib.dll
(copy it into the system directory of XBMC).


- slizzap - 2008-05-14

Thanks for the suggestion. Didn't help though. I suspect the file you linked me to is the same version I already had, the file size was the same. I still get the exact same error message in the log file. One weird thing worth mentioning that I just noticed, every time I enter this particular source it tries to hit the next folder in alphabetical sequence and then this error is thrown. It's not hitting the same folder and crashing every time. I have a couple dozen KMFDM albums and each time I load XBMC it crashes on the next album in alphabetical order.


- WiSo - 2008-05-14

Could you provide some of the jpegs which are in the folder? Looks like that libimage is compiled without lossless jpeg support but I need something for testing.
Dunno if this is the reason for crashing but it's worth a try.


- WiSo - 2008-05-15

I've fixed a problem with embedded bitmaps which weren't shown via imagelib. Anyhow I didn't face the error message you've provided. Do you have any - legal - example files which could help me reproducing this kind of error?


- slizzap - 2008-05-15

Not sure if it would be a problem, but after the imaging problems with XBMC got fixed a long time ago (back then they were required to be TBN extensions and possibly even a fixed size) I went through and refreshed my entire set of covers. These were taken from Amazon and are full size, not shrunk down or anything. I just grabbed a handful of folders that I know threw errors in the logfile, not sure if all of them did though. But hopefully this helps.

http://slap.gotdns.org/kmfdm.zip

I kept the folder structure intact just like I have my CDs organized. I just removed the MP3s.


- WiSo - 2008-05-15

I'll test this out later. Do your mp3 contain embedded bitmaps? I'll just wonder why and how this error message was triggered since the imagelib has support for the jpg format.


- slizzap - 2008-05-15

Nope, none of my MP3s should have embedded images. At least not to my knowledge. I ripped all these albums myself so I can't imagine why I got halfway through my library and choked on these specific albums. I suppose I could check just to rule that out. I also still find it odd that error message at the very bottom of the log stating that the JPEG decoder is not available. Hopefully you'll get more insight once you check these images, but I'm just wondering if I'm just missing some file dependency. I only used the XBMC for Windows Rev 12882 installer if that makes any difference.


- WiSo - 2008-05-15

Just FYI XBMC crashes just on the bitmap in KMFDM - Trust.
The others are fine. Can't tell why yet.


- paco - 2008-05-20

Just a quick heads up. I extracted the imagelib.dll from the latest T3CH Xbox build (5-18-08 I believe) and it fixed the crashing issues I was having when browsing certain music folders. My MP3's all have embedded tags and folder.jpg's in each album folder. The ones that were giving me trouble were some albums I recently upgraded to 500x500 resolution and greater (they look very nice on my 46" 1080p TV). The covers were downloaded from Amazon.com. Typically, they were user submitted covers (not the default).


- WiSo - 2008-05-20

the t3ch imagelib.dll is an older one which isn't use for the pc ports. The image lib in svn was updated but I think the POI check which crashes it with the image mentioned above is still in.
We have to consider to remove the POI for win32 and see how stable it works afterwards.


- slizzap - 2008-05-21

That's weird cuz I took ImageLib.dll from the new T3CH release and it also fixed my problem. I thought it was strange that it overwrote the DLL with a copy almost a year old and almost 1/3rd the size. But I'm up and running without problems now...well, as far as the album covers go anyways Tongue


- WiSo - 2008-05-21

Then use it for your day to day business but please consider testing the imagelib from svn from time to time to help us bug fixing: (http://xbmc.svn.sourceforge.net/viewvc/*checkout*/xbmc/branches/linuxport/XBMC/system/ImageLib.dll)

The current version should fix loading album covers from mp3 and loading images from remote shares. The poi thingy is still in.


- slizzap - 2008-05-21

Sure, it's pretty quick and easy to test. On that note, is there an easy way to update to the latest build of XBMC for Windows? I haven't done that much reading out there so I'm not sure if there's a sticky/thread somewhere that I missed. Are the binaries the same? I used the Windows installer but can I just overlay with say T3CH's latest build or do I need for the next installer to be released?

Is there anyone actively working on a dedicated Windows version? I ask because it seems like the current XBMC is just being ported over from the Xbox so it's missing a lot of basic Windows functionality. I'm hoping to be able to retire my Xbox so it would be great to see the Windows version get some attention. Right now I can't get XBMC to run in a window properly. Ideally I'd like to get it working either in a window or full screen on my 2nd monitor which is an integrated touch-screen on my HTPC case. I'm having trouble doing that right now. And like someone else posted about, whenever I change the resolution it doesn't allow me to run in a window. If it's running full screen it's locked to the first monitor.


- WiSo - 2008-05-21

Read the wiki for more information: http://wiki.xbmc.org/?title=XBMC_for_Windows_port_project and the FAQ in my sig.
The Windows port directly benefits from the other ports since it is derived from the linux port. Charly and I are the only Devs currently working only on the Windows version (ok Charly does still some Xbox stuff too). We're lacking time and Developers to proceed as we would like too.

the t3ch release is xbox specific. The skin could be updated but the dlls could differ.
The link which is installed by the installer starts xbmc.exe with -fs for full screen. remove it and try again.