VMProtect Professional for macOS v3.8.3.1740 doesn't work on Apple Silicon

Issues related to VMProtect
Post Reply
choochmeque
Posts: 4
Joined: Sat Dec 17, 2022 12:40 pm

VMProtect Professional for macOS v3.8.3.1740 doesn't work on Apple Silicon

Post by choochmeque »

Hello!

VMProtect application (v3.8.3.1740) and also applications protected by this version of VMProtect don't work on Apple Silicon (M1, M2).

Code: Select all

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               vmprotect_gui [52522]
Path:                  /Applications/VMProtect Pro.app/Contents/MacOS/vmprotect_gui
Identifier:            com.vmpsoft.vmprotect
Version:               3.8.3 (1740)
Code Type:             X86-64 (Translated)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2023-06-27 12:52:26.6993 +0500
OS Version:            macOS 13.2.1 (22D68)
Report Version:        12
Anonymous UUID:        3C0F7C4B-2625-1EE5-AEBB-90708B2DED43

Sleep/Wake UUID:       B418EB21-F6B9-4463-BB6E-480CC80426DD

Time Awake Since Boot: 65000 seconds
Time Since Wake:       1016 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x00000003116ab94b
Exception Codes:       0x0000000000000001, 0x00000003116ab94b

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [52522]

VM Region Info: 0x3116ab94b is not in any region.  Bytes after previous region: 149739852  Bytes before following region: 54468626101
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      Stack                       308759000-3087de000    [  532K] rw-/rwx SM=PRV  thread 3
--->  GAP OF 0xcb7822000 BYTES
      commpage (reserved)         fc0000000-1000000000   [  1.0G] ---/--- SM=NUL  ...(unallocated)

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   <translation info unavailable>	       0x1038f27dc ???
1   <translation info unavailable>	       0x1038f26b4 ???
2   ???                           	       0x1036fd4e3 ???
3   ???                           	          0xb50000 ???
4   ???                           	       0x3086cfccd ???

Thread 1:: com.apple.rosetta.exceptionserver
0   runtime                       	    0x7ff7fff2b614 0x7ff7fff27000 + 17940
1   runtime                       	    0x7ff7fff37530 0x7ff7fff27000 + 66864
2   runtime                       	    0x7ff7fff38f30 0x7ff7fff27000 + 73520

Thread 2:
0   runtime                       	    0x7ff7fff4987c 0x7ff7fff27000 + 141436

Thread 3:
0   runtime                       	    0x7ff7fff4987c 0x7ff7fff27000 + 141436


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0xffffffffab84d511  rbx: 0x2c4ff80346cb80f4  rcx: 0xfffffffffff0346a  rdx: 0x000000000000ffff
  rdi: 0x00000000f7026afe  rsi: 0x0000000102e9f70a  rbp: 0x00000003086cbb88  rsp: 0x00000003086cb948
   r8: 0x00000000f4b7f7b4   r9: 0x0000000102ea4a0d  r10: 0x000000000000002e  r11: 0x00000000000000ee
  r12: 0x000000010378ea48  r13: 0x0000000100b50860  r14: 0x0000000100b54f6b  r15: 0x00000003086cc0e8
  rip: <unavailable>       rfl: 0x0000000000000282
 tmp0: 0x0000000008fe0003 tmp1: 0x00000003086cb976 tmp2: 0x00000001036fd4e3


Binary Images:
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
    0x7ff7fff27000 -     0x7ff7fff56fff runtime (*) <f066db2c-ed38-3f37-8d21-81d15fa908fe> /usr/libexec/rosetta/runtime

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 4
    thread_create: 0
    thread_set_state: 4

