https://bugs.winehq.org/show_bug.cgi?id=38558
Bug ID: 38558
Summary: cmd.exe bundled with Windows XP messed up when using
FOR /F
Product: Wine
Version: 1.7.42
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: katsunori.kumatani(a)gmail.com
Distribution: Mint
I found some pretty old batch scripts I had laying around, so I decided to test
if wine could run them fine. I'm using latest version (1.7.42) as of this time,
on Linux Mint 17.1 Rebecca, and using the cmd.exe from a Windows XP SP2 old
installation media.
cmd has the ability to scan through files (and separating each line into
tokens) using the "FOR /F" method. For example, to reproduce this, create a
simple text file (test.txt) and put ascending numbers on each line (up to 16
for now):
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Then use this command in the cmd.exe:
FOR /F "tokens=*" %A IN (test.txt) DO @echo %A
It SHOULD display all 16 lines in turn, but it's only displaying until 10. If
you take out the last two lines (15 and 16), then it will display ONLY until 5,
i.e:
1
2
3
4
5
This is a serious bug IF it is within wine because it obviously is something
that affects data integrity and not just a glitch.
I am positive that it replaces the last bytes of a file with some
junk/overflows or something like that (making it a security issue), which is
why it stops "early" since it finds a NULL character, and windows processor
stops at a null.
I'm sure of that because AkelPad 4.1.2 has a similar bug: there's non-sensical
binary data on every file you open with it! (i.e you open a file and re-save
it, and it's messed up at the end in the output...). But the latest version of
it, AkelPad 4.2.3, seems to not have this issue, which makes me think if it's
really a wine bug or not. I would still appreciate if you had a small look at
the file functions (and eof) though.
Note, I couldn't find out how to use wineconsole or wine's built-in cmd at all,
it doesn't seem to work at all with FOR /F or at least not in any way properly?
Unfortunately I can't attach a log or something since using the cmd.exe puts it
in the shell from where I invoke it... so wine's messages are not visible,
unless I am missing something?
--
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=46494
Bug ID: 46494
Summary: WinMerge crash after clicking "About WineMerge"
Product: Wine-staging
Version: 4.0-rc6
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: linards.liepins(a)gmail.com
CC: leslie_alistair(a)hotmail.com, z.figura12(a)gmail.com
Distribution: ---
Created attachment 63334
--> https://bugs.winehq.org/attachment.cgi?id=63334
terminal log
Bug reports attached.
--
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=46387
Bug ID: 46387
Summary: ReactOS/Windows XP TASKMGR: Column headers don't
scroll when scrolling horizontally (multiple listview
or header control)
Product: Wine
Version: 4.0-rc3
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: comctl32
Assignee: wine-bugs(a)winehq.org
Reporter: zcooger(a)gmail.com
Distribution: ---
Created attachment 63146
--> https://bugs.winehq.org/attachment.cgi?id=63146
System info, debug log, 2 executables, 2 screenshots for comparison
Tested on:
- Linux 4.15.0-20-generic x86_64 bits: 64 gcc: 7.3.0
- Desktop Cinnamon 3.8.8 (Gtk 3.22.30-1ubuntu1) dm: lightdm Distro: Linux Mint
19 Tara
- ReactOS Bootcd-0.4.12-dev-195-g079f702-x86-gcc-lin-dbg.
- M$ Windows XP Pro SP3 x86.
- M$ Windows 7 Pro SP1 x64.
SHA1 sums inside zip file.
Selecting multiple columns displays the scroll bar and the columns remain
locked while scrolling.
Native Wine TASKMGR is not affected.
Both look fine on Windoze.
Similar ReactOS Issue: https://jira.reactos.org/browse/CORE-15505
--
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=46319
Bug ID: 46319
Summary: 32-bit IL-only executable launched as 32-bit
subprocess on Wine and 64-bit subprocess on Windows
Product: Wine
Version: 4.0-rc1
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: kernel32
Assignee: wine-bugs(a)winehq.org
Reporter: brendan(a)redmandi.com
Distribution: ---
Created attachment 63052
--> https://bugs.winehq.org/attachment.cgi?id=63052
Allow 32-bit IL-only application to launch as 64-bit process in WIN64
As stated in the summary - when using CreateProcessA to execute a 32-bit
.NET/Mono application (which is IL-only) the process is always launched as a
32-bit process under Wine; but under Windows it is launched as a 64-bit
process.
Attached is a proposed patch.
The issue can be recreated by running the following:
# create mono source
cat << 'END' > mono32.cs
using Microsoft.Win32;
using System.Diagnostics;
using System.Reflection;
using System.IO;
using System;
public class Launcher
{
static public void Main ()
{
RegistryKey rk =
Registry.LocalMachine.OpenSubKey("SOFTWARE\\Microsoft\\Cryptography");
if (rk != null) {
object guid = rk.GetValue("MachineGuid");
if (guid != null) {
Console.WriteLine ("it works!");
} else {
Console.WriteLine ("guid not found - run as 64-bit process");
}
} else {
Console.WriteLine("Couldn't find
'HKLM\\SOFTWARE\\Microsoft\\Cryptography'");
}
}
}
END
# create 'C' source
cat << 'END' > c64.c
#include <windows.h>
#include <stdio.h>
int main(int argc, const char *argv[])
{
PROCESS_INFORMATION processInfo;
STARTUPINFO startupInfo;
memset(&startupInfo, 0, sizeof startupInfo);
startupInfo.cb = sizeof startupInfo;
// Create the process in suspended state
if (!CreateProcessA(
NULL,
"mono32.exe", // only modified by CreateProcessW
0, // process attributes
0, // thread attributes
TRUE, // inherit handles
0, // CREATE_SUSPENDED,
NULL, // environment
NULL, // current directory
&startupInfo,
&processInfo)) {
DWORD dwLastError = GetLastError();
fprintf(stderr, "failed to execute mono32.exe (%lu)\n",
dwLastError);
return 1;
}
return 0;
}
END
# compile mono
mcs mono32.cs
# compile 'C'
x86_64-w64-mingw32-gcc c64.c -o c64.exe
# try wine64 (fails under wine without patch)
wine64 c64.exe
--
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=44300
Bug ID: 44300
Summary: Windows Media Player 7.1 fails to play media due to
unimplemented function wmvcore.dll.WMCheckURLExtension
Product: Wine
Version: 3.0-rc4
Hardware: x86
URL: http://download.microsoft.com/download/winmediaplayer/
wmp71/7.1/W982KMe/EN-US/mp71.exe
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wmp&wmvcore
Assignee: wine-bugs(a)winehq.org
Reporter: jhansonxi(a)gmail.com
Distribution: Ubuntu
Any attempt to open a local file or URL with Windows Media Player 7.1 results
in:
wine: Call from 0x7b43c7cc to unimplemented function
wmvcore.dll.WMCheckURLExtension, aborting
wine: Unimplemented function wmvcore.dll.WMCheckURLExtension called at address
0x7b43c7cc (thread 002e), starting debugger...
Using wine-staging doesn't solve it. Installation and override with native
wmvcore.dll corrects the problem.
Xubuntu 17.04 x86, Intel Pentium D 3.46GHz, GeForce 8600 GT with Nvidia
340.102 driver.
wine-devel 3.0~rc4~zesty from dl.winehq.org
wine-staging 2.21.0~zesty from dl.winehq.org
--
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=33456
Bug #: 33456
Summary: D3DXMatrixTransformation: Broken calculation when
scalingrotation and scaling is used
Product: Wine
Version: unspecified
Platform: x86
OS/Version: Linux
Status: NEW
Keywords: testcase
Severity: normal
Priority: P2
Component: directx-d3dx9
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: kgbricola(a)web.de
CC: wine-bugs(a)winehq.org
Classification: Unclassified
Created attachment 44286
--> http://bugs.winehq.org/attachment.cgi?id=44286
D3DXMatrixTransformation test case - 22 failed tests
While trying to improve the speed of D3DXMatrixTransformation(), I found that
the calculation when using scalingrotation and scaling at the same time is
wrong.
The full formula is (according to msdn):
Mout = (Msc)-1 * (Msr)-1 * Ms * Msr * Msc * (Mrc)-1 * Mr * Mrc * Mt
while the failing part is:
(Msr)-1 * Ms * Msr
So this might not be the correct equivalent:
...
D3DXMatrixRotationQuaternion(&m4, pscalingrotation); //Msr
D3DXMatrixInverse(&m2, NULL, &m4); //Msr-1
D3DXMatrixScaling(&m3, pscaling->x, pscaling->y, pscaling->z); //Ms
...
D3DXMatrixMultiply(&m1, &m1, &m2);
D3DXMatrixMultiply(&m1, &m1, &m3);
D3DXMatrixMultiply(&m1, &m1, &m4);
...
This may affect other functions as well (e.g. D3DXMatrixTransformation2D()).
--
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=26653
Summary: Function VarRound fail
Product: Wine
Version: 1.2.2
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: oleaut32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: cccarlos1983(a)yahoo.com
I'm trying run a VB6 app in wine, the problem happens when the VB6 app gets
data from a Sybase server and tries to round to 2 decimals the value "0.00"
(zero) from a field. I made a change in the
"wine_source/dlls/oleaut32/variant.c" file to show the value of many variables
and the output is the following:
VarRound (0x33ed40->(VT_DISPATCH ),2)
fixme:variant:VarRound unimplemented part, pVarIn == 0x33ebc8 ,V_VT(pVarIn) ==
0xE, VT_TYPEMASK == 4095, deci == 2
The big problem is that I have not access to the source code of the VB6
application.
PD: My english is very bad... sorry :(
--
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=46536
Bug ID: 46536
Summary: Empire Earth (GOG version) main menu is unusable
(regression)
Product: Wine
Version: 4.0
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: nowic(a)wenner.ch
Distribution: ---
Created attachment 63390
--> https://bugs.winehq.org/attachment.cgi?id=63390
Commandline output
The main menu of Empire Earth is completely unusable in Wine 4.0. The game
(including the menu) works flawlessly in Wine version 3.0 (Ubuntu 18.04
package).
In Wine 4.0 the menu graphics are drawn with incorrect offsets and after
clicking the new menu is drawn on top. See attached screenshot.
I tested the game with my Intel (HD Graphics 630) and Nvidia (GeForce 940MX)
GPU and the bug exists using both.
--
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=40441
Bug ID: 40441
Summary: Chicken tournament crashes when loading texture
Product: Wine
Version: 1.9.7
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: directx-d3d
Assignee: wine-bugs(a)winehq.org
Reporter: jeremielapuree(a)yahoo.fr
Distribution: ---
Created attachment 54194
--> https://bugs.winehq.org/attachment.cgi?id=54194
console output with ddraw d3d7 d3d channels enabled
The game crashes when loading textures.
--
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=38138
Bug ID: 38138
Summary: Avencast: Rise of the Mage: invisible doors
Product: Wine
Version: 1.7.37
Hardware: x86
URL: http://www.gamershell.com/download_21404.shtml
OS: Linux
Status: NEW
Keywords: download
Severity: minor
Priority: P2
Component: directx-d3d
Assignee: wine-bugs(a)winehq.org
Reporter: gyebro69(a)gmail.com
Distribution: ---
As far as I see there are two types of doors in the game: the sturdy-looking
wooden/metal doors are rendered properly, but the doors which look like a grate
are invisible.
Easy to reproduce in the demo, when you start the Training mission you're
standing right in front of an invisible door. Press and hold <f> to highlight
usable objects like doors and you should see the yellow outlines of a door, but
the door itself is invisible.
Intro videos won't play (bug #10325)
The game needs native d3dx9_36 (bug #36960).
In the terminal:
fixme:win:EnumDisplayDevicesW ((null),0,0x135d4b8,0x00000000), stub!
fixme:d3d:wined3d_device_set_software_vertex_processing device 0x165ac0,
software 0 stub!
fixme:d3d:swapchain_gl_present WINED3D_SWAP_EFFECT_FLIP not implemented.
fixme:d3d:query_init Unhandled query type 0x4.
fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
...
Fedora 21
Nvidia 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.