Hello,
Every time I try to export a video (a few minutes long) in Cubase 15, I get a crash at the end of the processing (almost every time).
The same project can be successfully exported as video using Cubase 14.
The error always points to mfh264enc.dll
Video codec info:
Format: MPEG-4
Format profile: Base Media / Version 2
Codec ID: mp42 (mp42/isom/avc1)
Many thanks!
************* Path validation summary **************
Response Time (ms) Location
Deferred srv*
************* Preparing the environment for Debugger Extensions Gallery repositories **************
ExtensionRepository : Implicit
UseExperimentalFeatureForNugetShare : true
AllowNugetExeUpdate : true
NonInteractiveNuget : true
AllowNugetMSCredentialProviderInstall : true
AllowParallelInitializationOfLocalRepositories : true
EnableRedirectToChakraJsProvider : false
-- Configuring repositories
----> Repository : LocalInstalled, Enabled: true
----> Repository : UserExtensions, Enabled: true
>>>>>>>>>>>>> Preparing the environment for Debugger Extensions Gallery repositories completed, duration 0.000 seconds
************* Waiting for Debugger Extensions Gallery to Initialize **************
>>>>>>>>>>>>> Waiting for Debugger Extensions Gallery to Initialize completed, duration 0.031 seconds
----> Repository : UserExtensions, Enabled: true, Packages count: 0
----> Repository : LocalInstalled, Enabled: true, Packages count: 46
Microsoft (R) Windows Debugger Version 10.0.29547.1002 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
Loading Dump File [C:\Share\Cubase 15.0.21 64bit2026.6.8 23.07.11.234.dmp]
User Mini Dump File: Only registers, stack and portions of memory are available
************* Path validation summary **************
Response Time (ms) Location
Deferred srv*
Symbol search path is: srv*
Executable search path is:
Windows 10 Version 22631 MP (32 procs) Free x64
Product: WinNt, suite: SingleUserTS
Edition build lab: 22621.1.amd64fre.ni_release.220506-1250
Debug session time: Mon Jun 8 23:07:11.000 2026 (UTC + 2:00)
System Uptime: 0 days 2:15:15.927
Process Uptime: 0 days 0:00:50.000
..................................................
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr
(1b58.5638): Access violation - code c0000005 (first/second chance not available)
+------------------------------------------------------------------------+
| This target supports Hardware-enforced Stack Protection. A HW based |
| "Shadow Stack" may be available to assist in debugging and analysis. |
| See aka.ms/userhsp for more info. |
| |
| dps @ssp |
| |
+------------------------------------------------------------------------+
For analysis of this file, run !analyze -v
ntdll!NtGetContextThread+0x14:
00007ffb`0c7d1284 c3 ret
0:267> !analyze -v
..................................................
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*** WARNING: Check Image - Checksum mismatch - Dump: 0x956c2, File: 0x9656c - C:\ProgramData\Dbg\sym\mfh264enc.dll\EC3B840596000\mfh264enc.dll
KEY_VALUES_STRING: 1
Key : AV.Dereference
Value: NullPtr
Key : AV.Type
Value: Read
Key : Analysis.CPU.mSec
Value: 515
Key : Analysis.Elapsed.mSec
Value: 1256
Key : Analysis.IO.Other.Mb
Value: 0
Key : Analysis.IO.Read.Mb
Value: 1
Key : Analysis.IO.Write.Mb
Value: 0
Key : Analysis.Init.CPU.mSec
Value: 406
Key : Analysis.Init.Elapsed.mSec
Value: 22715
Key : Analysis.Memory.CommitPeak.Mb
Value: 98
Key : Analysis.Version.DbgEng
Value: 10.0.29547.1002
Key : Analysis.Version.Description
Value: 10.2602.27.2 amd64fre
Key : Analysis.Version.Ext
Value: 1.2602.27.2
Key : Failure.Bucket
Value: INVALID_POINTER_READ_c0000005_mfh264enc.dll!GetSAD16x16_SSE3
Key : Failure.Exception.Code
Value: 0xc0000005
Key : Failure.Exception.IP.Address
Value: 0x7ffad0395202
Key : Failure.Exception.IP.Module
Value: mfh264enc
Key : Failure.Exception.IP.Offset
Value: 0x15202
Key : Failure.Hash
Value: {ba2b62ba-0be1-d5f3-40aa-5bb8cb06416f}
Key : Failure.ProblemClass.Primary
Value: INVALID_POINTER_READ
Key : Faulting.IP.Type
Value: Paged
Key : Timeline.OS.Boot.DeltaSec
Value: 8115
Key : Timeline.Process.Start.DeltaSec
Value: 50
Key : WER.OS.Branch
Value: ni_release
Key : WER.OS.Version
Value: 10.0.22621.1
Key : WER.Process.Version
Value: 1.2.0.252
FILE_IN_CAB: Cubase 15.0.21 64bit2026.6.8 23.07.11.234.dmp
CONTEXT: (.ecxr)
rax=00007ffad03951f0 rbx=000000007d6c06d0 rcx=0000000000000000
rdx=0000000000000000 rsi=0000000000000000 rdi=000000000000069e
rip=00007ffad0395202 rsp=0000000029abfac8 rbp=0000000029abfa40
r8=0000000000000000 r9=0000000000000001 r10=bac00efe5e5bd370
r11=0000000029abfac0 r12=0000000000000000 r13=00000000b7159140
r14=0000000000000000 r15=00000000afa10340
iopl=0 nv up ei ng nz na pe nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010286
mfh264enc!GetSAD16x16_SSE3:
00007ffa`d0395202 f2410ff008 lddqu xmm1,xmmword ptr [r8] ds:00000000`00000000=????????????????????????????????
Resetting default scope
EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 00007ffad0395202 (mfh264enc!GetSAD16x16_SSE3)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 0000000000000000
Parameter[1]: 0000000000000000
Attempt to read from address 0000000000000000
PROCESS_NAME: Cubase15.exe
READ_ADDRESS: 0000000000000000
ERROR_CODE: (NTSTATUS) 0xc0000005 - L'istruzione a 0x%p ha fatto riferimento alla memoria a 0x%p. La memoria non poteva essere %s.
EXCEPTION_CODE_STR: c0000005
EXCEPTION_PARAMETER1: 0000000000000000
EXCEPTION_PARAMETER2: 0000000000000000
STACK_TEXT:
00000000`29abfac8 00007ffa`d03b00e6 : 00000000`7d6c06d0 00000000`29abfb48 00000000`00000000 00000000`91a575f8 : mfh264enc!GetSAD16x16_SSE3
00000000`29abfad0 00007ffa`d03b0985 : 00000000`00000000 00000000`000001e0 00000000`b7159140 00000000`29abfc6c : mfh264enc!CEncoder::EarlySkip+0x446
00000000`29abfb90 00007ffa`d03ac1e7 : 00000000`b7159140 00000000`00000000 00000000`9aab73e0 00000000`00000001 : mfh264enc!CEncoder::EncodeMB_P+0x26d
00000000`29abfd00 00007ffa`d03ad090 : 00000000`9aab73e0 00000000`a352b4d8 00000000`00000000 00000000`00000001 : mfh264enc!CEncoder::EncodePBSlice+0x227
00000000`29abfde0 00007ffa`d03a3ed9 : 00000000`9aab73e0 00000000`a352b4d8 00000000`00000005 00000000`00000001 : mfh264enc!CEncoder::EncodeSlice+0x664
00000000`29abfea0 00007ffb`0b90257d : 00000000`00000005 00000000`00082381 00000000`a352b4d8 00000012`e573b3c8 : mfh264enc!WorkerProc+0x239
00000000`29abff30 00007ffb`0c78aa58 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x1d
00000000`29abff60 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x28
IP_IN_PAGED_CODE:
mfh264enc!GetSAD16x16_SSE3+0
00007ffa`d0395202 f2410ff008 lddqu xmm1,xmmword ptr [r8]
SYMBOL_NAME: mfh264enc!GetSAD16x16_SSE3+29abfac0
MODULE_NAME: mfh264enc
IMAGE_NAME: mfh264enc.dll
STACK_COMMAND: ~267s; .ecxr ; kb
FAILURE_BUCKET_ID: INVALID_POINTER_READ_c0000005_mfh264enc.dll!GetSAD16x16_SSE3
OS_VERSION: 10.0.22621.1
BUILDLAB_STR: ni_release
OSPLATFORM_TYPE: x64
OSNAME: Windows 10
IMAGE_VERSION: 10.0.22621.1
FAILURE_ID_HASH: {ba2b62ba-0be1-d5f3-40aa-5bb8cb06416f}
Followup: MachineOwner
---------
Hi,
It’s a crash inside the Microsoft H.264 encoder (mfh264enc.dll ), in the GetSAD16x16_SSE3 routine, on an encoder worker thread.
Concrete things you can do:
- Make sure Windows is fully updated so you have the latest Media Foundation bits and codecs.
- Update GPU drivers (Intel/NVIDIA/AMD) from vendor site; HW encoder/decoder paths can be involved even if you think you’re using software only.
- Run
sfc /scannow and optionally DISM restore-health to verify system DLL integrity if you suspect corruption.
Hi,
Thanks for the suggestions. My Windows 11 is currently on version 23H2, so I can’t apply the full update just yet — I’ll do it as soon as I’m able to upgrade.