Hello , im experiencing playback problems with videos on an SMB share. The video will keep playing normally for half an hour or so and then the device will stop the video , wait around 2 minutes then pop the invalid argument window.It also stops responding to pings , i have to disable enable wireless for the device to come online.
Here are some of the system logs
Jul 19 12:55:53 abcd su[3051]: Successful su for root by osmc
Jul 19 12:55:53 abcd su[3051]: + /dev/pts/0 osmc:root
Jul 19 12:55:53 abcd su[3051]: pam_unix(su:session): session opened for user root by osmc(uid=1000)
Jul 19 12:55:53 abcd su[3051]: pam_systemd(su:session): Cannot create session: Already running in a session
Jul 19 12:57:28 abcd ntpd[459]: 88.191.250.97 local addr 10.10.10.6 -> <null>
Jul 19 12:58:36 abcd ntpd[459]: 193.219.28.2 local addr 10.10.10.6 -> <null>
Jul 19 12:58:38 abcd kernel: usb 1-1.2: new low-speed USB device number 5 using dwc_otg
Jul 19 12:58:38 abcd kernel: usb 1-1.2: New USB device found, idVendor=093a, idProduct=2510
Jul 19 12:58:38 abcd kernel: usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jul 19 12:58:38 abcd kernel: usb 1-1.2: Product: USB Optical Mouse
Jul 19 12:58:38 abcd kernel: usb 1-1.2: Manufacturer: PixArt
Jul 19 12:58:38 abcd kernel: input: PixArt USB Optical Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:093A:2510.0001/input/input0
Jul 19 12:58:38 abcd kernel: hid-generic 0003:093A:2510.0001: input,hidraw0: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-3f980000.usb-1.2/input0
Jul 19 12:58:57 abcd sudo[3086]: osmc : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/mv /var/tmp/config.txt /boot/config.txt
Jul 19 12:58:57 abcd sudo[3086]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 19 12:58:57 abcd mediacenter[320]: mv: failed to preserve ownership for '/boot/config.txt': Operation not permitted
Jul 19 12:58:57 abcd sudo[3086]: pam_unix(sudo:session): session closed for user root
Jul 19 12:59:03 abcd sudo[3116]: osmc : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/journalctl
Jul 19 12:59:03 abcd sudo[3116]: pam_unix(sudo:session): session opened for user root by (uid=0)
And the kodi log
12:35:02.120 T:1925491200 NOTICE: VideoPlayer: Opening: smb://ABZ/Movies/Blue.Planet.II.S01.1080p.BluRay/Blue.Planet.II.S01E06.1080p.BluRayBlue.Planet.II.S01E06.1080p.BluRay.mkv
12:35:02.120 T:1925491200 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
12:35:02.121 T:1696592640 NOTICE: Creating InputStream
12:35:02.173 T:1696592640 NOTICE: Creating Demuxer
12:35:02.277 T:1696592640 NOTICE: Opening stream: 0 source: 256
12:35:02.277 T:1696592640 NOTICE: Creating video codec with codec id: 28
12:35:02.286 T:1696592640 NOTICE: Creating video thread
12:35:02.287 T:1696592640 NOTICE: Opening stream: 1 source: 256
12:35:02.287 T:1479537408 NOTICE: running thread: video_thread
12:35:02.287 T:1696592640 NOTICE: Finding audio codec for: 86020
12:35:02.287 T:1696592640 NOTICE: Creating audio thread
12:35:02.287 T:1471148800 NOTICE: running thread: CVideoPlayerAudio::Process()
12:35:02.298 T:1471148800 NOTICE: Creating audio stream (codec id: 86020, channels: 6, sample rate: 48000, no pass-through)
12:36:02.833 T:1627386624 NOTICE: ES: Client from ::ffff:10.10.10.9 timed out
12:56:38.583 T:1471148800 NOTICE: CVideoPlayerAudio::Process - stream stalled
12:57:00.377 T:1696592640 ERROR: Read - Error( -1, 110, Connection timed out )
12:57:00.378 T:1696592640 NOTICE: CVideoPlayer::OnExit()
12:57:00.378 T:1696592640 NOTICE: VideoPlayer: eof, waiting for queues to empty
12:57:00.378 T:1696592640 NOTICE: Closing stream player 1
12:57:00.378 T:1696592640 NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty
12:57:00.378 T:1696592640 NOTICE: Waiting for audio thread to exit
12:57:00.378 T:1471148800 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
12:57:00.378 T:1471148800 NOTICE: thread end: CVideoPlayerAudio::OnExit()
12:57:00.378 T:1696592640 NOTICE: Closing audio device
12:57:00.381 T:1696592640 NOTICE: Deleting audio codec
12:57:00.381 T:1696592640 NOTICE: Closing stream player 2
12:57:00.381 T:1696592640 NOTICE: CDVDMessageQueue(video)::WaitUntilEmpty
12:57:00.381 T:1696592640 NOTICE: waiting for video thread to exit
12:57:00.381 T:1479537408 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
12:57:00.381 T:1479537408 NOTICE: thread end: video_thread
12:57:00.382 T:1696592640 NOTICE: deleting video codec
12:58:21.493 T:1925491200 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://USERNAME:PASSWORD@ABZ/Movies/Blue.Planet.II.S01.1080p.BluRay/Blue.Planet.II.S01E06.1080p'
unix_err:'16' error : 'Invalid argument'
12:58:21.493 T:1925491200 NOTICE: CVideoPlayer::CloseFile()
12:58:21.494 T:1925491200 NOTICE: VideoPlayer: waiting for threads to exit
12:58:21.494 T:1925491200 NOTICE: VideoPlayer: finished waiting
12:58:21.51 8 T:1925491200 NOTICE: CVideoPlayer::CloseFile()
12:58:21.518 T:1925491200 NOTICE: VideoPlayer: waiting for threads to exit
12:58:21.518 T:1925491200 NOTICE: VideoPlayer: finished waiting
12:58:21.838 T:1925491200 ERROR: Control 55 in window 10025 has been asked to focus, but it can't
12:58:44.928 T:1925491200 ERROR: GetDirectory - Error getting smb://ABZ/Movies/Blue.Planet.II.S01.1080p.BluRay/Blue.Planet.II.S01E06.1080p.BluRay./
12:58:44.931 T:1925491200 ERROR: CGUIMediaWindow::GetDirectory(smb://ABZ/Movies/Blue.Planet.II.S01.1080p.BluRay/Blue.Planet.II.S01E06.1080p.BluRay./) failed
12:58:57.275 T:1714418432 WARNING: CSkinInfo: failed to load skin settings
12:58:57.428 T:1714418432 ERROR: EXCEPTION: Non-Existent Control 300
12:59:02.280 T:1696592640 WARNING: CPythonInvoker(5): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.