randomly freezes during playback
#1
Hello,

I'm using XBMC for a few days now and experiencing some troubles : movies playback freezes randomly, some movies not, some other over 10 times during the movie.

When it crashes, I can type enter and see the menu, if I hit stop, it hangs up and I can't do anything on XBMC. However, kernel is not crashed, if I type ctrl-alt-F1, I can access the terminal. If I push the power button, it shuts down 'properly'

- I'm using xbmcbuntu, xbmc v12.0 frodo. HTPC is a amd sempron with 1GB ram, and a geforce GT610.
- I'm accessing movies on my NAS through NFS : On gigabit hub, transfer speed is about 20Mbytes/s, but my HTPC is connected through 100Mbits (should be enough to play 8GB/2h mkv)
- Movie file is not the issue : I experience the issue on many files, and if I read the same file again a few seconds before crash time, it's ok
- At the beginning I thought the PC was completely frozen, and tried another PSU, try to cool harder the GPU, and finally bought another GPU (was necessary even without this issue)
- I enabled the debug mode, here is an extract :

Code:
22:18:57 T:2949643072   DEBUG: CPullupCorrection: detected pattern of length 1: 41708.33, frameduration: 41708.333333
22:19:18 T:2853174080   DEBUG: Thread Jobworker 2853174080 terminating (autodelete)
22:19:18 T:2835348288   DEBUG: Thread Jobworker 2835348288 terminating (autodelete)
22:23:33 T:2883357504   DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:280742528.136606, should be:280753881.108309, error:11352.971702
22:28:20 T:2883357504   DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:567871420.875309, should be:567881590.271754, error:10169.396445
22:29:56 T:2883357504   DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:663729310.291754, should be:663740304.585559, error:10994.293806
22:33:32 T:2883357504   DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:879606575.553560, should be:879616706.973841, error:10131.420282
22:39:20 T:2883357504   DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:1227853111.839841, should be:1227863140.626745, error:10028.786903
22:44:46 T:2883357504   DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:1553612929.180744, should be:1553622958.961482, error:10029.780738
22:50:46 T:2883357504   DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:1914103584.251482, should be:1914113694.435624, error:10110.184142
22:56:45 T:2883357504   DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:2272482459.978624, should be:2272492528.347325, error:10068.368700
23:02:17 T:2883357504   DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:2604472789.208325, should be:2604482926.215981, error:10137.007657
23:05:55 T:2883357504   DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:2822354128.815981, should be:2822364360.763239, error:10231.947258
23:06:50 T:2883357504 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
23:06:50 T:2883357504   DEBUG: CSoftAEStream::Flush
23:06:51 T:2949643072 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
23:06:51 T:2883357504   DEBUG: CSoftAEStream::Flush
23:06:51 T:2949643072    INFO: CDVDPlayerVideo - Stillframe detected, switching to forced 23.976024 fps
23:06:52 T:2883357504   DEBUG: CSoftAEStream::Flush
23:07:09 T:3007088448   DEBUG: Previous line repeats 18 times.
23:07:09 T:3007088448   DEBUG: Keyboard: scancode: 24, sym: 000d, unicode: 000d, modifier: 0
23:07:09 T:3007088448   DEBUG: OnKey: return (f00d) pressed, action is OSD
23:07:09 T:3007088448   DEBUG: ------ Window Init (VideoOSD.xml) ------
23:07:09 T:2883357504   DEBUG: CSoftAEStream::Flush
23:07:12 T:3007088448   DEBUG: Previous line repeats 3 times.
23:07:12 T:3007088448   DEBUG: Keyboard: scancode: 72, sym: 0113, unicode: 0000, modifier: 0
23:07:12 T:3007088448   DEBUG: OnKey: right (f083) pressed, action is Right
23:07:13 T:3007088448   DEBUG: Keyboard: scancode: 24, sym: 000d, unicode: 000d, modifier: 0
23:07:13 T:3007088448   DEBUG: OnKey: return (f00d) pressed, action is Select
23:07:13 T:3007088448   DEBUG: ExecuteXBMCAction : Translating PlayerControl(Stop)
23:07:13 T:3007088448   DEBUG: ExecuteXBMCAction : To PlayerControl(Stop)
23:07:13 T:3007088448  NOTICE: CDVDPlayer::CloseFile()
23:07:13 T:3007088448  NOTICE: DVDPlayer: waiting for threads to exit
23:07:13 T:2883357504   DEBUG: CSoftAEStream::Flush
23:07:19 T:2939857728   DEBUG: Previous line repeats 5 times.
23:07:19 T:2939857728   ERROR: CAESinkALSA::HandleError(snd_pcm_writei(1)) - underrun
23:07:19 T:2883357504   DEBUG: CSoftAEStream::Flush

freezing at about 23:06:50

I suspect the problem to be at the NFS level, but I don't know how to debug.


Any tips?
Reply
#2
ever fixed this have exactly the same problem :/ ?
Reply
#3
Yes, I abandoned emebedded nfs functionnality :
I logged in ssh, installed autofs, setup mount point to my server, and from xbmc I access my files through the mount point. It works fine.... no hang up.

I didn't dig it deeper to understand what was the difference between nfs through autofs or xbmc embedded nfs browse....
Reply

Logout Mark Read Team Forum Stats Members Help
randomly freezes during playback0