Metaquotes 5 (64 bits) Won't Start

Questions about Wine on Linux
Locked
tk421
Level 2
Level 2
Posts: 30
Joined: Wed Aug 09, 2017 7:19 am

Metaquotes 5 (64 bits) Won't Start

Post by tk421 »

Hi,

I have tried to install and run Metaquotes 5 with wine 5.0.1 and 5.12 and it won't work.
1 - Remove the .wine folder to start from scratch
2 - Download the installation file from Metaquotes website - https://www.metatrader5.com/en/download
3 - Run the installation file - all works as expected.
4 - However, when the installation program finishes, it will attempt 'terminal64.exe' file, and this crashes.

How can I execute this program successfully ??

This is my current output

Code: Select all

% /opt/wine-stable/bin/wine terminal64.exe     
001b:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1114
002c:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
002c:fixme:heap:RtlSetHeapInformation 0xb50000 0 0x22f1b0 4 stub
002c:fixme:font:get_outline_text_metrics failed to read full_nameW for font L"Ani"!
002c:fixme:ole:CoInitializeSecurity (0000000000000000,-1,0000000000000000,0000000000000000,0,3,0000000000000000,0,0000000000000000) - stub!
002c:fixme:wbemprox:client_security_SetBlanket 000000006775DCF0, 0000000000D35830, 10, 0, (null), 3, 3, 0000000000000000, 0x00000000
002c:fixme:wbemprox:client_security_Release 000000006775DCF0
002c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0025:fixme:mountmgr:harddisk_ioctl returning zero-filled buffer for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
0025:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0025:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0)
0025:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d0c10 (device=2d access=0 func=304 method=0)
0025:fixme:mountmgr:harddisk_ioctl returning zero-filled buffer for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
0025:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0)
0025:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0025:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d0c10 (device=2d access=0 func=304 method=0)
0025:fixme:mountmgr:harddisk_ioctl returning zero-filled buffer for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
0025:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0025:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0)
0025:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d0c10 (device=2d access=0 func=304 method=0)
002c:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22c014, 0x22c030 0x22c010
002c:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22c014 0x22c030 0x22c010) returning a dummy value (current locale)
0025:fixme:mountmgr:harddisk_ioctl returning zero-filled buffer for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
0025:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0)
0025:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0025:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d0c10 (device=2d access=0 func=304 method=0)
0025:fixme:mountmgr:harddisk_ioctl returning zero-filled buffer for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
0025:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0025:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0)
0025:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d0c10 (device=2d access=0 func=304 method=0)
002d:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 000000000144FDA0
wine: Call from 0x7bc7117c to unimplemented function WS2_32.dll.GetHostNameW, aborting
002c:fixme:dbghelp:dump_unwind_info unknown code 9
002c:fixme:dbghelp:dump_unwind_info unknown code 15
002c:fixme:dbghelp:dump_unwind_info unknown code 13
002c:fixme:dbghelp:dump_unwind_info unknown code 13
002c:fixme:dbghelp:dump_unwind_info unknown code 14
002c:fixme:dbghelp:dump_unwind_info unknown code 11
002c:fixme:dbghelp:dump_unwind_info unknown code 15
002c:fixme:dbghelp:dump_unwind_info unknown code 9
002c:fixme:dbghelp:dump_unwind_info unknown code 15
002c:fixme:dbghelp:dump_unwind_info unknown code 13
002c:fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpWithHandleData
002c:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 0000000000229960
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Metaquotes 5 (64 bits) Won't Start

Post by jkfloris »

Code: Select all

002c:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
The solution is probably in your terminal output.
tk421
Level 2
Level 2
Posts: 30
Joined: Wed Aug 09, 2017 7:19 am

Re: Metaquotes 5 (64 bits) Won't Start

Post by tk421 »

Hi,

Just installed the package windbind and tried again, but terminal64.exe is still not working.

Any other ideas ?

Code: Select all

% dpkg -l | grep winbind 
ii  libwbclient0:amd64                    2:4.11.6+dfsg-0ubuntu1.3              amd64        Samba winbind client library
ii  winbind                               2:4.11.6+dfsg-0ubuntu1.3              amd64        service to resolve user and group information from Windows NT servers

Code: Select all