VM Region Summary:
ReadOnly portion of Libraries: Total=402.1M resident=0K(0%) swapped_out_or_unallocated=402.1M(100%)
Writable regions: Total=688.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=688.9M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
.0~I                                32K        1 
.M^:                              18.2M        1 
.`/B                              10.4M        1 
Activity Tracing                   256K        1 
Kernel Alloc Once                    8K        1 
MALLOC                           146.2M       13 
MALLOC guard page                   96K        4 
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
Rosetta Arena                     4096K        2 
Rosetta Generic                   1072K      265 
Rosetta IndirectBranch              96K        2 
Rosetta JIT                      128.0M        1 
Rosetta Return Stack                60K        6 
Rosetta Thread Context              60K        6 
STACK GUARD                          8K        2 
Stack                             9240K        3 
Stack Guard                       56.0M        1 
VM_ALLOCATE                       12.0M       11 
VM_ALLOCATE (reserved)               8K        1         reserved VM address space (unallocated)
__DATA                            15.3M      284 
__DATA_CONST                      13.1M      170 
__DATA_DIRTY                       632K       95 
__FONT_DATA                        2352        1 
__LINKEDIT                       172.3M       15 
__OBJC_RO                         65.4M        1 
__OBJC_RW                         1987K        2 
__TEXT                           245.3M      303 
dyld private memory                516K        3 
mapped file                        4.1G     1243 
shared memory                       64K        4 
unshared pmap                     3728K        2 
===========                     =======  ======= 
TOTAL                              5.4G     2446 
TOTAL, minus reserved VM space     5.0G     2446 



-----------
Full Report
-----------

{"app_name":"vmprotect_gui","timestamp":"2023-06-27 12:52:27.00 +0500","app_version":"3.8.3","slice_uuid":"6f893acd-a3e4-3893-b4ec-7aeebc6957c9","build_version":"1740","platform":1,"bundleID":"com.vmpsoft.vmprotect","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.2.1 (22D68)","roots_installed":0,"name":"vmprotect_gui","incident_id":"AEC90487-B391-454C-99D4-72D1718531A8"}
{
  "uptime" : 65000,
  "procRole" : "Default",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "Mac14,5",
  "coalitionID" : 39157,
  "osVersion" : {
    "train" : "macOS 13.2.1",
    "build" : "22D68",
    "releaseType" : "User"
  },
  "captureTime" : "2023-06-27 12:52:26.6993 +0500",
  "incident" : "AEC90487-B391-454C-99D4-72D1718531A8",
  "pid" : 52522,
  "translated" : true,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-06-27 12:52:26.5904 +0500",
  "procStartAbsTime" : 1581608957689,
  "procExitAbsTime" : 1581611566858,
  "procName" : "vmprotect_gui",
  "procPath" : "\/Applications\/VMProtect Pro.app\/Contents\/MacOS\/vmprotect_gui",
  "bundleInfo" : {"CFBundleShortVersionString":"3.8.3","CFBundleVersion":"1740","CFBundleIdentifier":"com.vmpsoft.vmprotect"},
  "storeInfo" : {"deviceIdentifierForVendor":"7A81A8E6-914C-51F3-8526-93C5812E9E50","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.vmpsoft.vmprotect",
  "crashReporterKey" : "3C0F7C4B-2625-1EE5-AEBB-90708B2DED43",
  "throttleTimeout" : 2147483647,
  "wakeTime" : 1016,
  "sleepWakeUUID" : "B418EB21-F6B9-4463-BB6E-480CC80426DD",
  "sip" : "enabled",
  "vmRegionInfo" : "0x3116ab94b is not in any region.  Bytes after previous region: 149739852  Bytes before following region: 54468626101\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      Stack                       308759000-3087de000    [  532K] rw-\/rwx SM=PRV  thread 3\n--->  GAP OF 0xcb7822000 BYTES\n      commpage (reserved)         fc0000000-1000000000   [  1.0G] ---\/--- SM=NUL  ...(unallocated)",
  "exception" : {"codes":"0x0000000000000001, 0x00000003116ab94b","rawCodes":[1,13177108811],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x00000003116ab94b"},
  "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":52522},
  "vmregioninfo" : "0x3116ab94b is not in any region.  Bytes after previous region: 149739852  Bytes before following region: 54468626101\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      Stack                       308759000-3087de000    [  532K] rw-\/rwx SM=PRV  thread 3\n--->  GAP OF 0xcb7822000 BYTES\n      commpage (reserved)         fc0000000-1000000000   [  1.0G] ---\/--- SM=NUL  ...(unallocated)",
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":4,"task_for_pid":4},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":909489,"threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":13026245512},"r12":{"value":4353223240},"rosetta":{"tmp2":{"value":4352627939},"tmp1":{"value":13026244982},"tmp0":{"value":150863875}},"rbx":{"value":3193043353785303284},"r8":{"value":4105697204},"r15":{"value":13026246888},"r10":{"value":46},"rdx":{"value":65535},"rdi":{"value":4144130814},"r9":{"value":4343876109},"r13":{"value":4306831456},"rflags":{"value":642},"rax":{"value":18446744072292193553},"rsp":{"value":13026244936},"r11":{"value":238},"rcx":{"value":18446744073708516458},"r14":{"value":4306849643},"rsi":{"value":4343854858}},"queue":"com.apple.main-thread","frames":[{"imageOffset":4354680796,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":4354680500,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":4352627939,"imageIndex":0},{"imageOffset":11862016,"imageIndex":0},{"imageOffset":13026262221,"imageIndex":0}]},{"id":909493,"name":"com.apple.rosetta.exceptionserver","frames":[{"imageOffset":17940,"imageIndex":1},{"imageOffset":66864,"imageIndex":1},{"imageOffset":73520,"imageIndex":1}]},{"id":909504,"frames":[{"imageOffset":141436,"imageIndex":1}]},{"id":909505,"frames":[{"imageOffset":141436,"imageIndex":1}]}],
  "usedImages" : [
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 140703127728128,
    "size" : 196608,
    "uuid" : "f066db2c-ed38-3f37-8d21-81d15fa908fe",
    "path" : "\/usr\/libexec\/rosetta\/runtime",
    "name" : "runtime"
  }
],
  "sharedCache" : {
  "base" : 140703195676672,
  "size" : 21474836480,
  "uuid" : "4ca2b729-8206-3c63-badd-faa0225ab773"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=402.1M resident=0K(0%) swapped_out_or_unallocated=402.1M(100%)\nWritable regions: Total=688.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=688.9M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \n.0~I                                32K        1 \n.M^:                              18.2M        1 \n.`\/B                              10.4M        1 \nActivity Tracing                   256K        1 \nKernel Alloc Once                    8K        1 \nMALLOC                           146.2M       13 \nMALLOC guard page                   96K        4 \nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nRosetta Arena                     4096K        2 \nRosetta Generic                   1072K      265 \nRosetta IndirectBranch              96K        2 \nRosetta JIT                      128.0M        1 \nRosetta Return Stack                60K        6 \nRosetta Thread Context              60K        6 \nSTACK GUARD                          8K        2 \nStack                             9240K        3 \nStack Guard                       56.0M        1 \nVM_ALLOCATE                       12.0M       11 \nVM_ALLOCATE (reserved)               8K        1         reserved VM address space (unallocated)\n__DATA                            15.3M      284 \n__DATA_CONST                      13.1M      170 \n__DATA_DIRTY                       632K       95 \n__FONT_DATA                        2352        1 \n__LINKEDIT                       172.3M       15 \n__OBJC_RO                         65.4M        1 \n__OBJC_RW                         1987K        2 \n__TEXT                           245.3M      303 \ndyld private memory                516K        3 \nmapped file                        4.1G     1243 \nshared memory                       64K        4 \nunshared pmap                     3728K        2 \n===========                     =======  ======= \nTOTAL                              5.4G     2446 \nTOTAL, minus reserved VM space     5.0G     2446 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6112e3d2fc54bc3389840661",
      "factorPackIds" : {
        "SIRI_TEXT_TO_SPEECH" : "647fbf386e7c8966f6d75cce"
      },
      "deploymentId" : 240000472
    },
    {
      "rolloutId" : "610d52e1fc54bc3389840408",
      "factorPackIds" : {
        "SIRI_UNDERSTANDING_ASR_ASSISTANT" : "64823259bb082d7ce200bf15",
        "SIRI_UNDERSTANDING_MORPHUN" : "62ec7220c682040ba94e6a20"
      },
      "deploymentId" : 240000709
    }
  ],
  "experiments" : [

  ]
}
}

