Kodi Community Forum
XBMC crashes after resuming from paused video - 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: iOS & tvOS (https://forum.kodi.tv/forumdisplay.php?fid=137)
+---- Thread: XBMC crashes after resuming from paused video (/showthread.php?tid=123622)

Pages: 1 2 3 4


XBMC crashes after resuming from paused video - psimondo - 2012-02-22

I have a repeatable issue when a movie is paused for too long.
When you press play again, XBMC crashes and returns to AppleTV Menu...

I think this is due to the network drive going to sleep, because it doesn't happen if you pause and play within a couple minutes. If you press play after the network drive goes to sleep, XBMC tries to resume and the network drive is not available and it crashes. (this is my theory anyway!)

Log here:
http://pastebin.com/NqPgePYP


More information... - psimondo - 2012-02-22

Sorry, forgot to post system information...

1. Apple TV 2 running 4.4.4
2. XBMC Eden Beta 3
3. Video Library is hosted on an Airport Time Capsule with USB drive attached.
4. AppleTV connects to Time Capsule via SMB over wired Ethernet. (incidentally, I've tried AFP, same issue and worse performance than SMB)


- Ned Scott - 2012-02-22

When you say crash, do you mean XBMC crashes completely and you are back in the original ATV menu?


- Memphiz - 2012-02-22

Ned Scott Wrote:When you say crash, do you mean XBMC crashes completely and you are back in the original ATV menu?

Yeah thast what he means. This is reported multiple times in the forum already and allways when using apple NAS/Routers. I can't reproduce this with an external drive connected to my mac which i powerdown. So nothing i can do about it.

I allways give the advice for switching off the hdd standby - it hurts the hdd nevertheless when it allways goes up and down...


- Ned Scott - 2012-02-22

Never had that issue with mine, but then again my external HDD cases don't have any special sleep abilities or nothin'


- rstockm - 2012-02-23

Memphiz Wrote:Yeah thast what he means. This is reported multiple times in the forum already and allways when using apple NAS/Routers. I can't reproduce this with an external drive connected to my mac which i powerdown. So nothing i can do about it.

But, as I stated before: I'm using my setup for 16 months, and this behavior just started with the first eden beta. It never ever occurred before.

And hence there is no (?) possibility for mac user to turn off the sleep mode of their USB-HDDs this is a serious issue for a lot of people.

Please let me know if I can be of any further assistance (logs, setups, whatever). I already figured there is no difference in terms of the smb or AFT protocol.


- deanmv - 2012-02-23

See I can't replicate this. I have an Airport Extreme with a 1TB Western Digital USB drive, over Ethernet to my ATV2. Using SMB protocol and if I pause I can hear my drive power down and off, when I press play it just carries on straight away and the drive spins back up a few seconds later (the file plays before the drive spins back up for some reason). Anything I can provide that might help others?


- rstockm - 2012-02-23

deanmv Wrote:See I can't replicate this. I have an Airport Extreme with a 1TB Western Digital USB drive, over Ethernet to my ATV2. Using SMB protocol and if I pause I can hear my drive power down and off, when I press play it just carries on straight away and the drive spins back up a few seconds later (the file plays before the drive spins back up for some reason).

This was exactly the case with my setup pre-Eden. Maybe some timeout-buffers have been changed, so it now depends more on the wakeup-speed of the drives? I could try a wired connection, too.


- Memphiz - 2012-02-23

We havn't changed anything on smb since months...


- Cozmo85 - 2012-02-24

If you are using AFP then that is the problem. I had similar issues. Setting up the share as SMB on my xbmc install fixed all of my issues.


- deanmv - 2012-02-24

Cozmo85 Wrote:If you are using AFP then that is the problem. I had similar issues. Setting up the share as SMB on my xbmc install fixed all of my issues.

The OP says that he is using SMB...


- Cozmo85 - 2012-02-24

deanmv Wrote:The OP says that he is using SMB...

Ohh, missed that part.


- rstockm - 2012-02-24

as I wrote here http://forum.xbmc.org/showpost.php?p=1023940&postcount=10 the bug occurs both on smb and afp protocol.


Pre-Eden XBMC did not crash - psimondo - 2012-02-25

My issue certainly started with Eden. Before that, if the drive had gone to sleep, XBMC would not restart the movie, it would seemingly do nothing when you pressed play. Then you waited 10 seconds or so and you pressed play again and it would continue.

Now however, it simply crashes (back to main AppleTV menu).

I use SMB, but I have the issue on AFP and SMB.


Questions... - psimondo - 2012-02-25

@deanmv - I am wondering if there is some more minor difference in our settings that could be causing this. Perhaps some more esoteric network setting because your setup sounds almost identical to mine. (see OP) Any detail on your setup might help. i.e.

What is the configuration on your Airport Extreme / AppleTV?
  • In Airport Utility, are you using a password or user accounts to access the shared drive?
  • Does your AppleTV have a reserved IP configured in NAT options?
  • Is your AppleTV setup to connect via Ethether using DHCP or a manually configured address?

Finally, my sources.xml setup for my SMB shares look like this:
smb://WORKGROUP:[email protected]/USBDRIVE/Video/
i.e. smb://WORKGROUP:[AIRPORTDISKPASSWORD]@[AIRPORT_IP]/[USBDRIVENAME]/[FOLDER]

Are yours any different?