[Bug 59196] New: MyWhoosh crashes on RoResolveNamespace stub for Windows.Devices.Bluetooth.Advertisement
http://bugs.winehq.org/show_bug.cgi?id=59196 Bug ID: 59196 Summary: MyWhoosh crashes on RoResolveNamespace stub for Windows.Devices.Bluetooth.Advertisement Product: Wine Version: 11.0-rc4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@list.winehq.org Reporter: smirky@smirky.net Distribution: --- Created attachment 80068 --> http://bugs.winehq.org/attachment.cgi?id=80068 WINEDEBUG=+bluetooth,+winrt,+seh wine ./MyWhoosh/Binaries/Win64/MyWhoosh.exe &>wine-debug.log MyWhoosh (indoor cycling application) crashes when attempting to initialize Bluetooth support due to unimplemented RoResolveNamespace for Windows.Devices.Bluetooth.Advertisement namespace. **Application:** MyWhoosh (https://mywhoosh.com/) **Wine Version:** 11-rc4 (compiled from git) **OS:** Arch Linux (up to date) **BlueZ Status:** Running and functional **What happens:** 1. MyWhoosh launches successfully (to a black screen) 2. Graphics/DirectX initialize correctly (I believe) 3. Application attempts to load Windows.Devices.Bluetooth.Advertisement namespace 4. RoResolveNamespace returns as stub (not implemented) 5. Application throws C++ exception (code e06d7363) immediately after 6. Crash reporter opens but app terminates **Relevant log output:** 0024:fixme:wintypes:RoResolveNamespace name L"Windows.Devices.Bluetooth.Advertisement", windowsMetaDataDir L"", metaDataFilePaths 00007FFFFEC78B88, subNamespaces 0000000000000000 stub! 0024:trace:seh:dispatch_exception code=e06d7363 (EXCEPTION_WINE_CXX_EXCEPTION) flags=1 addr=00006FFFFFBFD887 **Expected behavior:** RoResolveNamespace should load Windows Metadata (.winmd) for the Bluetooth.Advertisement namespace, allowing the application to instantiate Bluetooth LE classes like BluetoothLEAdvertisementWatcher. **Notes:** - With Wine 10.20, the app crashed earlier with TypeLoadException for Windows Runtime assemblies - With Wine 11-rc4, significant progress has been made - the app now reaches Bluetooth initialization - The basic Bluetooth driver infrastructure (winebth.sys) and BLE support appear to be present - The issue is specifically with the WinRT metadata resolution system **Reproduction:** 1. Install MyWhoosh for Windows (available from their website) 2. Run MyWhoosh.exe with Wine 11-rc4 3. Application crashes during Bluetooth initialization The application requires Bluetooth LE connectivity to communicate with fitness equipment (smart trainers, heart rate monitors, etc.). -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59196 Scipio <scipio.rockslide481@silomails.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |scipio.rockslide481@silomai | |ls.com --- Comment #1 from Scipio <scipio.rockslide481@silomails.com> --- Created attachment 81516 --> http://bugs.winehq.org/attachment.cgi?id=81516 MyWhoosh launch debug capture Using WINEDEBUG=+seh,+winrt,+bluetooth,+winsock on Lutris with Wine 11.13 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59196 --- Comment #2 from Scipio <scipio.rockslide481@silomails.com> --- Can confirm this issue still persists on Wine 11.13 (Staging). Testing Details: - Wine Version: Wine Staging 11.13 (x86_64) - Launcher: Lutris - App Version: MyWhoosh (Win64 Shipping build) When launching the unpatched game, the process terminates immediately with a fatal managed exception in Wine-Mono: System.TypeLoadException: Could not load type of field 'BluetoothManager.BluetoothProgram:advertisment' (0) due to: Could not load file or assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null' or one of its dependencies. at (wrapper native-to-managed) FunctionsManager.MyWhoosh.BT_InitBluetoothManager() Attached full debug log: `MyWhoosh launch debug capture`. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59196 --- Comment #3 from Ken Sharp <imwellcushtymelike@gmail.com> --- How do you download this? It keeps taking me to the Windows Store. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59196 --- Comment #4 from Scipio <scipio.rockslide481@silomails.com> --- @Ken Sharp MyWhoosh is an app only found in the Microsoft Store, so there is no direct download link. On Windows, you can download it normally through the Store and then locate the installation directory. On Linux, you can use a website like https://store.rg-adguard.net/ to generate a direct download link for the .msix file, which you can then unzip with 7z or a similar archive tool. Alternatively, there is a Lutris install script (https://github.com/Dj0ulo/mywhoosh-linux) that automates the .msix download and extraction. This script applies a patch to WindowsConnectivity.dll to bypass a crash but completely disables Bluetooth detection in the process. -- 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.
participants (1)
-
WineHQ Bugzilla