Page 1 of 1

Using any SDK function in .NET causes deadlock on "Saving..."

Posted: Sat Aug 03, 2019 3:05 pm
by 3dsboy08
Seems that using any sort of SDK functionality in .NET VMProtect causes a deadlock on the "Saving..." phase (stuck at 0%)

https://i.vgy.me/AO66Z3.png

Example code:

Code: Select all

    public class VMPTest
    {
        [BeginVirtualization]
        public static void Main(string[] args)
        {
            if (SDK.IsDebuggerPresent(true))
            {
                Console.WriteLine("Debugger detected!");
                Console.ReadLine();
            }
            else
            {
                Console.WriteLine("Debugger not detected!");
                Console.ReadLine();
            }
        }
    }
Example program (just compiled from above):
https://anonfile.com/T5p4ff23nf/VMPNetTesting_exe

If you need my SDK DLL you can DM/email me.

Re: Using any SDK function in .NET causes deadlock on "Saving..."

Posted: Sat Aug 03, 2019 4:18 pm
by Admin
Please send your example to [email protected]

Re: Using any SDK function in .NET causes deadlock on "Saving..."

Posted: Sat Aug 03, 2019 5:14 pm
by x22x22
I have same problem and I don't use any sdk function.

Re: Using any SDK function in .NET causes deadlock on "Saving..."

Posted: Sat Aug 03, 2019 5:38 pm
by 3dsboy08
x22x22 wrote:I have same problem and I don't use any sdk function.
Do you enable the anti-VM or anti-debug in the VMProtect settings? Its also reproducable this way aswell.
Admin wrote:Please send your example to [email protected]
Done, check your email.

Re: Using any SDK function in .NET causes deadlock on "Saving..."

Posted: Sat Aug 03, 2019 6:06 pm
by Admin

Re: Using any SDK function in .NET causes deadlock on "Saving..."

Posted: Sat Aug 03, 2019 6:38 pm
by x22x22
3dsboy08 wrote: Do you enable the anti-VM or anti-debug in the VMProtect settings? Its also reproducable this way aswell.
I'm using just virtualization on some functions.

Also, did you try it after the update?
The problem still continues for me :(

Re: Using any SDK function in .NET causes deadlock on "Saving..."

Posted: Sat Aug 03, 2019 8:07 pm
by Lafko
Same problem in 1130. And i have error "Invalid token type: call..." and its so hard to find Methud to delete

Re: Using any SDK function in .NET causes deadlock on "Saving..."

Posted: Sat Aug 03, 2019 8:30 pm
by Admin
And i have error "Invalid token type: call..."
Please send us a test example.

Re: Using any SDK function in .NET causes deadlock on "Saving..."

Posted: Sat Aug 03, 2019 9:25 pm
by 3dsboy08
Admin wrote:Fixed in the 1031 build:
http://vmpsoftware.com/files/VMProtectDemo.exe
How could I get this new build? I have a 'Professional' license for VMProtect and did not get an email for this update. If the new build could either be sent to my email address or some way of activating the demo with my license, it would be nice. Thanks!

Edit: Got it now.