UHD disc crashing eac3to 3.52

eac3to forked from madshi eac3to 3.36
Post Reply
DAE avatar
Superb
Posts: 16
Joined: Wed May 08, 2024 12:41 pm

UHD disc crashing eac3to 3.52

Post by Superb »

Hi, I've found an issue where eac3to 3.52 crashes on a certain disc, after a very long time processing.
eac3to 3.34 works fine with it.

Judging from the stack trace, it's likely something to do with TrueHD.

Here is the failed 3.52 log (copied from console as log didn't save):

Code: Select all

Running in fast mode
Keeping dialnorm
analyze: 100%
M2TS, 1 video track, 2 audio tracks, 2 subtitle tracks, 2:58:57
1: Chapters, 27 chapters
2: h265/HEVC, 2160p24 (16:9), 10 bits
3: TrueHD/AC3 (Atmos), Telugu, 7.1 channels, 48kHz, dialnorm: -31dB
   (embedded: AC3, 5.1 channels, 640kbps, 48kHz, dialnorm: -31dB)
4: DTS Master Audio, Japanese, 5.1 channels, 24 bits, 48kHz, dialnorm: 0dB
   (core: DTS, 5.1 channels, 1509kbps, 48kHz, dialnorm: 0dB)
5: Subtitle (PGS), Japanese
6: Subtitle (PGS), Japanese
s05 Extracting subtitle track number 5...
s06 Extracting subtitle track number 6...
a03 Extracting audio track number 3...
a04 Extracting audio track number 4...
v02 Extracting video track number 2...
a03 Extracting TrueHD stream...
eac3to crashed...
Here is correct 3.34 log:

Code: Select all

eac3to v3.34
command line: D:\eac3to.exe -check "RRR_2022"
------------------------------------------------------------------------------
M2TS, 1 video track, 2 audio tracks, 2 subtitle tracks, 2:58:57, 12p
1: Chapters, 26 chapters
2: h265/HEVC, 2160p24 (16:9), 10 bits
3: TrueHD/AC3 (Atmos), Telugu, 7.1 channels, 48kHz
   (embedded: AC3, 5.1 channels, 640kbps, 48kHz)
4: DTS Master Audio, Japanese, 5.1 channels, 24 bits, 48kHz
   (core: DTS, 5.1 channels, 1509kbps, 48kHz)
5: Subtitle (PGS), Japanese
6: Subtitle (PGS), Japanese
[v02] The video bitstream framerate field doesn't seem to match the timestamps.  <WARNING>
[v02] The video framerate is correct, but rather unusual.  <WARNING>
[s06] Extracting subtitle track number 6...
[a03] Extracting audio track number 3...
[a04] Extracting audio track number 4...
[s05] Extracting subtitle track number 5...
[v02] Extracting video track number 2...
Video track 2 contains 257666 frames.
Subtitle track 5 contains 1519 captions.
Subtitle track 6 contains 256 captions.
eac3to processing took 5 minutes, 27 seconds.
Done.
Crash window stack trace:
https://i.imgur.com/qSCjIiH.png

I can upload the disc if necessary, but being a BD100 UHD it is quite large.
User avatar
Rocky
Posts: 3840
Joined: Fri Sep 06, 2019 12:57 pm

UHD disc crashing eac3to 3.52

Post by Rocky »

I'll send upload details via PM.

Please give the command line for the 3.52 trace you gave.
DAE avatar
Superb
Posts: 16
Joined: Wed May 08, 2024 12:41 pm

UHD disc crashing eac3to 3.52

Post by Superb »

Sample uploading as I write this.

Command is just:

Code: Select all

eac3to -check PATH
User avatar
Rocky
Posts: 3840
Joined: Fri Sep 06, 2019 12:57 pm

UHD disc crashing eac3to 3.52

Post by Rocky »

Great, thank you.
User avatar
Rocky
Posts: 3840
Joined: Fri Sep 06, 2019 12:57 pm

UHD disc crashing eac3to 3.52

Post by Rocky »

Hmm, well, it is restricted to THD (uncontrolled memory blow up) and it seems to have been introduced between 3.34 and 3.36. I don't have the source code prior to 3.36 but I'll try to figure things out, and get in touch with madshi if I can't grok it. Your disk is very large and the memory ran out before the operation completed. On normal sized disks it completes before running out of memory.
Post Reply