DVBlink Server crashes while recording

DVBLink TV Server for Mac OS X is discussed here!

DVBlink Server crashes while recording

Postby entegast » Wed Nov 29, 2017 6:50 am

I just posted the following on the IPTV topic but I assume it belongs in this topic,
so I repost it here:


I'm on DVBlink for IPTV trial and testing the recording functionality.
The server always crashes after recording for 1 minute.

I hope someone can help me because I want to use IPTV as a replacement for my DVB-T/Eyetv Setup. Our local transmitter station was turned off and will not be replaced.

I attach my server log, log level set to info.

DVBlink Server 6.0.0 Build 14503
DVBLink for IPTV 6.0.0 Build 13107

OSX 10.9.5

Christoph

I did not succeed to attach my log.
Here are the last lines of my server log:

2017-Nov-28 23:50:57: [I] Cm3u8SegmentList::CheckAndAddSegment. Added segment 1310651
2017-Nov-28 23:50:58: [I] CIPhoneSegmentStreamer::ReadSegment. Finished reading segment 1310649. 3414456 bytes were read
2017-Nov-28 23:50:58: [I] Cm3u8SegmentList::PopFirstPlayableSegment. Popped segment 1310650
2017-Nov-28 23:50:58: [I] CIPhoneSegmentStreamer::ReadSegment. Reading segment 1310650, https://daserstelive-lh.akamaihd.net/i/ ... ?sd=10&id=
2017-Nov-28 23:51:08: [I] Cm3u8SegmentList::CheckAndAddSegment. Added segment 1310652
2017-Nov-28 23:51:08: [I] CIPhoneSegmentStreamer::ReadSegment. Finished reading segment 1310650. 3640056 bytes were read
2017-Nov-28 23:51:08: [I] Cm3u8SegmentList::PopFirstPlayableSegment. Popped segment 1310651
2017-Nov-28 23:51:08: [I] CIPhoneSegmentStreamer::ReadSegment. Reading segment 1310651, https://daserstelive-lh.akamaihd.net/i/ ... ?sd=10&id=
2017-Nov-28 23:51:17: [I] Cm3u8SegmentList::CheckAndAddSegment. Added segment 1310653
2017-Nov-28 23:51:18: [I] CIPhoneSegmentStreamer::ReadSegment. Finished reading segment 1310651. 3390392 bytes were read
2017-Nov-28 23:51:18: [I] Cm3u8SegmentList::PopFirstPlayableSegment. Popped segment 1310652
2017-Nov-28 23:51:18: [I] CIPhoneSegmentStreamer::ReadSegment. Reading segment 1310652, https://daserstelive-lh.akamaihd.net/i/ ... ?sd=10&id=
2017-Nov-28 23:51:20: [E] Error. Received SIGSEGV: Segmentation Violation.
entegast
 
Posts: 18
Joined: Wed Nov 29, 2017 6:11 am


Re: DVBlink Server crashes while recording

Postby the_man » Wed Nov 29, 2017 10:22 am

Please set log level to info, restart DVBLink server, reproduce the issue, download and attach zipped DVBLink log files to this post (full logs).
Information on how to set log level and download log files can be found on Wiki
http://dvblogic.com/wiki/index.php/How_ ... _log_files
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: DVBlink Server crashes while recording

Postby entegast » Wed Nov 29, 2017 2:29 pm

Hi,

thank you for looking into this.
I attach the logs. There are two crashes reported in it.
The last one is from last night:
2017-Nov-28 23:51:20: [E] Error. Received SIGSEGV: Segmentation Violation.
Log level was already at info.

Christoph
Attachments
dvblink-log-20171129-1425.zip
(52.46 KiB) Downloaded 36 times
entegast
 
Posts: 18
Joined: Wed Nov 29, 2017 6:11 am

Re: DVBlink Server crashes while recording

Postby entegast » Wed Nov 29, 2017 3:52 pm

I just got another error ( error: General error happened ) from the web viewer.
This time the server did not crash, but the web viewer ( tv guide and recoreding ) does not work anymore.
See the dvblink_webserver.log in the attached log.
Attachments
dvblink-log-20171129-1546.zip
(57.51 KiB) Downloaded 32 times
entegast
 
Posts: 18
Joined: Wed Nov 29, 2017 6:11 am

Re: DVBlink Server crashes while recording

Postby entegast » Wed Nov 29, 2017 4:29 pm

