Timeshift Problems

Discuss DVBLink on Raspberry Pi platform here!

Timeshift Problems

Postby rwhome » Wed Mar 04, 2015 6:07 pm

on rpi2 with wheezy (version february 2015)
dvblink server (version 5.1.0 build 11069)
dvblink for iptv (version 5.1.0 build 11069)
dvblink pvr client (version 1.9.13)

dvblink_server crashes when timeshift is activated
not immediately ... but after a while
only dvblink_server is running on wheezy ... nothing else

dvblink_server.log
Code: Select all
2015-Mar-02 01:21:50:   [I] timeshift length: 207260976, duration: 565, position: 207260976
2015-Mar-02 01:21:52:   [I] timeshift length: 208017300, duration: 567, position: 208017300
2015-Mar-02 01:21:52:   [E] Error. Received SIGSEGV: Segmentation Violation.
2015-Mar-02 01:21:52:   [I] timeshift length: 208017300, duration: 567, position: 208017300


wheezy crash log
Code: Select all
usr/local/bin/dvblink/dvblink_server() [0x4ab3ac]
/usr/local/bin/dvblink/dvblink_server(_ZN7dvblink17application_linux14signal_handlerEi+0x250) [0x4ae904]
/lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0) [0x7648bb20]


no crash(es) without timeshift
Attachments
dvblink-log-20150302-0127.zip
log
(95.45 KiB) Downloaded 190 times
rwhome
 
Posts: 9
Joined: Sat Feb 21, 2015 12:25 am


Re: Timeshift Problems

Postby rwhome » Fri Mar 20, 2015 2:36 pm

hi,

still have problems with server crashing when timeshift is activated

tried a update
dvblink server update is ok but dvblink for iptv update is not working
not with package center nor with manual upload
i am also not able to uninstall it

installation_error.PNG
installation_error.PNG (10.6 KiB) Viewed 10160 times
Attachments
dvblink-log-20150320-1427.zip
(78.4 KiB) Downloaded 194 times
rwhome
 
Posts: 9
Joined: Sat Feb 21, 2015 12:25 am

Re: Timeshift Problems

Postby Oberon » Fri Mar 20, 2015 3:03 pm

Restart your RPI. This will help to the installation issue.
Oberon
 
Posts: 11763
Joined: Thu Sep 06, 2007 5:04 am

Re: Timeshift Problems

Postby rwhome » Fri Mar 20, 2015 5:40 pm

thx oberon

i have done a restart serveral times
it remains a issue

when i check webserver_log
Code: Select all
[20/Mar/2015:14:27:35] HTTP Traceback (most recent call last):
  File "/usr/local/bin/dvblink/web_server/lib.zip/cherrypy/_cprequest.py", line 645, in respond
    response.body = self.handler()
  File "/usr/local/bin/dvblink/web_server/lib.zip/cherrypy/lib/encoding.py", line 188, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/local/bin/dvblink/web_server/lib.zip/cherrypy/_cpdispatch.py", line 29, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "products.py", line 565, in download_appstore_package
  File "products.py", line 88, in prepare_version_revision
TypeError: string indices must be integers, not str

it looks for me that this shows the problem
rwhome
 
Posts: 9
Joined: Sat Feb 21, 2015 12:25 am

Re: Timeshift Problems

Postby rrraf » Mon Mar 30, 2015 9:53 pm

hi,

i keep having dvblink server crashing on the raspberry pi 2. time shifting is not helping but the server also crashes randomly.

I have the same server version but with openelec. the error seems to be linked with the file system (sdcard class 10, but external USB in ext2 for recordings and time shift):

[E] Error. Received SIGSEGV: Segmentation Violation.
rrraf
 
Posts: 8
Joined: Mon Mar 30, 2015 9:45 pm

Re: Timeshift Problems

Postby the_man » Tue Mar 31, 2015 8:29 am

rrraf wrote:hi,

i keep having dvblink server crashing on the raspberry pi 2. time shifting is not helping but the server also crashes randomly.

I have the same server version but with openelec. the error seems to be linked with the file system (sdcard class 10, but external USB in ext2 for recordings and time shift):

[E] Error. Received SIGSEGV: Segmentation Violation.


