Avidemux Forum

Avidemux => Windows => Topic started by: mm0359 on March 19, 2017, 11:39:13 PM

Title: Assert failed :3==sscanf(...) at line 140, file /.../ADM_tsReadIndex.cpp
Post by: mm0359 on March 19, 2017, 11:39:13 PM
avidemux_2.6.18_r170313_win32.exe (r723b9080f91) ((ffmpeg 3.0.7))

I've got 1 .ts file (2.55 GB),
Indexing goes well up to 98%,
then reading the created index file crashes:
Quote
...
[ADM_tsAccess] 22:48:12-676 Creating audio track, pid=84, muxing =0
[TsDemuxerer] Reading index
Saving crash file to Z:\...\crash.py
Crash Dump for Assert failed :3==sscanf(cur,"%" PRIx32":%" PRId64":%" PRId64,&len,&ppts,&ddts) at line 140, file /home/fx/hudson/workspace/mingw32QT5Mxe/avidemux_plugins/ADM_demuxers/MpegTS/ADM_tsReadIndex.cpp

ADM_setCrashHook  [libADM_core6.dll]
ADM_backTrack  [libADM_core6.dll]

Paint event
[abortExitHandler] 22:50:43-184 Abnormal exit handler, trying to clean up

See CDafv-170319.ts.idx2.7z (http://dl.free.fr/srpKMyZlD) (400 KB).

1) Is it indexing or reading code that is actually wrong?
2) If need be, I could upload (part of) the .ts file, but I would need to know which one is interested.

NB:
 *First time I ever get this crash.
 *"Regression": ADM 2.6.8 works fine with this .ts file.
Title: Re: Assert failed :3==sscanf(...) at line 140, file /.../ADM_tsReadIndex.cpp
Post by: mean on March 20, 2017, 05:13:30 AM
A stupidly long gop is processed at the end
Workaround : delete the very last long line just before [End]
Without the ts file i can't check why