SMB Read Errors on Video Files
#1
When trying to play videos off Samba shares, the video stops playing anywhere from 30sec to 5 minutes into the video. Here is my log:

15:28:42 T:3057047392 M:776085504 NOTICE: DVDPlayer: Opening: smb://XXXX:[email protected]/Media IV/Movies/Cars/Cars Cd2.avi
15:28:42 T:3057047392 M:776085504 NOTICE: CDVDPlayer::CloseFile()
15:28:42 T:3057047392 M:776085504 WARNING: CDVDMessageQueue:Tongueut MSGQ_NOT_INITIALIZED
15:28:42 T:3057047392 M:776085504 NOTICE: DVDPlayer: waiting for threads to exit
15:28:42 T:3057047392 M:776085504 NOTICE: DVDPlayer: finished waiting
15:28:42 T:3057047392 M:776085504 WARNING: CDVDMessageQueue:Tongueut MSGQ_NOT_INITIALIZED
15:28:42 T:2878118800 M:776085504 NOTICE: Creating InputStream
15:28:42 T:2878118800 M:776085504 NOTICE: Creating Demuxer
15:28:42 T:2878118800 M:773591040 NOTICE: Opening video stream: 0 source: 256
15:28:42 T:2878118800 M:773591040 NOTICE: Creating video codec with codec id: 13
15:28:42 T:2878118800 M:773591040 NOTICE: Creating video thread
15:28:42 T:2842684304 M:773419008 NOTICE: running thread: video_thread
15:28:42 T:2878118800 M:773419008 NOTICE: Opening audio stream: 1 source: 256
15:28:42 T:2878118800 M:773419008 NOTICE: Finding audio codec for: 86020
15:28:42 T:2878118800 M:773419008 NOTICE: Creating audio thread
15:28:42 T:2834291600 M:773419008 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
15:28:42 T:2834291600 M:773419008 NOTICE: Creating audio device with codec id: 86020, channels: 6, sample rate: 48000, no pass-through
15:28:43 T:2842684304 M:771563520 NOTICE: fps: 23.976025, pwidth: 608, pheight: 256, dwidth: 608, dheight: 256
15:28:43 T:2842684304 M:771563520 NOTICE: Display resolution AUTO : 960x540 (Desktop) (12)
15:28:43 T:3057047392 M:774275072 NOTICE: GL: OpenGL version 2.1 detected
15:28:43 T:3057047392 M:774275072 NOTICE: GL: NPOT texture support detected
15:28:43 T:3057047392 M:774275072 NOTICE: GL: Selecting YUV 2 RGB Progressive Shader
15:31:28 T:2878118800 M:769560576 ERROR: Read - Error( Connection timed out )
15:31:28 T:2878118800 M:769560576 ERROR: Read - Error( Connection timed out )
15:31:28 T:2878118800 M:769560576 NOTICE: CDVDPlayer::OnExit()
15:31:28 T:2878118800 M:769560576 NOTICE: DVDPlayer: eof, waiting for queues to empty
15:31:28 T:2878118800 M:769560576 NOTICE: DVDPlayer: closing audio stream
15:31:28 T:2878118800 M:769560576 NOTICE: Closing audio stream
15:31:28 T:2878118800 M:769560576 NOTICE: waiting for audio thread to exit
15:31:28 T:2834291600 M:769560576 NOTICE: Closing audio device
15:31:29 T:2834291600 M:769560576 NOTICE: thread end: CDVDPlayerAudio::OnExit()
15:31:29 T:2878118800 M:769560576 NOTICE: Deleting audio codec
15:31:29 T:2878118800 M:769560576 NOTICE: DVDPlayer: closing video stream
15:31:29 T:2878118800 M:769560576 NOTICE: Closing video stream
15:31:29 T:2878118800 M:769560576 NOTICE: waiting for video thread to exit
15:31:29 T:2842684304 M:769560576 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
15:31:29 T:2842684304 M:769560576 NOTICE: uninitting video device
15:31:29 T:2842684304 M:769560576 NOTICE: thread end: video_thread
15:31:29 T:2878118800 M:769560576 NOTICE: deleting video codec
15:31:29 T:2878118800 M:770506752 NOTICE: CDVDPlayer::OnExit() deleting demuxer
15:31:29 T:2878118800 M:773603328 NOTICE: CDVDPlayer::OnExit() deleting input stream
15:31:29 T:3057047392 M:774119424 WARNING: CreateFile, error 2 opening file </tmp/xbmc/51131da6.fi>, flags:0, mode:100.
15:31:29 T:3057047392 M:774119424 NOTICE: CDVDPlayer::CloseFile()
15:31:29 T:3057047392 M:774119424 WARNING: CDVDMessageQueue:Tongueut MSGQ_NOT_INITIALIZED
15:31:29 T:3057047392 M:774119424 NOTICE: DVDPlayer: waiting for threads to exit
15:31:29 T:3057047392 M:774119424 NOTICE: DVDPlayer: finished waiting
15:32:59 T:3057047392 M:777211904 NOTICE: Samba is idle. Closing the remaining connections
Reply
#2
This has been happening on all builds I have tried for the past couple days.
Reply
#3
Thinking the bug might have been introduced in rev. 11706, still testing though.
Reply
#4
Nope, same error in 11703.
Reply
#5
enable debug logging and use a pastebin service
Reply
#6
at compile time I assume? Give me 15min.
Reply
#7
you can do it using avancedsettings.xml
Reply
#8
Here, http://pastebin.com/m29a298dc
Reply
#9
I have been experiencing the same issue for a while with High Definition content. The workaround I implemented was to mount the samba share and then set this mount point up as a source within xbmc rather than configuring the smb path directly. Perhaps this is taking advantage of some Linux caching to improve stability.
Reply
#10
might be unrelated, but XBMC was only reading directories not files when I tried an smb:// source, I also was able to mount the share locally and the problem went away...not quite what the OP was talking about but might be a smb issue??
I can try and recreate and pull a debug when I get home if it is helpful...
Reply
#11
troutbum Wrote:might be unrelated, but XBMC was only reading directories not files when I tried an smb:// source, I also was able to mount the share locally and the problem went away...not quite what the OP was talking about but might be a smb issue??
I can try and recreate and pull a debug when I get home if it is helpful...