Please update your dvblink server and all installed product it must solve your issue.
Look for new build numbers here:
http://dvblogic.com/en/news/78-new-dvbl ... 2-support/
NETGEAR RNDU2000; Synology DS112j, DS 212j, DS213+, DS 712+; Western Digital WD ex2; Asustor AS3, RPI2 ...
PCTV 460,461e,292e; TT 4400, 4650CI;DVBSKy S960; DD octopus net; Inverto sat2ip multibox; TBS DVB-C ...
the_man
 
Posts: 4696
Joined: Mon Dec 02, 2013 1:11 pm

Re: Timeshift Problems

Postby rrraf » Thu Apr 02, 2015 11:39 am

updating to the latest version does not solve the problem. it keeps crashing now and then (including while using time shift). I have to reboot openelec to restart dvblink server.

2015-Apr-01 10:27:12: ==============================================================
2015-Apr-01 10:27:12: Logging is started
2015-Apr-01 10:27:12: ==============================================================
2015-Apr-01 10:27:12: [I] DVBLink server product id: 17ce0654-a451-11e3-a88c-005056c00008
2015-Apr-01 10:27:13: [I] ---------------------------
2015-Apr-01 10:27:13: [I] Installed DVBLink products:
2015-Apr-01 10:27:13: [I] DVBLink Server, 5.1.0, 11218
2015-Apr-01 10:27:13: [I] DVBLink for IPTV, 5.1.0, 11218
2015-Apr-01 10:27:13: [I] ---------------------------
2015-Apr-01 11:13:31: [E] Error. Received SIGSEGV: Segmentation Violation.
2015-Apr-01 13:27:20:
2015-Apr-01 13:27:20: ==============================================================
2015-Apr-01 13:27:20: Logging is started
2015-Apr-01 13:27:20: ==============================================================
2015-Apr-01 13:27:20: [I] DVBLink server product id: 17ce0654-a451-11e3-a88c-005056c00008
2015-Apr-01 13:27:20: [I] ---------------------------
2015-Apr-01 13:27:20: [I] Installed DVBLink products:
2015-Apr-01 13:27:20: [I] DVBLink Server, 5.1.0, 11218
2015-Apr-01 13:27:20: [I] DVBLink for IPTV, 5.1.0, 11218
2015-Apr-01 13:27:20: [I] ---------------------------
2015-Apr-02 11:55:22: [E] Error. Received SIGSEGV: Segmentation Violation.
rrraf
 
Posts: 8
Joined: Mon Mar 30, 2015 9:45 pm

Re: Timeshift Problems

Postby the_man » Thu Apr 02, 2015 11:56 am

Can you, please, set log level to extended info, restart dvblink server, reproduce the issue and attach zipped log file here?
NETGEAR RNDU2000; Synology DS112j, DS 212j, DS213+, DS 712+; Western Digital WD ex2; Asustor AS3, RPI2 ...
PCTV 460,461e,292e; TT 4400, 4650CI;DVBSKy S960; DD octopus net; Inverto sat2ip multibox; TBS DVB-C ...
the_man
 
Posts: 4696
Joined: Mon Dec 02, 2013 1:11 pm

Re: Timeshift Problems

Postby rwhome » Sat Apr 04, 2015 5:44 pm

hi,

i could finally make the update
it was suddenly possible ... so the change was on your side i guess

looks good
no more crashes with timeshift activated
thx
rwhome
 
Posts: 9
Joined: Sat Feb 21, 2015 12:25 am

Re: Timeshift Problems

Postby rrraf » Tue Jun 30, 2015 11:53 am

