MythTV / mythtv

The official MythTV repository
https://www.mythtv.org
GNU General Public License v2.0
706 stars 346 forks source link

Mythbackend crash v35-pre #955

Open angelaschmid opened 1 week ago

angelaschmid commented 1 week ago

What steps will reproduce the bug?

I had three crashes, one after some 10 minutes , 80 minutes and after 3 minutes. Thereafter it crashes immediately. Recording has been working. But it seems at some point it crashes when starting a recording, and now after restart it wants to start a recording immediately and crashes.

     Active: failed (Result: core-dump) since Sun 2024-10-20 03:05:05 CEST; 3min 3s ago
    Process: 19691 ExecStart=/usr/bin/mythbackend $MYTHBACKEND_ARGS (code=dumped, signal=ABRT)
   Main PID: 19691 (code=dumped, signal=ABRT)
        CPU: 1min 54.131s

Oct 20 01:47:12 myth systemd[1]: Started MythTV backend service.
Oct 20 03:05:01 myth mythbackend[19691]: malloc(): unsorted double linked list corrupted
Oct 20 03:05:05 myth systemd[1]: mythbackend.service: Main process exited, code=dumped, status=6/ABRT
Oct 20 03:05:05 myth systemd[1]: mythbackend.service: Failed with result 'core-dump'.
Oct 20 03:05:05 myth systemd[1]: mythbackend.service: Consumed 1min 54.131s CPU time.
2024-10-20 03:05:01.011834 C [19691/19691] CoreContext signalhandling.cpp:293 (handleSignal) - Received Aborted: Code -6, PID 19691, UID 1001, Value 0x00000000
2024-10-20 03:16:35.011790 I [21578/21667] StreamHandler dtvsignalmonitor.cpp:343 (HandlePAT) - DTVSigMon[1015]: Program 9266 found in PAT of SPTS

See two stacks attached. mythbackend_stacks.zip

angelaschmid commented 1 week ago

I noticed that around the same time, a DVB recording was successfully started (0.02GB), and a IPTV/UDP shows in the recordings, but crashed mythbackend (0.0GB).

I will check tomorrow, if recording fails for IPTV/UDP.

angelaschmid commented 1 week ago

It is like I said, DVB recording works, IPTV/UDP fails. See attached logs and stack trace. mythbackend_crash_20241020_001.zip