Sameer Parab
Sameer Parab

Reputation: 3

My 32 bit window application is crashing on Window 11 24H2 version

My 32-bit Windows application is crashing after updating to Windows 11 24H2, while it runs without issues on both earlier and later Windows versions.

The crash results in an "Out of Memory" error. The application is developed in ANSI C and installed using a Windows Installer. I am looking for a workaround to run it on Windows 11 24H2 without modifying the code.

Event Log Message:

Faulting application name: Application.exe, version: 1.24.1.0, time stamp: 0x61afe778 Faulting module name: Application.exe, version: 1.24.1.0, time stamp: 0x61afe778 Exception code: 0xc0000005 Fault offset: 0x0003896f Faulting process id: 0x2BD0 Faulting application start time: 0x1DB7E3A030EC62D Faulting application path: C:\Program Files (x86)\Application\Application.exe Faulting module path: C:\Program Files (x86)\Application\Application.exe Report Id: 8bf1851b-9a5d-48ba-ac67-818aef17abe2 Faulting package full name: Faulting package-relative application ID:

Upvotes: 0

Views: 120

Answers (1)

0___________
0___________

Reputation: 67835

0xc0000005 means access violation so translating it to C language terminology - you have Undefined Behavior in your code.

It works on Windows 10 by accident as it is an UB. It may stop "working" after next update.

I am looking for a workaround to run it on Windows 11 24H2 without modifying the code.

As your code invoked UB - you have to modify it to address this issue.

Upvotes: 1

Related Questions