Bug #1985
http input can crash/lockup tvheadend
0%
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
History
Updated by danny skjodt over 10 years ago
Attached a gdb dump, also this only happends with a webui client on.
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?
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.
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.
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.
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
Updated by danny skjodt over 10 years ago
This one can be closed, can no longer replicate this error.