[Bug 1874] 'Access Violation' in Mobile-Phone Application using Serial-Port (RS232)
Wine Bugs
wine-bugs at winehq.com
Wed Dec 10 17:35:43 CST 2003
http://bugs.winehq.com/show_bug.cgi?id=1874
------- Additional Comments From toph at abi2ooo.org 2003-10-12 17:35 -------
I ran the program in winedbg (log attached). The important lines are:
First chance exception: page fault on read access to 0x00000000 in 32-bit code
(0x40227519)
0x40227519 (NTDLL.DLL.ZwWriteFile+0xd9 in NTDLL.DLL): movl 0x0(%edx),%eax
I also checked the interesting differences between the working WineX-version and
the current Wine:
grep WriteFile winex/dlls/ntdll/*
winex/dlls/ntdll/ntdll.spec:@ stub NtWriteFile
winex/dlls/ntdll/ntdll.spec:@ stub ZwWriteFile
winex/dlls/ntdll/ntdll.spec:@ stub NtWriteFileGather
root at z1709 work # grep WriteFile wine-20031118/dlls/ntdll/*
wine-20031118/dlls/ntdll/file.c: * NtWriteFile
[NTDLL.@]
wine-20031118/dlls/ntdll/file.c: * ZwWriteFile [NTDLL.@]
wine-20031118/dlls/ntdll/file.c:NTSTATUS WINAPI NtWriteFile(HANDLE hFile, HANDLE
hEvent,
wine-20031118/dlls/ntdll/ntdll.spec:@ stdcall NtWriteFile(long long ptr ptr ptr
ptr long ptr ptr)
wine-20031118/dlls/ntdll/ntdll.spec:@ stdcall ZwWriteFile(long long ptr ptr ptr
ptr long ptr ptr) NtWriteFile
wine-20031118/dlls/ntdll/ntdll.spec:@ stub NtWriteFileGather
Does that mean that ZwWriteFile is not implemented in the current WineX at all
and that's the reason why WineX works and Wine doesn't?
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list