https://bugs.winehq.org/show_bug.cgi?id=57410
Bug ID: 57410 Summary: Power BI Desktop x64 (Oct 2024) : Crash at Launch with a message box : Something wen wrong Product: Wine Version: 9.17 Hardware: arm OS: MacOS Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: jernierdour@proton.me
Created attachment 77395 --> https://bugs.winehq.org/attachment.cgi?id=77395 Log
I successfully installed Power BI Desktop x64 v2.137.1102.0 date 28/10/2024.
But when I try to launch it after install, a message box appears with title "Something went wrong" and text "Object reference not set to an instance of an object"
I am on a Macbook pro (M1 pro) under Sequoia 15.1
To be sure my Wine 9.17 dev install works, I installed notepad++ 8.7.1 and I can launch it without any issue
https://bugs.winehq.org/show_bug.cgi?id=57410
--- Comment #1 from JD jernierdour@proton.me --- Created attachment 77396 --> https://bugs.winehq.org/attachment.cgi?id=77396 Message box
https://bugs.winehq.org/show_bug.cgi?id=57410
JD jernierdour@proton.me changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Power BI Desktop x64 (Oct |Power BI Desktop x64 (Oct |2024) : Crash at Launch |2024) : Crash at Launch |with a message box : |with a message box : |Something wen wrong |Something went wrong
https://bugs.winehq.org/show_bug.cgi?id=57410
F H francisco278herrera@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |francisco278herrera@gmail.c | |om
--- Comment #2 from F H francisco278herrera@gmail.com --- Installing dotnet 4.7.2 using winetricks gets around this problem but the program will still fail to launch.
https://bugs.winehq.org/show_bug.cgi?id=57410
--- Comment #3 from F H francisco278herrera@gmail.com --- (In reply to F H from comment #2)
Installing dotnet 4.7.2 using winetricks gets around this problem but the program will still fail to launch.
Installing dotnet 4.7.2, dotnet 8.0, gdiplus, gdiplus_winxp, vcrun2022, dxvk, dot net desktop 8.0, ucrt using winetricks and winbind using "sudo apt install winbind" makes the program produce only one error message instead of 2
https://bugs.winehq.org/show_bug.cgi?id=57410
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |mscoree CC| |madewokherd@gmail.com
--- Comment #4 from Esme Povirk madewokherd@gmail.com --- Can you get a log with WINE_MONO_TRACE=E:System.NullReferenceException ?
https://bugs.winehq.org/show_bug.cgi?id=57410
--- Comment #5 from F H francisco278herrera@gmail.com --- Created attachment 77538 --> https://bugs.winehq.org/attachment.cgi?id=77538 trace with /home/asdf/WINE_MONO_TRACE=E:System.NullReferenceException on a linux system
running wine 9.22, ubuntu 24.04
https://bugs.winehq.org/show_bug.cgi?id=57410
--- Comment #6 from F H francisco278herrera@gmail.com --- (In reply to F H from comment #5)
Created attachment 77538 [details] trace with /home/asdf/WINE_MONO_TRACE=E:System.NullReferenceException on a linux system
running wine 9.22, ubuntu 24.04
in a clean wineprefix in an x86 system
https://bugs.winehq.org/show_bug.cgi?id=57410
--- Comment #7 from Esme Povirk madewokherd@gmail.com --- Is this the correct download page URL? https://www.microsoft.com/en-US/download/details.aspx?id=58494
https://bugs.winehq.org/show_bug.cgi?id=57410
--- Comment #8 from F H francisco278herrera@gmail.com --- (In reply to Esme Povirk from comment #7)
Is this the correct download page URL? https://www.microsoft.com/en-US/download/details.aspx?id=58494
Yes
https://bugs.winehq.org/show_bug.cgi?id=57410
--- Comment #9 from Esme Povirk madewokherd@gmail.com --- I think this is a marshaling bug. The application calls CoInternetGetSession like this:
[DllImport("urlmon")] static extern int CoInternetGetSession(uint a,ref IInternetSession b,uint c);
And it seems that IInternetSession variable is null afterwards. It doesn't appear to be possible for Wine's urlmon to set that to null and return 0, so I'm guessing that "ref IUnknown" stuff isn't marshaling correctly.
https://bugs.winehq.org/show_bug.cgi?id=57410
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://download.microsoft. | |com/download/8/8/0/880BCA75 | |-79DD-466A-927D-1ABF1F5454B | |0/PBIDesktopSetup_x64.exe
https://bugs.winehq.org/show_bug.cgi?id=57410
--- Comment #10 from Esme Povirk madewokherd@gmail.com --- After hacking around that, I get this error: CLR: Managed code called FailFast, saying "mscorlib.resources couldn't be found! Large parts of the BCL won't work!"
That's actually thrown by Mono code in referencesource. If I hack that out, I run into problems with the marshaling hack.
https://bugs.winehq.org/show_bug.cgi?id=57410
--- Comment #11 from F H francisco278herrera@gmail.com --- Even if you do get it working with dotnet 4.7.2 the app when it fails to launch will show transparent error messages although I have not tried to install WebView2 from the Microsoft website which comes as a .cab file