http://bugs.winehq.org/show_bug.cgi?id=27260
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE Summary|Freelancer: Complains about |Freelancer: Complains about |debugger on amd64 and fails |debugger on amd64 and fails |to start |to start (32-bit service in | |shared wow64)
--- Comment #7 from Anastasius Focht focht@gmx.net 2013-11-14 17:55:02 CST --- Hello folks,
it's because the 32-bit SafeDisc driver/service can't be started properly in 64-bit WINEPREFIX.
When the service is created using CreateService() API, the request is handled by 64-bit services.exe (64-bit registry branch). The 32-bit driver/service executable lives in redirected 32-bit folder (syswow64).
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/Microsoft Games/Freelancer/EXE
$ WINEDEBUG=+tid,+seh,+process,+service wine ./Freelancer.exe 0009:trace:process:init_current_directory starting in L"C:\Program Files (x86)\Microsoft Games\Freelancer\EXE\" 0x8 0009:trace:process:create_process_impl app L"C:\windows\system32\wineboot.exe" cmdline L"C:\windows\system32\wineboot.exe --init" 0009:trace:process:open_exe_file looking for L"C:\windows\system32\wineboot.exe" 0009:trace:process:create_process_impl starting L"C:\windows\system32\wineboot.exe" as Win64 binary ((nil)-(nil)) 000b:trace:process:init_current_directory starting in L"C:\Program Files (x86)\Microsoft Games\Freelancer\EXE\" 0xc 000b:trace:process:__wine_kernel_init starting process name=L"C:\windows\system32\wineboot.exe" argv[0]=L"C:\windows\system32\wineboot.exe" 0009:trace:process:create_process_impl started process pid 000a tid 000b 0009:trace:process:start_wineboot started wineboot pid 000a tid 000b 0009:trace:process:__wine_kernel_init starting process name=L"C:\Program Files (x86)\Microsoft Games\Freelancer\EXE\Freelancer.exe" argv[0]=L"C:\Program Files (x86)\Microsoft Games\Freelancer\EXE\Freelancer.exe" ... 000b:trace:process:create_process_impl app L"C:\windows\system32\services.exe" cmdline L"C:\windows\system32\services.exe" 000b:trace:process:open_exe_file looking for L"C:\windows\system32\services.exe" 000b:trace:process:create_process_impl starting L"C:\windows\system32\services.exe" as Win64 binary ((nil)-(nil)) 000f:trace:process:init_current_directory starting in L"C:\windows\" 0xc 000f:trace:process:__wine_kernel_init starting process name=L"C:\windows\system32\services.exe" argv[0]=L"C:\windows\system32\services.exe" 000b:trace:process:create_process_impl started process pid 000e tid 000f ... 000f:trace:service:scmdatabase_load_services Loading service L"SecDrv" 000f:trace:service:load_service_config Image path = L"C:\windows\system32\drivers\\SECDRV.SYS" 000f:trace:service:load_service_config Group = (null) 000f:trace:service:load_service_config Service account name = L"LocalSystem" 000f:trace:service:load_service_config Display name = L"SecDrv" 000f:trace:service:load_service_config Service dependencies : (none) 000f:trace:service:load_service_config Group dependencies : (none) ... 000f:trace:service:service_start returning 2 000f:fixme:service:scmdatabase_autostart_services Auto-start service L"SecDrv" failed to start: 2 ... 000d:trace:process:create_process_impl started process pid 0021 tid 0022 0009:trace:process:set_entry_point setting FT_Thunk at 0x7b8ba838 to 00000000 0009:trace:process:create_process_impl app L"C:\users\focht\Temp\~f1d055.tmp" cmdline L""C:\users\focht\Temp\~f1d055.tmp" 8 "C:\users\focht\Temp\""~efd8c5"" 0009:trace:process:open_exe_file looking for L"C:\users\focht\Temp\~f1d055.tmp" 0009:trace:process:create_process_impl starting L"C:\users\focht\Temp\~f1d055.tmp" as Win32 binary (0x400000-0x410000) 0024:trace:process:init_current_directory starting in L"C:\users\focht\Temp\" 0x14 0024:trace:process:__wine_kernel_init starting process name=L"C:\users\focht\Temp\~f1d055.tmp" argv[0]=L"C:\users\focht\Temp\~f1d055.tmp" 0009:trace:process:create_process_impl started process pid 0023 tid 0024 0009:trace:service:SERV_OpenSCManagerW ((null),(null),0x00000001) 0024:trace:process:set_entry_point setting FT_Thunk at 0x7b8ba838 to 00000000 0016:trace:service:svcctl_OpenSCManagerW ((null), (null), 1) 0009:trace:service:SERV_OpenSCManagerW returning 0x13dcb8 0009:trace:service:OpenServiceA 0x13dcb8 "SecDrv" 52 0009:trace:service:SERV_OpenServiceW 0x13dcb8 L"SecDrv" 52 0018:trace:service:svcctl_OpenServiceW (L"SecDrv", 0x34) 0009:trace:service:SERV_OpenServiceW returning 0x13da18 0009:trace:service:QueryServiceStatus 0x13da18 0x33f198 0009:trace:service:QueryServiceStatusEx 0x13da18 0 0x33f128 36 0x33f124 0009:trace:service:StartServiceA (0x13da18,0,(nil)) 0009:trace:service:StartServiceW 0x13da18 0 (nil) 0018:trace:service:svcctl_StartServiceW (0x146f0, 0, (nil)) 0018:trace:service:service_start returning 2 0009:trace:service:CloseServiceHandle 0x13da18 0016:trace:service:svcctl_CloseServiceHandle (&0x146f0) 0009:trace:service:CloseServiceHandle 0x13dcb8 0018:trace:service:svcctl_CloseServiceHandle (&0x145b0) 0009:trace:service:SERV_OpenSCManagerW ((null),(null),0x00000001) 0016:trace:service:svcctl_OpenSCManagerW ((null), (null), 1) 0009:trace:service:SERV_OpenSCManagerW returning 0x13dcb8 0009:trace:service:OpenServiceA 0x13dcb8 "SecDrv" 52 0009:trace:service:SERV_OpenServiceW 0x13dcb8 L"SecDrv" 52 0018:trace:service:svcctl_OpenServiceW (L"SecDrv", 0x34) 0009:trace:service:SERV_OpenServiceW returning 0x13da18 0009:trace:service:QueryServiceStatus 0x13da18 0x33f198 0009:trace:service:QueryServiceStatusEx 0x13da18 0 0x33f128 36 0x33f124 0009:trace:service:StartServiceA (0x13da18,0,(nil)) 0009:trace:service:StartServiceW 0x13da18 0 (nil) 0018:trace:service:svcctl_StartServiceW (0x14700, 0, (nil)) 0018:trace:service:service_start returning 2 ... --- snip ---
Regards
*** This bug has been marked as a duplicate of bug 30901 ***