my server is still crashing on a daily basis... sometimes when watching tv (which i'm not doing often at all).

i don't see anything in the logs:

one crash:

Code: Select all
2015-Jun-29 19:17:18:   [I] recorder_engine::run_active: PeekCommand: recBrowseEPG
2015-Jun-29 19:17:19:   [I] recorder_engine::run_active: PeekCommand: recGetSchedules
2015-Jun-29 19:17:19:   [I] recorder_engine::run_active: PeekCommand: recGetTimers
2015-Jun-29 19:17:19:   [I] recorder_engine::run_active: PeekCommand: recBrowseEPG
2015-Jun-29 19:17:19:   [I] process_xmltv_doc. Program D��put��s en guerre has invalid duration 0 (20150611171000 +0200 until 20150611171200 +0200). Program start time will be used for correction
2015-Jun-29 19:17:19:   [I] recorder_engine::run_active: PeekCommand: recGetSchedules
2015-Jun-29 19:17:19:   [I] recorder_engine::run_active: PeekCommand: recGetTimers
2015-Jun-29 19:17:19:   [I] process_xmltv_doc. Program Randy Cunningham, le ninja has invalid duration 0 (20150610111500 +0200 until 20150610113000 +0200). Program start time will be used for correction
2015-Jun-29 19:17:19:   [I] process_xmltv_doc. Program Slugterra : les mondes souterrains has invalid duration 0 (20150615171000 +0200 until 20150615173000 +0200). Program start time will be used for correction
2015-Jun-29 19:17:20:   [I] process_xmltv_doc. Program Fin des programmes has invalid duration 0 (20150611024500 +0200 until 20150611060000 +0200). Program start time will be used for correction
2015-Jun-29 19:17:20:   [I] process_xmltv_doc. Program Tirage Euro Millions has invalid duration 0 (20150616232100 +0200 until 20150616232700 +0200). Program start time will be used for correction
2015-Jun-29 19:17:20:   [I] recorder_engine::run_active: PeekCommand: recBrowseEPG
2015-Jun-29 19:17:20:   [I] recorder_engine::run_active: PeekCommand: recGetSchedules
2015-Jun-29 19:17:20:   [I] recorder_engine::run_active: PeekCommand: recGetTimers
2015-Jun-29 19:17:20:   [I] process_xmltv_doc. Program Grand Tourisme (International GT Open 2015) has invalid duration 0 (20150611083000 +0200 until 20150611101000 +0200). Program start time will be used for correction
2015-Jun-29 19:17:20:   [I] recorder_engine::run_active: PeekCommand: recBrowseEPG
2015-Jun-29 19:17:20:   [I] recorder_engine::run_active: PeekCommand: recGetSchedules
2015-Jun-29 19:17:20:   [I] process_xmltv_doc. Program Ratz has invalid duration 0 (20150612043500 +0200 until 20150612045000 +0200). Program start time will be used for correction
2015-Jun-29 19:17:20:   [I] recorder_engine::run_active: PeekCommand: recGetTimers
2015-Jun-29 19:21:06:   [I] process_xmltv_doc. Program Zou has invalid duration 0 (20150617095500 +0200 until 20150617101000 +0200). Program start time will be used for correction
2015-Jun-29 19:24:03:   [I] process_xmltv_doc. Program Des trains pas comme les autres has invalid duration 0 (20150610063000 +0200 until 20150610072000 +0200). Program start time will be used for correction


a second one:

Code: Select all
2015-Jun-30 01:24:00:   [I] CDLTSXmlTVReader::read_xmltv_files. 'Finished reading of xmltv files
2015-Jun-30 01:24:00:   [I] xmltv_reader::download_file. Processing http://xmltv.dtdns.net/download/complet.zip
2015-Jun-30 01:24:01:   [I] recorder_engine::run_active: PeekCommand: recBrowseEPG
2015-Jun-30 01:24:01:   [I] recorder_engine::run_active: PeekCommand: recGetSchedules
2015-Jun-30 01:24:01:   [I] recorder_engine::run_active: PeekCommand: recGetTimers
2015-Jun-30 01:24:01:   [I] recorder_engine::run_active: PeekCommand: recBrowseEPG
2015-Jun-30 01:24:02:   [I] recorder_engine::run_active: PeekCommand: recGetSchedules
2015-Jun-30 01:24:02:   [I] recorder_engine::run_active: PeekCommand: recGetTimers
2015-Jun-30 01:24:02:   [I] recorder_engine::run_active: PeekCommand: recBrowseEPG
2015-Jun-30 01:24:02:   [I] xmltv_reader::process_download_items: "/storage/dvblink/sources/telerama/process_xmltv_download.sh" "/storage/dvblink/sources/telerama/temp" complet.zip 5df19e07-9ba3-4846-9752-71f1e2388a8b 2
2015-Jun-30 01:24:02:   [I] recorder_engine::run_active: PeekCommand: recGetSchedules
2015-Jun-30 01:24:02:   [I] recorder_engine::run_active: PeekCommand: recGetTimers
2015-Jun-30 01:24:03:   [I] recorder_engine::run_active: PeekCommand: recBrowseEPG
2015-Jun-30 01:24:03:   [I] recorder_engine::run_active: PeekCommand: recGetSchedules
2015-Jun-30 01:24:03:   [I] recorder_engine::run_active: PeekCommand: recGetTimers
2015-Jun-30 01:24:03:   [I] recorder_engine::run_active: PeekCommand: recBrowseEPG
2015-Jun-30 01:24:03:   [I] recorder_engine::run_active: PeekCommand: recGetSchedules
2015-Jun-30 01:24:03:   [I] recorder_engine::run_active: PeekCommand: recGetTimers
2015-Jun-30 01:24:04:   [I] recorder_engine::run_active: PeekCommand: recGetSettings
2015-Jun-30 01:24:05:   [I] recorder_engine::run_active: PeekCommand: recBrowseEPG
2015-Jun-30 01:24:05:   [I] recorder_engine::run_active: PeekCommand: recGetSchedules
2015-Jun-30 01:24:05:   [I] recorder_engine::run_active: PeekCommand: recGetTimers
2015-Jun-30 01:24:06:   [I] recorder_engine::run_active: PeekCommand: recBrowseEPG
2015-Jun-30 01:24:06:   [I] recorder_engine::run_active: PeekCommand: recGetSchedules
2015-Jun-30 01:24:06:   [I] recorder_engine::run_active: PeekCommand: recGetTimers
2015-Jun-30 01:24:06:   [I] recorder_engine::run_active: PeekCommand: recBrowseEPG
2015-Jun-30 01:24:06:   [I] recorder_engine::run_active: PeekCommand: recGetSchedules
2015-Jun-30 01:24:06:   [I] recorder_engine::run_active: PeekCommand: recGetTimers
2015-Jun-30 01:24:07:   [I] recorder_engine::run_active: PeekCommand: recBrowseEPG
2015-Jun-30 01:24:07:   [I] recorder_engine::run_active: PeekCommand: recGetSchedules
2015-Jun-30 01:24:07:   [I] recorder_engine::run_active: PeekCommand: recGetTimers
2015-Jun-30 01:24:08:   [I] recorder_engine::run_active: PeekCommand: recBrowseEPG
2015-Jun-30 01:24:08:   [I] recorder_engine::run_active: PeekCommand: recGetSchedules
2015-Jun-30 01:24:08:   [I] recorder_engine::run_active: PeekCommand: recGetTimers
2015-Jun-30 01:24:08:   [I] CDLTSXmlTVReader::ReadXmlTVInfo. Enumerating all .xml files in directory /storage/dvblink/sources/telerama/temp/5df19e07-9ba3-4846-9752-71f1e2388a8b
2015-Jun-30 01:24:08:   [I] CDLTSXmlTVReader::ReadXmlTVInfo. Processing file /storage/dvblink/sources/telerama/temp/5df19e07-9ba3-4846-9752-71f1e2388a8b/complet.xml
2015-Jun-30 01:24:08:   [E] Error. Received SIGSEGV: Segmentation Violation.
2015-Jun-30 01:24:08:   [I] recorder_engine::run_active: PeekCommand: recBrowseEPG
2015-Jun-30 01:24:08:   [I] recorder_engine::run_active: PeekCommand: recGetSchedules
2015-Jun-30 01:24:08:   [I] recorder_engine::run_active: PeekCommand: recGetTimers
rrraf
 
Posts: 8
Joined: Mon Mar 30, 2015 9:45 pm

Re: Timeshift Problems

Postby the_man » Tue Jun 30, 2015 12:51 pm

Looks like, some issue with XMLTV file. Just for test, try to delete XMLTV source, make restart of dvblink server and work with dvblink like you did it before.
NETGEAR RNDU2000; Synology DS112j, DS 212j, DS213+, DS 712+; Western Digital WD ex2; Asustor AS3, RPI2 ...
PCTV 460,461e,292e; TT 4400, 4650CI;DVBSKy S960; DD octopus net; Inverto sat2ip multibox; TBS DVB-C ...
the_man
 
Posts: 4696
Joined: Mon Dec 02, 2013 1:11 pm

Re: Timeshift Problems

Postby rrraf » Thu Jul 02, 2015 2:48 pm

yep. it's the xmltv import that crashes the server. I'll have to do some more testing in order to identify what's going on. thanks for your help.
rrraf
 
Posts: 8
Joined: Mon Mar 30, 2015 9:45 pm

Re: Timeshift Problems

Postby rrraf » Thu Jul 02, 2015 9:43 pm

nope... still crashing without any xmltv source. this is really annoying as it even ruins the kodi experience (error message blinking). logs attached. it would be great if you could great if you tell me what's wrong...

Code: Select all
2015-Jul-02 16:36:46:   [I] recorder_engine::run_active: PeekCommand: recGetSettings
2015-Jul-02 16:36:57:   [I] recorder_engine::run_active: PeekCommand: recGetSettings
2015-Jul-02 16:37:07:   [I] recorder_engine::run_active: PeekCommand: recGetSettings
2015-Jul-02 16:37:18:   [I] recorder_engine::run_active: PeekCommand: recGetSettings
2015-Jul-02 16:37:28:   [I] recorder_engine::run_active: PeekCommand: recGetSettings
2015-Jul-02 16:37:38:   [I] recorder_engine::run_active: PeekCommand: recGetSettings
2015-Jul-02 16:37:49:   [I] recorder_engine::run_active: PeekCommand: recGetSettings
2015-Jul-02 16:37:59:   [I] recorder_engine::run_active: PeekCommand: recGetSettings
2015-Jul-02 16:38:10:   [I] recorder_engine::run_active: PeekCommand: recGetSettings
2015-Jul-02 16:38:20:   [E] Error. Received SIGSEGV: Segmentation Violation
Attachments
dvblink-log-20150702-2237.zip
(42.15 KiB) Downloaded 163 times
rrraf
 
Posts: 8
Joined: Mon Mar 30, 2015 9:45 pm

Re: Timeshift Problems

Postby rrraf » Mon Sep 12, 2016 4:37 pm

I read in the change logs that dvblink server 6 has "Fixed: DVBLink server crash on RPi (and some other platforms) with timeshifting enabled" and I have a huge problem with this.

I bought the version 5.5 (IPTV) with the promised feature to be able to use timeshifting... it was never delivered. check the numerous forums explaining that enabling timeshifting will crash the server regularly to convince yourself it was never fixed. but worse, the fix is only offered if I buy (again) the upgrade. this is not acceptable! I'm happy to pay for new features if I feel the need for it... but in no case I'm willing to pay again to have a feature that was supposed to be included with the first payment.
rrraf
 
Posts: 8
Joined: Mon Mar 30, 2015 9:45 pm

Re: Timeshift Problems

Postby the_man » Tue Sep 13, 2016 11:48 am

rrraf wrote:I read in the change logs that dvblink server 6 has "Fixed: DVBLink server crash on RPi (and some other platforms) with timeshifting enabled" and I have a huge problem with this.

I bought the version 5.5 (IPTV) with the promised feature to be able to use timeshifting... it was never delivered. check the numerous forums explaining that enabling timeshifting will crash the server regularly to convince yourself it was never fixed. but worse, the fix is only offered if I buy (again) the upgrade. this is not acceptable! I'm happy to pay for new features if I feel the need for it... but in no case I'm willing to pay again to have a feature that was supposed to be included with the first payment.

Please write to the info@dvblogic.com , i guess there you will find the help you are needed.
NETGEAR RNDU2000; Synology DS112j, DS 212j, DS213+, DS 712+; Western Digital WD ex2; Asustor AS3, RPI2 ...
PCTV 460,461e,292e; TT 4400, 4650CI;DVBSKy S960; DD octopus net; Inverto sat2ip multibox; TBS DVB-C ...
the_man
 
Posts: 4696
Joined: Mon Dec 02, 2013 1:11 pm


Return to DVBLink TV Server for Raspberry Pi

Who is online

Users browsing this forum: No registered users and 1 guest