http://bugs.winehq.org/show_bug.cgi?id=2075
Summary: vsnprintf: glibc and win32 not compatible
Product: Wine
Version: unspecified
Platform: PC
URL: http://msdn.microsoft.com/library/default.asp?url=/libra
ry/en-
us/vclib/html/_crt_format_specification_fields_.2d_.prin
tf_and_wprintf_functions.asp
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: wine-misc
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: uh_ja(a)gmx.net
Format specifiers of the glibc vsnprintf are not compatible with its win32
counterpart. URL links to a short description at msdn. Compare to "man
vsnprintf". Wine calls glibc's vanilla vsnprintf.
Similar bug reports are #321 and #427.
An example of a conflict follows:
Warcraft III uses *snprintf to create a single player profile. Currently under
wine, creation of a single player profile fails to produce correct data because
*snprintf produces an invalid file, and single player campaign will subsequently
not show. Warcraft makes a call similar to this to store a special value:
snprintf(s, size, "%I64d", x);
glibc vsnprintf interprets "%I64d" to be:
I: Internationlize number format
64: pad number to 64 digits
d: int type
Therefore, an internationlized int padded to 64 digits.
A win32 vsnprintf should interpret "%I64d" to be:
I64: "64-bit integer"
d: int
Therefore, a "64-bit int".
An incorrect statement in a Warcraft III profile "Campaign.w3p" produced using
glibc's vsnprintf:
Human= 1
(64 padded, and wrong integer type)
Here I hack together a workaround to handle the special Warcraft III case:
int MSVCRT_vsnprintf(char *str, size_t size, const char *format, va_list ap)
{
int x;
TRACE("(%p=\"%s\",%d,%p=\"%s\",%p)\n", str, str, size, format, format, ap);
if (strcmp(format, "%I64d")==0) {
x = vsnprintf(str, size, "%lld", ap);
} else {
x = vsnprintf(str, size, format, ap);
}
TRACE("retval=\"%s\"\n", str);
return x;
}
And if this is called for _vsnprintf, the output is as follows:
Human=-4035225266123964415
(a long long int)
Creating a single player profile using the hack produces a correct profile, and
the single player campaign buttons are displayed.
This is just one issue with the different vsprintf format standards. I'm sure
there are many subtle bugs like this, if you consider the conflicts and other
unhandled statements.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2035
------- Additional Comments From brettholcomb(a)charter.net 2004-07-03 18:13 -------
Some more facts:
Soldier of Fortune (SOF) and SOFII do not have any sound with wineoss, however
when the driver is winealsa they have sound. It's scratchy and very bad but
it's there.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2035
------- Additional Comments From brettholcomb(a)charter.net 2004-07-03 18:00 -------
Created an attachment (id=554)
--> (http://bugs.winehq.org/attachment.cgi?id=554&action=view)
Trace for Half-life with winealsa
Here's the file. I started HL, selected Load Game from the menu and got a
click. Then HL locked up and I had to kill it from a console so I didn't get
much and couldn't do a bt as I got no debugger prompt.
I'm running Gentoo Linux with alsa 1.03 (but 1.02 did it also).
Linux strider 2.4.20-xfs-r4 #4 SMP Wed Dec 3 19:43:38 EST 2003 i686 AMD
Athlon(TM) MP 2000+ AuthenticAMD GNU/Linux
I have a Turtle Beach Santa Cruz card. Here's the lspci info
03:08.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear
SoundFusion Audio Accelerator] (rev 01)
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2035
------- Additional Comments From reif(a)earthlink.net 2004-07-03 17:40 -------
Somehow you ran your program with --debugmsg -all which disables all messages.
Please rerun it with --debugmsg +wave,+dsound
Also, whenever wine drops into the debugger, type bt at the prompt so
we know where it crashed. Without this info, there is not enough information
for someone to help.
What distribution of linux are you running and what is the sound card you are
using?
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2074
Summary: Can't get Wine working with ALSA's dmix-plugin
Product: Wine
Version: unspecified
Platform: All
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-multimedia
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: stephan(a)gsklan.de
I've configured almost my complete system to use ALSA's dmix-plugin for
sound-access.
As I use ALSA with Wine, too, I tried several times to play the sound over
ALSA's devices (I've configured ALSA to use the plugins dmix and dsnoop by
default). But all my work was for nothing, because Wine wants to access the
hardware directly over "hw:0,0" instead of e.g. "default" or "plug:dmix".
So I suggest to implement a way to configure Wine's ALSA-access. The best way
would probably be something like the configure-ability of OSS in the config-file.
I hope it's not a request too hard to realize - not at least because ALSA is
used as sound-standard since kernel 2.6!
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2035
------- Additional Comments From brettholcomb(a)charter.net 2004-07-03 15:53 -------
I'm trying to get the dsound test stuff built.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=729
------- Additional Comments From xxxMikey_Bxxx(a)hotmail.com 2004-06-03 14:07 -------
Hi, looking at that screen shot it looks as it is reading random (Well, prolly
not *random*) memeory, Ive seen this happen b4 (Not to winamp) But it might be
something to do with memory allocation/reading/writing, ive seen it happen with
DIB functions. Just a thought :)
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=1346
juan(a)virtual-orbis.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|apa3a(a)yahoo.com |
Status|RESOLVED |CLOSED
------- Additional Comments From juan(a)virtual-orbis.com 2004-06-03 13:18 -------
closed
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2070
------- Additional Comments From titan.costa(a)wanadoo.fr 2004-06-03 06:47 -------
In the OGRE 0.13.1 sources, in file OgreD3D7RenderSystem.cpp line 551 & 552 we have:
DDPIXELFORMAT pf;
lpTarget->GetPixelFormat(&pf);
There is a bug here, the pf structure is not properly initialized with:
pf.dwSize = sizeof(DDPIXELFORMAT);
However, since it works (I guess) under Windows, I'm pretty convinced that
Windows behave slighty differently than we do.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2035
------- Additional Comments From reif(a)earthlink.net 2004-06-03 06:16 -------
Could you also run the wave and dsound tests?
in wine/dlls/dsound/tests run:
WINETEST_INTERACTIVE=1 wine dsound_test.exe.so dsound
and see if you get any errors and if you hear the sound properly.
Do the same thing for wave in wine/dlls/winmm/tests:
WINETEST_INTERACTIVE=1 wine winmm_test.exe.so wave
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2035
------- Additional Comments From reif(a)earthlink.net 2004-06-03 05:46 -------
Could you create a trace file? Run your program:
wine --debugmsg +wave,+dsound program.exe >& trace
where program.exe is your program and post the trace file.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2035
------- Additional Comments From brettholcomb(a)charter.net 2004-05-03 22:05 -------
Anything new on this? I've installed Soldier of Fortune and so far it has no
sound even with wineoss.
Thanks.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2017
------- Additional Comments From jez(a)technetium.net.au 2004-05-03 21:10 -------
also had this problem in all releases after 20030911
someone confirm this bug
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2070
------- Additional Comments From titan.costa(a)wanadoo.fr 2004-05-03 15:04 -------
Arghhh!!! This should have been before the patch!!!
It seems OGRE does not initialize correctly the DDPIXELFORMAT structure.
Or maybe this structure is trashed at some point.
Here is a hack that fixed the problem before things are figured out and properly
fixed (this could be a tutorial as well to start hacking on DDRAW/D3D :-)).
BTW: Does this work under Windows?
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2073
Summary: wine.conf(5) still documents ${} environment variable
syntax
Product: Wine
Version: 20040121
Platform: All
URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=236339
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-documentation
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: ovek(a)arcticnet.no
Regarding documentation/wine.conf.man, Andrew Pimlott <andrew(a)pimlott.net> reports:
Apparently, the syntax for environment variables in config files changed
from ${VAR} to %VAR%. wine.conf(5) was not updated.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
dear wine crew
please note that wine can be infested by virus.
i got this application and tried to run it.
this is what happened.
SWEEP virus detection utility
>>> Virus 'W32/Netsky-D' found in file .wine/fake_windows/Windows/winlogon.exe
-rw-r--r-- 1 root root 7729 Mar 1 18:28 /root/.wine/fake_windows/Windows/generic.ppd
-rw-r--r-- 1 root root 262 Mar 1 18:28 /root/.wine/fake_windows/Windows/system.ini
-rw-r--r-- 1 root root 320 Mar 1 18:28 /root/.wine/fake_windows/Windows/win.ini
-rwxr-xr-x 1 root root 17424 Mar 1 18:28 /root/.wine/fake_windows/Windows/winlogon.exe
/root/.wine/fake_windows/Windows/Desktop:
total 0
/root/.wine/fake_windows/Windows/Favorites:
total 0
/root/.wine/fake_windows/Windows/Fonts:
total 0
/root/.wine/fake_windows/Windows/Recent:
total 0
/root/.wine/fake_windows/Windows/Start Menu:
total 4
drwxr-xr-x 3 root root 4096 Mar 1 18:28 Programs
/root/.wine/fake_windows/Windows/System:
total 0
md5sum of winlogon.exe
6f49434d7e4532520372a4721a7a9aec winlogon.exe
md5sum of virus
6f49434d7e4532520372a4721a7a9aec /tmp/your_text.pif
if i run explore or other internet connection program
can i infect people?
thx for any reply
http://bugs.winehq.org/show_bug.cgi?id=2072
Summary: Error: Invoking 'wish Main.itcl' in
/usr/lib/wine/winesetuptk appears to have failed
Product: Wine
Version: unspecified
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-misc
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: ebennet(a)onetel.net.uk
Arose trying to install 'msttcorefonts' on my SUSE8.2 linux partition. msttcorefonts
installed file 'andale.exe' in /usr/src/packages/BUILD/msttcorefonts. Invoking
'andale.exe' produced the error message above. Hardware is Dell Inspiron 7000,
which also runs Windows 98 second ed.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2070
tony_lambregts(a)telusplanet.net changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://lib.su.lt/~ramonas/sp
| |acebandits/space_bandits_gam
| |e.zip
Keywords| |download
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2069
tony_lambregts(a)telusplanet.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |download
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2071
Summary: DM_SETDEFID doesnt work with Owner drawn button
Product: Wine
Version: 20040213
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-binary
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: santoshks(a)rocketmail.com
DM_SETDEFID doesnt seem to work with Owner drawn button. Dont face any problems
using normal pushbuttons on Linux.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.