Project

General

Profile

Actions

Bug #4802

closed

Experiencing regular crashes

Added by Peter Brockamp over 7 years ago. Updated over 6 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
Crashes
Target version:
-
Start date:
2017-12-17
Due date:
% Done:

0%

Estimated time:
Found in version:
4.2.4-42~g1c9944bb2
Affected Versions:

Description

Hello!

I'm experiencing regular crashes. Dunno if this is a problem of tvh itself or the Linux kernel, but somewhere I need to start.

I'm using tvheadend on a headless Debian stretch system, running on a hexacore amd phenom with 4GB RAM:
Linux version 4.9.0-4-amd64 () (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.65-3 (2017-12-03)
Current tvh version: 4.2.4-42~g1c9944bb2
I'm using a SAT-IP server (Megasat SAT>IP Server 3) connected to my LAN for recording and live TV. Tvh has exclusive access to the server.
Up to now I could not recognize any systematics on when the crashes occur (like e. g. start of a recording).

However I already had problems with earlier tvh version and jessie as follows:
  • At first (Jessie) I experienced regular complete freezing(!) of the machine with no output in the syslog. "Regular" means it could be that the machine lived only for an hour, but maybe also for several days.
  • I started wondering if I'm having a hardware problem on my machine, Linux should at least Kernel panic and I was expecting something in the logs, but nothing like that. I didn't find the time to do some in depth checking, plus I'm using a board, CPU and RAM that had been running without problems under Win 10 for many months.
  • I decided to migrate from jessie to stretch (to see if this changes something) but this did not solve the freezing problem.
  • I did some of the usual apt-get updates and suddenly with one update behavior changed so that my machine no longer froze but tvh started crashing instead (I had no debug version installed at that time, so no useful stack dump available):

? tvheadend.service - (null)
Loaded: loaded (/etc/init.d/tvheadend)
Active: active (exited) since So 2017-09-24 13:27:06 CEST; 10h ago
Process: 601 ExecStart=/etc/init.d/tvheadend start (code=exited, status=0/SUCCESS)

Sep 24 19:30:57 TVHeadend tvheadend989: CRASH: ??:0 0x563308e2fe2a 0x563308c30000
Sep 24 19:30:57 TVHeadend tvheadend989: CRASH: ??:0 0x7ff76e50d890 0x7ff76e4fe000
Sep 24 19:30:57 TVHeadend tvheadend989: CRASH: gsignal+0x37 (/lib/x86_64-linux-gnu/libc.so.6)
Sep 24 19:30:57 TVHeadend tvheadend989: CRASH: abort+0x148 (/lib/x86_64-linux-gnu/libc.so.6)
Sep 24 19:30:57 TVHeadend tvheadend989: CRASH: ??:0 0x563308dbb423 0x563308c30000
Sep 24 19:30:57 TVHeadend tvheadend989: CRASH: ??:0 0x563308e18980 0x563308c30000
Sep 24 19:30:57 TVHeadend tvheadend989: CRASH: ??:0 0x563308e1e7c9 0x563308c30000
Sep 24 19:30:57 TVHeadend tvheadend989: CRASH: ??:0 0x563308e224e5 0x563308c30000
Sep 24 19:30:57 TVHeadend tvheadend989: CRASH: ??:0 0x563308dfc670 0x563308c30000
Sep 24 19:30:57 TVHeadend tvheadend989: CRASH: ??:0 0x563308df81f4 0x563308c30000

  • After some more updates suddenly all problems seem to have been gone, the machine was running without problems and no crashes for a whole bunch of weeks and for several updates.
  • Unfortunately with the latest apt-get update the problems came back, I could even experience crashes after only 10 min uptime! The difference: Now is there is a kernel Oops:

Dec 17 21:00:39 TVHeadend kernel: [ 662.841326] BUG: unable to handle kernel paging request at fffff30207b85ee0
Dec 17 21:00:39 TVHeadend kernel: [ 662.844241] IP: [<ffffffffb8b47970>] __list_del_entry+0x0/0xb0
Dec 17 21:00:39 TVHeadend kernel: [ 662.847220] PGD 11f7f6067
Dec 17 21:00:39 TVHeadend kernel: [ 662.847275] PUD 0
Dec 17 21:00:39 TVHeadend kernel: [ 662.850253]
Dec 17 21:00:39 TVHeadend kernel: [ 662.853271] Oops: 0000 [#1] SMP

I attached the complete Oops plus the log with hardware information for my machine in case this is useful.
Apparently something's going badly awry here. I have no idea what's happening and why. Could anyone please support how to find out the reason for these crashes, be it tvh or the kernel, and how to proceed? A machine intended for doing unattended video recordings that crashes regularly has a very limited value and is of course rather frustrating... :-/

THX

Don


Files

Kernel crash.txt (31.7 KB) Kernel crash.txt Kernel Oops Peter Brockamp, 2017-12-17 22:50
Boot.txt (66 KB) Boot.txt Boot sequence Peter Brockamp, 2017-12-17 22:50
Actions

Also available in: Atom PDF