September 23, 2020, 02:02:39 am



copy/paste error (was 2.4.xx to 2.6)

Started by mean, November 06, 2014, 07:08:08 pm

Previous topic - Next topic


Old post removed.
Problem is copy/paste leading to a crash


November 07, 2014, 01:06:51 am #1 Last Edit: November 07, 2014, 05:18:17 am by AQUAR
Just by way of summarising the old post:

Avidemux crashes when using the fast forward/reverse keys when processing HD complex video streams.
This is observed mostly by users that run the program on the windows OS.
From a windows user perspective, the crash is a forced exit by way of an access violation.
The developer attributes a latency issue as the probable cause for this crash.
When using the linux OS, the copy/past function also triggers a crash due to this latency issue.
The copy/paste crash is also confirmed on the windows OS.

One thought:
Avidemux for windows in the repositories, is a crosscompiled product.
Natively compiling the source with MinGW, or another Toolchain, might produce tighter binaries and so benefit this issue.
A separate thread has been started to try and create a native avidemux build environment (not just for this issue, but inspired by it!).

Jan Gruuthuse

November 09, 2014, 07:30:13 am #2 Last Edit: November 09, 2014, 08:08:22 am by Jan Gruuthuse
Don't know if this is related or not?
While saving edited video, a 'free()' / pointer error showed up n terminal window, followed by avidemux 2.6.8 unexpected shut down. One of these could possible help:
1) Deleting the config2 (avidemux 2.6.8 settings file)
2) Rebuilding avidemux after kernel update (linux) (or a possible big windows update)
Or combination of the 2 that solved the issue.
Sorry have no log or documentation of these events.
As for now, I just notice these are not occurring, for now.

If not related at all, just let me know, I edit this posting.


The underlying issue that causes this crash seems to be mentioned in the recent patch section discussions about HEVC encoding.

The response from Mean:
What i've seen is some corner cases errors in the timing computation
That ends up requesting a frame at a time that does not exist => assert => crash

I am just curious if Windows OS is less able to deal with access violations than Linux OS.


December 23, 2014, 11:58:25 pm #4 Last Edit: December 24, 2014, 12:02:45 am by pitoloko
Hi everyone

Developers or helper users still working on that problem?

If yes then: How is going the forward/backward problem resolution? good results? I wonder yes.

There is any beta that I could test for Windows about this?, in the Avidemux sourceforge there is always the same v2.6.8 stable version... it is planning to update a the sourceforge pckages for endusers?

There is something that I could do about the backward/forward problem for you?

Thanks for read


Unless Mean tell you otherwise!
AFAIK nobody is working to specifically resolve this mostly windows issue.

It has been implied on a few occasions that this is a "corner case" issue.
Meaning an issue that presents only when you operationally push the program/hardware to extremes.

To maybe get a better idea of the where, how and why, look at building a debug version and run it through a native debugger.

Use the nightlies for the latest beta releases, as the sourceforce versions are merely milestone installer snapshots of these nighlies.


December 24, 2014, 09:03:19 am #7 Last Edit: December 24, 2014, 09:06:48 am by pitoloko
Thankyou guys.

I totally dissapoint about the reason/decission:
QuoteMeaning an issue that presents only when you operationally push the program/hardware to extremes.

I could understand whether an investigation or a fix will be discarded in case of "an issue that presents only when you operationally push the program/hardware to extremes",
but in my oppinion is not like that, it is AviDemux who is causing the hardware to extrem then crash, is not the hardware itself just for doing a simple and basic backward/forward operation :(

I wonder that it can be re-considered in the future to try solve this, thanks for all your work done in this, everyone.


December 24, 2014, 12:15:56 pm #9 Last Edit: December 24, 2014, 12:29:13 pm by AQUAR
@ Jan,  I didn't know about that gdb port. Interesting!

@ pitoloko, only the concept of FFW is simple.

Program Extreme = non linear resolving of HD fancy coded AVC frames very quickly.
OS Level = Differences in exception handling.
Hardware Level = Processing Capability.
Corner Case = Dependent on all of the above.

To think of it as just a coding bug is over simplifying the issue.
But like you I hope to see a fix - maybe the code can somehow be tweaked, maybe a new OS is better behaved, maybe PC processing power will overcome, maybe its a simple bug fix, or maybe the machine code produced is just not efficient enough ? ? ? ? ?