NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 8 9 10 11 12 … 34 Next »
Failed recording for a particular show

 
  • 0 Vote(s) - 0 Average
Failed recording for a particular show
spagio
Offline

Member

USA
Posts: 52
Threads: 16
Joined: Mar 2022
#1
2022-10-04, 02:00 PM
I schedule one-time and recurring recordings regularly on NextPVR.  There is one OTA recording that will not start for some reason.  The error I get is:


Code:
2022-10-03 23:34:00.385 [ERROR][8] Unexpected error on LocalRecorder.StartStream(): System.Net.WebException: An error occurred while sending the request. The response ended prematurely.


I have recurring shows successfully recording on this channel regularly.  I have tried recurring and one-time scheduling for this show, deleting the directory and making sure the program is removed from the recordings list, but I cannot figure out why I get errors just for this one program.

Any help would be appreciated.  Thanks

John


Attached Files
.zip   logs-20221004-0846.zip (Size: 712.75 KB / Downloads: 4)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,771
Threads: 954
Joined: May 2006
#2
2022-10-04, 02:05 PM
There seems to be a bug in Linux with the tuner service crashing I expect if you run

sudo journalctl | grep | DeviceHost

you will see a segfault.

Martin
spagio
Offline

Member

USA
Posts: 52
Threads: 16
Joined: Mar 2022
#3
2022-10-04, 02:15 PM
(2022-10-04, 02:05 PM)mvallevand Wrote: There seems to be a bug in Linux with the tuner service crashing  I expect if you run

sudo journalctl | grep | DeviceHost

you will see a segfault.

Martin

Thanks for the quick reply, Martin.  I will try to look later today.  Is there a workaround?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,771
Threads: 954
Joined: May 2006
#4
2022-10-04, 02:32 PM
No this is something sub has to look into, and the logs don't help because they always look like this so the crash could be anywhere.

2022-10-03 23:35:00:932 [INFO] Starting web server on port: 33261

2022-10-03 23:35:01:036 [INFO] received request

Martin
spagio
Offline

Member

USA
Posts: 52
Threads: 16
Joined: Mar 2022
#5
2022-10-04, 11:22 PM
yeah I see the entries in my journal, e.g.

Code:
kernel: traps: DeviceHostLinux[64184] general protection fault ip:7fefe626775d sp:7fefe60bb948>

Just for grins I tried to execute DeviceHostLinux by itself in the terminal and got this message:

Code:
$ sudo /opt/nextpvr/system/DeviceHost/x64/DeviceHostLinux
/opt/nextpvr/system/DeviceHost/x64/DeviceHostLinux: Symbol `dvb_v5_name' has different size in shared object, consider re-linking

I'm guessing that it's talking about the diff with a implementation in the LinuxTV library `libdvbv5` and a def in `DeviceHostLinux`.  oh and BTW if this helps...

Code:
$ ls -lF /opt/nextpvr/system/DeviceHost/x64/
total 1012
-rwxr-xr-x 1 root root 696752 Feb 19  2022 DeviceHostLinux*
-rw-r--r-- 1 root root 335400 Dec 29  2019 libdvbv5.so.0

I looked at previous defs of dvb_v5_name and the size has changed with new versions, and that would certainly cause a GPF...

Anyway, I am getting a consistent failure on the same show.  I would be happy to try something / debug if needed...
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,771
Threads: 954
Joined: May 2006
#6
2022-10-04, 11:34 PM (This post was last modified: 2022-10-04, 11:39 PM by mvallevand.)
You are running it wrong, for testing. To use the provided library you would use the way NextPVR calls it (I added the discover parameters so it does something)

Code:
cd /opt/nextpvr/system/DeviceHost/x64/
LD_LIBRARY_PATH="../" ./DeviceHostLinux -discover

That being said those look like the wrong files are you running v6?

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#7
2022-10-05, 03:33 AM
The dates do look old. I'm guessing you haven't installed v6?
spagio
Offline

Member

USA
Posts: 52
Threads: 16
Joined: Mar 2022
#8
2022-10-05, 04:14 AM
(2022-10-04, 11:34 PM)mvallevand Wrote: That being said those look like the wrong files are you running v6?

Martin

No I was on 5.2.7.220410, so I just upgraded to 6.0.0.220904 by downloading the latest deb file and issue the "sudo dpkg -i nextpvr-helper.deb" command.  It looks like the files did update..

Code:
$ ls -lF /opt/nextpvr/system/DeviceHost/x64
total 1916
-rwxr-xr-x 1 root root  725304 Aug 28 14:05 DeviceHostLinux*
-rw-r--r-- 1 root root 1232064 Jun 13 09:49 libdvbv5.so.0

...and I also executed your test for DeviceHostLinux as you suggested.  This time I got the "discovery" XML output of my quad tuner.

The "bad" news is that the same recording failed with the same result -- so I guess we are back to where we started at the beginning of this thread.
spagio
Offline

Member

USA
Posts: 52
Threads: 16
Joined: Mar 2022
#9
2023-01-12, 12:34 AM
FYI This is now working in 6.1.1.221106 . no changes to schedule
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,771
Threads: 954
Joined: May 2006
#10
2023-01-12, 12:46 AM
Great, sub made significant changes to DeviceHostLinux in 6.1.1 that fixed a lot of issues.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Linux install failed -- permission denied? FrogFan 4 394 2025-03-26, 12:39 AM
Last Post: FrogFan
  One show 'interrupted' twice SteveCos 0 166 2025-02-11, 09:03 AM
Last Post: SteveCos
  Recording Plyback Timeline Issue JeffH 11 578 2025-01-17, 03:20 PM
Last Post: mvallevand
  Wake on suspend for recording flyingsubs 15 4,365 2024-12-03, 01:07 PM
Last Post: mvallevand
  [Failed: No errors, but no data delivered. This is usually because the device failed Bobthegoldfish 3 274 2024-11-29, 12:49 AM
Last Post: mvallevand
  Attachments don't show up in posts. WagMan 2 219 2024-11-02, 04:32 AM
Last Post: WagMan
  NextPVR i.mjh.nz [Failed: Recording interrupted] Nzbaxterman 6 660 2024-10-29, 11:44 PM
Last Post: sub
  Can't record series for certain show WagMan 9 1,304 2024-08-07, 01:34 AM
Last Post: mminehan
Wink recording rules - nextpvr kfmf 4 687 2024-07-20, 08:50 AM
Last Post: kfmf
  Live stream not working while recording pciber 6 849 2024-06-10, 07:48 AM
Last Post: pciber

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode