Crashes when loading music
#1
Hey all!

I've put XBOX media center on my Ubuntu box and hooked it up to the TV and it works like a charm!

Having a couple of issues though. Whenever I click on Music, it pops up loading the library and once the green bar gets to a certain point, the whole program crashes without an error message. It is trying to read quite a large directory of music.

Another issue is that I can no longer tell a movie to find its thumbnail on the internet - that is to say I cant tell it to even add itself to the library, and identify what it is in the first place. This is odd, because I used to be able to and the function worked fine! But it's really the music that I mind about the most

Any help would be gratefully appreciated

Gausie
Reply
#2
Wink 
Software is still being worked, honestly I've not even got it to scan my music library but I suspect that I'll hit the same bug tooLaugh Know that DVDs won't play either - still being worked. Not gotten it to scan my DVD library either but that may be just not knowing what the key combo is or remote button. you might also find that after viewing a video fullscreen that it will shrink down to about a 1/4 of the screen. Dunno' what that is but I just restart it for the next videoOo You MIGHT be able to get the DVD and Music cataloged by moving over the datafiles from an XBOX that has done it successfully. The port is apparently faithful enough that others have done this - I have not tried yet so look for other posts with more detail here.

The code updates daily if not more often so pull from SVN and build it - no telling what will get fixed with each update or what might break! Shocked Just be patient, the devs aren't even taking bug reports yet. <shrug> They are working pretty hard though it seems and I think they have made awesome progress. I've got a ton of video that simply killed my old XBOX that now plays smooth as glass with a nice familiar interface. Some of the new skins look awesome too, might try to move some of those over for fun.
Reply
#3
There was a bug over the last week or so that would cause the musicinfoloader to crash.

That may well be it. It was fixed in the last merge I believe (check CMusicInfoLoader constructor - it should call the baseclass with 1 as the argument).

If that's OK and it still crashes, it may be that you've discovered a track or two that can cause a crash - if it's reliably the same track, isolate it and see if you can reproduce the issue with just that track in a folder. If so, send us the track and we'll see what we can do.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#4
Ok i'm going to run a quick update, and then if it doesnt work I'll start to identify which track it is!

I recon its a problem with a track though because this bug's been around since i picked up XBMC in October!

Cheers
Gausie
Reply
#5
I've experienced crashes when searching the folders to add the library to, but only certain files, this seems to be ascociated with the tag reader as it does not happen with my flac files wich I've tagged by myself.
Also my other folders with personally retagged MP3's I do not experience crashes wich lead me to the conclusion this seems to be the tags.

I don't know wich tagreader XBMC but the taglib for linux works flawlessly on all my files. I've used both taglib-sharp and entagged (both C# tag Libs) but taglib-sharp is based/wrapper on the taglib and it works great.

I'd like to suggest that XBMC would look into using taglib for the tagreader if it doesn't do so already as it works great, and I would think that it would be possible to compile to the Xbox also.
Reply
#6
We use libid3tag which is generally very stable.

We aren't likely to be changing in a hurry.

Provide said files.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#7
Hi, well I did an update from the SVN to make the trials just and different from before XBMC doesn't look up instead it just quit with an error: Segmenteringsfel (core dumped)

This doesn't tell much and this new SVN does not post the log into the terminal (I haven't updated the SVN in a while)
And reading the xbmc.log tells me that it just stopped at this:

Code:
[...]
19:49:10 T:2963274640 M: 53518336    INFO:   msg: CxImage::Load - loading </home/topfs/Musik/Lossy - iTunes/Jack Johnson/In Between Dreams/folder.jpg> of type <3>
19:49:10 T:2963274640 M: 52981760    INFO: Creating album thumb from memory: /home/topfs/XBMC/BUILD/UserData/Thumbnails/Music/6/655a2350.tbn
19:49:10 T:2963274640 M: 53284864    INFO: Creating thumb from: /home/topfs/Musik/Lossy - iTunes/Jack Johnson/On And On/folder.jpg as: /home/topfs/XBMC/BUILD/UserData/Thumbnails/Music/d/d52760c9.tbn
19:49:10 T:2963274640 M: 53284864    INFO:   msg: CxImage::Load - loading </home/topfs/Musik/Lossy - iTunes/Jack Johnson/On And On/folder.jpg> of type <3>
19:49:10 T:2963274640 M: 53215232    INFO: Creating album thumb from memory: /home/topfs/XBMC/BUILD/UserData/Thumbnails/Music/5/58942b72.tbn
19:49:11 T:2963274640 M: 52355072    INFO: Creating thumb from: /home/topfs/Musik/Lossy - iTunes/James Brown/The Godfather The Very Best Of/folder.JPG as: /home/topfs/XBMC/BUILD/UserData/Thumbnails/Music/c/ca5bcce6.tbn
19:49:11 T:2963274640 M: 52355072    INFO:   msg: CxImage::Load - loading </home/topfs/Musik/Lossy - iTunes/James Brown/The Godfather The Very Best Of/folder.JPG> of type <3>