The web server is ok again. After some minutes without restart or intervention.
I guess that the server was in suspended state before the web server error occured.
This is an issue but probably not connected with the crashs so should be discussed in another topic.
entegast
 
Posts: 18
Joined: Wed Nov 29, 2017 6:11 am

Re: DVBlink Server crashes while recording

Postby entegast » Thu Nov 30, 2017 7:00 am

Do you have any idea what is causing the crashes or how I can narrow it down further?
DVBlink is unusuable for me without the recording functionality.
entegast
 
Posts: 18
Joined: Wed Nov 29, 2017 6:11 am

Re: DVBlink Server crashes while recording

Postby the_man » Thu Nov 30, 2017 10:30 am

Seems the m3u for IPTV you are using has a "dynamic" links
I have started one of the channels in the VLC and it has changed it is bitrate in a 20-30 seconds ...

Anyway in the DVBlink Server with IPTV On PC, it is work well.

Try this test:
- install and launch the VLC player and press the combination Ctrl+N
- in the "Please, enter a Network URL" enter: http://ip-of-your-server:8100/mobile/?c ... aylist_m3u
- start to play any of channels and go to Monitoring tab, (dvblink web interface) Do you see a bitrate?
- how long channel is playing?

PS. DVBLink clients.
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: DVBlink Server crashes while recording

Postby entegast » Thu Nov 30, 2017 12:17 pm

I did as you suggested,
In one channel, Arte HD, the bitrate varies strongly between 2800 kBit/s and 3800 kBits
A second channel, Das Erste, Non HD, the bitrate varies around 2800 kBit/s but the variation is very small.

Is a variable bitrate a problem for dvblink server?

What do you mean by: how long channel is playing?
It does not stop. I only had crashes while recording, just watching seems to be ok.
entegast
 
Posts: 18
Joined: Wed Nov 29, 2017 6:11 am

Re: DVBlink Server crashes while recording

Postby entegast » Thu Nov 30, 2017 12:25 pm

I forgot to tell you that I also tried out to use Kodi as a frontend with the dvblink plugin.
Could Kodi somehow be related to the crashes?
entegast
 
Posts: 18
Joined: Wed Nov 29, 2017 6:11 am

Re: DVBlink Server crashes while recording

Postby the_man » Thu Nov 30, 2017 2:09 pm

Just to clarify. Crash happens during recording or during watching of this recording?
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: DVBlink Server crashes while recording

Postby entegast » Thu Nov 30, 2017 6:08 pm

the crash happens only during the recording process itself.

I attach an OS crash dump of one of the crashes.
Attachments
crash.zip
(48.74 KiB) Downloaded 28 times
entegast
 
Posts: 18
Joined: Wed Nov 29, 2017 6:11 am

Re: DVBlink Server crashes while recording

Postby the_man » Mon Dec 04, 2017 4:42 pm

I have done a test with record of 40 minutes. Works like a charm. And have just set another rec for 2.5 hours.
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: DVBlink Server crashes while recording

Postby entegast » Mon Dec 04, 2017 6:32 pm

Did you use osx?
If yes which version?
entegast
 
Posts: 18
Joined: Wed Nov 29, 2017 6:11 am

Re: DVBlink Server crashes while recording

Postby the_man » Tue Dec 05, 2017 9:08 am

I've used OSX 10.9 on virtual machine. And physical machine of windows 7.

All works like a charm.

Some thought:
- if it happens only while recordings work, then it could be some power saving issues
- some network issues
- what will be if you, for instance, start to watch some other record and also start a new record?
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: DVBlink Server crashes while recording

Postby entegast » Fri Dec 08, 2017 5:54 am

You are right about power saving issues.
It happens when the system enters and leaves sleep mode.
I upgraded my server to OSX 10.13.2 yesterday.
At the moment there are no more crashes.
I have another issue, which I have already reported above ( with logs ).
When the computer has returned from sleep mode the dvblink webserver returns an internal error on the tvguide, recordings and on the settings/recorder page. I have to restart dvblink_server in order to make it work again.
See the attached logs ( RuntimeError: IDS_GENERAL_ERROR_MSG in webserver log ) in my post from Wed Nov 29, 2017 6:11 am
Can you look into this?
entegast
 
Posts: 18
Joined: Wed Nov 29, 2017 6:11 am

Next

Return to DVBLink TV Server for Mac OS X platform

Who is online

Users browsing this forum: No registered users and 2 guests

cron