https://bugs.winehq.org/show_bug.cgi?id=57691
Bug ID: 57691
Summary: wine-mono: ASan gets triggered in
mono_path_canonicalize with strcpy-param-overlap.
Product: Wine
Version: 10.0-rc6
Hardware: x86-64
OS: Linux
Status: NEW
Severity: minor
Priority: P2
Component: mscoree
Assignee: wine-bugs(a)winehq.org
Reporter: bernhardu(a)mailbox.org
Distribution: ---
Created attachment 77881
--> https://bugs.winehq.org/attachment.cgi?id=77881
asan_2025-01-18_17-11-19_.1748
Hello, I tried getting wine being built with ASan (PE side) enabled. [1]
And tried running on this build the wine conformance tests.
One place where ASan gets triggered is in mono\mono\utils\mono-path.c [2]:
90 if (dest != lastpos) strcpy (dest, lastpos);
ERROR: AddressSanitizer: strcpy-param-overlap
A few lines above (line 74) there is the possibility of the strings
overlapping mentioned and a memmove used.
Attached file contains the full output of one ASan event.
Would it be valuable to replace the `strcpy (dest, lastpos);`
by a `memmove (dest, lastpos, strlen(lastpos) + 1)`?
[1]
https://gitlab.winehq.org/bernhardu/wine/-/blob/asan-pe_2024-12-29/README.md
[2] https://gitlab.winehq.org/mono/mono/-/blame/main/mono/utils/mono-path.c#L90
--
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=56157
Bug ID: 56157
Summary: Deep Rock Galactic fails to launch
Product: Wine
Version: unspecified
Hardware: x86-64
OS: FreeBSD
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: Alexander88207(a)Protonmail.com
Created attachment 75842
--> https://bugs.winehq.org/attachment.cgi?id=75842
FSD Log with seh, fixme and warn messages.
Hello,
the game Deep Rock Galactic fails to launch.
The splash image appears and then shortly after that, the Unreal Crash Reporter
opens.
When i taking a look at the log i do see messages about EnumProcessModulesEx.
I do have other Unreal Engine 4 titles aswell that dont work but also have
messages with EnumProcessModulesEx maybe it could be related to that?
Tested with Wine 8.0.2
Thank you in advance!
--
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=46823
Bug ID: 46823
Summary: in wcmd.exe, trailing slash in "if exist SomeDir/"
cause always false
Product: Wine
Version: 4.3
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: cmd
Assignee: wine-bugs(a)winehq.org
Reporter: alter(a)ukr.net
Distribution: ---
Created attachment 63849
--> https://bugs.winehq.org/attachment.cgi?id=63849
fix issue with instant false due to trailing slash in 'if exist SomeDir/'
if exist SomeDir/ do-smth.cmd
statement (with ending slash) always return false since
'if exist' CMD implementation start using FindFirstFileW() instead of
GetFileAttributesW() in builtins.c
Such condition appears in MS VisualStudio generated makefiles
There is special case for trailing '\\', but there is no handling for '/'.
The patch proposed fixes this issue and adds corresponding tests for
if exist SomeDir/ do-smth.cmd
if exist "SomeDir/" do-smth.cmd
cases
--
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=57574
Bug ID: 57574
Summary: Wine 9.20: Application window positioning regression
on laptop with multi monitor display setup
Product: Wine
Version: 9.20
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: justin.guidroz(a)gmail.com
Distribution: ---
Distro: Manjaro linux
Seen in Wine version: 9.20 and greater (could be earlier, but Manjaro went from
9.16 to 9.20)
Setup: Laptop with two external displays.
I've been running one Windows application, Sierra Chart, under Wine on Linux
for a couple of years now. No issues with window positioning between wine
upgrades until Manjaro updated Wine to 9.20 (same behavior seen in 9.22 as
well).
After updating Wine, the dialog about updating the Wine config that would
normally start centered on my laptop screen, now starts on an external display
off center.
The initial application login screen that would normally start centered on my
laptop screen now starts on an external display off center.
The main application window that would launch maximized on the laptop screen,
now starts on the external display. Dragging the application to the laptop
screen and clicking any menu item, the menu drop down appears on the external
display instead of in the application on the laptop screen.
The second instance of this application that would start maximized on the
external display now starts half off the external display. Dragging this back
to the external display, all dialog popups appear off the external monitor
unable to be seen or even usable.
Reading through the release notes for releases after 9.16, it seems this may be
related to the "Better window positioning in the wayland driver" introduced in
9.19, but not entirely sure at this moment.
--
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=56381
Bug ID: 56381
Summary: "type" does not support binary files
Product: Wine
Version: 9.0
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: cmd
Assignee: wine-bugs(a)winehq.org
Reporter: dan(a)coneharvesters.com
Distribution: ---
"type" truncates binary files when redirecting the output to stdout. For
example:
c:\>type c:\windows\winhelp.exe >foo
c:\>dir c:\windows\winhelp.exe foo
Volume in drive c has no label.
Volume Serial Number is 0000-0000
Directory of c:\windows
28/02/2022 5:32 PM 257 winhelp.exe
1 file 257 bytes
0 directories
Directory of c:
29/02/2024 1:21 PM 2 foo
1 file 2 bytes
0 directories 19,394,506,752 bytes free
The file is truncated after the second byte (byte 3 is NUL). Windows 10 and
Windows XP copy the entire file in this case. However, Windows 95 truncates the
file.
This is causing real-world compatibility issues, as the z88dk compiler suite
inexplicably uses "type" to copy binary files like this on Windows.
--
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=51119
Bug ID: 51119
Summary: INSIDE ground is black rendered with OpenGL renderer
Product: Wine
Version: 6.8
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: directx-d3d
Assignee: wine-bugs(a)winehq.org
Reporter: andrey.goosev(a)gmail.com
Distribution: ---
Created attachment 69984
--> https://bugs.winehq.org/attachment.cgi?id=69984
example
0684:fixme:d3d:wined3d_debug_callback 0xc8a060: "Program undefined behavior
warning: The current GL state uses a sampler (3) that has depth comparisons
disabled, with a texture object (226) with a non-depth format, by a shader that
samples it with a shadow sampler. This will result in undefined 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=46603
Bug ID: 46603
Summary: Metro 2033 crashes on exit
Product: Wine
Version: 4.1
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: directx-d3d
Assignee: wine-bugs(a)winehq.org
Reporter: andrey.goosev(a)gmail.com
Distribution: ---
Created attachment 63501
--> https://bugs.winehq.org/attachment.cgi?id=63501
backtrace
Game crashes on exit.
wine-4.1-85-g957a1f0216
--
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=57448
Bug ID: 57448
Summary: Erratic mouse movement with waylanddriver in Throne
and Liberty
Product: Wine
Version: 9.21
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: winewayland
Assignee: wine-bugs(a)winehq.org
Reporter: timon2201(a)gmail.com
Distribution: ---
When running Throne and Liberty with proton which is build from the main wine
tree and starting it with the wayland driver.
The mouse is extremely fast and erratic. When i try to look around the
character spins around really fast and it seems like the distance which the
mouse makes with each tick is enormous.
Its like when you have an linear acceleration graph of your mouse set which
doesn't move 1 pixel with the mouse moved to 1 on the screen. But like 1 pixel
with the mouse to like 500 pixel on the screen. So you have like 4 positions or
something like that before you have a complete turn with your character.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=16214
Summary: Copy command does not work as expected
Product: Wine
Version: 1.0.1
Platform: Other
OS/Version: other
Status: NEW
Severity: enhancement
Priority: P2
Component: dos
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: scott(a)open-vote.org
>From Launchpad: https://bugs.edge.launchpad.net/ubuntu/+source/wine/+bug/272921
In Windows, the COPY command run in a command prompt allows users to
concatenate files by using a plus ("+") operator, for example:
copy file1+file2 outfile
In wine's cmd.exe, it seems to read file1+file2 as a single path and therefore
outputs a "Path Not Found". Also, it does not recognize the "con" keyword used
to represent stdout/stdin. Therefore another method of concatenating files:
copy file1 outfile
copy file2 con >> outfile
does not work either.
My Ubuntu version is 8.04, AMD64 architecture, though I have seen the same
issue on the x86 version as well.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.
http://bugs.winehq.org/show_bug.cgi?id=58737
Bug ID: 58737
Summary: Download of large file via WinHTTP fails with
WSATIMEDOUT
Product: Wine
Version: 10.15
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: winhttp
Assignee: wine-bugs(a)winehq.org
Reporter: felixhaedicke(a)web.de
Distribution: ---
Created attachment 79362
--> http://bugs.winehq.org/attachment.cgi?id=79362
Source code: Download a file (without acutally storing it) via HTTPS via
WinHTTP
See attached sample code: For particular (large) files, downloads using wine's
WinHTTP implementations can fail reproducibly with a WSATIMEDOUT.
This happens when running the installer of Condor 3
(https://www.condorsoaring.com), which is obviously built with "Inno Setup".
The installer downloads a 14 GB archive from
https://downloads3.condorsoaring.com/V3/Landscapes1.zip during installation.
Unfortunately, when the actual download is finished, the installer fails with a
code 10060 (WSATIMEDOUT) error message.
Using the attached sample code, I could reproduce this problem. The file is
downloaded, but the last WinHttpQueryDataAvailable() call fails with
WSATIMEDOUT (instead of detecting EOF):
winhttpdownload.exe "downloads3.condorsoaring.com" "/V3/Landscapes1.zip"
It seems to work fine for most other downloads, even for files which are larger
than 4GB (4294967295 bytes, DWORD max value).
The sample code works fine on Windows 11.
--
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.