That might be because smbclient thinks your files are hidden. Does it work if you turn on "show hidden files" in Settings -> View options.
And if so I would like to know wich O/S your server is running and what O/S and distro XBMC is running on so I may be able to hunt the issue down.
Reply
#12
I don't remember seeing a an option in XBMC to show hidden files...is it in source settings or ??

smb://user:password@server/share works fine from nautilus and CLI mount, does XBMC have its own smbclient?

XBMC is running on a gutsy 7.10 machine
smb share = WHS (stripped server2K3)


I have a couple of servers so i tried to recreate the issues with a ubuntu 7.10 server ...turns out no problem on the linux server only WHS.

I can also tell you that there is no issue between XBMC on the xbox and the WHS machine.

Let me know on the hidden files setting and I will check that too.

hope that helps, the app is looking great, and since my only skill is breaking stuff happy to help where I can.
Reply
#13
Both XBMC and naitilus should use libsmbclient the only diffrent between XBMC and nautilus is that nautilus chooses that files with a "." infront of them are hidden. This is good if we are all using linux but when a windows pc shares something that they hides nautilus won't hide it.

XBMC on the otherhand hide's what the Server hide's. Although it seems to behaving a bit strange on Vista and apparently WHS Confused
On my XP install it works but..

This patch isn't applied on XBMC for xbox yet wich makes me believe it is to blame...

The show hidden files is under Settings -> Appearence -> View Options in the linux version. So that would be great to see if that makes it work. If so then a log could be helpfull, on http://www.pastebin.com

But atleast it's a good thing you can't recreate it on ubuntu Cool
Reply
#14
Changing the view options fixed my issue.

log here

Thanks for your help Big Grin
Reply
#15
I am still having Samba read errors with every build I try. I even tried Hardy out with the same results. The show hidden files option doesn't do anything for me. Thanks.

Dustin
Reply

Logout Mark Read Team Forum Stats Members Help
SMB Read Errors on Video Files0