https://bugs.winehq.org/show_bug.cgi?id=54490
Bug ID: 54490
Summary: vbscript fails to compile when statement follows
ElseIf
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: ---
While working on porting Visual Pinball to cross platform, I ran into a code
example where ElseIf had a statement was on the same line:
If Lampz.state(130) = 0 AND Lampz.state(132) = 0 AND Lampz.state(136) =
0 Then
'
ACDC.ColorGradeImage="ColorGrade_off":Translite.Blenddisablelighting=0.2:For
Each bulb in BandMembersPoster: bulb.IntensityScale=0 :Next
ACDC.ColorGradeImage="ColorGrade_off":LM_Translite.intensityscale=0:For Each
bulb in BandMembersPoster: bulb.IntensityScale=0 :Next
ElseIf Lampz.state(130) > 0 AND Lampz.state(132) = 0 AND
Lampz.state(134) > 0 AND Lampz.state(136) = 0 Then
ACDC.ColorGradeImage="ColorGrade_red"
ElseIf Lampz.state(130) = 0 AND Lampz.state(132) > 0 AND
Lampz.state(134) = 0 AND Lampz.state(136) = 0 Then
ACDC.ColorGradeImage="ColorGrade_blue"
Else
'
ACDC.ColorGradeImage="ColorGrade_on":Translite.Blenddisablelighting=4:For Each
bulb in BandMembersPoster: bulb.IntensityScale=1:Next
ACDC.ColorGradeImage="ColorGrade_on":LM_Translite.intensityscale=1:For Each
bulb in BandMembersPoster: bulb.IntensityScale=1:Next
End If
The grammar was expecting a NL after ElseIf Then.
I have submitted a merge request:
https://gitlab.winehq.org/wine/wine/-/merge_requests/2188
--
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=54458
Bug ID: 54458
Summary: vbscript memory leaks in Global_Split
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: ---
While porting Visual Pinball to cross platform, I started using XCode
Instruments to find some outstanding memory leaks.
There appears to be a memory leak in Global_Split.
The BSTRs that get copied from "var" into the SafeArray using VariantCopyInd
are never freed.
The following code changes fix this:
for (i = 0; i < count; i++) {
str = SysAllocStringLen(string + start, indices[i] - start);
if (!str) {
hres = E_OUTOFMEMORY;
break;
}
V_VT(&var) = VT_BSTR;
V_BSTR(&var) = str;
hres = VariantCopyInd(data+i, &var);
if(FAILED(hres)) {
SafeArrayUnaccessData(sa);
SysFreeString(str);
goto error;
}
start = indices[i]+delimiterlen;
SysFreeString(str);
}
--
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=54456
Bug ID: 54456
Summary: vbscript memory leak in For Each with SafeArray as
group
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: ---
While porting Visual Pinball to cross platform, I started using XCode
Instruments to find some outstanding memory leaks.
Given the following code:
Class cvpmDictionary
Private mDict
Private Sub Class_Initialize : Set mDict =
CreateObject("Scripting.Dictionary") : mDict("key") = "value" : End Sub
Public Function Keys : Keys = mDict.Keys : End
Function
End Class
Dim vpDict
Set vpDict = New cvpmDictionary
Sub RollingTimer_Timer
For Each obj In vpDict.Keys : Debug.Print "Key" : Next
End Sub
RollingTimer_Timer gets executed a few times a second. This seems to leak the
vpDict.Keys SafeArray.
If I change the code to:
Sub RollingTimer_Timer
Dim x
x = vpDict.Keys
For Each obj In x : Debug.Print "Key" : Next
End Sub
No memory leaks are detected. In this case, release_exec calls VariantClear for
ctx->vars which frees the SafeArray in X.
In the first case, vpDict.Keys doesn't appear to be stored anywhere, so nothing
is freed in release_exec.
--
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=54379
Bug ID: 54379
Summary: since wine 8.0 print doesn't work any more
Product: Wine
Version: 8.0
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: spam(a)abma.de
Distribution: ---
after upgrading to wine 8.0 printing to a network printer doesn't work any
more.
with wine 7.0 printing the same on the same printer just works.
i've run the app with:
WINEDEBUG=+winprint
see attachment:
not sure if relevant, what looks suspicious:
OpenPrintProcessor L", Port", 0740D014
--
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=54495
Bug ID: 54495
Summary: Motorola Ready For Assistant does not start
Product: Wine
Version: 8.1
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: lischak(a)gmail.com
Distribution: ---
Created attachment 74049
--> https://bugs.winehq.org/attachment.cgi?id=74049
install+run of v04.0.0.010.000 on Wine 8.1
Motorola Ready For Assistant is a software for interfacing with Motorolas from
desktop, allowing either phone screen mirror or a full-sized Android-powered
desktop similar to Samsung DeX. The installer appears to finish successfully,
but the application will not start.
Installation file is freely downloadable:
https://web.archive.org/web/20230214220515/https://download.lenovo.com/leno…
# ReadyFor is reportedly supported on Win10, make sure our prefix is Win10
WINEPREFIX=~/.wine_readyfor winecfg
cd ~/Downloads
WINEPREFIX=~/.wine_readyfor wine ReadyFor_setup_04.0.0.010.000.exe
cd ~/.wine_readyfor/drive_c/Program\ Files/Lenovo/Ready\ For\ Assistant
WINEPREFIX=~/.wine_readyfor wine ReadyFor.exe
Attaching log from installation and from a follow-up run.
Env: Fedora 37, using the appropriate official WineHQ repo.
Note: The software is apparently only available via MS Store nowadays, but the
Store install just downloads a normal Win32 .exe from Motorola/Lenovo's servers
in the 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=54493
Bug ID: 54493
Summary: vbscript fails to compile concat when used without
space and expression begins with H
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: ---
While porting Visual Pinball to cross platform, I ran into a script with the
following:
DMD CL(0, "HIGHSCORES"), "1> " &HighScoreName(0) & " "
&FormatScore(HighScore(0)), "", eNone, eScrollLeft, eNone, 2000, False, ""
This is valid in vbscript and knows that &HighScoreName is not a hex number.
In lex.c I see:
case '&':
if(*++ctx->ptr == 'h' || *ctx->ptr == 'H')
return parse_hex_literal(ctx, lval);
return '&';
Is there a way we could advance to make sure it's really a hex value instead of
a variable?
--
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=54376
Bug ID: 54376
Summary: ws2_32:sock - test_reuseaddr() overflows a sockaddr
variable by reading an AF_INET6 peer name into it
Product: Wine
Version: 8.0
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: winsock
Assignee: wine-bugs(a)winehq.org
Reporter: jinoh.kang.kr(a)gmail.com
CC: pgofman(a)codeweavers.com
Regression SHA1: c6da691926c418697ab982a284228772837a4be2
Distribution: ---
ws2_32:sock - test_reuseaddr() overflows a sockaddr variable (saddr) by passing
it as a peer name buffer to accept() on an IPv6 TCP listener socket, which then
assumes that the buffer is at least as large as struct sockaddr_in6.
--
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.