MT5 crashes while launching.

 

After macOS upgrade to version 12.3 on a 2017 15-inch MacBook pro, MT5 crashes while launching. Any solutions out there to fix this?

Below is the crash report:

-------------------------------------

Translated Report (Full Report Below)

-------------------------------------


Process:               MetaTrader 5 [3680]

Path:                  /Applications/MetaTrader 5.app/Contents/MacOS/MetaTrader 5

Identifier:            com.codeweavers.metatrader5

Version:               5.0.0.2664 (5.0.0.2664)

Code Type:             X86-64 (Native)

Parent Process:        launchd [1]

User ID:               502


Date/Time:             2022-03-21 11:00:55.4999 +0530

OS Version:            macOS 12.3 (21E230)

Report Version:        12

Bridge OS Version:     3.0 (14Y910)

Anonymous UUID:        02B643A7-2EA6-E4A3-729F-6FCDFE238463



Time Awake Since Boot: 2300 seconds


System Integrity Protection: enabled


Crashed Thread:        0


Exception Type:        EXC_CRASH (SIGABRT)

Exception Codes:       0x0000000000000000, 0x0000000000000000

Exception Note:        EXC_CORPSE_NOTIFY


Termination Reason:    Namespace DYLD, Code 1 Library missing

Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python

Referenced from: /Applications/MetaTrader 5.app/Contents/MacOS/MetaTrader 5

Reason: tried: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file)

(terminated at launch; ignore backtrace)


Application Specific Information:

Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python

Referenced from: /Applications/MetaTrader 5.app/Contents/MacOS/MetaTrader 5

Reason: tried: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file)



Thread 0 Crashed:

0   dyld                                  0x826970de __abort_with_payload + 10

1   dyld                                  0x826ad212 abort_with_payload_wrapper_internal + 80

2   dyld                                  0x826ad244 abort_with_payload + 9

3   dyld                                  0x8265b76f dyld4::halt(char const*) + 375

4   dyld                                  0x826575a5 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3995

5   dyld                                  0x826564d4 start + 388



Thread 0 crashed with X86 Thread State (64-bit):

  rax: 0x0000000002000209  rbx: 0x0000000000000000  rcx: 0x00007ff7bfefe5f8  rdx: 0x00007ff7bfefea60

  rdi: 0x0000000000000006  rsi: 0x0000000000000001  rbp: 0x00007ff7bfefe640  rsp: 0x00007ff7bfefe5f8

   r8: 0x00007ff7bfefe660   r9: 0x0000000000000000  r10: 0x000000000000008f  r11: 0x0000000000000246

  r12: 0x000000000000008f  r13: 0x00007ff7bfefea60  r14: 0x0000000000000001  r15: 0x0000000000000006

  rip: 0x00000000826970de  rfl: 0x0000000000000246  cr2: 0x000000008265de74

  

Logical CPU:     0

Error Code:      0x02000209 

Trap Number:     133



Binary Images:

        0x82651000 -         0x826bcfff dyld (*) <dd9e80de-fb3b-349b-96a4-46874ad34d11> /usr/lib/dyld


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: 0

    thread_create: 0

    thread_set_state: 0


VM Region Summary:

ReadOnly portion of Libraries: Total=1020K resident=0K(0%) swapped_out_or_unallocated=1020K(100%)

Writable regions: Total=1.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.1G(100%)


                                VIRTUAL   REGION 

REGION TYPE                        SIZE    COUNT (non-coalesced) 

===========                     =======  ======= 

STACK GUARD                       56.0M        1 

Stack                             8192K        1 

VM_ALLOCATE                         12K        3 

WINE_DOS                           1.0G        1 

WINE_SHAREDHEAP                   48.0M        1 

__DATA                             108K        4 

__DATA_CONST                        80K        1 

__LINKEDIT                         348K        4 

__TEXT                             684K        3 

dyld private memory               1024K        1 

===========                     =======  ======= 

TOTAL                              1.1G       20 




-----------

Full Report

-----------


{"app_name":"MetaTrader 5","timestamp":"2022-03-21 11:00:55.00 +0530","app_version":"5.0.0.2664","slice_uuid":"4b7e1053-24b0-364a-a68b-c45ef671b77d","build_version":"5.0.0.2664","platform":1,"bundleID":"com.codeweavers.metatrader5","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.3 (21E230)","incident_id":"780EECA4-7D21-4073-8180-41D08A5FDB34","name":"MetaTrader 5"}

