Project

General

Profile

Bug #1447

crash when trying to tune a second channel with only one tuner available

Added by Timo Rothenpieler almost 12 years ago. Updated almost 12 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
General
Target version:
Start date:
2012-12-05
Due date:
% Done:

0%

Estimated time:
Found in version:
3.2.18
Affected Versions:

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

tvheadend.log (119 KB) tvheadend.log Full Debug Log Timo Rothenpieler, 2012-12-05 00:59
tvheadend.core (127 MB) tvheadend.core Coredump with debug infos Timo Rothenpieler, 2012-12-05 00:59

History

#1

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.

#2

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

#3

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

Also available in: Atom PDF