Programs crashes with error code 0xc0000602

Issues related to VMProtect
Post Reply
lsxuyimin
Posts: 4
Joined: Sun May 26, 2024 8:41 am

Programs crashes with error code 0xc0000602

Post by lsxuyimin »

Here is the error info in eventviewer:
Faulting application name: *, version: 0.0.0.0, time stamp: 0x654116c1
Faulting module name: KERNELBASE.dll, version: 10.0.19041.4355, time stamp: 0xd7762934
Exception code: 0xc0000602
Fault offset: 0x000000000012d332
Faulting process id: 0x50c0
Faulting application start time: 0x01dab52bdfd9443b
Faulting application path: *
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: a221c95e-8548-4a5c-8ba5-4b11bdac4621
Faulting package full name:
Faulting package-relative application ID:
This problem occurs when users try to call a native function from a native dll(encrypted).
This dll is produced by C# native AOT compilation and exposes serveral exported native functions.
When certain function is called the programs 100% crashes, and when other functions are called they fail randomly(like twice a day, or crash once within 5 calls, I can't tell the exact steps to produce random crashes). The error code is always 0xc0000602.

The attachment is a screenshot of overview of my settings in VMP lite.

Can you help me?
Attachments
Capture.PNG
Capture.PNG (40.09 KiB) Viewed 4266 times
lsxuyimin
Posts: 4
Joined: Sun May 26, 2024 8:41 am

Re: Programs crashes with error code 0xc0000602

Post by lsxuyimin »

ps. This dll works well if unprotected, for a long time.
Last edited by lsxuyimin on Wed Jun 05, 2024 9:28 am, edited 1 time in total.
Admin
Site Admin
Posts: 2686
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: Programs crashes with error code 0xc0000602

Post by Admin »

VMProtect doesn't support binaries compiled with Native AOT because AOT uses return address from the stack for GC.
weloveayaka
Posts: 66
Joined: Wed Jul 05, 2023 6:21 am

Re: Programs crashes with error code 0xc0000602

Post by weloveayaka »

Admin wrote: Tue Sep 10, 2024 5:50 am VMProtect doesn't support binaries compiled with Native AOT because AOT uses return address from the stack for GC.
Sorry to hear that. We hope to have a solution for this in the future. We were just planning to use NativeAOT.
Post Reply