[Bug 39455] Garmin Homeport 2.x.x crashes on startup with Wine-Mono

WineHQ Bugzilla wine-bugs at winehq.org
Thu Jun 25 02:49:38 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=39455

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Garmin Homeport 2.2.9       |Garmin Homeport 2.x.x
                   |crashes on startup with     |crashes on startup with
                   |Wine-Mono                   |Wine-Mono
                URL|https://download.garmin.com |https://web.archive.org/web
                   |/software/HomePort_229.exe  |/20200625064849/https://dow
                   |                            |nload.garmin.com/software/H
                   |                            |omePort_232.exe

--- Comment #7 from Anastasius Focht <focht at gmx.net> ---
Hello Rafał,

that MSI installer error is a different issue (USB driver install).

One has to use Wine release < 3.8 which skips USB drivers installer due to
incorrect bitness handling. Wine 3.8 has several fixes related to
package/server bitness hence the custom action gets executed.

--- snip ---
...
[005B:005F][2020-06-25T09:21:44]i305: Verified acquired payload:
cab54E662CA8803D247906985B235110887 at path: C:\ProgramData\Package
Cache\.unverified\cab54E662CA8803D247906985B235110887, moving to:
C:\ProgramData\Package
Cache\{3D5D6CFC-3097-425A-8D8F-7EAF5D57641D}v2.3.1.0\Disk_64.cab.
[005B:005F][2020-06-25T09:21:44]i305: Verified acquired payload: HomePort.msi
at path: C:\ProgramData\Package Cache\.unverified\HomePort.msi, moving to:
C:\ProgramData\Package
Cache\{5AD7F410-09EF-4F02-92B7-9815750EEFD3}v2.3.2.0\HomePort.msi.
[005B:005C][2020-06-25T09:21:44]i323: Registering package dependency provider:
{3D5D6CFC-3097-425A-8D8F-7EAF5D57641D}, version: 2.3.1.0, package: USB_64.msi
[005B:005C][2020-06-25T09:21:44]i301: Applying execute package: USB_64.msi,
action: Install, path: C:\ProgramData\Package
Cache\{3D5D6CFC-3097-425A-8D8F-7EAF5D57641D}v2.3.1.0\USB_64.msi, arguments: '
ALLUSERS="1" MSIFASTINSTALL="7"'
[005B:005C][2020-06-25T09:21:44]e000: Error 0x80070643: Failed to install MSI
package.
[005B:005C][2020-06-25T09:21:44]e000: Error 0x80070643: Failed to execute MSI
package.
[0056:0057][2020-06-25T09:21:44]e000: Error 0x80070643: Failed to configure
per-machine MSI package.
[0056:0057][2020-06-25T09:21:44]i319: Applied execute package: USB_64.msi,
result: 0x80070643, restart: None
--- snip ---

Using Wine 3.7 for installing one gets:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files (x86)/Garmin/HomePort

$ wine ./HomePort.exe
...
Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) <Module>.win.RegKey_t.ValueExists
(win.RegKey_t*,std.basic_string<wchar_t,std..char_traits<wchar_t>,std..allocator<wchar_t>
>*) <0x00012>
  at <Module>.win.ConstRegValue_t<int>.Refresh (win.ConstRegValue_t<int>*)
[0x00000] in <976c5c68be174aacb89747bf4544f997>:0
  at <Module>.win.ConstRegValue_t<int>.{ctor}
(win.ConstRegValue_t<int>*,win.RegKey_t*,std.basic_string<wchar_t,std..char_traits<wchar_t>,std..allocator<wchar_t>
>*) [0x00030] in <976c5c68be174aacb89747bf4544f997>:0
  at <Module>.bc.LoadBestLanguage () [0x00022] in
<976c5c68be174aacb89747bf4544f997>:0
  at <Module>.main (string[]) [0x00072] in <976c5c68be174aacb89747bf4544f997>:0
  at <Module>.mainCRTStartupStrArray (string[]) [0x00029] in
<976c5c68be174aacb89747bf4544f997>:0
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object
(object,intptr,intptr,intptr) [0x00054] in <976c5c68be174aacb89747bf4544f997>:0

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================
--- snip ---

Upgrading the existing WINEPREFIX in place:

Wine 4.0 -> Wine-Mono 4.7.5 = same "old" problem

---

Wine 4.3 -> Wine-Mono 4.8.0 = different problem

--- snip ---
$ wine ./HomePort.exe 
...
mono_threads_enter_gc_safe_region_unbalanced Cannot transition thread 00000009
from STATE_BLOCKING with DO_BLOCKING

abnormal program termination
0009:fixme:msvcrt:__clean_type_info_names_internal (0x7842e684) stub
0009:err:mscoree:expect_no_runtimes Process exited with a Mono runtime loaded.
--- snip ---

