crash when trying to tune a second channel with only one tuner available
Whenever i try to start streaming a diffrent channel from a second client, tvheadend crashes.
My main client is XBMC with pvr.hts addon, and the second client a VLC from a diffrent PC.
But it does not matter what clients are streaming, it crashed in all constellations i could try.
Updated by Timo Rothenpieler almost 11 years ago
Narrowed this down to the function "static void http_stream_run(...)" in src/webui/webui.c, which does "mux = muxer_create(s->ths_service, mc);" without checking if s->ths_service is NULL, which is the case if subscribing to this channel failed.
No idea if this schould be checked in this function or earlier, when the tv_subscription_t is initialy created.
Updated by Adam Sutton almost 11 years ago
- Status changed from New to Accepted
- Target version set to 3.2
- Affected Versions 3.2 added
Sorry I completely missed this. From what I can see this has been fixed in master, there were some significant updates to the way the muxer code handles setup.
However these have not been ported to 3.2 at this time, but I will take a look and have a word with John as I was hoping to do another 3.2 update shortly.