Posts: 6,255
Joined: Jun 2009
Reputation:
115
da-anda
Team-Kodi Member
Posts: 6,255
for the record - the patch you gave me on IRC did work. XBMC is showing up as UPNP source now on my Bravia TV, but had some issues with not showing playable files while browsing the nodes. Will update the library on my dev system and check again.
Please tell me if you want me to debug this further to get it fixed for Frodo - if not, I'm fine as I usually don't use the UPNP server of XBMC, only wanted to help testing and debugging.
Posts: 6,255
Joined: Jun 2009
Reputation:
115
da-anda
Team-Kodi Member
Posts: 6,255
sure, np from my side. Just drop a note once I can help testing/debugging again.
Posts: 3,926
Joined: Apr 2004
Reputation:
33
kricker
Team-XBMC QA Specialist
Posts: 3,926
Same here for my Bravia that didn't work originally.
Posts: 3,926
Joined: Apr 2004
Reputation:
33
kricker
Team-XBMC QA Specialist
Posts: 3,926
Your doing great work Alcoheca.
Posts: 1,253
Joined: Dec 2008
Reputation:
15
I don't suppose anyone has had time to look at that crash dump yet?
Posts: 1,253
Joined: Dec 2008
Reputation:
15
2012-10-26, 20:30
(This post was last modified: 2012-10-26, 21:09 by sialivi.)
Some more tidbits of information regarding this crash:
If I press Up right away, it nearly always crashes.
If I wait a few seconds before pressing Up it doesn't crash as often.
It's almost like it's still busy with the previous request and performing a new one while it's not done makes it crash. That's the impression I get at least.
Sometimes it doesn't crash but the list on the TV doesn't fully populate. The list shows 11 items at a time and I have 541 items in the database.
I press Up, the list wraps around to the end of the list, and the last item is in focus. The list visible on the TV should now show item 530 to 541 with 541 in focus. At this point, if XBMC hasn't crashed, one of two things happen:
1) Item 530 to 540 is populated, 541 is blank (but still in focus)
2) Item 530 to 540 are blank, only 541 is populated. If I press Up again to move focus to item 540, nothing happens, I can't move in that direction. Pressing Down wraps around to the start of the list as expected.
Posts: 265
Joined: Feb 2008
Reputation:
6
2012-10-26, 21:44
(This post was last modified: 2012-10-26, 21:45 by alcoheca.)
Yeah so that was a good clue, it seems we're trying to open the cache file while still writing to it, which means when we load an invalid value for the length of the file to load, and then try and allocate that amount on the heap. Your PC runs out of RAM and xbmc quickly dies.
I imagine if you waited a minute before pushing up you'd not see the crash.
Posts: 265
Joined: Feb 2008
Reputation:
6
I only just now saw the last edit to you post, but have committed locks around the caching in UPnPServer. Let's see how you get on after the next nightly build.