% /opt/wine-stable/bin/wine terminal64.exe
001b:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1114
002c:fixme:heap:RtlSetHeapInformation 0xb50000 0 0x22f1b0 4 stub
002c:fixme:font:get_outline_text_metrics failed to read full_nameW for font L"Ani"!
002c:fixme:ole:CoInitializeSecurity (0000000000000000,-1,0000000000000000,0000000000000000,0,3,0000000000000000,0,0000000000000000) - stub!
002c:fixme:wbemprox:client_security_SetBlanket 000000006775DCF0, 0000000000CE2130, 10, 0, (null), 3, 3, 0000000000000000, 0x00000000
002c:fixme:wbemprox:client_security_Release 000000006775DCF0
002c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0026:fixme:mountmgr:harddisk_ioctl returning zero-filled buffer for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
0026:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0026:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0)
0026:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d0c10 (device=2d access=0 func=304 method=0)
0026:fixme:mountmgr:harddisk_ioctl returning zero-filled buffer for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
0026:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0)
0026:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0026:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d0c10 (device=2d access=0 func=304 method=0)
0026:fixme:mountmgr:harddisk_ioctl returning zero-filled buffer for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
0026:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0026:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0)
0026:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d0c10 (device=2d access=0 func=304 method=0)
002c:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22c014, 0x22c030 0x22c010
002c:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22c014 0x22c030 0x22c010) returning a dummy value (current locale)
0026:fixme:mountmgr:harddisk_ioctl returning zero-filled buffer for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
0026:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0)
0026:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0026:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d0c10 (device=2d access=0 func=304 method=0)
0026:fixme:mountmgr:harddisk_ioctl returning zero-filled buffer for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
0026:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0026:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0)
0026:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d0c10 (device=2d access=0 func=304 method=0)
002e:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 000000000165FDA0
002f:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 000000000186FDA0
002d:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 000000000144FDA0
wine: Call from 0x7bc7117c to unimplemented function WS2_32.dll.GetHostNameW, aborting
002c:fixme:dbghelp:dump_unwind_info unknown code 9
002c:fixme:dbghelp:dump_unwind_info unknown code 15
002c:fixme:dbghelp:dump_unwind_info unknown code 13
002c:fixme:dbghelp:dump_unwind_info unknown code 13
002c:fixme:dbghelp:dump_unwind_info unknown code 14
002c:fixme:dbghelp:dump_unwind_info unknown code 11
002c:fixme:dbghelp:dump_unwind_info unknown code 15
002c:fixme:dbghelp:dump_unwind_info unknown code 9
002c:fixme:dbghelp:dump_unwind_info unknown code 15
002c:fixme:dbghelp:dump_unwind_info unknown code 13
002c:fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpWithHandleData
002c:fixme:ntdll:server_ioctl_file Unsupported ioctl 9003c (device=9 access=0 func=f method=0)
002c:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 0000000000229960
tk421
Level 2
Level 2
Posts: 30
Joined: Wed Aug 09, 2017 7:19 am

Re: Metaquotes 5 (64 bits) Won't Start

Post by tk421 »

I just tested it with wine-4.8 and it works. It looks like there is something wrong with wine-5.x.

Should I report a bug ?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Metaquotes 5 (64 bits) Won't Start

Post by jkfloris »

I can't reproduce your issue with Wine 5.0.1 in a clean Wineprefix.
Have you installed any other programs or winetricks in your wineprefix?
tk421
Level 2
Level 2
Posts: 30
Joined: Wed Aug 09, 2017 7:19 am

Re: Metaquotes 5 (64 bits) Won't Start

Post by tk421 »

Thanks for your patience.

I really would like to understand what has happened, but I am afraid that it is not going to be that straight forward.

I just tried today, as you suggested with a brand new .wine with wine 5.0.1 prefix and it just works. Then I tried with 5.12 and it just works.

I have been making test in my local computer and in a server in a cloud. I just tried in the cloud, in the same server that I have used in the last couple of days, copy and paste the commands that I have been using ... and it just works.

Something has changed and I don't know what. From one side, it is a relief: it is actually working. For other side, it is scary: it can go back to "not working" state and I can't do anything about it.

I am fully aware that you might think that I might be using an old .wine prefix. But this is not the case, I am very careful removing the old stuff before trying new one, and I have tried in two environments - it is very unlikely that I have made that rookie mistake twice.

What is the best way to collect a debug report if this ever happens again?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Metaquotes 5 (64 bits) Won't Start

Post by jkfloris »

That will be very difficult.
You start by trying to reproduce the error in a clean wineprefix with the latest Wine version. If the error no longer occurs then there is nothing to investigate.
It is possible that a Wineprefix does not work properly anymore when it is updated.
Locked