From what I can see here it seems to stop when building the cover and either this is true and it has nothing to do with the tagreader or something else.
The thing is that I cannot find anything in the log wich suggests that it is reading the tags, although i believe so Smile but it doesn't print any info about it.

Is it possible to run XBMC with a commandline to have it write out more info? I have run the build script with no changes so debug is on.

After reading up a bit wich other projects using libid3tag it seems as though it shouldn't be libid3tag to blame because it is powering for example rhythmbox and I have no problems with the tags there. although rhtyhmbox isn't very stable either. VLC is and seems to be using libid3tag.

Second and third runs gives another error: XboxMediaCenter: frame.c:161: id3_frame_delref: Assertion `frame && frame->refcount > 0' failed.
Avbruten (SIGABRT) (core dumped)

And another error in XBMC.log
Code:
[...]
20:29:41 T:3060553568 M: 59359232    INFO:   msg: PICTURE::LoadImage: Unable to open image: /home/topfs/XBMC/BUILD/skin/Project Mayhem III/media/Big Error: (2)
20:29:41 T:3060553568 M: 59359232   ERROR: PICTURE: Error loading image /home/topfs/XBMC/BUILD/skin/Project Mayhem III/media/Big
20:29:41 T:3060553568 M: 59359232   ERROR: Texture manager unable to load file: /home/topfs/XBMC/BUILD/skin/Project Mayhem III/media/Big
20:29:44 T:3060553568 M: 58339328    INFO: Loading skin file: DialogKeyboard.xml
20:29:55 T:3060553568 M: 54980608    INFO: Loading skin file: DialogKeyboard.xml
20:30:01 T:3060553568 M: 53878784   ERROR: Unable to load /home/topfs/XBMC/BUILD/UserData/favourites.xml (row 0 column 0)
20:30:01 T:3060553568 M: 53878784    INFO: Loading skin file: DialogContextMenu.xml
20:30:11 T:3060553568 M: 55304192    INFO: Loading skin file: Home.xml
20:30:13 T:3060553568 M: 61698048    INFO: Attempting to default to:
20:30:13 T:3060553568 M: 61870080    INFO: Loading skin file: MyMusicSongs.xml
20:30:13 T:2965371792 M: 61870080 WARNING: CreateFile, error 2 opening file </tmp/xbmc/ffffffff.fi>, flags:0, mode:100.
20:30:16 T:3060553568 M: 58621952   ERROR: Unable to load /home/topfs/XBMC/BUILD/UserData/favourites.xml (row 0 column 0)
20:30:16 T:3060553568 M: 58621952    INFO: Loading skin file: DialogContextMenu.xml
20:30:17 T:3060553568 M: 58613760    INFO: Loading skin file: DialogMusicScan.xml
20:30:17 T:3060553568 M: 58613760   ERROR: Control 402 in window 10112 has been asked to focus, but it can't
20:30:17 T:3060553568 M: 58613760    INFO: Music scan has started ... enabling Tag Reading, and Remote Thumbs

If I can debug it more carefull I will just tell me how, i really want to help this incredible project Smile
Reply
#8
I've tried to ironing out this a bit by adding folder by folder and cleaning the library so that I could find wich files. is causing trouble and I'm gonna send you a PM so that I can give you the file.
It is kind of alot of em. And I'm going to see if I can see what is causing the trouble to by retagging them (backing up the troublesome files ofc Smile ) to see what helps.
Reply
#9
Hi everyone!

Every time i singled out a file, it seemed that on its own, it would scan so I'm not entirely sure what to do from this point.

Gausie
Reply
#10
The same for me. If I have one file it is not ok, but the entire album is not ok. although my files won't play. not 2 in a row atleast. i've sent these files to jmarshall and I hope that he'll be able to find something Smile
Reply
#11
I Know that this question might stray a bit into the creators corner side of the world but here it goes.
I've narrowed my problem down (With prinf debugging) and I've found that it errors in: xbmc/Id3Tag.cpp @ line 88 : m_dll.id3_file_close(id3file);

My questions are these:
#1 From what I understand this is loaded in from the libid3tag-i486-linux.so. Wich version of libid3tag is this?
#2 How do I go about and compile a new one to further test this?
#3 What is different from this lib than the one found in Ubuntu repos, can't that one be used? and.
#4 Is there something I need to think about if I would go about and make a patch wich would use the one in ubuntu's repos, not how I submit the patch but rather from my #3 question, is there something that MUST be altered in libid3 to work with XBMC or is the lib just a reminiscence from the Xbox
?
Reply
#12
#1 - see #2
#2 - code is in sources/ in svn
#3 - see readme.txt in the repository (see #2)
#4 - see #3
Reply

Logout Mark Read Team Forum Stats Members Help
Crashes when loading music0