Some HEVC videos crash the system

There’s nothing in the log but the system hangs for some time, then reboots.

I tried to cut the beginning of a big video (with dd). It seems to be enough to recreate the crash so here you go: https://public.nbg01.v10lator.de/example.mkv

This is with CoreELEC 9.2.4.2 ng on a LePotato.

1 Like

I tried your sample on Android phone Kodi and CE with S905X3 no crash, no issues.

I tried the sample on y S905X2 and all I got was about 2 seconds of audio and then black screen but no crashing.

I did notice that the media info showed the length of the file as being 1hr 56m, which obviously is not the case.

Unable to replicate with provided sample on:

  • TaNiX TX3 Mini S905W CE 9.2.4.2 stable < S905 non -ng test box
  • TaNiX TX5 Deluxe Edition S905X3 CE 9.2.4.2 -ng stable
  • NexBox A95X-B7N S905X CE 9.2.4.2 -ng stable < S905 -ng test box
  • TUREWELL F2 S905X2 CE 9.2.4.2 -ng stable

Check your core temperatures. Could be a cooling issue.

Thanks for your replies. System is actively cooled and reaches around 50°C max, so I don’t think that’s an issue.
I also don’t think it’s some kind of brownout: The SBC is connected to a 5V 12 A power source.
So I really think it’s a software and not a hardware issue. Will check my addons soon.

//EDIT:

As the original video is over 40 gb in size (I just cutted a few mb from the beginning) that’s expected behaviour.

I had the same problem - random reboots at random videos. Nothing in the logs.
The root cause was the power supply - suddenly no voltage for few seconds and then back.

I don’t get that behaviour on any of the clips that I extract from larger sources.

The info always reflects the actual length.

Cut with dd (unchanged header) vs. cut with mkvtoolnix (new header calculated)?

This was not cause by any addon and updating to Kodi 19 Matrix solved it. It’s also solved by disabling hardware acceleration on CoreELEC 9.2.5 but it’s a slideshow that way.

//EDIT: Was too fast with this: It’s still crashing on Kodi 19 - fresh installation with no addons.

//EDIT²: Tried to grab a debug log while it crashed:

