https://bugs.winehq.org/show_bug.cgi?id=49173
Bug ID: 49173
Summary: widl generates invalid code for Gecko's ISimpleDOM.idl
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: rpc
Assignee: wine-bugs(a)winehq.org
Reporter: emilio(a)crisal.io
Distribution: ---
Compiling the following IDL file t.idl:
import "objidl.idl";
import "oaidl.idl";
[object, uuid(1814ceeb-49e2-407f-af99-fa755a7d2607)]
interface ISimpleDOMNode : IUnknown
{
[propget, local] HRESULT localInterface([out][retval] void **localInterface);
[propget, call_as(get_localInterface)]
HRESULT remoteLocalInterface([out][retval] IUnknown **localInterface);
}
With:
$ ./tools/widl/widl -m 64 --win64 -robust -Oicf t.idl -I include
Generates the following bit:
struct _PARAM_STRUCT
{
ISimpleDOMNode *This;
IUnknown **localInterface;
HRESULT _RetVal DECLSPEC_ALIGN(8);
} *pParamStruct = (struct _PARAM_STRUCT *)pStubMsg->StackTop;
Which fails to compile like:
3:11.30 ISimpleDOM_p.c(65,24): error: expected ';' at end of declaration list
3:11.30 HRESULT _RetVal DECLSPEC_ALIGN(8);
Moving the DECLSPEC_ALIGN code before _RetVal fixes it.
--
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.
https://bugs.winehq.org/show_bug.cgi?id=48806
Bug ID: 48806
Summary: Panzer Corps 2 needs
msvcp140.dll.?_XLgamma@std@@YANN@Z
Product: Wine
Version: 5.4
Hardware: x86-64
OS: Linux
Status: NEW
Severity: minor
Priority: P2
Component: msvcp
Assignee: wine-bugs(a)winehq.org
Reporter: andrey.goosev(a)gmail.com
Distribution: ---
wine: Call from 0x7b02d568 to unimplemented function
msvcp140.dll.?_XLgamma@std@@YANN@Z
wine-5.4-306-g9c190f8118
--
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.
https://bugs.winehq.org/show_bug.cgi?id=48960
Bug ID: 48960
Summary: NtQueryDirectoryFile incorrectly returns
STATUS_NO_MORE_FILES when it encounters an ignored
entry
Product: Wine
Version: 5.6
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ntdll
Assignee: wine-bugs(a)winehq.org
Reporter: 2858628868(a)qq.com
Distribution: ---
I encountered a problem when compiling a .cc file with cl.exe in the HOME
directory. The compiler always reports that the .cc file cannot be found. After
some digging, I found that c1xx.dll of cl.exe used NtQueryDirectoryFile to
enumerate files and confirm whether it existed. Unfortunately, there is a
WINEPREFIX directory in the HOME directory, and NtQueryDirectoryFile consider
it should be ignored (it is ignored in the get_dir_data_entry function). When
NtQueryDirectoryFile enumerates by a single entry, it will return
STATUS_NO_MORE_FILES prematurely if it encounters an ignored entry. The
enumeration loop in c1xx.dll therefore exited early and reported that the .cc
file could not be found.
My WINE version is 4.0. After checking the source code, I confirmed that this
problem also exists in the 5.x version.
--
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.
https://bugs.winehq.org/show_bug.cgi?id=48740
Bug ID: 48740
Summary: ConEmu is constantly loosing focus
Product: Wine
Version: 5.3
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: rpisl(a)seznam.cz
Distribution: ---
ConEmu is constantly loosing focus in the console window and also in the
settings dialog. This behavior makes it unusable.
Focus is set back after clicking by mouse but for only a few seconds.
Tested on Wine 5.3 and Wine-Staging 5.3 with same behavior.
--
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.
https://bugs.winehq.org/show_bug.cgi?id=48738
Bug ID: 48738
Summary: When running certain Batch files, my Wine cmd.exe
reproducible crashes with "page fault on read access"
or with "stack overflow in 32-bit code".
Product: Wine
Version: 5.3
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: cmd
Assignee: wine-bugs(a)winehq.org
Reporter: temp2004(a)freenet.de
Distribution: ---
Created attachment 66628
--> https://bugs.winehq.org/attachment.cgi?id=66628
Two batch files and the crashdump
I think the problem is new since middle of last year, at least reproducible
with Wine 5.2 and 5.3.
Find attached two small batch files: they should set some environment variables
and look for some directories, but they don't reach their end.
At real Windows (also when running at VirtualBox) they work properly instead.
Scenario:
create a directory and store one.bat and two.bat into it.
run: wineconsole one.bat
If the problem occurs, Wine crashes immediately.
("wine: Unhandled page fault on read access to FFFFFFF0 at address F7D2D3AB
(thread 01a8), starting debugger...")
The behavior depends very much on the content of the batch files:
adding commands or changing the variable's names may prevent it from crashing
or may shift the crash to a different line.
--
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.
https://bugs.winehq.org/show_bug.cgi?id=49142
Bug ID: 49142
Summary: Horizontal mouse scroll events (X11 buttons 6 and 7)
should not be translated to back/forward events
Product: Wine
Version: unspecified
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: winex11.drv
Assignee: wine-bugs(a)winehq.org
Reporter: muzerakascooby(a)gmail.com
Distribution: ---
Wine translates X11 buttons 6 and 7 to back/forward events. While these
historically were occasionally mapped to back/forward buttons on mice, nowadays
the overwhelming standard is to use 6/7 exclusively for horizontal scrolling,
and 8/9 for back and forward buttons (which wine also maps to these events).
The existing behaviour makes some applications more painful than necessary to
use on laptops with touchpads, as horizontal scrolling (a normally quite
harmless activity) can be triggered quite easily by accident when scrolling
vertically, causing back and forward events (which are considerably less
harmless) to be sent.
I understand that there has only been a standard in Windows for horizontal
scrolling since Vista, so I understand if implementing this is unfeasible. But
horizontal scroll events should NOT be translated into back/forward events.
I believe the culprit to be mouse.c lines 77/78, 90/91, 103/104, and 116/117
(as of 7afa53c0f20aa40f0d13c81a7d20b523f62f99ab).
--
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.
https://bugs.winehq.org/show_bug.cgi?id=48747
Bug ID: 48747
Summary: ConEmu flickers and scrolls randomly
Product: Wine
Version: 5.4
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: rpisl(a)seznam.cz
Distribution: ---
This is follow-up of bug 48740. ConEmu flickers and scrolls randomly after
console is filled with content. The problem is in the way wineconsole
recalculates position and scrollbars in WCUSER_ComputePositions. (ConEmu runs
wineconsole in background).
--
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.
https://bugs.winehq.org/show_bug.cgi?id=48495
Bug ID: 48495
Summary: XCP-ng Center v8.x (.NET 4.6 app) can't connect to
server with self-signed certificate
Product: Wine
Version: 4.21
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: crypt32
Assignee: wine-bugs(a)winehq.org
Reporter: imirkin(a)alum.mit.edu
Distribution: ---
Needless to say, this works fine on windows. The application requires the
"dotnet462" winetricks verb to start, and see #48492 for ways to get past the
splash screen. Installation msi available from
https://github.com/xcp-ng/xenadmin/releases/download/v8.0.1.26/XCP-ng-Cente…
.
However once in the application, it can't actually connect.
WINEDEBUG=trace+crypt,trace+chain shows the following happening over and over
and over and over again:
0072:trace:crypt:CertVerifyCertificateChainPolicy (#0004, 0xbe571d0, 0xd7beb70,
0xd7beb30)
0072:trace:chain:dump_policy_para cbSize = 12
0072:trace:chain:dump_policy_para dwFlags = 00000010
0072:trace:chain:dump_policy_para pvExtraPolicyPara = 0xd7beb60
0072:trace:chain:dump_ssl_extra_chain_policy_para cbSize = 16
0072:trace:chain:dump_ssl_extra_chain_policy_para dwAuthType = 2
0072:trace:chain:dump_ssl_extra_chain_policy_para fdwChecks = 00000000
0072:trace:chain:dump_ssl_extra_chain_policy_para pwszServerName =
L"<redacted>"
0072:trace:crypt:CertVerifyCertificateChainPolicy returning 1 (800b0109)
800b0109 = CERT_E_UNTRUSTEDROOT
And indeed, it's a self-signed certificate, which isn't in the trusted list.
However note that policy_para.dwFlags = 0x10 ==
CERT_CHAIN_POLICY_ALLOW_UNKNOWN_CA_FLAG . This is handled in
verify_base_policy. However verify_ssl_policy only checks for the bit in
extra_chain_policy_para.fdwChecks, which is empty here.
The (.NET) application does the following:
SslStream sslStream = new SslStream(stream, false,
new RemoteCertificateValidationCallback(ValidateServerCertificate), null);
Where the ValidateServerCertificate function = "return true".
I suspect that the policy para's dwFlags should be respected by
verify_ssl_policy even if fdwFlags isn't set... but my familiarity with these
APIs extends to all of the past couple of hours ... an expert opinion would be
quite welcome.
--
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.