https://bugs.winehq.org/show_bug.cgi?id=56357
Bug ID: 56357
Summary: Zero sized writes using WriteProcessMemory succeed on
Windows, but fail on Wine. testcase source
Product: Wine
Version: 9.2
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: kernel32
Assignee: wine-bugs(a)winehq.org
Reporter: admin(a)sewer56.dev
Distribution: ---
Created attachment 76082
--> https://bugs.winehq.org/attachment.cgi?id=76082
Precompiled sample C program.
[ testcase source ]
Zero sized writes using WriteProcessMemory succeed on Windows, but fail on
Wine.
Build the following program:
```c
#include <windows.h>
#include <stdio.h>
int main() {
// Allocate a buffer in memory
char* buffer = (char*) VirtualAlloc(NULL, 1024, MEM_COMMIT | MEM_RESERVE,
PAGE_READWRITE);
if (buffer == NULL) {
printf("Memory allocation failed\n");
return 1;
}
// Sample data to write (not actually used due to 0-byte length)
const char* data = "Sample data";
SIZE_T writtenBytes = 0;
// Get a handle to the current process
HANDLE processHandle = GetCurrentProcess();
// Attempt to write memory with 0 byte length
BOOL result = WriteProcessMemory(processHandle, buffer, data, 0,
&writtenBytes);
if (result == FALSE) {
printf("WriteProcessMemory failed: %lu\n", GetLastError());
} else {
printf("WriteProcessMemory succeeded, but 0 bytes were written.\n");
}
VirtualFree(buffer, 0, MEM_RELEASE);
return 0;
}
```
Commandline:
```
x86_64-w64-mingw32-gcc write_process_memory.c -o write_process_memory.exe
-lkernel32
```
When running on Linux, this prints `WriteProcessMemory failed: 87`.
When running on Windows, this succeeds `WriteProcessMemory succeeded, but 0
bytes were written`.
Tested on x86_64 Archlinux using latest git version of Wine
(wine-9.2-286-g232b18d820e).
-----------
Extra Notes:
I encountered this bug while unit testing a Rust DLL Injection library against
Wine: https://github.com/OpenByteDev/dll-syringe/pull/19
--
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=56054
Bug ID: 56054
Summary: Microsoft Safety Scanner crashes on exit on
unimplemented function tbs.dll.GetDeviceIDString
Product: Wine
Version: 9.0-rc2
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: alexhenrie24(a)gmail.com
Distribution: ---
Created attachment 75710
--> https://bugs.winehq.org/attachment.cgi?id=75710
Terminal output
All you have to do to reproduce the crash is open the program and immediately
close it.
$ sha256sum MSERT.exe
8a885021b8c41fb8578cfa50a0c3a706c6b1b7fb7fd3faddcc48bd8eb7f8f091
--
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=51599
Bug ID: 51599
Summary: cmd.exe incorrectly parses an all-whitespace line
followed by a closing parenthesis
Product: Wine
Version: 6.14
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: programs
Assignee: wine-bugs(a)winehq.org
Reporter: alexhenrie24(a)gmail.com
Distribution: ---
Created attachment 70449
--> https://bugs.winehq.org/attachment.cgi?id=70449
Example batch file
The attached batch file works on Windows, but Wine says:
Can't recognize ')' as an internal or external command, or batch script.
Wine's cmd.exe doesn't have a problem with entirely blank lines, but something
about having spaces on the line is tripping it up.
--
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=56367
Bug ID: 56367
Summary: Tomb Raider 3 GOG crashes at start
Product: Wine
Version: 9.3
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: d3d
Assignee: wine-bugs(a)winehq.org
Reporter: dkk089(a)gmail.com
Distribution: ---
Created attachment 76108
--> https://bugs.winehq.org/attachment.cgi?id=76108
Tomb3.exe backtrace with Wine 9.3
Tomb Raider 3 GOG crashes in Wine 9.3 with the attached backtrace.
Last known working version in AppDB is Wine 4.2. Working upwards from that
identified Wine 5.7 as the last working release, and bisecting between 5.7 and
5.8 identified commit 100ca518055c0e9edb68aa370f15a2768cf2c74f as the cause.
Reverting this commit from current master
(1b32ac45f821ee1fe06a3dc4f903a81a190216c7) makes the game work normally. Tested
with Windows version set to 98, WINEARCH is win32.
This is also reproducible with the demo version available at
https://archive.org/details/TombRaiderIiiAdventuresOfLaraCroftDemo .
--
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=55897
Bug ID: 55897
Summary: cpython 3.12.0 crashes due to unimplemented CopyFile2
Product: Wine
Version: 8.20
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: kernel32
Assignee: wine-bugs(a)winehq.org
Reporter: tobias-winehq(a)23.gs
Distribution: ---
Newer Python versions (starting with 3.12.0) contain an optimized
implementation of shutil.copy2
(https://devdocs.io/python~3.11/library/shutil#shutil.copy2), which uses
kernel32.CopyFile2 in the background (Implementation:
https://github.com/python/cpython/pull/105086/files#diff-db8ac5932616071392…).
This leads to crashes if this method is used. Unfortunatly, this method is used
by pip in some cases, so a random `wine pip install pysftp` leads to a crash...
To reproduce:
1. Install Python 3.12.0 from https://www.python.org/
2. Run `wine python -c 'import shutil; shutil.copy2("a", "b")'`
--
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=56730
Bug ID: 56730
Summary: Access violation in riched20.dll when running EditPad
Product: Wine
Version: 9.8
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: richedit
Assignee: wine-bugs(a)winehq.org
Reporter: kyle.kcsoftwares(a)gmail.com
Distribution: ---
Created attachment 76509
--> https://bugs.winehq.org/attachment.cgi?id=76509
Access violation in Wine 9.9
Access violation in riched20.dll when running EditPad (this exact version :
https://jira.reactos.org/secure/attachment/64853/decoded.exe )
Wine 9.9
Nothing in log.
--
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=56609
Bug ID: 56609
Summary: vcrun2008 fails to install
Product: Wine
Version: 9.7
Hardware: x86-64
URL: https://download.microsoft.com/download/5/D/8/5D8C65CB
-C849-4025-8E95-C3966CAFD8AE/vcredist_x86.exe
OS: Linux
Status: NEW
Keywords: download, Installer, regression
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: imwellcushtymelike(a)gmail.com
Distribution: Ubuntu
Until recently the vcrun2008 (32-bit) installation completed successfully. With
Wine 9.7 (and current git) the installation completes without error in both
interactive and quiet mode.
However, none of the files exist in the WINEPREFIX and hence no program can
find the needed libraries.
Works fine in Wine 8.0.1. Running a bisect and will update.
$ wine ~/.cache/winetricks/vcrun2008/vcredist_x86.exe /q
0024:fixme:clusapi:GetNodeClusterState ((null),0031ECE4) stub!
0024:fixme:advapi:DecryptFileA ("c:\\36522854707e626322401e3c6d2bb6\\",
00000000): stub
0118:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented!
0118:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect
problems
0118:fixme:security:GetWindowsAccountDomainSid (0031F274 003B1E2C 0031F270):
semi-stub
0118:fixme:secur32:GetComputerObjectNameW NameFormat 7 not implemented
0118:fixme:file:NtLockFile I/O completion on lock not implemented yet
011c:fixme:ntdll:NtQuerySystemInformation info_class
SYSTEM_PERFORMANCE_INFORMATION
--
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=56361
Bug ID: 56361
Summary: Geovision Parashara's Light (PL9.exe) still crashes in
wine
Product: Wine
Version: 9.2
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: yafoce6821(a)giratex.com
Distribution: ---
Separating the bugs, on request from @Vijay Kamuju
continuing from the discussion in Bug56299:
https://bugs.winehq.org/show_bug.cgi?id=56299
Impacted Application: PL9.exe (Parashara's Light 9.0 from Geovision Software)
Bug56299 fixed the imm32.dll required stub.
However, the application still crashes spinning up the wine debugger after the
initial splash screen.
I tried a wmic hack proposed by @Louis Lenders, but unfortunately no matter
what amount I made wmic sleep, the splash screen would stay active by the same
amount, and then it crashes as usual with the wine debugger spinning up.
Bug56299 has some relevant log files.
--
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=55619
Bug ID: 55619
Summary: VOCALOID AI Shared Editor v.6.1.0 crashes with
System.Management.ManagementObject object construction
Product: Wine
Version: 8.16
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: mscoree
Assignee: wine-bugs(a)winehq.org
Reporter: theboomtnt46(a)gmail.com
Distribution: ---
Created attachment 75156
--> https://bugs.winehq.org/attachment.cgi?id=75156
Crash log
VOCALOID AI Shared Editor v.6.1.0 crashes while initializing.
Logs attached.
wine-8.16 (Staging)
kubuntu linux 23.04
--
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.