System hangs on Live TV stop

  • Having a strange issue where the system hangs when i stop Live TV playback. Doesn't happen all the time, maybe once in ten times. System just hangs with a blank screen, have left it over night and still just sits there with a black screen until I hard reboot. I don't get a crash log so system is not detecting a crash I guess. Using RPi4 with Next PVR addon.


    I have attached the log file I managed to get here: Logs

  • Ok, it is just that I never had this issue when I was running Libreelec on a RPi3 so thought it might be related to upgrading to the RPi4. Struggling to get a crash log of when it happens. Wife complains about the CPU usage meter overlay when I turn it on. Has just happened again now though and the last lines from the Kodi log are:


    2019-11-19 22:19:10.329 T:3011748448 NOTICE: CVideoPlayer::CloseFile()

    2019-11-19 22:19:10.336 T:2305815408 NOTICE: CVideoPlayer::OnExit()

    2019-11-19 22:19:10.336 T:2305815408 NOTICE: Closing stream player 1

    2019-11-19 22:19:10.336 T:2305815408 NOTICE: Waiting for audio thread to exit

    2019-11-19 22:19:10.338 T:2093020016 NOTICE: thread end: CVideoPlayerAudio::OnExit()

    2019-11-19 22:19:10.339 T:2305815408 NOTICE: Closing audio device

    2019-11-19 22:19:10.357 T:3011748448 NOTICE: VideoPlayer: waiting for threads to exit

    2019-11-19 22:19:10.388 T:2305815408 NOTICE: Deleting audio codec

    2019-11-19 22:19:10.388 T:2305815408 NOTICE: Closing stream player 2

    2019-11-19 22:19:10.388 T:2305815408 NOTICE: waiting for video thread to exit

    2019-11-19 22:19:10.401 T:2109805424 NOTICE: thread end: video_thread

    2019-11-19 22:19:10.404 T:2305815408 NOTICE: deleting video codec

  • You can enable debuglog without that overlay at Kodi, pls have a look at the the Kodi wiki, currently don't have the switch at hand.

    Search for debuglog

  • Ok finally got it to happen with debug logging turned on, would appreciate if someone could take a look and let me know what they think, I have included all of the logs between pressing stop and then pressing exit before I had to restart the system, the full debug log is over 100MB:

    Files

    • kodi.log

      (36.09 kB, downloaded 11 times, last: )