Bugs?.Net Program with vmprotect 3.5.0.1229 protect cause a uncatch error code 0xc0000409 in clr.dll

Issues related to VMProtect
wxscript
Posts: 6
Joined: Fri Mar 05, 2021 3:42 am

Bugs?.Net Program with vmprotect 3.5.0.1229 protect cause a uncatch error code 0xc0000409 in clr.dll

Postby wxscript » Fri Mar 05, 2021 4:00 am

hello Admin

my .Net application protected by vmprotect 3.5.0.1229 . but cause a error that .net framework count not catch any error by ExceptionHandle.

//设置应用程序处理异常方式:ThreadException处理
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);
//处理UI线程异常
Application.ThreadException += new System.Threading.ThreadExceptionEventHandler(Application_ThreadException);
//处理非UI线程异常
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);

the windows event log records seems that , clr crash code is 0xc0000409

i find a topic similar as my problem , links as : viewtopic.php?t=17844 , https://bbs.csdn.net/topics/392084751?t=123&list=lz

i can comfirm that without protection , my .Net application run in debug build can nou cause this error.

this error seems casue a stack overflow bugs.

please help me..

错误应用程序名称: TestVersion.exe,版本: 1.0.0.0,时间戳: 0x60408d34
错误模块名称: clr.dll,版本: 4.8.4341.0,时间戳: 0x6023024f
异常代码: 0xc0000409
错误偏移量: 0x0060cd78
错误进程 ID: 0x4c48
错误应用程序启动时间: 0x01d710c925eb5042
错误应用程序路径:TestVersion.exe
错误模块路径: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
报告 ID: 195a2d8b-7074-4d5d-8e83-0d79494204bf
错误程序包全名:
错误程序包相对应用程序 ID:

Admin
Site Admin
Posts: 2064
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: Bugs?.Net Program with vmprotect 3.5.0.1229 protect cause a uncatch error code 0xc0000409 in clr.dll

Postby Admin » Thu Mar 11, 2021 6:10 am

Please try the latest build.

wxscript
Posts: 6
Joined: Fri Mar 05, 2021 3:42 am

.Net Program with vmprotect 3.5.0.1265 protect also cause a uncatch error code 0xc0000409 in clr.dll

Postby wxscript » Thu Mar 11, 2021 2:51 pm

Admin wrote:Please try the latest build.


Hello Admin,

I was receive the latest build 3.5.0.1265 , but the problem still exist.

because of my .net app is a large program , i can not get the exact Fault location .

could you give me some reason which could cause clr crash as error code 0xc0000409?

or how to trace stack in protected mode.

wxscript
Posts: 6
Joined: Fri Mar 05, 2021 3:42 am

Re: Bugs?.Net Program with vmprotect 3.5.0.1229 protect cause a uncatch error code 0xc0000409 in clr.dll

Postby wxscript » Thu Mar 11, 2021 3:27 pm

Oh,i build example and send it to info@vmpsoft.com <info@vmpsoft.com>; >_< forum attachments cause error that i count not upload it

run it ,wait half an hour, crash

Admin
Site Admin
Posts: 2064
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: Bugs?.Net Program with vmprotect 3.5.0.1229 protect cause a uncatch error code 0xc0000409 in clr.dll

Postby Admin » Fri Mar 12, 2021 5:28 am

We have checked your example and it works fine.

wxscript
Posts: 6
Joined: Fri Mar 05, 2021 3:42 am

Re: Bugs?.Net Program with vmprotect 3.5.0.1229 protect cause a uncatch error code 0xc0000409 in clr.dll

Postby wxscript » Sat Mar 13, 2021 1:17 pm

my example is not an immediate crash. could you give me you clr.dll version? my clr.dll version is 4.8.4341.0

i can not confirm the problem is a .net rumtime bug , or is vmprotect bug.

i test my .net app on 3 computers , both windows 10 , the error same . clr.dll version is 4.8.4300.0 \ 4.8.4341.0

parita85
Posts: 3
Joined: Tue Aug 18, 2020 5:11 am

Re: Bugs?.Net Program with vmprotect 3.5.0.1229 protect cause a uncatch error code 0xc0000409 in clr.dll

Postby parita85 » Wed Jul 21, 2021 7:56 am

Dear Admin,

I have the same problem which is on going via this thread. here is the detail.

I have VMProtect Professional version 3.5.0. I have protected my two dotnet desktop application. one is developed using WPF and another I have developed using Window C#. In both of this application if system is either idle for a long duration e.g 10 mins sometime or sometime 2 mins also And in another WPF system if my printing is going on then in between of that , I am getting below error in event log of window 10/ 7 operating system.
Error Detail:-
Faulting application name: MYEXE.exe, version: 1.12.0.0, time stamp: 0x8597da96
Faulting module name: clr.dll, version: 4.0.30319.34209, time stamp: 0x5348961e
Exception code: 0xc0000409
Fault offset: 0x002ec083
Faulting process id: 0xff0
Faulting application start time: 0x01d77a3050d6d39d
Faulting application path:
Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Report Id: e2c2b22d-e62c-11eb-8853-1c1b0d312693

Issue is there so might be I can not share my full project and even it's uncertain problem not sure always come but suddenly system stop working and from my both the project , I am getting the above log.

Without protection , it's working perfectly.

Only Memory protection is On , rest all the options are off.

Thanks,
Parita