{

  "uptime" : 2300,

  "procLaunch" : "2022-03-21 11:00:55.4843 +0530",

  "procRole" : "Default",

  "version" : 2,

  "userID" : 502,

  "deployVersion" : 210,

  "modelCode" : "MacBookPro14,3",

  "procStartAbsTime" : 2353324981737,

  "coalitionID" : 1071,

  "osVersion" : {

    "train" : "macOS 12.3",

    "build" : "21E230",

    "releaseType" : "User"

  },

  "captureTime" : "2022-03-21 11:00:55.4999 +0530",

  "incident" : "780EECA4-7D21-4073-8180-41D08A5FDB34",

  "bug_type" : "309",

  "pid" : 3680,

  "procExitAbsTime" : 2353337276618,

  "cpuType" : "X86-64",

  "procName" : "MetaTrader 5",

  "procPath" : "\/Applications\/MetaTrader 5.app\/Contents\/MacOS\/MetaTrader 5",

  "bundleInfo" : {"CFBundleShortVersionString":"5.0.0.2664","CFBundleVersion":"5.0.0.2664","CFBundleIdentifier":"com.codeweavers.metatrader5"},

  "storeInfo" : {"deviceIdentifierForVendor":"649B702E-F4B0-52CF-AA3E-D80D8220DEC0","thirdParty":true},

  "parentProc" : "launchd",

  "parentPid" : 1,

  "coalitionName" : "com.codeweavers.metatrader5",

  "crashReporterKey" : "02B643A7-2EA6-E4A3-729F-6FCDFE238463",

  "bridgeVersion" : {"build":"14Y910","train":"3.0"},

  "sip" : "enabled",

  "isCorpse" : 1,

  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},

  "termination" : {"code":1,"flags":518,"namespace":"DYLD","indicator":"Library missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Library not loaded: \/System\/Library\/Frameworks\/Python.framework\/Versions\/2.7\/Python","Referenced from: \/Applications\/MetaTrader 5.app\/Contents\/MacOS\/MetaTrader 5","Reason: tried: '\/System\/Library\/Frameworks\/Python.framework\/Versions\/2.7\/Python' (no such file)"]},

  "asi" : {"dyld":["Library not loaded: \/System\/Library\/Frameworks\/Python.framework\/Versions\/2.7\/Python","Referenced from: \/Applications\/MetaTrader 5.app\/Contents\/MacOS\/MetaTrader 5","Reason: tried: '\/System\/Library\/Frameworks\/Python.framework\/Versions\/2.7\/Python' (no such file)"]},

  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},

  "faultingThread" : 0,

  "threads" : [{"triggered":true,"id":45838,"threadState":{"r13":{"value":140702053821024},"rax":{"value":33554953,"symbolLocation":33550857,"symbol":"__wine_dos"},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":1},"r8":{"value":140702053820000},"cr2":{"value":2187714164},"rdx":{"value":140702053821024},"r10":{"value":143},"r9":{"value":0},"r15":{"value":6},"rbx":{"value":0},"trap":{"value":133},"err":{"value":33554953},"r11":{"value":582},"rip":{"value":2187948254,"matchesCrashFrame":1},"rbp":{"value":140702053819968},"rsp":{"value":140702053819896},"r12":{"value":143},"rcx":{"value":140702053819896},"flavor":"x86_THREAD_STATE","rdi":{"value":6}},"frames":[{"imageOffset":286942,"symbol":"__abort_with_payload","symbolLocation":10,"imageIndex":0},{"imageOffset":377362,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":80,"imageIndex":0},{"imageOffset":377412,"symbol":"abort_with_payload","symbolLocation":9,"imageIndex":0},{"imageOffset":42863,"symbol":"dyld4::halt(char const*)","symbolLocation":375,"imageIndex":0},{"imageOffset":26021,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":3995,"imageIndex":0},{"imageOffset":21716,"symbol":"start","symbolLocation":388,"imageIndex":0}]}],

  "usedImages" : [

  {

    "source" : "P",

    "arch" : "x86_64",

    "base" : 2187661312,

    "size" : 442368,

    "uuid" : "dd9e80de-fb3b-349b-96a4-46874ad34d11",

    "path" : "\/usr\/lib\/dyld",

    "name" : "dyld"

  }

],

  "sharedCache" : {

  "base" : 140703455485952,

  "size" : 15224815616,

  "uuid" : "341ea950-3974-372a-a140-92d2252fd87c"

},

  "vmSummary" : "ReadOnly portion of Libraries: Total=1020K resident=0K(0%) swapped_out_or_unallocated=1020K(100%)\nWritable regions: Total=1.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.1G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                       56.0M        1 \nStack                             8192K        1 \nVM_ALLOCATE                         12K        3 \nWINE_DOS                           1.0G        1 \nWINE_SHAREDHEAP                   48.0M        1 \n__DATA                             108K        4 \n__DATA_CONST                        80K        1 \n__LINKEDIT                         348K        4 \n__TEXT                             684K        3 \ndyld private memory               1024K        1 \n===========                     =======  ======= \nTOTAL                              1.1G       20 \n",

  "legacyInfo" : {

  "threadTriggered" : {


  }

},

  "trialInfo" : {

  "rollouts" : [

    {

      "rolloutId" : "6112e14f37f5d11121dcd519",

      "factorPackIds" : {

        "SIRI_TEXT_TO_SPEECH" : "62265b250683fd69cdcf0e26"

      },

      "deploymentId" : 240000068

    },

    {

      "rolloutId" : "5ffde50ce2aacd000d47a95f",

      "factorPackIds" : {


      },

      "deploymentId" : 240000123

    }

  ],

  "experiments" : [


  ]

}

}


Model: MacBookPro14,3, BootROM 447.80.3.0.0, 4 processors, Quad-Core Intel Core i7, 2.9 GHz, 16 GB, SMC 2.45f5

Graphics: Intel HD Graphics 630, Intel HD Graphics 630, Built-In

Graphics: Radeon Pro 560, Radeon Pro 560, PCIe, 4 GB

Display: Color LCD, 2880 x 1800 Retina, Main, MirrorOff, Online

Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320

Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320

AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x173), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1710.3)

