Bug #4413
TVH dead-locks with minisatip 0.7
100%
Description
Hi perexg,
As discussed on https://github.com/perexg/satip-axe/issues/65, 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.
Files
History
Updated by Jaroslav Kysela over 7 years ago
Provide '--trace satip,httpc' log from tvh: https://tvheadend.org/projects/tvheadend/wiki/Traces . Also, apply backtrace for all threads: https://tvheadend.org/projects/tvheadend/wiki/Debugging#Dead-or-Live-Lock .
Updated by Martin Walter over 7 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 linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[...]
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
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 linux-gate.so.1 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 7 years ago
- File gdb2.txt gdb2.txt added
- File tvheadend.log tvheadend.log added
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 7 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|a4ff519f36100d5c4685f8e7f258af58bcd12558.