XBMC crashes after resuming from paused video

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
deanmv Offline
Posting Freak
Posts: 926
Joined: Jun 2011
Reputation: 10
Location: UK
Post: #11
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...

Set Up
Raspberry Pi running Raspbmc - XBMC 12.2
40" Samsung ES6800 LED Smart 3D 1080P TV
Onkyo HTS3405 5.1 DD True HD and DTS-HD Surround Sound
ReadyNAS Duo with 4TB (2 x 2TB X-RAID) Western Digital Caviar Green using NFS
find quote
Cozmo85 Offline
Junior Member
Posts: 9
Joined: Jan 2012
Reputation: 0
Post: #12
deanmv Wrote:The OP says that he is using SMB...

Ohh, missed that part.
find quote
rstockm Offline
Member+
Posts: 20
Joined: Jan 2011
Reputation: 0
Post: #13
as I wrote here http://forum.xbmc.org/showpost.php?p=102...stcount=10 the bug occurs both on smb and afp protocol.
find quote
psimondo Offline
Junior Member
Posts: 19
Joined: Sep 2011
Reputation: 0
Post: #14
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.
find quote
psimondo Offline
Junior Member
Posts: 19
Joined: Sep 2011
Reputation: 0
Post: #15
@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:wassword@192.168.1.1/USBDRIVE/Video/
i.e. smb://WORKGROUP:[AIRPORTDISKPASSWORD]@[AIRPORT_IP]/[USBDRIVENAME]/[FOLDER]

Are yours any different?
(This post was last modified: 2012-02-25 08:43 by psimondo.)
find quote
bparzella Offline
Junior Member
Posts: 3
Joined: Feb 2012
Reputation: 0
Post: #16
I've got the same problem using NFS. The Server is a OSX Lion Server. Client is a self-build git version of OpenELEC (build this week).

After some minutes in pause I unpaused, 1-2 seconds of the video played and then XBMC crashed (in my case it starts again).

Here the relevant debug log:
Code:
11:23:00 T:140612293236480   DEBUG: ### [Qlock] - Delaying 240 secs
11:25:18 T:140612619777856   DEBUG: CAnnouncementManager - Announcement: OnScreensaverDeactivated from xbmc
11:25:18 T:140612619777856   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnScreensaverDeactivated
11:25:18 T:140612619777856   DEBUG: OnKey: end (89) pressed, screen saver/dpms woken up
11:25:19 T:140612619777856   DEBUG: ------ Window Deinit () ------
11:25:19 T:140612619777856   DEBUG: OnKey: end (89) pressed, action is Pause
11:25:19 T:140612619777856   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
11:25:19 T:140612619777856   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
11:25:19 T:140612619777856   DEBUG: CGUIAudioManager::DeInitialize
11:25:19 T:140612276451072   DEBUG: JSONRPC: Incoming request: {"params": {"playerid": 1, "properties": ["playlistid"]}, "jsonrpc": "2.0", "method": "Player.GetProperties", "id": 1}
11:25:19 T:140612276451072   DEBUG: JSONRPC: Calling player.getproperties
11:25:19 T:140612276451072   DEBUG: JSONRPC: Incoming request: {"params": {"playlistid": 1, "properties": ["size"]}, "jsonrpc": "2.0", "method": "Playlist.GetProperties", "id": 1}
11:25:19 T:140612276451072   DEBUG: JSONRPC: Calling playlist.getproperties
11:25:19 T:140610902411008   DEBUG: CDVDPlayerAudio:: Discontinuity - was:290476757.651000, should be:290485671.129236, error:8913.478236
11:25:19 T:140612276451072   DEBUG: JSONRPC: Incoming request: {"params": {"episodeid": 2226, "properties": ["showtitle", "season", "episode"]}, "jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodeDetails", "id": 1}
11:25:19 T:140612276451072   DEBUG: JSONRPC: Calling videolibrary.getepisodedetails
11:25:20 T:140612619777856   DEBUG: ------ Window Deinit (DialogSeekBar.xml) ------
11:25:21 T:140612619777856   ERROR:  (VDPAU) Error: The display was pre-empted, or a fatal error occurred.(2) at VDPAU.cpp:347
11:25:21 T:140610910803712   ERROR:  (VDPAU) Error: The display was pre-empted, or a fatal error occurred.(2) at VDPAU.cpp:1305
11:25:21 T:140610910803712  NOTICE: CVDPAU::Check waiting for display reset event
find quote
deanmv Offline
Posting Freak
Posts: 926
Joined: Jun 2011
Reputation: 10
Location: UK
Post: #17
psimondo Wrote:@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:wassword@192.168.1.1/USBDRIVE/Video/
i.e. smb://WORKGROUP:[AIRPORTDISKPASSWORD]@[AIRPORT_IP]/[USBDRIVENAME]/[FOLDER]

Are yours any different?

My shared drive is accessed with device password and file sharing and remember this in keychain are both ticked.

The router mode is set to "Off (Bridge Mode)" and it is simply an extension of the other subnet in my house as my internet comes into a home hub downstairs then that is POE to my Airport Extreme upstairs and my ATV is plugged ethernet into that Airport Extreme using the automatic DHCP settings so that all my address are in the 192.168.1.X range.