AirPort: 

Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports

Network Service: Wi-Fi, AirPort, en0

USB Device: USB30Bus

USB Device: USB2.1 Hub

USB Device: USB 2.0 Hub

USB Device: composite_device

USB Device: Mass Storage Device

USB Device: BillBoard Device

USB Device: Dell MS116 USB Optical Mouse

USB Device: Apple T1 Controller

USB Device: USB3.1 Hub

Thunderbolt Bus: MacBook Pro, Apple Inc., 41.5

Thunderbolt Bus: MacBook Pro, Apple Inc., 41.5


 

Hello.

Please download the latest DMG package and reisntall the terminal.

 
Alexey Petrov #:

Hello.

Please download the latest DMG package and reisntall the terminal.

Had the same crash report with the latest dmg package.Any solution to this?

 
lwl99 #:

Had the same crash report with the latest dmg package.Any solution to this?

MetaTrader 5 HelpGetting StartedFor Advanced UsersInstallation on Mac OS
Installation on Mac OS - For Advanced Users - Getting Started - MetaTrader 5 Help
Installation on Mac OS - For Advanced Users - Getting Started - MetaTrader 5 Help
  • www.metatrader5.com
The trading platform can be installed and used on computers that run Mac OS using Wine. Wine is a free and open source software application that...
 
Sergey Golubev #:
MetaTrader 5 HelpGetting StartedFor Advanced UsersInstallation on Mac OS

Hi yes the dmg package was installed with that link however with the same issue.

 
lwl99 #:

Hi yes the dmg package was installed with that link however with the same issue.

This is the only information which I found related to it.
 
Have you fix it? I just run into same trouble :/
 
MSkoloud #:
Have you fix it? I just run into same trouble :/

I just got this trouble yesterday... anything yet ?? :( :( 

 

Same issue after upgrading to Mac Os Ventura yesterday (21/06/2023).

Have tried a few tricks to brew install, link but don't seem to work.

Guessing if we can point the file in metatrader to the right Python library will work? however not sure where the 'path' is (what file, where the file is?)

 
Dnao0 #:

Same issue after upgrading to Mac Os Ventura yesterday (21/06/2023).

Have tried a few tricks to brew install, link but don't seem to work.

Guessing if we can point the file in metatrader to the right Python library will work? however not sure where the 'path' is (what file, where the file is?)

I found one post related to Mac Os Ventura:

Forum on trading, automated trading systems and testing trading strategies

After the update, the platform does not start.

Renat Fatkhullin , 2023.06.10 10:29

Now the official latest version of macOS Ventura is 13.4

We haven't tested beta version 14 yet


 
Sergey Golubev #:
After the update, the platform does not start.

Thanks Sergey but does not look like something i can use to resolve my issue.

I've been trying to use ln -s to virtual link to python or trying to change where MT5 looks for the python library but don't know where to change this.

Reason: