How to enable debug logging
Added by Peter Brockamp about 7 years ago
Hello,
unfortunately I'm experiencing regular crashes on TVH:
Okt 09 23:03:08 TVHeadend tvheadend1055: CRASH: ??:0 0x555f90b1de2a 0x555f9091e000
Okt 09 23:03:08 TVHeadend tvheadend1055: CRASH: ??:0 0x7f249b0240c0 0x7f249b013000
Okt 09 23:03:08 TVHeadend tvheadend1055: CRASH: gsignal+0xcf (/lib/x86_64-linux-gnu/libc.so.6)
Okt 09 23:03:08 TVHeadend tvheadend1055: CRASH: abort+0x16a (/lib/x86_64-linux-gnu/libc.so.6)
Okt 09 23:03:09 TVHeadend tvheadend1055: CRASH: ??:0 0x555f90aa9423 0x555f9091e000
Okt 09 23:03:09 TVHeadend tvheadend1055: CRASH: ??:0 0x555f90b06980 0x555f9091e000
Okt 09 23:03:09 TVHeadend tvheadend1055: CRASH: ??:0 0x555f90b0c7c9 0x555f9091e000
Okt 09 23:03:09 TVHeadend tvheadend1055: CRASH: ??:0 0x555f90b104e5 0x555f9091e000
Okt 09 23:03:09 TVHeadend tvheadend1055: CRASH: ??:0 0x555f90aea670 0x555f9091e000
Okt 09 23:03:09 TVHeadend tvheadend1055: CRASH: ??:0 0x555f90ae61f4 0x555f9091e000
I understand that I need to enable debugging to have it generate a usable stack trace. However I did not find out how to properly do it. I don't have time to compile tvh from source with debug enabled myself, so I was hoping I could add a debug version from a repository. However I couldn't find any link for this. Is there any instructions how to enable debug? As far as I understood it's not sufficient to enable debug in the GUI as the standard executables are lacking the symbol information. So what do I need to do? BTW, I'm on debian stretch. I was using jessie before, having the same problems with crashes, so it shouldn't be an issue of the distro.
THX
Don
Replies (1)
RE: How to enable debug logging - Added by Mark Clarkstone about 7 years ago
Good news, it's really simple. Just install tvheadend-dbg and restart tvh.