https://bugs.winehq.org/show_bug.cgi?id=52544
Bug ID: 52544
Summary: %__APPDIR__% and %__CD__% variables support
Product: Wine
Version: 7.1
Hardware: x86-64
OS: Mac OS X
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: fiendishx(a)gmail.com
I'm not able to easily update to 7.2 because I'm on a mac and am largely
dependent on https://github.com/Gcenx/homebrew-wine but I tested myself in Wine
6.0 and had a friend using Linux test in Wine 7.1, and it seems unlikely that
this was fixed in the 7.2 update.
It seems like the %__APPDIR__% and %__CD__% path variables don't work in Wine?
See the "undocumented" section of https://ss64.com/nt/syntax-variables.html
Example:
wine cmd.exe
echo %__APPDIR__% -> just prints "%__APPDIR__%"
On my windows machine, "echo %__APPDIR__%" prints "C:\Windows\SysWOW64\" or
"C:\Windows\system32\" depending on which version of cmd.exe (32/64 bit) was
invoked.
--
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=50132
Bug ID: 50132
Summary: Command line: Incorrect behaviors in FOR () and IF ()
blocks
Product: Wine
Version: 5.21
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: cmd
Assignee: wine-bugs(a)winehq.org
Reporter: Psycho-A(a)yandex.ru
Distribution: ---
The native CMD.exe contains many syntax and other errors related to the FOR and
IF commands processing inside of ()-blocks. This is very importans for apps
that require complex batch scripts on run. Let's begin.
Case 1:
-------
Different behavior when using brackets after "DO"
:: Returns ")" error:
for %%a in (*.txt) do if #==# (
echo File: "%%~a"
)
:: Works normal:
for %%a in (*.txt) do (if #==# (
echo File: "%%~a"
))
:: Works normal:
for %%a in (*.txt) do if #==# echo File: "%%~a"
In Windows CMD all three results works the same (returns ECHO text).
Case 2:
-------
Reading empty lines of text file if EOL=# specified
:: ECHO will return "" text here:
for /f "usebackq eol=: tokens=1" %%a in ("File.txt") do (
echo "%%~a"
)
Windows CMD skips empty lines anyway.
Case 3:
-------
Error behavior if an empty line with Space ot Tab is defined in body
:: Will return ")" error:
if #==# (
echo Some text
)
:: Just will show ECHO text:
if #==# (
echo Some text
)
Case 4:
-------
Not-expanding variables from parent cycle child one
:: Will show "%~m" in child cycles:
for %%f in (*.txt) do (
echo In parent cycle: "%%~f"
for %%x in ("%%~f") do (
echo In child cycle: "%%~x"
)
)
:: Will seek in "%~f" dir instead of "Folder1":
for %%f in ("Folder1") do (
for /r "%%~f" %%x in (*.txt) do (
echo "%%~x"
)
)
Windows CMD expands "%%f" in any child cycle's place.
Case 5:
-------
Error if no quotes in file/command condition
:: Returns "DO is not an application" error:
for /f %%a in (File.txt) do (
echo "%%~a"
)
:: Reads strings of File.txt:
for /f "usebackq" %%a in ("File.txt") do (
echo "%%~a"
)
Windows CMD reads file in both cases
("usebackq" uses to use quotes around filename).
This error appears only when target file not found.
Case 6:
-------
Using global ">" redirection after ()-body issue:
:: Will show ECHO text and create empty Test.bug
if #==# (
echo Text 1...
echo Text 2...
)> "Test.bug"
:: Will write Test.bug with echo text (normal case)
if #==# (
echo Text 1...> "Test.bug"
echo Text 2...> "Test.bug"
)
Windows CMD does the same as second in both cases.
Case 7:
-------
Incorrect IF() ELSE() processing if FOR() inside
:: Returns "ELSE is not an application" error:
if #==# (
echo IF condition.
for %%m in (*.txt) do (
echo FOR cycle.
)
) else (
echo ELSE condition.
)
:: Works normally:
if #==# (
echo IF condition.
) else (
echo ELSE condition.
)
Also ELSE works normal when IF condition is NOT equal.
Case 8:
-------
No processing file mask if it's quoted
:: Returns txt files that found:
for %%f in (*.txt) do (
echo "%%~f"
)
:: Returns nothing
for %%f in ("*.txt") do (echo "%%~f")
for %%f in ("Dir\*.txt") do (echo "%%~f")
The same is if FOR with /R key is used.
For now that's all I found.
Some of Wine 4.x bugs I knew seems to be fixed already.
--
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=56389
Bug ID: 56389
Summary: 32bit Assassin's Creed game and assassin's creed
revelations was unable to run under wow64
Product: Wine
Version: unspecified
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: l12436.tw(a)gmail.com
Distribution: ---
Created attachment 76138
--> https://bugs.winehq.org/attachment.cgi?id=76138
relay log
With wow64 enable to run 32bit under 64bit wine
Assassin's Creed is not able to show window, but it normally without wow64
support.
--
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=47486
Bug ID: 47486
Summary: GsView draws one menu item with white background
Product: Wine
Version: 4.11
Hardware: x86
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 64866
--> https://bugs.winehq.org/attachment.cgi?id=64866
Screenshot on wine
See screenshot.
--
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=52484
Bug ID: 52484
Summary: ShaderGlass crashes on startup
Product: Wine
Version: 7.1
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: jeffz(a)jeffz.name
Distribution: ---
$ wine ShaderGlass.exe
007c:fixme:imm:ImeSetActiveContext (0x3e020, 0): stub
007c:fixme:imm:ImmReleaseContext (0000000000010020, 000000000003E020): stub
002c:fixme:imm:ImeSetActiveContext (0x412a0, 1): stub
002c:fixme:imm:ImmReleaseContext (000000000001004A, 00000000000412A0): stub
wine: configuration in L"/home/jeffz/.wine-shaderglass" has been updated.
0130:fixme:combase:RoGetActivationFactory
(L"Windows.Foundation.Metadata.ApiInformation",
{997439fe-f681-4a11-b416-c13a47e8ba36}, 000000000011F6F0): semi-stub
0130:err:combase:RoGetActivationFactory Failed to find library for
L"Windows.Foundation.Metadata.ApiInformation"
0130:fixme:combase:RoOriginateLanguageException (80040154 L"" 0000000000000000)
stub
0130:fixme:imm:ImeSetActiveContext (0x165ac0, 1): stub
0130:fixme:imm:ImmReleaseContext (0000000000050056, 0000000000165AC0): stub
wine: Unhandled exception 0x80000003 in thread 130 at address 00000001700574C4
(thread 0130), starting debugger...
0138:fixme:imm:ImeSetActiveContext (0x34f00, 1): stub
0138:fixme:imm:ImmReleaseContext (0000000000060072, 0000000000034F00): stub
RtlDefaultNpAcl () at Z:\usr\src\packages\BUILD\dlls\ntdll\sec.c:1731
0x00000001700574c4 ntdll+0x574c4
[Z:\usr\src\packages\BUILD\dlls\ntdll\sec.c:1731]: int $3
Unable to access file 'Z:\usr\src\packages\BUILD\dlls\ntdll\sec.c'
System information:
Wine build: wine-7.1
Platform: x86_64
Version: Windows 7
Host system: Linux
Host version: 5.13.0-27-generic
--
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=56878
Bug ID: 56878
Summary: error in camtasia 6.0.3
Product: Wine
Version: 9.11
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: mfc
Assignee: wine-bugs(a)winehq.org
Reporter: grandrodri3(a)gmail.com
Distribution: ---
Created attachment 76684
--> https://bugs.winehq.org/attachment.cgi?id=76684
camtasia error in 64 bits mode
hi how are things?
I have been testing previous versions of camtasia and I wanted to share the
error that I get in version 6.0.3 of camtasia.
The components that I have installed are visual C++ 2008, quicktime 7.6, and
dxvk2030 and net framework 4.0 (this application works under Windows 7)
could you review it?
Greetings
--
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=55947
Bug ID: 55947
Summary: wine-8.10 to wine-8.21 opens COM1 and crashes
Product: Wine
Version: 8.21
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: zmtong1988(a)gmail.com
Distribution: ---
Run the serial assistant using wine-8.9 and open COM1. Everything is normal.
Run the serial assistant using wine-8.10 to wine-8.21 and open COM1. The
program crashes directly.
Crash location:
get_irq_info-->ioctl(fd, TIOCGICOUNT, &einfo)-->{ irq_info->rx = einfo.rx;
...}
Crash log:
Backtrace:
=>0 0xf7b3cb25 get_irq_info+0x35(fd=0xc, irq_info=0280FEF8)
[/home/work/Build_Wine/build_wine_make/make-wine-8.11/wine-8.11/dlls/ntdll/unix/serial.c:851]
in ntdll.so (0x0280ff48)
1 0xf7b3cf13 wait_for_event+0xf3(arg=7BA00900)
[/home/work/Build_Wine/build_wine_make/make-wine-8.11/wine-8.11/dlls/ntdll/unix/serial.c:966]
in ntdll.so (0x0280ff48)
2 0x7b829fb0 in kernel32 (+0x29fb0) (0x0280ff48)
3 0x7bc5ac87 in ntdll (+0x5ac87) (0x0280ff5c)
4 0x7bc5b4dd in ntdll (+0x5b4dd) (0x0280ffec)
0xf7b3cb25 get_irq_info+0x35
[/home/work/Build_Wine/build_wine_make/make-wine-8.11/wine-8.11/dlls/ntdll/unix/serial.c:851]
in ntdll.so: movdqa 0x20(%esp), %xmm0
851 irq_info->rx = einfo.rx;
May I ask where the upgrade caused the program to crash.
Thank you.
--
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=47071
Bug ID: 47071
Summary: Nest or mixed "FOR" and "IF" command sometimes get
different result in Wine and Windows.
Product: Wine
Version: 3.0
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: cmd
Assignee: wine-bugs(a)winehq.org
Reporter: mzidbh(a)hotmail.com
Distribution: ---
Created attachment 64257
--> https://bugs.winehq.org/attachment.cgi?id=64257
batch files and snapshots of execution result
The Wine's command interpreter seems to ...
1. could not pair "IF" and "ELSE" correctly. ( Case 1 4 )
2. would ignore scripts after inner "ELSE". ( Case 2 3 )
Case 1
========================================
@ECHO OFF
ECHO FOR in IF 01 :
IF 1 EQU 1 (
FOR %%A IN (1,1) DO (
ECHO A=%%A
)
) ELSE (
ECHO This line should NOT be executed.
)
ECHO This line should be executed.
EXIT /B
----------------------------------------
Result in WINE 3.0
----------------------------------------
FOR in IF 01 :
A=1
A=1
Can't recognize 'ELSE ' as an internal or external command, or batch script.
This line should NOT be executed.
This line should be executed.
----------------------------------------
Result in Windows 7
----------------------------------------
FOR in IF 01 :
A=1
A=1
This line should be executed.
========================================
Case ï¼’
========================================
@ECHO OFF
ECHO IF in FOR 01 :
FOR %%A IN (1,1) DO (
IF 1 EQU 1 (
ECHO This line should be executed. [No.1]
) ELSE (
ECHO This line should NOT be executed.
)
ECHO This line should be executed. [No.2]
)
EXIT /B
----------------------------------------
Result in WINE 3.0
----------------------------------------
IF in FOR 01 :
This line should be executed. [No.1]
This line should be executed. [No.1]
----------------------------------------
Result in Windows 7
----------------------------------------
IF in FOR 01 :
This line should be executed. [No.1]
This line should be executed. [No.2]
This line should be executed. [No.1]
This line should be executed. [No.2]
========================================
Case 3
========================================
@ECHO OFF
ECHO IF in IF 01 :
IF 1 EQU 1 (
IF 1 EQU 1 (
ECHO This line should be executed. [No.1]
) ELSE (
ECHO This line should NOT be executed. [No.1]
)
ECHO This line should be executed. [No.2]
) ELSE (
ECHO This line should NOT be executed. [No.2]
)
EXIT /B
----------------------------------------
Result in WINE 3.0
----------------------------------------
IF in IF 01 :
This line should be executed. [No.1]
----------------------------------------
Result in Windows 7
----------------------------------------
IF in IF 01 :
This line should be executed. [No.1]
This line should be executed. [No.2]
========================================
Case ï¼”
========================================
@ECHO OFF
ECHO IF in IF 04 :
IF 4 EQU 4 (
IF 4 EQU 5 CALL :Label1
ECHO This line should be executed. [No.1]
) ELSE (
ECHO This line should NOT be executed. [No.2]
)
GOTO :Label2
:Label1
ECHO This line should NOT be executed. [No.1]
GOTO :EOF
:Label2
EXIT /B
----------------------------------------
Result in WINE 3.0
----------------------------------------
IF in IF 04 :
This line should NOT be executed. [No.2]
----------------------------------------
Result in Windows 7
----------------------------------------
IF in IF 04 :
This line should be executed. [No.1]
========================================
--
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=56189
Bug ID: 56189
Summary: quartz:vmr7 - test_default_presenter_allocate() fails
on Windows 7
Product: Wine
Version: unspecified
Hardware: x86-64
OS: Windows
Status: NEW
Severity: normal
Priority: P2
Component: quartz
Assignee: wine-bugs(a)winehq.org
Reporter: fgouget(a)codeweavers.com
quartz:vmr7 - test_default_presenter_allocate() fails on Windows 7:
vmr7.c:3232: Test failed: Compression 0, depth 32: Got caps 0x870.
vmr7.c:3266: Test failed: Compression 0, depth 32: Got caps 0x854.
vmr7.c:3279: Test failed: Compression 0, depth 32: Got caps 0x850.
vmr7.c:3284: Test failed: Compression 0, depth 32: Got hr 0x887600ff.
See https://test.winehq.org/data/patterns.html#quartz:vmr7
These failures first happened on 2023-12-07 which is the day they were
introduced in the commit below:
commit 9be491e80fc97058402ee74140d7ce90a45a956b
Author: Zebediah Figura <zfigura(a)codeweavers.com>
Date: Thu Dec 7 13:30:43 2023 -0600
quartz: Implement sample allocation in the VMR7 presenter.
--
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.