https://bugs.winehq.org/show_bug.cgi?id=53867
Bug ID: 53867
Summary: vbscript fails to retrieve property array by index
Product: Wine
Version: 7.20
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: vbscript
Assignee: wine-bugs(a)winehq.org
Reporter: jsm174(a)gmail.com
Distribution: ---
Given the following vbscript, access to aObj.ModIn(x) and aObj.ModOut(x) fail:
dim RubbersD : Set RubbersD = new Dampener
RubbersD.addpoint 0, 0, 1.1
RubbersD.addpoint 1, 3.77, 0.97
RubbersD.addpoint 2, 5.76, 0.967
RubbersD.addpoint 3, 15.84, 0.874
RubbersD.addpoint 4, 56, 0.64
dim SleevesD : Set SleevesD = new Dampener
SleevesD.CopyCoef RubbersD, 0.85
Class Dampener
Public ModIn, ModOut
Private Sub Class_Initialize : redim ModIn(5) : redim Modout(5): End Sub
Public Sub AddPoint(aIdx, aX, aY)
ModIn(aIdx) = aX
ModOut(aIdx) = aY
End Sub
Public Sub CopyCoef(aObj, aCoef)
dim x : for x = 0 to uBound(aObj.ModIn)
addpoint x, aObj.ModIn(x), aObj.ModOut(x)*aCoef
Next
End Sub
End Class
It seems invoke_variant_prop in vbdisp.c has specific code that looks to see if
there is an argument, and if so fails.
I've added a block that only fails if there are arguments and the variant is
not an ARRAY. I lifted the code from array_access in interp.c. Unfortunately
array_access is not available to vbdisp.c:
static HRESULT invoke_variant_prop(script_ctx_t *ctx, VARIANT *v, WORD flags,
DISPPARAMS *dp, VARIANT *res)
{
HRESULT hres;
switch(flags) {
case DISPATCH_PROPERTYGET|DISPATCH_METHOD:
case DISPATCH_PROPERTYGET:
if(dp->cArgs) {
if (V_ISARRAY(v)) {
SAFEARRAY *array = V_ARRAY(v);
unsigned i, argc = arg_cnt(dp);
LONG *indices;
if(!array) {
FIXME("NULL array\n");
return E_FAIL;
}
.
.
.
else {
WARN("called with arguments\n");
return DISP_E_MEMBERNOTFOUND; /* That's what tests show */
}
--
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=53296
Bug ID: 53296
Summary: USB Device Remover crashes on unimplemented function
mscoree.dll.StrongNameTokenFromAssembly
Product: Wine
Version: 7.11
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mscoree
Assignee: wine-bugs(a)winehq.org
Reporter: alexhenrie24(a)gmail.com
Distribution: ---
Created attachment 72662
--> https://bugs.winehq.org/attachment.cgi?id=72662
Console output
Pretty self-explanatory.
$ sha256sum DeviceRemoverSetup.exe
f22696f92b1e256264894cc7d87e205b285a9effd8fed30a4de3ea6431a40b5f
--
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=50941
Bug ID: 50941
Summary: TIP-Integral: crashes at installation
Product: Wine
Version: unspecified
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: winsock
Assignee: wine-bugs(a)winehq.org
Reporter: e.blomart(a)posteo.be
Distribution: ---
Created attachment 69751
--> https://bugs.winehq.org/attachment.cgi?id=69751
Wine bug report
I am trying to run an accounting application. The client is named "TIP
Integral" (https://www.integral.be/fr/download/)
I cannot connect to the server, because it has at least one function missing
from the Wine Implementation of WS2_32.dll; WSAConnectByNameW in this case.
The bug was issued on 3 different machines and also happened in Wine 6.4.
Cheers,
Emile
--
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=54215
Bug ID: 54215
Summary: ListView doesn't refresh when changing between List
and Details styles.
Product: Wine
Version: 7.20
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: comctl32
Assignee: wine-bugs(a)winehq.org
Reporter: timoninvlad(a)yandex.ru
Distribution: ---
Can be observed in any `GetOpenFileName`/`GetSaveFileName` file dialog, for
example in `notepad` or `regedit`.
Regressed after a8396d8b1e852276b6cea9f2c50834739d1170da.
--
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=53981
Bug ID: 53981
Summary: Chromium broken sandbox due to GetSecurityInfo giving
access denied
Product: Wine
Version: 7.21
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: dark.shadow4(a)web.de
Distribution: ---
Created attachment 73562
--> https://bugs.winehq.org/attachment.cgi?id=73562
Hack to make it run
Chromium added some changes that break under wine.
Bisected to
https://github.com/chromium/chromium/commit/334d609732bfa22da7e5dd5e3543949…
Callstack:
https://github.com/chromium/chromium/blob/334d609732bfa22da7e5dd5e3543949c9…
broker_services.cc: ResultCode
BrokerServicesBase::CreateAlternateDesktop(Desktop desktop)
ResultCode result = alt_winstation_->Initialize(true);
ResultCode result = alt_desktop_->Initialize(false);
https://github.com/chromium/chromium/blob/334d609732bfa22da7e5dd5e3543949c9…
alternate_desktop.cc: ResultCode AlternateDesktop::Initialize(bool
alternate_winstation)
ResultCode result = CreateAltWindowStation(&winstation_);
https://github.com/chromium/chromium/blob/334d609732bfa22da7e5dd5e3543949c9…
window.cc: ResultCode CreateAltWindowStation(HWINSTA* winsta)
if (!GetSecurityAttributes(current_winsta, &attributes))
https://github.com/chromium/chromium/blob/334d609732bfa22da7e5dd5e3543949c9…
window.cc: bool GetSecurityAttributes(HANDLE handle, SECURITY_ATTRIBUTES*
attributes)
GetSecurityInfo
Then we enter "GetSecurityInfo" inside Wine.
That calls into NtQuerySecurityObject
And inside wineserver we call
struct object *get_handle_obj( struct process *process, obj_handle_t handle,
unsigned int access, const struct object_ops *ops )
which returns STATUS_ACCESS_DENIED
Attaching a hack to remove that check, that makes chrome run.
--
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=49615
Bug ID: 49615
Summary: since 5.5 : fail DVD access without any need or cause.
Product: Wine-staging
Version: 5.13
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: winebugs(a)evolution-hosting.eu
CC: leslie_alistair(a)hotmail.com, z.figura12(a)gmail.com
Distribution: ---
Created attachment 67801
--> https://bugs.winehq.org/attachment.cgi?id=67801
dmesg output
OS: Fedora 31
ARCH: X86_64
CPU: FX8350
On wine-staging start, the attached log is produced, everytime a programm is
started and sometimes in conjunction with NVRM Xid 31/32 errors for Nvidia gfx
car.
This can be observed since wine 5.5 .
3d party extension: DXVK
packages installed:
mingw32-wine-gecko-2.47.1-1.fc31.noarch
mingw64-wine-gecko-2.47.1-1.fc31.noarch
wine-5.10-1.fc31.i686
wine-5.10-1.fc31.x86_64
wine-alsa-5.10-1.fc31.i686
wine-alsa-5.10-1.fc31.x86_64
wine-arial-fonts-5.10-1.fc31.noarch
wine-capi-5.10-1.fc31.i686
wine-capi-5.10-1.fc31.x86_64
wine-cms-5.10-1.fc31.i686
wine-cms-5.10-1.fc31.x86_64
wine-common-5.10-1.fc31.noarch
wine-core-5.10-1.fc31.i686
wine-core-5.10-1.fc31.x86_64
wine-courier-fonts-5.10-1.fc31.noarch
wine-debuginfo-2.10-1.fc25.x86_64
wine-desktop-5.10-1.fc31.noarch
wine-filesystem-5.10-1.fc31.noarch
wine-fixedsys-fonts-5.10-1.fc31.noarch
wine-fonts-5.10-1.fc31.noarch
wine-ldap-5.10-1.fc31.i686
wine-ldap-5.10-1.fc31.x86_64
wine-marlett-fonts-5.10-1.fc31.noarch
wine-mono-5.0.0-1.fc31.noarch
wine-ms-sans-serif-fonts-5.10-1.fc31.noarch
wine-openal-5.10-1.fc31.i686
wine-openal-5.10-1.fc31.x86_64
wine-opencl-5.10-1.fc31.i686
wine-opencl-5.10-1.fc31.x86_64
wine-pulseaudio-5.10-1.fc31.i686
wine-pulseaudio-5.10-1.fc31.x86_64
wine-small-fonts-5.10-1.fc31.noarch
wine-staging64-5.13-1.3.x86_64
wine-staging-common-5.13-1.3.i686
wine-symbol-fonts-5.10-1.fc31.noarch
wine-systemd-5.10-1.fc31.noarch
wine-system-fonts-5.10-1.fc31.noarch
wine-tahoma-fonts-5.10-1.fc31.noarch
wine-tahoma-fonts-system-5.10-1.fc31.noarch
wine-times-new-roman-fonts-5.10-1.fc31.noarch
winetricks-20200412-1.fc31.noarch
wine-twain-5.10-1.fc31.i686
wine-twain-5.10-1.fc31.x86_64
wine-wingdings-fonts-5.10-1.fc31.noarch
--
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=52506
Bug ID: 52506
Summary: Setup of game "What's the Secret?" fails to create
icon
Product: Wine
Version: 7.1
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: shell32
Assignee: wine-bugs(a)winehq.org
Reporter: alexhenrie24(a)gmail.com
Distribution: ---
Created attachment 71804
--> https://bugs.winehq.org/attachment.cgi?id=71804
Output of `WINEDEBUG=+shell wine 3msetup.exe`
The children's educational game "What's the Secret?" creates a program group
named "3M Learning Software" and an icon within it named "What's the Secret?",
as can be seen in the attached trace:
0080:trace:shell:Dde_OnExecute conv=000000000025B0A0 topic=L"Progman"
data=L"[CreateGroup(3M Learning Software)]"
0080:trace:shell:Dde_OnExecute conv=000000000025B0A0 topic=L"Progman"
data=L"[AddItem(\"C:\\windows\\apw_data\\launch.exe F:\\3MSecret.exe\",What's
the Secret?)]"
There are two problems here:
1. The icon's target is a path plus arguments, which Wine does not support.
2. The icon name includes a question mark. That worked just fine on Windows
3.1, but when the Program Manager was replaced with the Start menu in Windows
95, "What's the Secret?" was automatically converted to "What's the Secret_" to
make it a valid file name. Wine imitates the Start menu but doesn't do any icon
name sanitization.
Although installation fails, the game can still be run directly from the CD.
--
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=52878
Bug ID: 52878
Summary: Improve software components also for using “Free PC
Audit”
Product: Wine
Version: 7.7
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: Markus.Elfring(a)web.de
Distribution: ---
I have tried the tool “Free PC Audit 5.1.211.96” out together with the software
“Wine 7.7-1449.4”.
Markus_Elfring@Sonne:~> wine
/home/altes_Heim2/elfring/geladen/Freeware/freepcaudit.exe
00c4:err:ntoskrnl:ZwLoadDriver failed to create driver
L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\SecDrv": c0000142
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"SecDrv"
failed to start: 1114
0024:fixme:thread:GetThreadUILanguage : stub, returning default language.
…
0024:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0113D9D4, 033AA680
0113D9FC
0024:fixme:nls:get_dummy_preferred_ui_language (0x38 0113D9D4 033AA680
0113D9FC) returning a dummy value (current locale)
0024:fixme:wtsapi:WTSRegisterSessionNotification Stub 00010078 0x00000000
0024:fixme:uxtheme:BufferedPaintInit Stub ()
0024:err:listview:LISTVIEW_WindowProc unknown msg 109d, wp 0, lp 0
0070:fixme:imm:ImeSetActiveContext (0x5a7b0, 0): stub
0070:fixme:imm:ImmReleaseContext (0000000000010020, 000000000005A7B0): stub
0024:fixme:imm:ImeSetActiveContext (0x268260, 1): stub
0024:fixme:imm:ImmReleaseContext (000100BE, 00268260): stub
0024:fixme:ntdll:NtQuerySystemInformation info_class
SYSTEM_PERFORMANCE_INFORMATION
0024:fixme:wbemdisp:object_Instances_
…
0024:fixme:wbemprox:class_object_GetMethod Method L"GetBinaryValue" not found
in class L"StdRegProv".
0024:fixme:wbemdisp:object_SpawnInstance_
…
0058:fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and
DISK_DETECTION_INFO structures will not be filled
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial
are not available.
…
0024:fixme:wuapi:automatic_updates_GetIDsOfNames
…
0120:fixme:secur32:get_cipher_algid unknown algorithm 23
0120:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
I would like to see more helpful information on the tab “Brief” (than an IP
address).
--
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=54234
Bug ID: 54234
Summary: vbscript fails to compile when colon follows Else in
If...Else
Product: Wine
Version: 7.21
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: vbscript
Assignee: wine-bugs(a)winehq.org
Reporter: jsm174(a)gmail.com
Distribution: ---
I just ran into a script where there is a ':' separator on a new line after an
ELSE:
if IsEmpty(BallData(idx).id) and aBall.VelY < -12 then 'if tip
hit with no collected data, do vel correction anyway
if PSlope(aBall.x, FlipperStart, 0, FlipperEnd, 1) >
1.1 then 'adjust plz
VelCoef = LinearEnvelope(5, VelocityIn,
VelocityOut)
if partialflipcoef < 1 then VelCoef =
PSlope(partialflipcoef, 0, 1, 1, VelCoef)
if Enabled then aBall.Velx =
aBall.Velx*VelCoef'VelCoef
if Enabled then aBall.Vely =
aBall.Vely*VelCoef'VelCoef
end if
Else
: VelCoef = LinearEnvelope(BallPos, VelocityIn,
VelocityOut)
if Enabled then aBall.Velx = aBall.Velx*VelCoef
if Enabled then aBall.Vely = aBall.Vely*VelCoef
end if
I was able to fix this by changing:
Else_opt
: /* empty */ { $$ = NULL; }
| tELSE NL StatementsNl_opt { $$ = $3; }
| tELSE StatementsNl_opt { $$ = $2; }
to
Else_opt
: /* empty */ { $$ = NULL; }
| tELSE StSep_opt StatementsNl_opt { $$ = $3; }
| tELSE StatementsNl_opt { $$ = $2; }
--
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=53926
Bug ID: 53926
Summary: New typelib marshaller depends on IID_IDispatch
support from target interface
Product: Wine
Version: 7.21
Hardware: x86-64
OS: Linux
Status: NEW
Keywords: regression, testcase
Severity: normal
Priority: P2
Component: oleaut32
Assignee: wine-bugs(a)winehq.org
Reporter: dmitry(a)baikal.ru
CC: z.figura12(a)gmail.com
Regression SHA1: 077b4391d442e927a2a59b5afb244355b0634aaa
Distribution: ---
Created attachment 73481
--> https://bugs.winehq.org/attachment.cgi?id=73481
test (source + binary)
New typelib marshaller depends on IID_IDispatch support from target
interface, however applications created with Delphi/.Net don't always
follow this implication.
This is a regression, and it starts from
commit 077b4391d442e927a2a59b5afb244355b0634aaa
Author: Zebediah Figura <z.figura12(a)gmail.com>
Date: Fri Nov 9 18:02:00 2018 -0600
oleaut32: Rip out the old typelib marshaller.
Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com>
Signed-off-by: Marcus Meissner <marcus(a)jet.franken.de>
Signed-off-by: Huw Davies <huw(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
Old typelib marshaller didn't have a requirement that an interface a proxy/
stub being created for must support IID_IDispatch.
Attached testcase replicates what I can deduce from the logs, and runs
without failures under wine-3.0.5, but fails in several places under newer
versions of Wine. The test produces 2 extra IUnknown::QueryInterface() calls
under wine-3.0.5 during ::CreateStub() invocation, however it's pretty simple
to fix following a FIXME in oleaut32 and stub manager in ole32, after that
the test output from wine-3.0.5 matches what I observe under windows 10.
Although the test uses IConnectionPoint::Advise() to reproduce the bug (as
the application that I have here does) it seems that any client<=>server
remote call reliably replicates the problem, and source of the bug leads
to CreateStub/CreateProxy limitations.
--
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.