[Bug 52396] New: Stack overflows when running 64-bit .net6 program

WineHQ Bugzilla wine-bugs at winehq.org
Fri Jan 14 16:23:55 CST 2022


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

            Bug ID: 52396
           Summary: Stack overflows when running 64-bit .net6 program
           Product: Wine
           Version: 7.0-rc5
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: matdug1 at hotmail.com
      Distribution: ---

Created attachment 71635
  --> https://bugs.winehq.org/attachment.cgi?id=71635
Sample project and steps to reproduce video

I'm seeing multiple instances of stack overflow errors when running 64 bits
dotnet6 programs in Wine ( version 7.0 RC5 as well as in v6.0.2 Stable on
Fedora )

The rationale for running a .net6 program in Wine instead of the native Linux
implementation is that the Winform API is only supported in the Windows,
Android and IOS versions of .net6. The app is also 64 bits because the
debuggers for .net core (vsdbg, Samsung's netcoredbg) are apparently not
available for windows in 32-bits flavors.

Included is a small .net6 application where the issue is easily reproduced.

STEPS TO REPRODUCE :

-Install the .net6 SDK from
https://dotnet.microsoft.com/en-us/download/dotnet/6.0 on a Windows machine
-Download the sample application WineStackOverflowError.zip
-Build and publish the application :

dotnet publish WineStackOverflowError.csproj -r win7-x64

-Deploy the published app on Linux from
.\bin\Debug\net6.0-windows\win7-x64\publish
-Run the application in Wine
-In the property grid click in rapid succession on the Backcolor field within
the PropertyGrid.
-After a few clicks a stack overflow error is triggered.

019c:err:virtual:virtual_setup_exception stack overflow 2704 bytes in thread
019c addr 0x1700540d9 stack 0x20570 (0x20000-0x21000-0x1a0000)


A webm video showing how to reproduce this is also provided.

Thank You

M. Dugal

-- 
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