[Bug 53035] New: Out-GridView (when winversion >win7) is broken since 182feddd4b02e83f3c69863bc2e6e63945eb2df1

WineHQ Bugzilla wine-bugs at winehq.org
Sun May 22 07:54:31 CDT 2022


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

            Bug ID: 53035
           Summary: Out-GridView  (when winversion >win7) is broken since
                    182feddd4b02e83f3c69863bc2e6e63945eb2df1
           Product: Wine
           Version: 7.9
          Hardware: x86-64
               URL: https://github.com/PowerShell/PowerShell/releases/down
                    load/v7.0.3/PowerShell-7.0.3-win-x64.msi
                OS: Linux
            Status: NEW
          Keywords: download, regression
          Severity: normal
          Priority: P2
         Component: dwmapi
          Assignee: wine-bugs at winehq.org
          Reporter: xerox.xerox2000x at gmail.com
                CC: jzeng at codeweavers.com
   Regression SHA1: 182feddd4b02e83f3c69863bc2e6e63945eb2df1
      Distribution: ---

Since the mentioned commit now an "Unhandled division by zero" is encountered
when trying to display Out-GridView in Powershell Core; (the
DwmGetCompositionTiming is apparently only called when winversion > win7)

Maybe returning a non-zero value in one of the DWM_TIMING_INFO members is
enough to fix this, but i haven`t tested

crash:
wine: Unhandled division by zero at address 00000000243E54D3 (thread 0158),
starting debugger...


Steps to reproduce: 
1. Install
https://github.com/PowerShell/PowerShell/releases/download/v7.0.3/PowerShell-7.0.3-win-x64.msi

2. Set windows version to win10 (or win81)

3. Then do for example:

'wine pwsh -c Get-Process \| Out-gridview'

(Note: the backslash is only needed to escape the pipe operator in bash)

Workaround for now: disable dwmapi, makes it work again

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