Project

General

Profile

Bug #2467

epggrab

Added by alf alfonsius almost 10 years ago. Updated almost 10 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
EPG - Grabbers
Target version:
-
Start date:
2014-11-11
Due date:
% Done:

0%

Estimated time:
Found in version:
3.9.2064~g3cc291c-dirty
Affected Versions:

Description

epggrab leaves the streams open after scanning (no subscriptions anymore)and no data found. when i start a client(xbmx/vlc) i cant watch a channel. i have to activate each channel and the second time the channel starts working (tables flushed by mpegts ?) i think i reported this before but i cant find the issue number atm.
i have this on my production build (1900) for a view channels ( i get rid of this by selecting the channels in a script with ffmpeg) but the last 10-15 git versions made it worse, and btw the epg shows for all channels (99%) in xbmc/vlc. epgrab shows timeout but the streams stay open
on another matter, the webui screwed up on column options. if i try to deselct some, but mayby thats firefox


Files

epg.jpg (313 KB) epg.jpg webui alf alfonsius, 2014-11-11 08:07
discoveryworld.png (2.06 MB) discoveryworld.png this channel got epg alf alfonsius, 2014-11-11 08:07
epg.txt (4.62 KB) epg.txt console alf alfonsius, 2014-11-11 08:07
webui.jpg (365 KB) webui.jpg tooltips alf alfonsius, 2014-11-11 08:10
log.txt (12.4 KB) log.txt debug log alf alfonsius, 2014-11-21 10:36
epgdb.v2 (219 KB) epgdb.v2 epg db alf alfonsius, 2014-11-21 10:37

History

#1

Updated by Jaroslav Kysela almost 10 years ago

Provide --trace mpegts,epggrab,iptv ...

#2

Updated by alf alfonsius almost 10 years ago

made a new config with only 2 services out of 46
network config: no network discovery, skip initial scan
mux config epg scan: only eit
epg grabber: timeout 300s, module yes, eit dvb grabber yes

#3

Updated by Jaroslav Kysela almost 10 years ago

[   INFO] subscription: 0001: "epggrab" unsubscribing

Very very strange... I added more traces to epggrab (in latest), but could you also add this line:

diff --git a/src/subscriptions.c b/src/subscriptions.c
index 7bafb89..c4f72c3 100644
--- a/src/subscriptions.c
+++ b/src/subscriptions.c
@@ -530,6 +530,7 @@ subscription_unsubscribe(th_subscription_t *s)
              s->ths_title, channel_get_name(s->ths_channel));
   } else {
     snprintf(buf, sizeof(buf), "\"%s\" unsubscribing", s->ths_title);
+    if (!strcmp(s->ths_title, "epggrab")) abort();
   }

   if (s->ths_hostname) {

I would like to see, where it crashes (need to know the caller of the unsubscribe fcn)...

#4

Updated by Jaroslav Kysela almost 10 years ago

Just a note, the correct epggrab shutdown sequence should be like:

2014-11-21 11:19:45.000 [  DEBUG] epggrab: grab done for 235.10.10.16 in Tralala (timeout)
2014-11-21 11:19:45.000 [WARNING] epggrab: EIT: DVB Grabber - data completion timeout for 235.10.10.16 in Tralala
2014-11-21 11:19:45.000 [   INFO] subscription: 0002: "epggrab" unsubscribing
2014-11-21 11:19:45.000 [  DEBUG] mpegts: 235.10.10.16 in Tralala - stopping mux
2014-11-21 11:19:45.000 [  TRACE] mpegts: IPTV - flush subscribers
2014-11-21 11:19:45.000 [  TRACE] mpegts: 235.10.10.16 in Tralala - flush tables

... not only one "unsubscribe" line...

#5

Updated by Jaroslav Kysela almost 10 years ago

  • Status changed from New to Fixed

I believe, this is fixed in v3.9-2352-g0a7ce2c + .

Also available in: Atom PDF