2020-12-26 18:03:33.640 T:5886    DEBUG <general>: CLibInputKeyboard::ProcessKey - using delay: 250ms repeat: 33ms
2020-12-26 18:03:33.641 T:6149    DEBUG <general>: Thread Timer start, auto delete: false
2020-12-26 18:03:33.648 T:5878    DEBUG <general>: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x000d, modifier: 0x0
2020-12-26 18:03:33.760 T:6149    DEBUG <general>: Thread Timer 3599753904 terminating
2020-12-26 18:03:33.776 T:5878    DEBUG <general>: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x000d, modifier: 0x0
2020-12-26 18:03:33.776 T:5878    DEBUG <general>: HandleKey: return (0xf00d) pressed, action is Select
2020-12-26 18:03:33.808 T:5878    DEBUG <general>: CPlayerCoreFactory::GetPlayers(nfs://horst.fritz.box/export/VideoNAS/Follow Me.mkv)
2020-12-26 18:03:33.809 T:5878    DEBUG <general>: CPlayerSelectionRule::GetPlayers: considering rule: system rules
2020-12-26 18:03:33.809 T:5878    DEBUG <general>: CPlayerSelectionRule::GetPlayers: matches rule: system rules
2020-12-26 18:03:33.809 T:5878    DEBUG <general>: CPlayerSelectionRule::GetPlayers: considering rule: mms/udp
2020-12-26 18:03:33.809 T:5878    DEBUG <general>: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
2020-12-26 18:03:33.809 T:5878    DEBUG <general>: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
2020-12-26 18:03:33.809 T:5878    DEBUG <general>: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
2020-12-26 18:03:33.809 T:5878    DEBUG <general>: CPlayerSelectionRule::GetPlayers: considering rule: streams
2020-12-26 18:03:33.809 T:5878    DEBUG <general>: CPlayerSelectionRule::GetPlayers: considering rule: dvd
2020-12-26 18:03:33.809 T:5878    DEBUG <general>: CPlayerSelectionRule::GetPlayers: considering rule: discimage
2020-12-26 18:03:33.809 T:5878    DEBUG <general>: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
2020-12-26 18:03:33.809 T:5878    DEBUG <general>: CPlayerSelectionRule::GetPlayers: considering rule: nsv
2020-12-26 18:03:33.809 T:5878    DEBUG <general>: CPlayerSelectionRule::GetPlayers: considering rule: radio
2020-12-26 18:03:33.809 T:5878    DEBUG <general>: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
2020-12-26 18:03:33.809 T:5878    DEBUG <general>: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (VideoPlayer)
2020-12-26 18:03:33.809 T:5878    DEBUG <general>: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
2020-12-26 18:03:33.809 T:5878    DEBUG <general>: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
2020-12-26 18:03:33.809 T:5878    DEBUG <general>: CPlayerCoreFactory::GetPlayers: added 1 players
2020-12-26 18:03:33.810 T:6150    DEBUG <general>: Thread RefClock start, auto delete: false
2020-12-26 18:03:33.810 T:6150    DEBUG <general>: CVideoReferenceClock: setting up AML
2020-12-26 18:03:33.810 T:6150    DEBUG <general>: CVideoReferenceClock: fps: 60.000
2020-12-26 18:03:33.810 T:6150    DEBUG <general>: CVideoReferenceClock: Detected refreshrate: 60.000 hertz
2020-12-26 18:03:33.813 T:5878    DEBUG <general>: Radio UECP (RDS) Processor - new CDVDRadioRDSData
2020-12-26 18:03:33.813 T:5878     INFO <general>: VideoPlayer::OpenFile: nfs://horst.fritz.box/export/VideoNAS/Follow Me.mkv
2020-12-26 18:03:33.813 T:6151    DEBUG <general>: Thread VideoPlayer start, auto delete: false
2020-12-26 18:03:33.814 T:5878    DEBUG <general>: OnPlayBackStarted: CApplication::OnPlayBackStarted
2020-12-26 18:03:33.814 T:6151     INFO <general>: Creating InputStream
2020-12-26 18:03:33.822 T:6144    DEBUG <general>: Loading settings for nfs://horst.fritz.box/export/VideoNAS/Follow Me.mkv
2020-12-26 18:03:33.828 T:5878    DEBUG <general>: CVideoGUIInfo::InitCurrentItem(nfs://horst.fritz.box/export/VideoNAS/Follow Me.mkv)
2020-12-26 18:03:33.857 T:5878    DEBUG <general>: CPlayerGUIInfo::InitCurrentItem(nfs://horst.fritz.box/export/VideoNAS/Follow Me.mkv)
2020-12-26 18:03:33.858 T:5880    DEBUG <UPNP::BuildObject>: Building didl for object 'nfs://horst.fritz.box/export/VideoNAS/Follow Me.mkv'
2020-12-26 18:03:33.958 T:5878    DEBUG <general>: ------ Window Init (DialogBusy.xml) ------
2020-12-26 18:03:33.960 T:5878    DEBUG <general>: CDirectoryProvider[library://video/movies/]: refreshing..
2020-12-26 18:03:33.960 T:5878    DEBUG <general>: CDirectoryProvider[special://skin/playlists/inprogress_movies.xsp]: refreshing..
2020-12-26 18:03:33.960 T:5878    DEBUG <general>: CDirectoryProvider[special://skin/playlists/recent_unwatched_movies.xsp]: refreshing..
2020-12-26 18:03:33.960 T:5878    DEBUG <general>: CDirectoryProvider[special://skin/playlists/unwatched_movies.xsp]: refreshing..
2020-12-26 18:03:33.961 T:5878    DEBUG <general>: CDirectoryProvider[special://skin/playlists/random_movies.xsp]: refreshing..
2020-12-26 18:03:33.961 T:5878    DEBUG <general>: CDirectoryProvider[videodb://movies/genres/]: refreshing..
2020-12-26 18:03:34.114 T:6152    DEBUG <general>: Thread JobWorker start, auto delete: true
2020-12-26 18:03:34.119 T:6152    ERROR <general>: DoWork - Direct texture file loading failed for special://masterprofile/Thumbnails/0/0158acba.jpg
2020-12-26 18:03:34.119 T:6152    DEBUG <general>: GetImageHash - unable to stat url 
2020-12-26 18:03:34.424 T:6151    DEBUG <general>: CFileCache::Open - opening <export/VideoNAS/Follow Me.mkv> using cache
2020-12-26 18:03:34.554 T:6151    DEBUG <general>: CNFSFile::Open - opened export/VideoNAS/Follow Me.mkv
2020-12-26 18:03:34.556 T:6151    DEBUG <general>: CFileCache::Open - Source chunk size is 1048576, setting cache chunk size to 1048576
2020-12-26 18:03:34.556 T:6151    DEBUG <general>: CFileCache::Open - Using double memory cache each sized 134217728 bytes
2020-12-26 18:03:34.560 T:6153    DEBUG <general>: Thread FileCache start, auto delete: false
2020-12-26 18:03:34.560 T:6151    DEBUG <general>: ScanForExternalSubtitles: Searching for subtitles...
2020-12-26 18:03:35.283 T:6151    DEBUG <general>: ScanForExternalSubtitles: END (total time: 722 ms)
2020-12-26 18:03:35.283 T:6151     INFO <general>: Creating Demuxer
2020-12-26 18:03:35.286 T:6151    DEBUG <general>: Open - probing detected format [matroska,webm]

//EDIT³: Was able to extract/demultiplex the hevc video from the mkv file: It crashes kodi, too, so it’s not MKV but HEVC related. isabling hardware acceleration helps here, too, but is way to slow.

//EDIT4: Might be related to one or more of these reports:







This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.