http://bugs.winehq.org/show_bug.cgi?id=14915
Summary: FlushFileBuffers() fails on disk volume, sets
ERROR_INVALID_HANDLE when handle supposedly valid
Product: Wine
Version: 1.1.2
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: vesselinpeev(a)hotmail.com
Ran under Wine, the following program receives ERROR_INVALID_HANDLE as a
Windows last error when the flushing call fails.
Note that if you are testing under Windows Vista, you need to run the program
with administrative privileges to be able to get the handle to the volume.
For brevity, I've omitted GetLastError() printing for failure cases except the
flushing one, but, needless to say, you may want to add them for full
correctness / error handling / safety, or do let me know and I'll happily add
these and re-post the code.
# include <windows.h>
# include <stdio.h>
# include <tchar.h>
int _tmain()
{
LPCTSTR volName = _T("\\\\.\\C:");
HANDLE hFile = CreateFile(volName, GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE, 0,
OPEN_EXISTING, 0, 0);
if (hFile != INVALID_HANDLE_VALUE) {
_tprintf(_T("Opened volume %s\n"), volName);
SetLastError(0xdeadbeef); /* to make sure that it's really the next call
that sets the last error -- advice taken from Dmitry Timoshkov's comment at
http://bugs.winehq.org/show_bug.cgi?id=14855 */
if (FlushFileBuffers(hFile)) {
_tprintf(_T("File buffers flushed\n"));
}
else {
DWORD dwRet = GetLastError();
_ftprintf(stderr, _T("File buffers not flushed, GetLastError() returned
%lu"), dwRet);
if(dwRet == ERROR_INVALID_HANDLE) {
_ftprintf(stderr, _T(" (\"The handle is invalid\")"));
}
_ftprintf(stderr, ".\n");
}
}
else {
_ftprintf(stderr, _T("Could not open volume %s\n"), volName);
return -2;
}
if(! CloseHandle(hFile)) {
_ftprintf(stderr, _T("Could not close handle to volume %s\n"), volName);
return -3;
}
return 0;
}
--
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.
https://bugs.winehq.org/show_bug.cgi?id=38751
Bug ID: 38751
Summary: El Matador has rendering issues with anti-aliasing
enabled
Product: Wine
Version: 1.7.45
Hardware: x86
URL: http://www.gamershell.com/download_15088.shtml
OS: Linux
Status: NEW
Keywords: download, regression
Severity: normal
Priority: P2
Component: directx-d3d
Assignee: wine-bugs(a)winehq.org
Reporter: gyebro69(a)gmail.com
CC: stefan(a)codeweavers.com
Regression SHA1: 4e53faf77b34387f6e59946f71e57365f3f97e79
Distribution: ---
Created attachment 51671
--> https://bugs.winehq.org/attachment.cgi?id=51671
terminal output
When in-game anti-aliasing is enabled lots of the textures are missing or
rendered incorrectly.
AA can be enabled/disabled in the launcher (pc_matador.exe)
Regression introduced by
commit 4e53faf77b34387f6e59946f71e57365f3f97e79
Author: Stefan Dösinger <stefan(a)codeweavers.com>
Date: Tue Jun 9 22:48:14 2015 +0200
wined3d: Disable the depth stencil on multisample mismatch.
Nvidia GeForce 250 / binary drivers 340.76
--
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=19425
Summary: notepad: running notepad with a non-existent file and
choosing yes to create a new file should do so
immediately (appinstall)
Product: Wine
Version: 1.1.26
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: download, source
Severity: trivial
Priority: P2
Component: programs
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: austinenglish(a)gmail.com
'notepad foobar.txt'
pops up a dialog telling you that the file does not exist, and asking if you'd
like to create it.
Yes - Opens notepad with foobar.txt, but doesn't create a new file.
No - Opens notepad with a blank new document.
Cancel - Closes notepad.
On windows, choosing yes immediately creates the new (empty) file.
--
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=34244
Bug #: 34244
Summary: DARK (2013) doesn't launches without native quartz
Product: Wine
Version: 1.7.0
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: andrey.goosev(a)gmail.com
Classification: Unclassified
Created attachment 45569
--> http://bugs.winehq.org/attachment.cgi?id=45569
log
Needs native quartz.
--
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.
https://bugs.winehq.org/show_bug.cgi?id=38841
Bug ID: 38841
Summary: PunkBuster 'PnkBstrB.exe' initialization fails
(K32EnumProcessModules write to NULL pointer)
Product: Wine
Version: 1.7.46
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: kernel32
Assignee: wine-bugs(a)winehq.org
Reporter: o.dierick(a)piezo-forte.be
Distribution: ---
PunkBuster bundled with the game APB Reloaded failed to initialize PnkBstrB.exe
on my system.
--- +relay output ---
...
0031:Call KERNEL32.K32EnumProcessModules(ffffffff,00000000,00100000,0076e9a8)
ret=0044ef87
0031:Call KERNEL32.UnhandledExceptionFilter(0076e4c8) ret=7bc99dad
...
--- end +relay output ---
+relay debug output shows that PnkBstrB.exe call
kernel32.K32EnumProcessModules() with a NULL pointer as parameter 'lphModule'
and a non-zero value in parameter 'cb'. The current Wine code does not check if
lphModule is NULL, it writes module information in lphModule until cb size is
not enough. Writing to NULL pointer raises the exception.
I first tried to put this code in the K32EnumProcessModules() function:
--- code ---
if(!lphModule)
{
cb = 0;
}
--- end code ---
With this code, the K32EnumProcessModules() call succeeds, but after that
PnkBstrB.exe tries to read at the NULL pointer and crashes anyway.
So I used this code instead:
--- code ---
if(!lphModule)
{
SetLastEror(ERROR_NOACCESS);
return FALSE;
}
--- end code ---
With that code, PnkBstrB.exe does not crash. It loads fine when the game
starts.
I could play the game 3 hours long without getting kicked, and I could play
again today. The pbcl.log file shows that everything PunkBuster related is
working.
--
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=28770
Bug #: 28770
Summary: Diablo 2 - sound works in menu, stops after starting
game (kind of regression)
Product: Wine
Version: unspecified
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: winmm&mci
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: zajec5(a)gmail.com
Classification: Unclassified
I've noticed that with recent Wine I don't hear any sound in Diablo 2 when
playing my character. When I start Game.exe - sound is here during watching
into and as long as I'm in the menu. When I start playing (the map and my
character show up) it stops. After that I don't hear anything anymore.
Bisection has resulted in the following:
There are only 'skip'ped commits left to test.
The first bad commit could be any of:
901af51ea32f2d192a598808abab2d1b6a940773
be158e48ad8ee556941bd3f1ff94ca7116680d00
We cannot bisect more!
commit be158e48ad8ee556941bd3f1ff94ca7116680d00
Author: Andrew Eikum <aeikum(a)codeweavers.com>
Date: Mon Jul 11 08:28:30 2011 -0500
winmm: Implement waveOut* on top of MMDevAPI.
commit 901af51ea32f2d192a598808abab2d1b6a940773
Author: Andrew Eikum <aeikum(a)codeweavers.com>
Date: Mon Jul 11 08:28:24 2011 -0500
winmm: Remove driver implementation of waveOut*.
I'm using ALSA in Wine and Pulseaudio in my system.
I'm almost sure it's duplicate of #27908, but I was asked by Austin to create
new bugzilla report.
Right after starting Game.exe with affected Wine I get following fixmes:
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels,
pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels,
pretending there's only 2 channels
When starting real game (map and character, sounds goes away) nothing appears
in the console.
--
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.
https://bugs.winehq.org/show_bug.cgi?id=38672
Bug ID: 38672
Summary: valgrind shows uninitialized memory in set_mwm_hints()
Product: Wine
Version: 1.7.42
Hardware: x86
OS: Linux
Status: NEW
Keywords: download, source, testcase, valgrind
Severity: normal
Priority: P2
Component: opengl
Assignee: wine-bugs(a)winehq.org
Reporter: austinenglish(a)gmail.com
Distribution: Fedora
Similar to bug 38593, shows up a lot of tests, this is in
comctl32/tests/listview.c:
../../../tools/runtest -q -P wine -T ../../.. -M comctl32.dll -p
comctl32_test.exe.so listview && touch listview.ok
==11813== Syscall param writev(vector[...]) points to uninitialised byte(s)
==11813== at 0x4F7A0F23: __writev_nocancel (in /usr/lib/libc-2.21.so)
==11813== by 0x5E69A28: ??? (in /usr/lib/libxcb.so.1.1.0)
==11813== by 0x5E69F07: ??? (in /usr/lib/libxcb.so.1.1.0)
==11813== by 0x5E69FAB: xcb_writev (in /usr/lib/libxcb.so.1.1.0)
==11813== by 0x5D59113: _XSend (in /usr/lib/libX11.so.6.3.0)
==11813== by 0x5D594B4: _XFlush (in /usr/lib/libX11.so.6.3.0)
==11813== by 0x5D379BB: XFlush (in /usr/lib/libX11.so.6.3.0)
==11813== by 0x5C92C82: X11DRV_WindowPosChanged (window.c:2349)
==11813== by 0x4D4AEC2: set_window_pos (winpos.c:2147)
==11813== by 0x4D4B15D: USER_SetWindowPos (winpos.c:2220)
==11813== by 0x4D4B454: SetWindowPos (winpos.c:2294)
==11813== by 0x47BCF6A: create_parent_window (listview.c:623)
==11813== by 0x47D4FB2: func_listview (listview.c:5770)
==11813== by 0x4833607: run_test (test.h:584)
==11813== by 0x4833A4F: main (test.h:666)
==11813== Address 0x58a9d90 is 40 bytes inside a block of size 16,384 alloc'd
==11813== at 0x4008D02: calloc (vg_replace_malloc.c:626)
==11813== by 0x5D473B4: XOpenDisplay (in /usr/lib/libX11.so.6.3.0)
==11813== by 0x5C98E17: x11drv_init_thread_data (x11drv_main.c:658)
==11813== by 0x5C8CCC1: thread_init_display (x11drv.h:347)
==11813== by 0x5C914D2: X11DRV_create_win_data (window.c:1796)
==11813== by 0x5C92264: X11DRV_WindowPosChanging (window.c:2155)
==11813== by 0x4D4AA16: set_window_pos (winpos.c:2062)
==11813== by 0x4D400D2: WIN_CreateWindowEx (win.c:1580)
==11813== by 0x4D40723: CreateWindowExA (win.c:1718)
==11813== by 0x47BCF50: create_parent_window (listview.c:617)
==11813== by 0x47D4FB2: func_listview (listview.c:5770)
==11813== by 0x4833607: run_test (test.h:584)
==11813== by 0x4833A4F: main (test.h:666)
==11813== Uninitialised value was created by a stack allocation
==11813== at 0x5C8EF95: update_net_wm_states (window.c:963)
==11813==
also in d3d9/d3d9ex, d3d9/device, ddraw/dsurface, gdi32/clipping,
imm32/imm32...
--
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=35030
Bug #: 35030
Summary: Steam install program crash at the end of the install
Product: Wine
Version: 1.7.7
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: legluondunet(a)free.fr
Classification: Unclassified
Created attachment 46692
--> http://bugs.winehq.org/attachment.cgi?id=46692
crash log
Hello,
when I launch Steam install program, it crashes at the end of the install, then
continue with downloading the whole client. It is not an important crash
because it doesn't stop the install. I joined the log of the crash.
Thank you for your help.
Config:
Ubuntu 13.10
wine 1.7.7 32 bits
AMD radeon 7850 with Ubuntu Catalyst drivers 13.101 version
Processor Intel i5-3570 3,4 Ghz
--
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.
https://bugs.winehq.org/show_bug.cgi?id=1151
--- Comment #26 from Sergio Callegari <scallegari(a)arces.unibo.it> ---
Created attachment 52260
--> https://bugs.winehq.org/attachment.cgi?id=52260
Log file with +richedit,+font
Here is the log file with the richedit and font channels. Compressed with xz.
--
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=1151
--- Comment #25 from Jactry Zeng <jactry92(a)gmail.com> ---
Hi all,
It seems bug of LTSPICE it is another bug of riched20.
And it was fixed by Huw:
commit 7a3c9889e38ede659230a66a167b82c024f0dc85
Author: Huw Davies <huw at codeweavers.com>
Date: Wed Jul 1 10:48:56 2015 +0100
riched20: Free the script cache when updating the default style.
Thanks Huw!
--
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.