Project

General

Profile

Bug #1985

http input can crash/lockup tvheadend

Added by danny skjodt over 10 years ago. Updated over 7 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
IPTV
Target version:
-
Start date:
2014-03-05
Due date:
% Done:

0%

Estimated time:
Found in version:
git master
Affected Versions:

Description

From time to time tvheadend crashes or rather locks up.

2014-03-05 19:58:12.325 [ INFO] dvr: entry 8 "iCarly" on "Nickelodeon" starting at 2014-03-05 19:45:00, scheduled for recording by "danny"
2014-03-05 19:58:12.325 [ DEBUG] settings: saving to /home/danny/.hts/tvheadend/dvr/log/8
2014-03-05 19:58:12.326 [ INFO] dvr: "iCarly" on "Nickelodeon" recorder starting
2014-03-05 19:58:12.326 [ TRACE] subscription: creating subscription for Nickelodeon weight 300
2014-03-05 19:58:12.326 [ TRACE] subscription: find service for Nickelodeon weight 300
2014-03-05 19:58:12.326 [ DEBUG] service: Nickelodeon si 0x21ea0b0 weight 0 prio 0 error 0
2014-03-05 19:58:12.326 [ DEBUG] service: Nickelodeon si 0x21ea070 weight 0 prio 0 error 0
2014-03-05 19:58:12.326 [ DEBUG] service: Nickelodeon si 0x21ea030 weight 0 prio 0 error 0
2014-03-05 19:58:12.326 [ TRACE] service: will start new instance 1
2014-03-05 19:58:12.326 [ TRACE] service: starting http://user:pass@ip:9981/stream/channel/Nickelodeon/Nickelodeon
2014-03-05 19:58:12.326 [ INFO] mpegts: http://user:pass@ip:9981/stream/channel/Nickelodeon - tuning on IPTV
2014-03-05 19:58:15.013 [ DEBUG] thread: created thread 140683004315392 [tcp_server_start / 0x40d060(0x7ff368001c10)]
2014-03-05 19:58:44.350 [ DEBUG] thread: created thread 140682995922688 [tcp_server_start / 0x40d060(0x7ff368000d00)]
2014-03-05 19:58:44.350 [ DEBUG] thread: created thread 140682987529984 [tcp_server_start / 0x40d060(0x7ff368001fe0)]

After this nothing, tvheadend is locked up and has to be killed with -9.
I have tested it on serveral boxes with serveral types of configs and sources, its always the same, but its super rare only happends once every 1000'th channel shift or so (and happends on all sources, not just a few specific).


Files

gdb.txt (38.2 KB) gdb.txt danny skjodt, 2014-03-18 17:29

History

#1

Updated by danny skjodt over 10 years ago

Attached a gdb dump, also this only happends with a webui client on.

#2

Updated by Andy Brown over 10 years ago

  • Status changed from New to Need feedback

I believe this has been fixed in recent IPTV commits, can you re-test from git-master and advise?

#3

Updated by danny skjodt over 10 years ago

Nope its still there just grabbed a fresh git, started a new config added 150 http muxes, turned on init scan and max 2 sim streams, restarted tvheadend and it locked up again before the init scan were done.

#4

Updated by Eugen Robu over 10 years ago

I have the same issue. It usually happens when recording multiple http input channels.Tvheadend just locks up.

#5

Updated by danny skjodt over 10 years ago

Yup recording stuff tends to trigger it more often. It must be some locking issue since having no browser logged into the webui stops this bug.

#6

Updated by danny skjodt over 10 years ago

This seems fixed now, did some quick tests and were not able to make it crash, maybe this solved it.
https://github.com/tvheadend/tvheadend/commit/a7c78250b611c9777375f9498852bcd04e07a4b1

#8

Updated by danny skjodt over 10 years ago

This one can be closed, can no longer replicate this error.

#9

Updated by Jaroslav Kysela over 7 years ago

  • Status changed from Need feedback to Fixed

Also available in: Atom PDF