Author Topic: [Windows XP] v2.6.12 (to v2.6.15) crashes when trying to play .ts files  (Read 686 times)

mm0359

  • Full Member
  • ***
  • Posts: 100
Windows: XP. (win32)

v2.6.8,
v2.6.9-v2.6.11 // + usp10.dll
play .ts files fine.
(I didn't try other file types.)

  Avidemux v2.6.11 (160210_f4e7b7ff081) . // Debug. // + usp10.dll
crashes immediately, without dialog/log.

  Avidemux v2.6.11 (160214_a3a02ad5fe1) . // Debug. // + usp10.dll
Code: [Select]
EXCEPTION_ACCESS_VIOLATION
wscanf  [msvcrt.dll]
Dialog has a longer "stack"...

  Avidemux v2.6.11 (160218_2bbe6ad3783) . // Debug. // + usp10.dll
Code: [Select]
EXCEPTION_ACCESS_VIOLATION
wscanf  [msvcrt.dll]
Crash Dump for ExceptionFilter
EXCEPTION_ACCESS_VIOLATION
wscanf  [msvcrt.dll]
ADM_setCrashHook  [libADM_core6.dll]
ADM_setCrashHook  [libADM_core6.dll]
UnhandledExceptionFilter  [kernel32.dll]
FindAtomW  [kernel32.dll]

  Avidemux v2.6.12 (0) . // + usp10.dll
  Avidemux v2.6.13 (0) . // + usp10.dll
  Avidemux v2.6.14 (0) .
  Avidemux v2.6.14 (160927_ef745605b41) .
Code: [Select]
...
Scripting muxer
EXCEPTION_ACCESS_VIOLATION
wscanf  [msvcrt.dll]
Crash Dump for ExceptionFilter
EXCEPTION_ACCESS_VIOLATION
wscanf  [msvcrt.dll]
ADM_setCrashHook  [libADM_core6.dll]
ADM_setCrashHook  [libADM_core6.dll]
FindAtomW  [kernel32.dll]

Issue 1: Do not crash.
Issue 2: Play file.

Windows Vista works fine:
Windows XP only issue.
« Last Edit: December 29, 2016, 10:49:21 AM by mm0359 »

mm0359

  • Full Member
  • ***
  • Posts: 100
Re: [Windows XP] v2.6.12 (to v2.6.14) crashes when trying to play .ts files
« Reply #1 on: September 29, 2016, 09:57:36 PM »
Not the same exception,
yet this issue (timeframe) looks very much like
[Windows XP] v2.6.12 (to v2.6.14) hangs when trying to convert audio
as in "same/similar root cause".

(Maybe, here, it's playing the audio which crashes?)
« Last Edit: September 30, 2016, 12:27:45 PM by mm0359 »

mm0359

  • Full Member
  • ***
  • Posts: 100
Re: [Windows XP] v2.6.12 (to v2.6.14) crashes when trying to play .ts files
« Reply #2 on: October 24, 2016, 10:34:00 PM »
  Avidemux v2.6.14 (161024_8b5bfb9baa1) .

Fwiw, I (had) tried to change some preferences in User Interface, Audio and Display:
same error.

mm0359

  • Full Member
  • ***
  • Posts: 100
Re: [Windows XP] v2.6.12 (to v2.6.14) crashes when trying to play .ts files
« Reply #3 on: October 29, 2016, 04:50:10 PM »
Updated exception stack after upgrading Windows XP to SP3 (from "SP2"):
ValidateLocale, instead of FindAtomW.
Code: [Select]
  Avidemux v2.6.14 (161024_8b5bfb9baa1) .

...
Scripting muxer
EXCEPTION_ACCESS_VIOLATION
wscanf  [msvcrt.dll]
Crash Dump for ExceptionFilter
EXCEPTION_ACCESS_VIOLATION
wscanf  [msvcrt.dll]
ADM_setCrashHook  [libADM_core6.dll]
ADM_setCrashHook  [libADM_core6.dll]
ValidateLocale  [kernel32.dll]

mm0359

  • Full Member
  • ***
  • Posts: 100
Re: [Windows XP] v2.6.12 (to v2.6.14) crashes when trying to play .ts files
« Reply #4 on: October 31, 2016, 04:17:12 AM »
Installed Debug Diagnostic Tool 1.2:

Code: [Select]
  Avidemux v2.6.14 (161024_8b5bfb9baa1) .


Type of Analysis Performed   Crash Analysis

Thread 0 - System ID 3896
Entry point   avidemux+14c0

Full Call Stack

Function     Arg 1     Arg 2     Arg 3     Arg 4   Source
msvcrt!_output+655     0022c608     0061eb14     0022c658     00000000   
msvcrt!vsnprintf+2f     65755980     000003ff     0061eb14     0022c658   
libADM_core6!ADM_info2+27     0061ec99     0061eb14     00000000     05273c10   
avidemux!ZN25ADM_edAudioTrackFromVideo12getPCMPacketEPfjPjPy+2dc     00000000     00030d40     0022c728     0000bb80   
avidemux!ZNSt6vectorIP15AUDMAudioFilterSaIS1_EE19_M_emplace_back_auxIIS1_EEEvDpOT_+6e     0022c6dc     00000002     00000000     00000000   
avidemux!Z20ADM_buildFilterChainP16ADM_edAudioTrackPSt6vectorIP15AUDMAudioFilterSaIS3_EEP22ADM_AUDIOFILTER_CONFIG+1c5     06b60030     00046500     0022c704     0022c708   
avidemux!ZN22AUDMAudioFilter_Bridge18fillIncomingBufferEP10AUD_Status+7c     040d4f38     0022c8ac     0005dc00     00000000   
libADM_ad_Mad!ZN17ADM_AudiocodecMP314resetAfterSeekEv+4c     00000000     00000000     00000000     00000000   

Exception Information
...
the assembly instruction at msvcrt!_output+655 in ...\msvcrt.dll from Microsoft Corporation has caused an access violation exception (0xC0000005) when trying to read from memory location 0x00000000 on thread 0

Symbol File Name:  ...\msvcrt.pdb\7BCF30D8C91B4F1B85FA4E55896250111\msvcrt.pdb

Code: [Select]
  Avidemux v2.6.13 (160825_dbff7c1aee7) . // Debug


Type of Analysis Performed   Crash Analysis

Thread 0 - System ID 3344
Entry point   avidemux+14c0

Full Call Stack

Function     Arg 1     Arg 2     Arg 3     Arg 4   Source
msvcrt!_output+655     0022c358     00630f90     0022c3d8     0042cd44   
msvcrt!_vsnprintf+2f     65554140     000003ff     00630f90     0022c3d8   
libADM_core6!ZN7CpuCaps6hasMMXEv+44a     65554140     000003ff     00630f90     0022c3d8   
libADM_core6!ADM_info2+2e     00631293     00630f90     00000000     07a08b70   
avidemux!ZN25ADM_edAudioTrackFromVideo12getPCMPacketEPfjPjPy+189     094e0030     00046500     0022c494     0022c488   
avidemux!ZN22AUDMAudioFilter_Bridge18fillIncomingBufferEP10AUD_Status+d6     0022c5ac     0000000f     00000000     07b5bdf8   
avidemux!ZN22AUDMAudioFilter_Bridge4fillEjPfP10AUD_Status+8d     0008ca00     097d0030     0022c5ac     06192c00   
libADM_coreAudioFilterAPI6!ZN15AUDMAudioFilter18fillIncomingBufferEP10AUD_Status+83     0022c5ac     0022c548     77c29e64     00177000   
avidemux!ZN20AUDMAudioFilterMixer4fillEjPfP10AUD_Status+75     00000002     09ac0030     0022c5ac     07d1f9a0   
avidemux!ZN11GUIPlayback15initializeAudioEv+174     000002d0     00000240     00000002     000000e8   
avidemux!ZN11GUIPlayback10initializeEv+169     00000048     00000000     ffffffee     77c418cd   
avidemux!Z11GUI_PlayAviv+163     004c0fc0     004c041c     004c2aed     023be51b   
avidemux!Z12HandleAction6Action+a8f     00000005     0022cc00     0022cc38     056e8988   
...

Exception Information
...
the assembly instruction at msvcrt!_output+655 in ...\msvcrt.dll from Microsoft Corporation has caused an access violation exception (0xC0000005) when trying to read from memory location 0x00000000 on thread 0

Symbol File Name:  ...\msvcrt.pdb\7BCF30D8C91B4F1B85FA4E55896250111\msvcrt.pdb


As a confirmation (with DDT active),
Code: [Select]
  Avidemux v2.6.11 (0) .

...
[goToTime]  go to time 0.20 secs
[goToTime] => seg 0, rel time 0.20 secs
[AudioStream] Warning skew in dts =476766,
[AudioStream] Warning skew lastDts=00:00:00,200
[AudioStream] Warning skew newDts=00:00:00,676 
[Composer::getPCMPacket] Track 0,318f5d8 : drift -476766, computed :200000 got 676766
[Composer::getPCMPacket] Track 0,318f5d8 : drift -391433, computed :285333 got 676766
[Composer::getPCMPacket] Track 0,318f5d8 : drift -306099, computed :370667 got 676766
[Composer::getPCMPacket] Track 0,318f5d8 : drift -220766, computed :456000 got 676766
[Composer::getPCMPacket] Track 0,318f5d8 : drift -135433, computed :541333 got 676766
[Composer::getPCMPacket] Track 0,318f5d8 : drift -50099, computed :626667 got 676766
...
v2.6.12/+ log ends just before the "Composer::getPCMPacket" lines!

NB: This example is with my LoadTst.ts file.
« Last Edit: October 31, 2016, 06:33:50 AM by mm0359 »

mm0359

  • Full Member
  • ***
  • Posts: 100
Re: [Windows XP] v2.6.12 (to v2.6.14) crashes when trying to play .ts files
« Reply #5 on: November 18, 2016, 01:37:47 PM »
(Maybe, here, it's playing the audio which crashes?)

  Avidemux v2.6.14 (161117_c9d2a656a61) .

Indeed: unselect Audio tracks, then Video plays fine!

mm0359

  • Full Member
  • ***
  • Posts: 100
Re: [Windows XP] v2.6.12 (to v2.6.14) crashes when trying to play .ts files
« Reply #6 on: December 29, 2016, 10:48:23 AM »

Dron007

  • Newbie
  • *
  • Posts: 1
Re: [Windows XP] v2.6.12 (to v2.6.15) crashes when trying to play .ts files
« Reply #7 on: January 03, 2017, 05:09:25 PM »
I have the same problem in WnXP and v2.6.16.
When I deselect audio tracks file plays correctly. But I need audio too for correct cutting. Any chances it would be fixed?

File: TS
Video: MPEG4 Video (H264) 320x568 120fps [V: h264 high L2.1, yuv420p, 320x568
Audio: AAC 44100Hz mono 65kbps [A: aac lc, 44100 Hz, mono, 65 kb/s]