Bug #1447
crash when trying to tune a second channel with only one tuner available
0%
Description
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.
Files
History
Updated by Timo Rothenpieler almost 12 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 12 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.
Adam
Updated by Adam Sutton almost 12 years ago
- Status changed from Accepted to Fixed
- Target version changed from 3.2 to 3.4
This is fixed in 3.4, I don't think we will be backporting to 3.2 (unless I have already, I forget).
Adam