Model: Mac14,5, BootROM 8419.80.7, proc 12:8:4 processors, 64 GB, SMC 
Graphics: Apple M2 Max, Apple M2 Max, Built-In
Display: Color LCD, 3024 x 1964 Retina, Main, MirrorOff, Online
Memory Module: LPDDR5, Hynix
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4388), wl0: Jan 30 2023 18:29:37 version 23.20.22.49.40.50.81 FWID 01-031dd993
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Admin
Site Admin
Posts: 2586
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: VMProtect Professional for macOS v3.8.3.1740 doesn't work on Apple Silicon

Post by Admin »

Please notice that Rosetta (the Apple's binary translator) has many bugs, so Intel binaries don't work correctly on M1/M2.
choochmeque
Posts: 4
Joined: Sat Dec 17, 2022 12:40 pm

Re: VMProtect Professional for macOS v3.8.3.1740 doesn't work on Apple Silicon

Post by choochmeque »

Understood.
Will the VMP have support for M1/M2 ?
Admin
Site Admin
Posts: 2586
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: VMProtect Professional for macOS v3.8.3.1740 doesn't work on Apple Silicon

Post by Admin »

andyco
Posts: 16
Joined: Mon Jan 03, 2022 10:20 am

Re: VMProtect Professional for macOS v3.8.3.1740 doesn't work on Apple Silicon

Post by andyco »

@choochmeque
You can try v3.8.1.1695, which works fine in M1 MacOS 13.4.
Admin
Site Admin
Posts: 2586
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: VMProtect Professional for macOS v3.8.3.1740 doesn't work on Apple Silicon

Post by Admin »

Fixed in the 1751 build.
Post Reply