https://bugs.winehq.org/show_bug.cgi?id=46981
Bug ID: 46981 Summary: winetricks -q --verify dotnet461 crashes under win64 Product: Wine Version: 4.5 Hardware: x86-64 OS: Linux Status: NEW Keywords: dotnet, download, Installer, win64 Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: Gentoo
Created attachment 64146 --> https://bugs.winehq.org/attachment.cgi?id=64146 backtrace
To reproduce: wineserver -k ; rm -rf ~/.wine ; WINE=/opt/oldwow64/wine-4.5/bin/wine WINEARCH=win64 winetricks -q --verify dotnet461
--verify will invoke the .Net verifier. This works for all .Net versions on 32-bit. With 64-bit, dotnet461/dotnet462/dotnet472 are crashing for me.
It doesn't always show a backtrace, I've only gotten one 2 out of ~10 times.
Executing /opt/oldwow64/wine-4.5/bin/wine y:\ahk\AutoHotkey.exe C:\windows\Temp_dotnet461\tmp.ahk Unhandled exception: 0xe0434352 in 64-bit code (0x000000007b451986). Register dump: rip:000000007b451986 rsp:000000000022c060 rbp:000000000022c1d0 eflags:00000206 ( - -- I - -P- ) rax:000000000022c080 rbx:0000000000000001 rcx:000000000022c080 rdx:000000000022c0a0 rsi:000000000022c2a0 rdi:000000000022c0c8 r8:0000000000000005 r9:000000000022c278 r10:0000000000000006 r11:000000000022c278 r12:0000000000004000 r13:0000000000000000 r14:00000000e0434352 r15:0000000000000001 Stack dump: 0x000000000022c060: 000000000022c080 000000000022c1d0 0x000000000022c070: 0000000000000014 000000001a0ff248 0x000000000022c080: 00000001e0434352 0000000000000000 0x000000000022c090: 000000007b451986 0000000000000005 0x000000000022c0a0: ffffffff80070020 0000000000000000 0x000000000022c0b0: 0000000000000000 0000000000000000 0x000000000022c0c0: 0000000000520000 0000000000004000 0x000000000022c0d0: 00000000013f6300 0000000000000000 0x000000000022c0e0: 000000000022c5a0 0000000000541832 0x000000000022c0f0: 000000000004c310 000000000022c5a0 0x000000000022c100: 0000000000000000 000000000004c310 0x000000000022c110: 0000000000000001 95941aab1f4dee00 Backtrace: =>0 0x000000007b451986 in kernel32 (+0x31986) (0x000000000022c1d0) 0x000000007b451986: movq 0x00000000000000b8(%rsp),%rax Modules: Module Address Debug info Name (31 modules) PE 3b0000- 3c6000 Deferred nlssorting PE 400000- 408000 Deferred netfx40testapplication PE 520000- e7c000 Deferred clr PE e80000- f77000 Deferred msvcr120_clr0400 PE 19f90000- 1a095000 Deferred clrjit PE 1b020000- 1b137000 Deferred diasymreader PE 7b420000- 7b5d1000 Export kernel32 PE 7bc20000- 7bc24000 Deferred ntdll PE 180000000- 180098000 Deferred mscoreei PE 6427ee50000- 6427eebf000 Deferred mscoree PE 7f2ab7ae0000- 7f2ab7ae3000 Deferred shcore PE 7f2ab7b20000- 7f2ab83f3000 Deferred shell32
I'll attach a (different, full backtrace) that I got from a crash dialog.
https://bugs.winehq.org/show_bug.cgi?id=46981
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #1 from Austin English austinenglish@gmail.com --- Note: looks like adding 'nocrashdialog' to the winetricks options is much more likely to get a backtrace.
CC'ing Focht, since I have a feeling he'll be interested ;)
https://bugs.winehq.org/show_bug.cgi?id=46981
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=46981
Andy P pembertona@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pembertona@gmail.com
--- Comment #2 from Andy P pembertona@gmail.com --- Following... I've not yet been able to get a dotnet4 (or any subsequent 4.x dotnet release) running on a win64 prefix from the Mac.
https://bugs.winehq.org/show_bug.cgi?id=46981
--- Comment #3 from Austin English austinenglish@gmail.com --- (In reply to Andy P from comment #2)
Following... I've not yet been able to get a dotnet4 (or any subsequent 4.x dotnet release) running on a win64 prefix from the Mac.
Frankly; I've never tried. I spent a bit of time adding some basic tests for this to winetricks (built helloworld.exe with mono's mcs, then added that to winetricks_dotnet_verify).
4.0 and 4.5 work, but 4.6.1/4.6.2/4.7.1/4.7.2 fail. I couldn't test 4.8, as mono's mcs doesn't support building 4.8.
To be fair, I haven't tested the binaries on Windows.
https://bugs.winehq.org/show_bug.cgi?id=46981
--- Comment #4 from Andy P pembertona@gmail.com --- Thanks Austin.
Might I ask which wine build # / branch you were using?
How did you verify 4.0 and 4.5 worked? Did you run a sample app or ntfx_verify?
Also any details on how 4.6 and above failed? Internal error in clr.dll?
https://bugs.winehq.org/show_bug.cgi?id=46981
--- Comment #5 from Austin English austinenglish@gmail.com --- (In reply to Andy P from comment #4)
Thanks Austin.
Might I ask which wine build # / branch you were using?
I was mostly testing with wine-4.0. There were some regressions in newer wine (e.g., bug 47436). That should be fixed with newer versions (though I've seen some reports there may be issues related to using/not using mingw, so I wanted to stick to a version that I knew worked with at least 32-bit dotnet (and that I already had 64-bit binaries built for).
How did you verify 4.0 and 4.5 worked? Did you run a sample app or ntfx_verify?
I'm not sure what you mean by ntfx_verify. Do you mean dotnet_verifier?
In this case I was running ./tests/winetricks-test, with 32/64 bit wine with my testing branch (https://github.com/austin987/winetricks/tree/dotnet-binaries2). The branch runs dotnet_verifier (already in winetricks) but also binaries I built with mcs (as I said in comment #3):
#32-bit: austin@laptop ~/src/winetricks (dotnet-binaries2) $ export WINE=/opt/oldwine/wine-4.0/bin/wine austin@laptop ~/src/winetricks (dotnet-binaries2) $ time ./tests/winetricks-test dotnet
#64-bit: austin@laptop ~/src/winetricks (dotnet-binaries2) $ export WINE=/opt/oldwow64/wine-4.0/bin/wine64
Also any details on how 4.6 and above failed? Internal error in clr.dll?
Yep, similar backtraces to what I have in original comment.
https://bugs.winehq.org/show_bug.cgi?id=46981
--- Comment #6 from Andy P pembertona@gmail.com --- @Austin -
When running: winetricks -q --verify dotnet40
On version: portable-winehq-stable-4.0.2-osx64
On a win64 prefix, I still get:
003f:err:eventlog:ReportEventW L"Application: Netfx40TestApplication.exe\nFramework Version: v4.0.30319\nDescription: The process was terminated due to an internal error in the .NET Runtime at IP 000006447F1D6F19 (000006447F100000) with exit code 80131506.\n"
https://bugs.winehq.org/show_bug.cgi?id=46981
--- Comment #7 from Andy P pembertona@gmail.com --- (Sorry - just realized this ticket was for gentoo; will go back and add comments on a Mac specific bug)
https://bugs.winehq.org/show_bug.cgi?id=46981
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d95bffdadbf18b91c1bb15cc713 | |2ae3b9f505f98 Resolution|--- |FIXED Component|kernel32 |msi Status|NEW |RESOLVED
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello folks,
this was fixed by commit https://source.winehq.org/git/wine.git/commitdiff/d95bffdadbf18b91c1bb15cc71... ("msi: Fix component Action for shared components in CostFinalize.").
Thanks Piotr
Part of Wine 4.15 release.
Found this by reverse regression test which unfortunately required full procedure of clean install every time. Encountering various broken Wine versions during reverse bisecting didn't make it easier either.
$ wine --version wine-5.0-rc1
Regards
https://bugs.winehq.org/show_bug.cgi?id=46981
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.0-rc2.
https://bugs.winehq.org/show_bug.cgi?id=46981
Shawn Minnix shawnminnix@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |shawnminnix@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=46981
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.x
https://bugs.winehq.org/show_bug.cgi?id=46981
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.x |---
--- Comment #10 from Michael Stefaniuc mstefani@winehq.org --- Removing the 4.0.x milestone from bug fixes included in 4.0.4.