http://bugs.winehq.org/show_bug.cgi?id=26914
Summary: setvbuf() breaks iostream input (msvcrt/msvcp)
Product: Wine
Version: 1.3.17
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: UncombedCoconut(a)gmail.com
This bug affects Stockfish, a chess engine. I've made a simplified test case.
This C++ program copies a line from stdin to stdout, or complains on EOF.
It works on WinXP, but under Wine 1.2.2 or 1.3.17 it says "No input". (You do
have to type a line before it will terminate.)
Here's the code and build command. The exe is attached.
$ cat setvbuf-test.cpp
#include <iostream>
#include <cstdio>
#include <string>
int main() {
std::string input;
setvbuf(stdin,NULL,_IONBF,0);
setvbuf(stdout,NULL,_IONBF,0);
if (std::getline(std::cin, input))
std::cout << "Input was: " << input << "\n";
else
std::cout << "No input\n";
return 0;
}
$ i686-w64-mingw32-g++ -o setvbuf-test.exe -static-libgcc setvbuf-test.cpp
--
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=30950
Bug #: 30950
Summary: 0 A.D. crashes due to unimplemented
msvcp90.dll.??0?$basic_stringstream@_WU?$char_traits@_
W@std@@V?$allocator@_W@2@@std@@QAE@ABV?$basic_string@_
WU?$char_traits@_W@std@@V?$allocator@_W@2@@1@H@Z
Product: Wine
Version: 1.5.6
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msvcp
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: andreas(a)braml.org
Classification: Unclassified
The Windows version of 0 A.D. crashes with call to unimplemented function
msvcp90.dll.??0?$basic_stringstream@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAE@ABV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@1@H@Z
winetricks vcrun2008 fixes this.
--
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=26025
Summary: Atom Zombie Smasher demo: fails to run with builtin
msvcr80
Product: Wine
Version: 1.3.13
Platform: x86
URL: http://www.bigdownload.com/games/atom-zombie-smasher/p
c/atom-zombie-smasher-demo/
OS/Version: Linux
Status: NEW
Keywords: download
Severity: normal
Priority: P2
Component: msvcrt
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: austinenglish(a)gmail.com
Installs fine, but when you run it, it gives a Wine C++ runtime error. Terminal
shows:
fixme:actctx:parse_depend_manifests Could not find dependent assembly
L"Microsoft.VC80.CRT" (8.0.50608.0)
fixme:actctx:parse_depend_manifests Could not find dependent assembly
L"Microsoft.VC80.CRT" (8.0.50608.0)
fixme:actctx:parse_depend_manifests Could not find dependent assembly
L"Microsoft.VC80.CRT" (8.0.50608.0)
Stacktrace:
at (wrapper managed-to-native) SFML.Graphics.Image.sfImage_CreateFromFile
(string) <0x00004>
at (wrapper managed-to-native) SFML.Graphics.Image.sfImage_CreateFromFile
(string) <0x00004>
at SFML.Graphics.Image..ctor (string) <0x00010>
at BlendoEngine.Assets.LoadTextures () <0x0008d>
at BlendoEngine.LoadScreen.LoadAsset () <0x0000a>
at BlendoEngine.LoadScreen.UpdateInput (single,BlendoEngine.InputManager)
<0x00012>
at BlendoEngine.ScreenManager.Update (single) <0x00242>
at BlendoEngine.Game1.Go (string[]) <0x0021d>
at BlendoEngine.Game1.Main (string[]) <0x00045>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object
(object,intptr,intptr,intptr) <0x00043>
winetricks vcrun2005 worked around it.
--
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=30962
Bug #: 30962
Summary: Rise of Nations Gold Edition : the characters
animation is weird
Product: Wine
Version: 1.5.6
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: trivial
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: jcpMail(a)gmail.com
Classification: Unclassified
Created attachment 40625
--> http://bugs.winehq.org/attachment.cgi?id=40625
picture of the glitch
The whole game runs perfectly, but there are ghosts with the characters in the
game next to each other (see the picture in attachment, inside the rectangular
form).
I've got a Nvidia card (GTX-260) with the 295.59 driver (I've tried the 302.17
driver too) under a Linux Gentoo x86_64 with the following compilation flags :
[ebuild R ~] app-emulation/wine-1.5.6 USE="X alsa cups gecko gnutls
gphoto2 jpeg lcms mono mp3 ncurses nls openal opencl opengl oss perl png
scanner ssl threads truetype udisks win32 win64 xcomposite xml -capi
-custom-cflags -fontconfig -gsm (-gstreamer) -hardened -ldap -odbc -samba
(-selinux) -test -v4l -xinerama" 94,810 kB
It's the only game that runs under Wine which has that graphic/animation bug :
Age Of Empire II Conqueror Exp., Warcraft III, Starcraft II, Diablo II LOD are
running fine.
--
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=16596
Summary: Spirits of Metropolis doesn't work properly without
using 'Emulate a Virtual Desktop'
Product: Wine
Version: unspecified
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: lostoverthere(a)gmail.com
The game, Spirits of Metropolis, does not display either full screen (default)
or windowed mode correctly. However, this issue is easily resolved by enabling
Emulate Virtual Desktop and setting it to 800x600.
However, if you dont do that and let the game run by itself. When it starts for
the first time in full screen. The game appears in the top left hand corner if
the users resolution is larger then 800x600, with the rest of the space just
being black. The game is meant to be stretched to the users resolution by
default.
If the user changes the games settings in options to run in windowed mode, the
game goes into windowed mode but the game itself shifts up approximately 500px
so the bottom 100px are only visible in the top of the game (the rest is
black).
Although this problems are irritating and should be easily fixed this in no way
alters or distracts the user from the game as the problem can be very easily
sorted by setting WINE's global settings to run in an Emulated Virtual Desktop
at 800x600 (the game's native resolution). Problem temporarily solved.
--
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=30949
Bug #: 30949
Summary: [GNUTLS ERROR]Unable to savegame online with Ubisoft's
games
Product: Wine
Version: 1.5.6
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: secur32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: berillions(a)gmail.com
Classification: Unclassified
Created attachment 40605
--> http://bugs.winehq.org/attachment.cgi?id=40605
+secur32 log
When you use the Ubisoft Game Launcher to play at games with the Online mode,
the savegame are stored thanks to a cloud system.
Actually with wine, it's impossible to savegame online but hopefully, the game
can create a offline savegame.
When the launcher try to download a file named savegamelist, i have these
message in the console :
2012-06-19 15:45:56 [ 84] [ERROR ] TCPSocketSelected.cpp (342) : send failed,
error=10054
2012-06-19 15:45:56 [ 53] [ERROR ] XmlParser.cpp (49) : Failed to parse XML.
Error string="no element found". Line 1. Column 0. Byte index 4294967295.
2012-06-19 15:45:56 [ 53] [ERROR ] OrbitSavegameSynchronizer.cpp (769) :
failed to parse savegamelist: ""
2012-06-19 15:45:56 [ 53] [ERROR ] OrbitSavegameSynchronizer.cpp (487) :
Failed to download savegamelist
2012-06-19 15:45:56 [ 72] [ERROR ] OrbitAchievementSynchronizer.cpp (64) :
Authentication failed. Connection failed.
I attached the +secur32 log because in this file, you'll find this line :
0054:trace:secur32:schan_pull Read 32 bytes
0054:trace:secur32:schan_gnutls_log <2> ASSERT: gnutls_cipher.c:580
0054:trace:secur32:schan_gnutls_log <2> ASSERT: gnutls_record.c:1002
GNUTLS ERROR: Decryption has failed.
0054:err:secur32:schan_DecryptMessage Returning -2146893052
I built myself Wine and i had not error message with GNUTLS after the
configure.
Thanks for your help.
--
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=30592
Bug #: 30592
Summary: Give kernel32.GetDiskFreeSpaceExW a trace message to
better diagnose free disk space overflow problems with
Win9X era apps/games
Product: Wine
Version: 1.5.3
Platform: x86
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: kernel32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Classification: Unclassified
Hello,
another enhancement request for better diagnosis ...
Sometimes I encounter broken Win9X era apps/games that suffer from
GetDiskFreeSpaceA/W overflows.
Example code which contains overflows:
--- snip ---
0x00428414: pushl %ecx
0x00428415: pushl %eax
0x00428416: leal 0x1c(%esp),%ecx
0x0042841a: pushl %edx
0x0042841b: leal 0x10(%esp),%eax
0x0042841f: pushl %ecx
0x00428420: pushl %eax
0x00428421: call *0x8a75fc -> 0x7b88273a GetDiskFreeSpaceA
0x00428427: movl 0xc(%esp),%ecx ; ecx = free_clusters
0x0042842b: movl 0x320(%esp),%eax ; needed space (compare value)
0x00428432: imull 0x10(%esp),%ecx ; ecx *= sector_bytes
0x00428437: imull 0x14(%esp),%ecx ; ecx *= cluster_sectors
0x0042843c: cmpl %ecx,%eax
0x0042843e: jnle 0x0042844c
0x00428440: xorl %eax,%eax
0x00428442: popl %ebx
0x00428443: addl $0x318,%esp
0x00428449: ret $0x4
0x0042844c: subl %ecx,%eax
0x0042844e: popl %ebx
--- snip ---
If you currently do +volume trace:
--- snip ---
0024:Call KERNEL32.GetDiskFreeSpaceA(0032eccc
"C:\\",0032ecdc,0032ecd8,0032ecd4,0032ece0) ret=00428427
0024:trace:volume:GetDiskFreeSpaceW L"C:\\",0x32ecdc,0x32ecd8,0x32ecd4,0x32ece0
0024:Ret KERNEL32.GetDiskFreeSpaceA() retval=00000001 ret=00428427
...
0024:trace:msvcrt:pf_printf_a Format is: "You do not have enough disk space to
run King's Quest: Mask of Eternity. Please free up %d megs of space and try
again."
--- snip ---
I'd like to see all the information returned to caller when doing +volume
trace.
Source:
http://source.winehq.org/git/wine.git/blob/1726427113b141535c2bb9e93879e409…
--- snip ---
1598 BOOL WINAPI GetDiskFreeSpaceExW( LPCWSTR root, PULARGE_INTEGER avail,
1599 PULARGE_INTEGER total, PULARGE_INTEGER
totalfree )
1600 {
1601 FILE_FS_SIZE_INFORMATION info;
1602 IO_STATUS_BLOCK io;
1603 NTSTATUS status;
1604 HANDLE handle;
1605 UINT units;
1606
1607 TRACE( "%s,%p,%p,%p\n", debugstr_w(root), avail, total, totalfree );
1608
1609 if (!open_device_root( root, &handle )) return FALSE;
1610
1611 status = NtQueryVolumeInformationFile( handle, &io, &info,
sizeof(info), FileFsSizeInformation );
1612 NtClose( handle );
1613 if (status != STATUS_SUCCESS)
1614 {
1615 SetLastError( RtlNtStatusToDosError(status) );
1616 return FALSE;
1617 }
1618
1619 units = info.SectorsPerAllocationUnit * info.BytesPerSector;
1620 if (total) total->QuadPart = info.TotalAllocationUnits.QuadPart *
units;
1621 if (totalfree) totalfree->QuadPart =
info.AvailableAllocationUnits.QuadPart * units;
1622 /* FIXME: this one should take quotas into account */
1623 if (avail) avail->QuadPart = info.AvailableAllocationUnits.QuadPart *
units;
1624 return TRUE;
1625 }
--- snip ---
Before the return on line 1624 a TRACE() would be very helpful, printing the
actual values of out parameters: cluster_sector, sector_bytes, free_clusters,
total_clusters
Additionally a hint if the values were capped due to Win9X compat (capped=0/1).
Actual 32-bits overflow warning would be a bonus but not required ;-)
Thanks.
Regards
--
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=30989
Bug #: 30989
Summary: CarveWright installer needs native vbscript
Product: Wine
Version: 1.5.7
Platform: x86
URL: http://www.carvewright.com/update
OS/Version: Linux
Status: NEW
Keywords: download
Severity: minor
Priority: P2
Component: vbscript
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: austinenglish(a)gmail.com
Classification: Unclassified
fixme:vbscript:parse_script parser failed on parsing
L"\r\n\r\nSession.Property(\"OS_NOTSUPPORTED\")=\"1\"\r\nEnd If\r\n\r\nDim
vAlwyasInstall, vVerInstalled, vSetupVer\r\n\r\nvAlwyasInstall =
Session.Property(\"ALWAYS_INSTALL_MDAC\") \r\nvVerInstalled =
Session.Property(\"MDACVERINSTALLED\") \r\nvSetupVer =
Session.Property(\"MDAC27_SETUP_VER\") \r\n\r\n"...
err:msi:ITERATE_Actions Execution halted, action
L"CheckForMDACInstall.C9C35FC7_5AEE_4C1E_8BD2_80ED9FA87FFF" returned 1603
err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1603
winetricks wsh57 works around it.
--
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=16246
Summary: Setting WINEPATH has no effect.
Product: Wine
Version: 1.1.9
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: kernel32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: aziz.koeksal(a)gmail.com
Hi,
The following doesn't work as expected:
$ export WINEPATH="C:\dir"
$ printenv | grep WINEPATH # Check if it's in the shell's environment.
WINEPATH=C:\dir
$ wine ./environment.exe # E.g.: printf("PATH=%s", getenv("PATH"));
PATH=C:\windows\system32;C:\Windows
I expect that by defining WINEPATH it would get appended to PATH. I also expect
wine to search in WINEPATH folders to locate a command, e.g. "wine
compiler.exe".
Before filing this report I did some research into this, and apparently there
has been only one person so far who complained about this feature not working
anymore (http://www.winehq.org/pipermail/wine-users/2006-August/023179.html).
I have also browsed the source code, and found the following identifiers that
should be of interest:
http://source.winehq.org/ident?i=__wine_main_environhttp://source.winehq.org/ident?i=build_initial_environment
I could help debugging this, but only if someone guided me through setting up
everything that is required to debug wine in a graphical and sane environment.
--
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=30946
Bug #: 30946
Summary: Secret of Monkey Island wants
msvcp80.dll.?_Register@facet@locale@std@@QAEXXZ
Product: Wine
Version: 1.5.6
Platform: x86
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: msvcp
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: austinenglish(a)gmail.com
CC: piotr.caban(a)gmail.com
Classification: Unclassified
Follow up to bug 28772.
wine-1.5.6-216-gd0012f8
--
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.