Avidemux Forum

Avidemux => Windows => Topic started by: jimmy on October 01, 2026, 02:59:48 PM

Title: Sep 22 nightly crashing
Post by: jimmy on October 01, 2026, 02:59:48 PM
The Sep 22 nightly has given multiple freeze-ups when using x264.
First last week after updating from the Sep 12 nightly and again this week after doing a clean install.
Last week and this week I rolled back to the Aug 6 nightly, same files, same workflows, no problems.
The Sep 12 also was problem free for the week I used it.

Maybe you can see something in the attached crash.py and admlog.

https://drive.google.com/file/d/1g133aSIetKL17zO4V37gcR_6IPZeC5qc/view?usp=sharing

https://drive.google.com/file/d/1XtiTp0Q1WO-njB70BDyNhYfh1kj44Irs/view?usp=sharing
Title: Re: Sep 22 nightly crashing
Post by: eumagga0x2a on October 02, 2026, 06:43:37 PM
I have seen this intermittent FFmpeg crash encoding audio to AC3 too, thank you for the log. Not related to x264 or anything else.
Title: Re: Sep 22 nightly crashing
Post by: eumagga0x2a on October 02, 2026, 08:13:17 PM
Please disable AVX and AVX2 SIMD in Avidemux Preferences --> CPU and report back whether this helps.
Title: Re: Sep 22 nightly crashing
Post by: jimmy on October 02, 2026, 10:44:55 PM
Thank-you.

Just for my own satisfaction, I reproduced the freeze-up on the first try.

Quote from: eumagga0x2a on October 02, 2026, 08:13:17 PMPlease disable AVX and AVX2 SIMD in Avidemux Preferences --> CPU and report back whether this helps.

This worked, Sep 22 nightly did not freeze-up.

Going forward, should AVX and AVX2 be kept disabled, or is that just for a temporary fix?
Title: Re: Sep 22 nightly crashing
Post by: eumagga0x2a on October 09, 2026, 06:25:32 AM
Quote from: jimmy on October 02, 2026, 10:44:55 PMGoing forward, should AVX and AVX2 be kept disabled, or is that just for a temporary fix?

Disabling AVX and AVX2 is a workaround, not a fix of any kind. Please try the 20261009 nightly from https://avidemux.org/nightly/win64/ (https://avidemux.org/nightly/win64/) without this workaround (i.e. with AVX and AVX2 enabled) and report back whether the tentative fix (https://github.com/mean00/avidemux2/commit/56bad81710866753d3c00318fbf9f9dd31647218) resolves the issue for you, thanks.
Title: Re: Sep 22 nightly crashing
Post by: eumagga0x2a on October 10, 2026, 02:08:11 PM
Quote from: eumagga0x2a on October 09, 2026, 06:25:32 AMPlease try the 20261009 nightly from https://avidemux.org/nightly/win64/ (https://avidemux.org/nightly/win64/) without this workaround (i.e. with AVX and AVX2 enabled) and report back whether the tentative fix (https://github.com/mean00/avidemux2/commit/56bad81710866753d3c00318fbf9f9dd31647218) resolves the issue for you, thanks.

I retract my request, for some unclear reason libavcodec AC3 encoder in my local build didn't crash with that patch a few times in a row. The "fix" hasn't solved the issue, unfortunately. Therefore disabling AVX and AVX2 is still required.
Title: Re: Sep 22 nightly crashing
Post by: jimmy on October 11, 2026, 01:10:30 AM
Ah, too late. Oct 09 nightly, AVX and AVX2 enabled...

Two tests, two different files, freeze-up both times.

I shall stick with Sep 12 for now.
Title: Re: Sep 22 nightly crashing
Post by: eumagga0x2a on October 12, 2026, 07:17:51 PM
Quote from: jimmy on October 11, 2026, 01:10:30 AMI shall stick with Sep 12 for now.

I don't think that going back from FFmpeg 9.0.2 to FFmpeg 7.0.2 is a sound strategy, at least as long as disabling AVX/AVX2 is enough to work around the crashes.
Title: Re: Sep 22 nightly crashing
Post by: jimmy on October 18, 2026, 05:57:57 PM
Quote from: eumagga0x2a on October 12, 2026, 07:17:51 PMI don't think that going back from FFmpeg 9.0.2 to FFmpeg 7.0.2 is a sound strategy, at least as long as disabling AVX/AVX2 is enough to work around the crashes.

Good advice, which I followed.

Oct 18 nightly, enabled AVX and AVX2, no crash encoding to AC3.