As for the sources files mine don't use a workgroup or password which is the only difference. Mine are smb://AirportIP/path/to/file.

Set Up
Raspberry Pi running Raspbmc - XBMC 12.2
40" Samsung ES6800 LED Smart 3D 1080P TV
Onkyo HTS3405 5.1 DD True HD and DTS-HD Surround Sound
ReadyNAS Duo with 4TB (2 x 2TB X-RAID) Western Digital Caviar Green using NFS
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,677
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #18
bparzella Wrote:I've got the same problem using NFS. The Server is a OSX Lion Server. Client is a self-build git version of OpenELEC (build this week).

After some minutes in pause I unpaused, 1-2 seconds of the video played and then XBMC crashed (in my case it starts again).

Here the relevant debug log:
Code:
11:23:00 T:140612293236480   DEBUG: ### [Qlock] - Delaying 240 secs
11:25:18 T:140612619777856   DEBUG: CAnnouncementManager - Announcement: OnScreensaverDeactivated from xbmc
11:25:18 T:140612619777856   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnScreensaverDeactivated
11:25:18 T:140612619777856   DEBUG: OnKey: end (89) pressed, screen saver/dpms woken up
11:25:19 T:140612619777856   DEBUG: ------ Window Deinit () ------
11:25:19 T:140612619777856   DEBUG: OnKey: end (89) pressed, action is Pause
11:25:19 T:140612619777856   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
11:25:19 T:140612619777856   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
11:25:19 T:140612619777856   DEBUG: CGUIAudioManager::DeInitialize
11:25:19 T:140612276451072   DEBUG: JSONRPC: Incoming request: {"params": {"playerid": 1, "properties": ["playlistid"]}, "jsonrpc": "2.0", "method": "Player.GetProperties", "id": 1}
11:25:19 T:140612276451072   DEBUG: JSONRPC: Calling player.getproperties
11:25:19 T:140612276451072   DEBUG: JSONRPC: Incoming request: {"params": {"playlistid": 1, "properties": ["size"]}, "jsonrpc": "2.0", "method": "Playlist.GetProperties", "id": 1}
11:25:19 T:140612276451072   DEBUG: JSONRPC: Calling playlist.getproperties
11:25:19 T:140610902411008   DEBUG: CDVDPlayerAudio:: Discontinuity - was:290476757.651000, should be:290485671.129236, error:8913.478236
11:25:19 T:140612276451072   DEBUG: JSONRPC: Incoming request: {"params": {"episodeid": 2226, "properties": ["showtitle", "season", "episode"]}, "jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodeDetails", "id": 1}
11:25:19 T:140612276451072   DEBUG: JSONRPC: Calling videolibrary.getepisodedetails
11:25:20 T:140612619777856   DEBUG: ------ Window Deinit (DialogSeekBar.xml) ------
11:25:21 T:140612619777856   ERROR:  (VDPAU) Error: The display was pre-empted, or a fatal error occurred.(2) at VDPAU.cpp:347
11:25:21 T:140610910803712   ERROR:  (VDPAU) Error: The display was pre-empted, or a fatal error occurred.(2) at VDPAU.cpp:1305
11:25:21 T:140610910803712  NOTICE: CVDPAU::Check waiting for display reset event

these are not the relevant parts. Post a crashlog and a full debug log on pastebin and put the links here...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
psimondo Offline
Junior Member
Posts: 19
Joined: Sep 2011
Reputation: 0
Post: #19
deanmv Wrote:My shared drive is accessed with device password and file sharing and remember this in keychain are both ticked.

The router mode is set to "Off (Bridge Mode)" and it is simply an extension of the other subnet in my house as my internet comes into a home hub downstairs then that is POE to my Airport Extreme upstairs and my ATV is plugged ethernet into that Airport Extreme using the automatic DHCP settings so that all my address are in the 192.168.1.X range.

As for the sources files mine don't use a workgroup or password which is the only difference. Mine are smb://AirportIP/path/to/file.

Thanks for this Smile
My setup is extremely similar. The only differences being that I've assigned a specific IP to my AppleTV (using MAC address) on my Airport Time Capsule - and the SMB URL config that you describe.

One question: How does XBMC get into your NAS without the password for the Airport Extreme? Your SMB URL doesn't show any password? [UPDATE- no idea why this works without the device password but it does!]

I'm going to try what you have and see if it makes any difference. Will report back...

(Memphiz, would any additional logs from me beyond those in the OP help?)
(This post was last modified: 2012-02-25 18:05 by psimondo.)
find quote
psimondo Offline
Junior Member
Posts: 19
Joined: Sep 2011
Reputation: 0
Post: #20
After removing the WORKGROUP and 'device password' part of the smb:// urls it works! No more crash after a long pause...

I really have no idea why this should make any difference. But if you are having this issue with Apple routers and USB hard drives, simplify your XBMC video source urls so they look like this:

smb://AirportIP/path/to/file.
not like this:
smb://WORKGROUP:[password]@AirportIP/path/to/file

Many thanks to everyone on this thread, especially deanmv Smile
find quote