Wine 4.6 -> Wine-Mono 4.8.1 = same as above
Wine 4.7 -> Wine-Mono 4.8.3 = same as above

---

Wine 4.11 -> Wine-Mono 4.9.0 = different problem

Useless backtrace, it crashes while generating it.

--- snip ---
=================================================================
    Native Crash Reporting
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

=================================================================
    Managed Stacktrace:
=================================================================
=================================================================
wine: Unhandled page fault on write access to 0x00000000 at address 0x8f21b0
(thread 0009), starting debugger...
--- snip ---

---

Wine 4.14 -> Wine-Mono 4.9.2 = different problem

--- snip ---
Unhandled Exception:
System.PlatformNotSupportedException: Operation is not supported on this
platform.
  at <Module>.mainCRTStartupStrArray (System.String[] arguments) [0x00033] in
<976c5c68be174aacb89747bf4544f997>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.PlatformNotSupportedException:
Operation is not supported on this platform.
  at <Module>.mainCRTStartupStrArray (System.String[] arguments) [0x00033] in
<976c5c68be174aacb89747bf4544f997>:0 
--- snip ---

Wine 4.17 -> Wine-Mono 4.9.3 = same as above
Wine 4.20 -> Wine-Mono 4.9.4 = same as above

---

Wine 5.7 -> Wine-Mono 5.0.0 = different problem

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files (x86)/Garmin/HomePort

$ WINE_MONO_TRACE=all wine ./HomePort.exe 
...
[00000024: 0.04108 4] ENTER:c System.AppDomain:get_CurrentDomain ()()
[00000024: 0.04131 5] ENTER:c (wrapper managed-to-native)
System.AppDomain:getCurDomain ()()
[00000024: 0.04138 5] LEAVE:c (wrapper managed-to-native)
System.AppDomain:getCurDomain ()([System.AppDomain:05874120]
[00000024: 0.04146 4] LEAVE:c System.AppDomain:get_CurrentDomain
()([System.AppDomain:05874120]
[00000024: 0.04168 4] ENTER:c System.AppDomain:IsDefaultAppDomain
()(this:05874120[System.AppDomain mscorlib.dll])
[00000024: 0.04205 5] ENTER:c System.AppDomain:get_DefaultDomain ()()
[00000024: 0.04226 6] ENTER:c (wrapper managed-to-native)
System.AppDomain:getRootDomain ()()
[00000024: 0.04240 6] LEAVE:c (wrapper managed-to-native)
System.AppDomain:getRootDomain ()([System.AppDomain:05874120]
[00000024: 0.04248 6] ENTER:c System.AppDomain:get_CurrentDomain ()()
[00000024: 0.04254 7] ENTER:c (wrapper managed-to-native)
System.AppDomain:getCurDomain ()()
[00000024: 0.04260 7] LEAVE:c (wrapper managed-to-native)
System.AppDomain:getCurDomain ()([System.AppDomain:05874120]
[00000024: 0.04266 6] LEAVE:c System.AppDomain:get_CurrentDomain
()([System.AppDomain:05874120]
[00000024: 0.04272 5] LEAVE:c System.AppDomain:get_DefaultDomain
()([System.AppDomain:05874120]
[00000024: 0.04278 4] LEAVE:c System.AppDomain:IsDefaultAppDomain ()(result=1
[00000024: 0.04295 4] ENTER:c (wrapper managed-to-native)
object:__icall_wrapper_mono_generic_class_init (intptr)(038B8128)
[00000024: 0.04388 4] LEAVE:c (wrapper managed-to-native)
object:__icall_wrapper_mono_generic_class_init (intptr)(
[00000024: 0.04559 4] ENTER:c (wrapper managed-to-native)
<Module>:<CrtImplementationDetails>.DoDllLanguageSupportValidation ()()
0024:err:mscoree:ReallyFixupVTable unable to fixup vtable, hr=0, status=1
Assertion failed: 0, file
/home/focht/projects/wine/mainline-src-5.11/dlls/mscoree/corruntimehost.c, line
1305

0024:fixme:msvcrt:__clean_type_info_names_internal (0x7842e684) stub
0024:err:mscoree:expect_no_runtimes Process exited with a Mono runtime loaded.
--- snip ---

Wine 5.11 -> Wine-Mono 5.1.0 = same as above

Stable link via Internet Archive:

https://web.archive.org/web/20200625064849/https://download.garmin.com/software/HomePort_232.exe

$ sha1sum HomePort_232.exe 
9df27a6600528065cb9d3ded57804b8495610417  HomePort_232.exe

$ du -sh HomePort_232.exe 
36M    HomePort_232.exe

$ wine --version
wine-5.11-111-g1f6423f778

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list