NotEnoughAV1Encodes icon indicating copy to clipboard operation
NotEnoughAV1Encodes copied to clipboard

[BUG] NEAV1e terminated immediately when I click "encode" no matter portable or install version.

Open SynciaLin opened this issue 2 years ago • 6 comments

Describe the bug NEAV1e terminated immediately when I click "encode" no matter portal or install version. I can see an error message in Windows Event viewer related to .NET framework: System.NullReferenceException: Object reference not set to an instance of an object.

To Reproduce It's very easy to reproduce.

  1. Drag video file.
  2. Set destination.
  3. Click "encode"

I tried lossless RAW video recorded by Bandicam or H.264 video (.mp4), NEAV1E always crashes immediately when I click "encode".

Expected behavior Program should begin to encode.

Screenshots If applicable, add screenshots to help explain your problem.

Log File I attached my windows event viewer log, not sure if it helps.

Desktop (please complete the following information):

  • OS: Windows 10 x64 LTSC 21H2
  • NEAV1E Version: V2.1.5
  • Microsoft Visual C++ 2010 x64 redistributable 10.0.40219
  • Microsoft Visual C++ 2010 x86 redistributable 10.0.40219
  • Microsoft Visual C++ 2015-2022 Redistributable (x64) 14.36.32532
  • Microsoft Visual C++ 2015-2022 Redistributable (x86) 14.36.32532

Additional context NEav1e-crash.txt

SynciaLin avatar Oct 02 '23 06:10 SynciaLin

Hey, can you send me your project file, which is located under %appdata%\NEAV1E\Queue ?

Alkl58 avatar Oct 02 '23 09:10 Alkl58

Hi,

I just re-downloaded neave1 v2.1.5 again and installed, I don't know why it works now. I'm really sorry for this, not sure if it's my mistake.

I just re-tested my did video file which it failed several hours ago, but now it works and I don't know why.

DVD3.avi_vggqHAHGuvVkCcL.zip

SynciaLin avatar Oct 02 '23 09:10 SynciaLin

You are the third person in 3 weeks reporting a crash when clicking encode.

The stack trace you provided clearly shows an issue within NEAV1E, however in my debugging environment I rarely / never encounter a crash.

The problem is, that the stack trace doesn't clearly tell which object was null.

Alkl58 avatar Oct 02 '23 10:10 Alkl58

It's very weird, allow me to write down everything that I remember what I've done before:

  1. My first installed version is v2.1.4
  2. I encoded a 4k movie in AV1 format but I got a lot of chunk files. (It didn't merge into one file)
  3. I upgraded all plugins with neAV1e updater.
  4. Few weeks ago since then, I found my neAV1e terminated immediately when I was trying to encode.
  5. I uninstall neAV1e and install again, but it didn't work. (it happened today)
  6. I uninstall all Microsoft Visual C++ redistributable on my pc. (it happened today)
  7. Install x64 and x86 version of Visual C++ redistributable 2010 and 2015-2022 (it happened today), but neAV1e still not working.
  8. I uninstall neAV1e and re-download package and install it again, this time it seems working. (it happened today)

SynciaLin avatar Oct 02 '23 15:10 SynciaLin

I have experienced a crash when clicking encode, I don't have any more information except that I assumed it was because I hadn't added it to queue because it worked after adding it to queue and then clicking start encode

TheCodeHermit avatar Oct 12 '23 17:10 TheCodeHermit

I have experienced a crash when clicking encode, I don't have any more information except that I assumed it was because I hadn't added it to queue because it worked after adding it to queue and then clicking start encode

You solved it! I was facing the same crash since i didn't add to queue. What a STRANGE bug!!

Update: Spoke too soon. It sucks! Just a handful videos will begin encoding, the majority of the times it just crashes.

Neo166 avatar Dec 10 '23 22:12 Neo166