Bug #4413

TVH dead-locks with minisatip 0.7

Added by Martin Walter over 6 years ago. Updated over 6 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
Found in version:
Affected Versions:


Hi perexg,

As discussed on, attached some traces taken after a dead-lock.

This bug might be redundant with other recent ones, but hope you can judge from the traces.

I can reproduce the dead-locking reliably. Here what I do:

(1) I ssh into my Digibit with firmware satip-axe-201705251044-14
(2) I edit the /etc/sysconfig/config file, deactivate minisatip & args, activate minisatip7 & args, reboot the Digibit
(3) I log into the WebUI of TVH (currently 4.3.187) and manually trigger and OTA EPG grabbing.
(4) The system dead-locks

I know that you think this is not due to minisatip 0.7, but I cannot reproduce this error with minisatip 0.3 (no matter which firmware version).

For completeness, I have a second Digibit running on the same network, but with an older firmware and minisatip 0.3, in case that matters.


gdb.txt (18.8 KB) gdb.txt Martin Walter, 2017-06-05 13:55
gdb2.txt (104 KB) gdb2.txt Martin Walter, 2017-06-05 23:19
tvheadend.log (2.05 MB) tvheadend.log Martin Walter, 2017-06-05 23:20



Updated by Jaroslav Kysela over 6 years ago

Provide '--trace satip,httpc' log from tvh: . Also, apply backtrace for all threads: .


Updated by Martin Walter over 6 years ago

The wiki site you linked is the one that I followed. I'm struggling with gdb and debug symbols as I run tvheadend on my Synology NAS. I have managed to cross-compile tvheadend using the spksrc environment without stripping off debug symbols. This way I was able to produce the trace I have provided. However, it seems right now I can only provide backtraces for the main thread.
When I hook on gdb via gdb tvheadend PID I get the following warnings:

Reading symbols from /volume1/@appstore/tvheadend-testing/bin/tvheadend...done.
warning: Could not load shared library symbols for
Do you need "set solib-search-path" or "set sysroot"?
Reading symbols from /lib/ debugging symbols found)...done.
Loaded symbols for /lib/
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.

I have been searching the cross-compilation environment as well as the host system for in order to include it in the solib-search-path but have not been able to find it anywhere. This is waaaaay off-topic, but any ideas how to solve this more than welcome...


Updated by Martin Walter over 6 years ago

OK, I have finally managed to enable multi-threaded debugging on the Synology, collected new traces (gdb2.txt) and the debug log (tvheadend.log) you have requested. Hope you can see something...


Updated by Jaroslav Kysela over 6 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|a4ff519f36100d5c4685f8e7f258af58bcd12558.


Updated by Jaroslav Kysela over 6 years ago

I fixed this in v4.3-193-ga4ff519 . Please, test.

Also available in: Atom PDF