Bug #3266
Debug Tab Crash
100%
Description
If clicking on the config/debug tab in webui crashes tvheadend server. I never did that before some 4x build and after that i forgot that bug, and i don't know the function of this tab. But on all latest builds i tested that and everytime i do that server crashes...
Files
History
Updated by Nihil Baxter about 9 years ago
It's not fixed, still get server crash while clicking on debug tab. As i said there isnt anything in logfile.
Updated by Jaroslav Kysela about 9 years ago
There should be CRASH lines in log, but I don't know which platform do you use.
Updated by Nihil Baxter about 9 years ago
Using arm version on BananaPro, self compiled. I will look at log again.
Updated by Nihil Baxter about 9 years ago
Nothing in my syslog, many entries from Tvheadend, but no crash entry.
Updated by Jaroslav Kysela about 9 years ago
Do you compiled tvh with execinfo?
$ grep EXECINFO .config.mk CONFIG_EXECINFO = yes
Also, install addr2line to resolve addresses too (binutils package).
Try to run tvh directly from the command line .
Updated by Trex the Daemon about 9 years ago
It crashes also on RPi2, with build HTS Tvheadend 4.1-1008~gc8fcc70
Updated by Jaroslav Kysela about 9 years ago
Nice, but we don't know what caused the crash without debug info.
Updated by Nihil Baxter about 9 years ago
I'm no linux specialist, maybe you have some tipp how to get the necessary debug info?
Updated by Jaroslav Kysela about 9 years ago
https://tvheadend.org/projects/tvheadend/wiki/Debugging
The backtrace is best to find where the code crashed.
Updated by Nihil Baxter about 9 years ago
Didn't get that managed, i followed the instructions but tvheadend didnt produce any debug core file or something else, maybe i didnt find that. Maybe i need more detailed instructions how to do backtrace...
Updated by Jaroslav Kysela about 9 years ago
Could you try to run tvheadend from cmdline and look, if you see the crash ?
tvheadend -c <cfgdir>
Updated by Nihil Baxter about 9 years ago
Next try, started from commandline, did debugging things from wiki page, produced crash but still no core file in tmp folder. Maybe i did something wrong...
Updated by M W about 9 years ago
Hi,
I have the same problem with the debug tab. Tvheadend crashes instantly when you hit the debug tab menu.
Here is what I did:
sudo -u hts tvheadend -l /home/mw/tvhlog --debug --trace --dump --uidebug
wait and start tvheadend webui, move on to configure and hit debug tab....crash.
The dump and log files are attached.
Hope this can help you.
Cheers
Moe
Updated by Jaroslav Kysela about 9 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|94e171ee8bfd97db798d76027ff71cb50b57e6de.
Updated by Jaroslav Kysela about 9 years ago
Finally! Thanks @M W. Fixed in v4.1-1131-g94e171e (one line fix).