Closed GoogleCodeExporter closed 8 years ago
Looks like the background execution method (central point in the plugin) got
out of control:
"Object synchronization method was called from an unsynchronized block of code."
I'll try to dubug this on my dev pc.
Original comment by bborgsd...@gmail.com
on 8 Feb 2011 at 12:25
Just tried and couldn't reproduce the error. Maybe you went into resume while
the busy cursor was on (meaning an OnlineVideos background task running)?
Original comment by bborgsd...@gmail.com
on 8 Feb 2011 at 11:53
Nope. I wasn't even in OnlineVideos when putting PC into sleep. This last time
I didn't even load OV once before sleeping (i think the logs show deleting old
thumbs dialog). After resume, I loaded OV and the errors started. Maybe that's
the way to reproduce?
I should really try this few more times to see how reproducible it is. I know
I've seen it happen last weekend when home, then I had reports :) of it
happening during week (twice), and this last time, when I reported it.
Is it possible some other MediaPortal plugin could interfere?
Thanks for looking into this :)
Original comment by mitja.skuver
on 9 Feb 2011 at 12:10
Some more info:
I have started MePo, browsed couple of sites in OV (not played anything), went
back to home screen and put HTPC in stand by. I suppose I left it for an hour
or maybe some more. Errors started right after wake.
Restarted MePo. Browsed in OV. Now I tried to stand by and wake after few
seconds. No errors. I repeated procedure 3 more times with no errors. I'll
leave it sleep now and try in the morning.
I really don't see how could the length of the sleep have anything to do with
this but it might. Or it's a "simple" timing issue and I was just lucky not to
get errors those 4 times I quickly tried.
Original comment by mitja.skuver
on 11 Feb 2011 at 10:54
The source of this problem is that some MediaPortal plugins (even built-in)
execute background tasks and call GUI methods (worst case
GuiWinowManager.Process or Showing a Dialog) on that thread. This means
everything in MP runs on that background thread, but our logic for background
execution relies on the fact that Onlinevideos is called on the main thread,
because we call back on that thread and release a mutex.
So we have to find all plugins that have this behavior :(
Original comment by bborgsd...@gmail.com
on 19 Mar 2013 at 9:25
Original issue reported on code.google.com by
mitja.skuver
on 7 Feb 2011 at 11:22