XBMC crashes after resuming from paused video
#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
Reply
#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:[email protected]/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
Reply
#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...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#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?)
Reply
#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
Reply
#21
psimondo Wrote: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

Glad that fixed, hopefully more people can try it and see, I wasn't sure what the username was when setting up the share as I was just doing it with a password and I left them both blank and it just worked so it's always been that way. Maybe it's an authenticating issue when the drive spins back up then?
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
Reply
#22
deanmv Wrote:Glad that fixed, hopefully more people can try it and see

Sorry, this fix is NOT working for me :-(
I never had a workgroup/username in my string in the first place.
Reply
#23
rstockm Wrote:Sorry, this fix is NOT working for me :-(
I never had a workgroup/username in my string in the first place.

ahhh rubbish! Not a clue why that fix worked for psimondo then? Huh
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
Reply
#24
It seems there is some general flakiness with the SMB implementation on Apple routers. (It really shouldn't allow XBMC to connect without a password if one is set, for example!)

I suspects it is a combination of this plus the external USB drives own internal sleep settings and how those are used/not used when plugged into the Apple Router...

It would be nice if XBMC failed a little more gracefully though. A hard crash is not great for a network delay/authentication problem...

@rstockm - what USB drive are you using? What is your setup between AppleTV router and drive?
Reply
#25
Memphiz Wrote:these are not the relevant parts. Post a crashlog and a full debug log on pastebin and put the links here...

I posted the xbmc.log: http://pastebin.com/Xjib2WLz

Seems like no crashlog is available, did a grep for "XBMC CRASH LOG" on the filesystem.
Reply
#26
click the first link in my signature - it tells you where the crashlog is saved...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#27
Here we go.

Platform: AppleTV2
iOS/ATV: 4.4.4
Skin: Confluence
XBMC 11.0-BETA3 Git:20120207-1fef727 (compiled 8.2.2012)
Install Method: apt-get
Audio/Video Out: HDMI
Network: Wireless 5G
Router: Apple Airport Extreme
HDD: 2TB Harddisk, via USB on Airport Extreme
Library: connected via Zeroconf Browser / SMB (or AFP, doesn't make a difference)
medianfo: absolutely every video file (SD, 720P, 1080P, MKV, AVI). Here: 720p mkv

XBMC.log: http://pastebin.com/Rr45Scn2
Reply
#28
I just realized I posted in the wrong forum. Forget everything I said. Sorry.
Reply
#29
Update: RC1 still crashes back to the XBMC menu.
Reply
#30
rstockm Wrote:Update: RC1 still crashes back to the XBMC menu.

My crystal ball says it will be the same in RC2 and most likly in Eden final ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC crashes after resuming from paused video0