Bug #2467
epggrab
0%
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
History
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
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)...
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...
Updated by Jaroslav Kysela almost 10 years ago
- Status changed from New to Fixed
I believe, this is fixed in v3.9-2352-g0a7ce2c + .