https://bugs.winehq.org/show_bug.cgi?id=49924
Bug ID: 49924
Summary: comctl32: Enable Tab key of IP address controls
Product: Wine
Version: 5.18
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: comctl32
Assignee: wine-bugs(a)winehq.org
Reporter: katayama.hirofumi.mz(a)gmail.com
Distribution: ---
Created attachment 68300
--> https://bugs.winehq.org/attachment.cgi?id=68300
The patch
The IP Address controls (window class: SysIPAddress32) won't accept Tab key and
Shift+Tab key.
If the user pressed Tab key on SysIPAddress32, SysIPAddress32 should set focus
to the next field. If the user pressed Shift+Tab key, SysIPAddress32 should set
focus to the previous field.
--
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=49591
Bug ID: 49591
Summary: Multiple GOG installers display the error message "Out
of Global Vars range"
Product: Wine
Version: 5.12
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: qsniyg(a)mail.com
Distribution: ---
(This isn't a new issue, but I couldn't find any existing bug reports about
this)
This doesn't prevent the installers from working, as it only pops up at the end
of the installation, so it's not a major issue.
The smallest installer for a free game I could find (so far) that can reproduce
this issue is Stargunner: https://www.gog.com/game/stargunner . There are other
smaller installers (such as Ultima 4), but they don't contain this issue (at
least not when I tested them).
Looking at the GOG log (C:/users/.../Temp/Setup Log ...), these lines look
relevant:
--- snip ---
CurStepChanged raised an exception.
Exception message:
Message box (OK):
Runtime Error (at 73:1379):
--- snip ---
Current Page: Finished
Exception message:
Message box (OK):
Runtime Error (at 211:814):
Out of Global Vars range.
--- snip ---
Exception message:
Message box (OK):
Invalid Opcode.
--- snip ---
Looking at the wine log:
--- snip ---
1384816.651:00cc:00d0:trace:nls:MultiByteToWideChar cp 1252 "Out of Global Vars
range" -> L"Out of Global Vars range", ret = 24
1384816.651:00cc:00d0:Ret KERNEL32.MultiByteToWideChar() retval=00000018
ret=00405449
1384816.651:00cc:00d0:Call
KERNEL32.RaiseException(0eedfade,00000001,00000007,0031dca8) ret=004a0c4b
1384816.652:00cc:00d0:trace:seh:raise_exception code=eedfade flags=1
addr=0x7b00f787 ip=7b00f787 tid=00d0
--- snip ---
I'm not quite sure what is the cause of the issue yet. There are multiple other
eedfade (pascal) exceptions, but I don't believe they are related (one is due
to trying to access c:\\gog games\\Stargunner\\goglog.ini, which doesn't exist,
another is due to trying to access a non-existing CLSID in HKEY_CLASSES_ROOT)
--
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=22616
Summary: problem with merriam-webster-dictionary
Product: Wine
Version: 1.1.43
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: romangrubecki(a)hotmail.com
Merriam- Webster 3.11 dictionary does not work.
I have 2 Ubuntu versions on 2 separate hard drives.
In Ubuntu 9.10 and wine 1.1.43 - works perfect. I have installed Webster 4
months ago. with older version of wine. Since then I keep upgrading Wine and
dictionary still works fine.
Then I have installed Ubuntu 10.04 from cd on separate hard drive. I installed
Wine from repository. Webster dictionary does not work on this instalation. Is
the same version of wine, and the same computer.
Communicate appears: The program Merriam-Webster.exe has encountered a serious
problem and needs to close.
--
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=50126
Bug ID: 50126
Summary: Writing VT_UI8 property type to a stream is not
currently supported
Product: Wine
Version: 5.0.2
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: blocker
Priority: P2
Component: ole32
Assignee: wine-bugs(a)winehq.org
Reporter: vladut.vrinceanu(a)yahoo.com
Distribution: ---
The PropertyStorage_WritePropertyToStream function does not handle the VT_UI8
type.
--
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=49738
Bug ID: 49738
Summary: "warning: implicit declaration of function
‘strtoumax’" when compiling PuTTY with Winelib
Product: Wine
Version: 5.15
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: msvcrt
Assignee: wine-bugs(a)winehq.org
Reporter: alexhenrie24(a)gmail.com
Distribution: ---
Created attachment 68035
--> https://bugs.winehq.org/attachment.cgi?id=68035
Build log
To reproduce, run the following commands:
git clone https://git.tartarus.org/simon/putty.git
cd putty
./mkfiles.pl
make -C windows -f Makefile.mgw CC="winegcc -mno-cygwin" COMPAT="-D__MINGW32__"
RC=wrc
The complete build log is attached. There are numerous warnings; this bug
report is specifically about this one:
../testcrypt.c: In function ‘get_uint’:
../testcrypt.c:405:23: warning: implicit declaration of function ‘strtoumax’;
did you mean ‘strtoull’? [-Wimplicit-function-declaration]
405 | uintmax_t toret = strtoumax(string, NULL, 0);
| ^~~~~~~~~
| strtoull
--
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=35744
Bug ID: 35744
Summary: LabChart Reader 8 installer ends prematurely (VBScript
support for class default sub missing)
Product: Wine
Version: 1.7.14
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: vbscript
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Hello folks,
continuation of bug 35110
--- snip ---
$ WINEDEBUG=+tid,+seh,+relay,+vbscript,+msi wine msiexec -i
LabChartReader_v8.0.msi >>log.txt 2>&1
...
0037:trace:vbscript:VBScriptParse_ParseScriptText (0x153ca8)->(L"Option
Explicit\r\n\r\nConst kInfoMessage = &H04000000\r\ndim
kDebugContext\r\n\r\nkDebugContext = false\r\n'kDebugContext = true ' True for
command line testing\r\n'\r\n'if (kDebugContext) then\r\n' Dim
Session\r\n'\r\n' Set Session = New SessionType\r\n' Session.Init\r\n'
Session.Proper"... (null) (nil) (null) 0 0 0 (nil) (nil))
...
0037:fixme:vbscript:new_function_decl Invalid default property
0037:trace:vbscript:VBScript_Release (0x153ca8) ref=1
0037:trace:vbscript:VBScript_Release (0x153ca8) ref=0
0037:trace:msi:MsiActiveScriptSite_OnStateChange State: Closed.
0037:trace:msi:MsiActiveScriptSite_Release (0x153b18)->(2)
...
0037:trace:msi:ACTION_CallScript script returned 1603
0037:trace:msi:MsiCloseHandle 1
0037:trace:msi:ScriptThread custom action (37) returned 1603
--- snip ---
VBScript code:
--- snip ---
class SessionType
...
Public Default Sub Init ()
Set Properties = CreateObject ("Scripting.Dictionary")
Quiet = true
End Sub
...
End Class
--- snip ---
$ sha1sum LabChartReader_v8.0.msi
2d4f4ffc88e1b40f76d5fa95bdf9ac1a2dea1162 LabChartReader_v8.0.msi
$ du -sh LabChartReader_v8.0.msi
43M LabChartReader_v8.0.msi
$ wine --version
wine-1.7.14
Regards
--
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=49850
Bug ID: 49850
Summary: No One Lives Forever crashes due to GetMotif stub in
dmstyle
Product: Wine
Version: 5.12
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: directx-dmusic
Assignee: wine-bugs(a)winehq.org
Reporter: qsniyg(a)mail.com
Distribution: ---
Returning S_FALSE instead of S_OK fixes the crash (though music still fails to
play).
Though I haven't used a debugger, I suspect the reason NOLF crashes here is
because it will try to access ppSegment (which has not been modified by
GetMotif) if it returns S_OK.
I'm not sure if any other lithtech games are affected.
--
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=49719
Bug ID: 49719
Summary: The Bat! v9.2.2.3: The 32bit version and the 64bit
version crashed after startup
Product: Wine
Version: 5.15
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: mywine(a)schiermeier-it.de
Distribution: ---
Created attachment 67975
--> https://bugs.winehq.org/attachment.cgi?id=67975
Log from terminal of starting The Bat! 32bit
This is a similar behaviour in 32bit and 64 bit:
After installation of the v9.2.2.3 of The Bat! the setup of a mail account
works. But than, when the applications shows it main window it crashes. Wine
tells me this in a message box saying: "Access violation in ..."
Than I will have to kill the "thebat32.exe" proccess to get back to the prompt.
In 64bit happens the same.
To setup *The Bat!* first download the latest msi file from ritlabs.com,
install it (it also will not run) and than replace the thebat32.exe by the
files from TBBETA
(https://www.mail-archive.com/tbbeta@thebat.dutaint.com/msg113701.html).
--
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=49449
Bug ID: 49449
Summary: Terraria Server (.NET 4.x) crashes with
System.NotImplementedException
NATUPNPLib.IUPnPNAT.get_StaticPortMappingCollection()
Product: Wine
Version: 5.11
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: hnetcfg
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
extracted from https://bugs.winehq.org/show_bug.cgi?id=46005#c5
--- snip ---
0009:err:eventlog:ReportEventW L"Application: TerrariaServer.exe\nFramework
Version: v4.0.30319\nDescription: The process was terminated due to an
unhandled exception.\nException Info: System.NotImplementedException\n at
NATUPNPLib.IUPnPNAT.get_StaticPortMappingCollection()\n at
Terraria.Netplay..cctor()\n\nException"...
0009:fixme:advapi:DeregisterEventSource (0xcafe4242) stub
Unhandled Exception: System.TypeInitializationException: The type initializer
for 'Terraria.Main' threw an exception. --->
System.TypeInitializationException: The type initializer for 'Terraria.Netplay'
threw an exception. ---> System.NotImplementedException: The method or
operation is not implemented.
at NATUPNPLib.IUPnPNAT.get_StaticPortMappingCollection()
at Terraria.Netplay..cctor()
--- End of inner exception stack trace ---
at Terraria.Main..cctor()
--- End of inner exception stack trace ---
at Terraria.Main..ctor()
at Terraria.Program.LaunchGame(String[] args)
at Terraria.WindowsLaunch.Main(String[] args)
wine: Unhandled exception 0xe0434352 in thread 9 at address 7B00DFA2 (thread
0009), starting debugger...
--- snip ---
It was reported with Wine 5.0.1 but source inspection reveals the problem is
still present with Wine 5.11.
Wine source:
https://source.winehq.org/git/wine.git/blob/1f6423f778f7036a3875613e10b9c8c…
--- snip ---
717 static HRESULT WINAPI upnpnat_get_StaticPortMappingCollection(IUPnPNAT
*iface, IStaticPortMappingCollection **collection)
718 {
719 upnpnat *This = impl_from_IUPnPNAT( iface );
720 FIXME("%p, %p\n", This, collection);
721 if(collection)
722 *collection = NULL;
723 return E_NOTIMPL;
724 }
--- snip ---
$ wine --version
wine-5.11-111-g1f6423f778
Regards
--
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=45400
Bug ID: 45400
Summary: eden* (VN) some font characters display with the wrong
glyph (capitals/spaces)
Product: Wine
Version: 3.11
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: kq3thih(a)mailnesia.com
Distribution: ---
Created attachment 61710
--> https://bugs.winehq.org/attachment.cgi?id=61710
+font,+nls,+relay - 36.4M
eden*, GOG version (all ages/17+), some font characters display with the wrong
glyph. Often capital letters and/or spaces. To reproduce start eden_en.exe, and
click Settings or start a new game.
Merriweather MG font is installed along with the game. When chosen as the font
to use the broken characters display as the first non-unicode glyph in
Merriweather MG, box with an X inside named ".notdef" according to FontForge.
>From the attached +font,+nls,+relay log.
A wrong glyph:
--- snip ---
002b:Call KERNEL32.MultiByteToWideChar(000004e4,00000001,0033f644
"l",00000001,0033f640,00000001) ret=0051a005
002b:trace:nls:MultiByteToWideChar cp 1252 "l" -> L"l", ret = 1
002b:Ret KERNEL32.MultiByteToWideChar() retval=00000001 ret=0051a005
002b:Call
gdi32.GetGlyphOutlineW(0037005b,0037006c,00000005,00d0e770,00000000,009a2ad8,005671d0)
ret=0051a053
002b:trace:font:GetGlyphOutlineW (0x37005b, 37006c, 0005, 0xd0e770, 0,
0x9a2ad8, 0x5671d0)
002b:trace:font:get_glyph_outline 0x1c2570, 37006c, 00000005, 0xd0e770,
00000000, 0x9a2ad8, 0x5671d0
002b:trace:font:get_glyph_outline font transform 1.000000 0.000000 0.000000
1.000000
002b:trace:font:get_glyph_outline 10,11,(0,12),10,0
002b:Ret gdi32.GetGlyphOutlineW() retval=00000084 ret=0051a053
002b:Call
gdi32.GetGlyphOutlineW(0037005b,0037006c,00000005,00d0e770,00000084,009a2ad8,005671d0)
ret=0051a161
002b:trace:font:GetGlyphOutlineW (0x37005b, 37006c, 0005, 0xd0e770, 132,
0x9a2ad8, 0x5671d0)
002b:trace:font:get_glyph_outline 0x1c2570, 37006c, 00000005, 0xd0e770,
00000084, 0x9a2ad8, 0x5671d0
002b:trace:font:get_glyph_outline font transform 1.000000 0.000000 0.000000
1.000000
002b:trace:font:get_glyph_outline 10,11,(0,12),10,0
002b:Ret gdi32.GetGlyphOutlineW() retval=00000084 ret=0051a161
--- snip ---
A correct glyph:
--- snip ---
002b:Call KERNEL32.MultiByteToWideChar(000004e4,00000001,0033f644
"a",00000001,0033f640,00000001) ret=0051a005
002b:trace:nls:MultiByteToWideChar cp 1252 "a" -> L"a", ret = 1
002b:Ret KERNEL32.MultiByteToWideChar() retval=00000001 ret=0051a005
002b:Call
gdi32.GetGlyphOutlineW(0037005b,00000061,00000005,00d0e770,00000000,009a2ad8,005671d0)
ret=0051a053
002b:trace:font:GetGlyphOutlineW (0x37005b, 0061, 0005, 0xd0e770, 0, 0x9a2ad8,
0x5671d0)
002b:trace:font:get_glyph_outline 0x1c2570, 0061, 00000005, 0xd0e770, 00000000,
0x9a2ad8, 0x5671d0
002b:trace:font:get_glyph_outline font transform 1.000000 0.000000 0.000000
1.000000
002b:trace:font:get_glyph_outline 9,12,(0,11),8,0
002b:Ret gdi32.GetGlyphOutlineW() retval=00000090 ret=0051a053
002b:Call
gdi32.GetGlyphOutlineW(0037005b,00000061,00000005,00d0e770,00000090,009a2ad8,005671d0)
ret=0051a161
002b:trace:font:GetGlyphOutlineW (0x37005b, 0061, 0005, 0xd0e770, 144,
0x9a2ad8, 0x5671d0)
002b:trace:font:get_glyph_outline 0x1c2570, 0061, 00000005, 0xd0e770, 00000090,
0x9a2ad8, 0x5671d0
002b:trace:font:get_glyph_outline font transform 1.000000 0.000000 0.000000
1.000000
002b:trace:font:get_glyph_outline 9,12,(0,11),8,0
002b:Ret gdi32.GetGlyphOutlineW() retval=00000090 ret=0051a161
--- snip ---
--
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=49820
Bug ID: 49820
Summary: VBScript fails to parse decimal literals between -1
and 1 without 0 in front
Product: Wine
Version: 5.17
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: vbscript
Assignee: wine-bugs(a)winehq.org
Reporter: dimaki(a)rocketmail.com
Distribution: ---
In a VBScript script file decimals such as .2 and -.1 wrongly result in a
parsing error. No parsing error occurs if a zero is placed in front such as 0.2
and -0.1
Sample script that fails parsing:
Dim x
x = .2
WScript.Echo(x)
--
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=48545
Bug ID: 48545
Summary: SDL GameControllerAddMapping registry keys do not work
Product: Wine
Version: 5.0
Hardware: x86
OS: Mac OS X
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: hid
Assignee: wine-bugs(a)winehq.org
Reporter: zakk(a)rsdio.com
The registry entries to add SDL controller mappings do not work
(HKLM/CurrentControlSet/Services/WineBus/Map)
I've discovered the enumeration of the subkeys fails with ERROR_ACCESS_DENIED
If I change the RegOpenKeyExW call (line 1039 of bus_sdl.c) to use KEY_READ
instead of KEY_ENUMERATE_SUB_KEYS the enumeration succeeds and the controller
mappings are passed to SDL.
The registry keys were created with the stock wine regedit program.
I can provide a diff if really required, but I feel like this might be an issue
that needs solving somewhere else (perhaps the default permissions on registry
key creation need tweaking?)
--
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=44367
Bug ID: 44367
Summary: d2d1 FillEllipse
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: d2d
Assignee: wine-bugs(a)winehq.org
Reporter: markau0(a)lycos.com
Distribution: ---
With wine set to
HKEY_CURRENT_USER Software Wine Direct3D MaxVersionGL 30002
a FillEllipse and DrawEllipse error occurs when using a windows vst (Serum)
that uses d2d1.
Without setting MaxVersionGL 30002 the display is blank (black).
Setting MaxVersionGL 30002 enables the display but also causes the FillEllipse
and DrawEllipse errors which result in drawing errors.
Video card is a Radeon HD 6670.
err:winediag:wined3d_dll_init Setting maximum allowed wined3d GL version to
3.2.
err:d2d:d2d_d3d_render_target_FillEllipse Failed to create geometry, hr
0x80004001.
err:d2d:d2d_d3d_render_target_FillEllipse Failed to create geometry, hr
0x80004001.
err:d2d:d2d_d3d_render_target_DrawEllipse Failed to create geometry, hr
0x80004001.
err:d2d:d2d_d3d_render_target_FillEllipse Failed to create geometry, hr
0x80004001.
err:d2d:d2d_d3d_render_target_FillEllipse Failed to create geometry, hr
0x80004001.
etc
--
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=35782
Bug ID: 35782
Summary: Tic Tac Toe Game (vbscript) cannot be played (colon
used in for loop for placing multiple statements on
the same line)
Product: Wine
Version: 1.7.14
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: vbscript
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Hello folks,
similar to bug 27831
--- snip ---
$ wine iexplore file:///c:/Game.htm
...
fixme:vbscript:parse_script parser failed around L"0)=8\n\t\tfor i=1 to
8:a1(i)=i-1:next 'all lines\n\t\tc=ChooseOneCell(a1)\n\tend
if\n\tFindBestMove=c\nEnd Function\n\n\nSub PutCoin(c)\n\t'put a coin on the
cell #c for player p\n\ton error resume next\n\t'if TimeOutHldIsSet=1 then
TimeOutHldIsSet=0\n\tdim n\n\tBoardCell(c)=CurrentPlayer+1\n\tn=Coin"...
--- snip ---
Reduced case:
--- snip ---
dim a1(8)
a1(0)=8
for i=1 to 8:a1(i)=i-1:next 'all lines
--- snip ---
Regards
--
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=22749
Summary: Hard link creation from a Finddupe-generated batch
file fails (needs fsutil.exe implemented)
Product: Wine
Version: 1.1.44
Platform: x86-64
URL: http://www.sentex.net/~mwandel/finddupe/
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: programs
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: RandomAccountName(a)mail.com
Finddupe has an option to generate a batch file that can be run later to create
hard links for the duplicate files it find, but these batch files don't work in
Wine:
wine: cannot find L"C:\\windows\\system32\\fsutil.exe"
The particular command it's using is this:
fsutil hardlink create "C:\test6\testfile_1.gif" "C:\test6\testfile.gif"
Copying over fsutil.exe from WinXP lets it work as expected (aside from the
native app producing corrupted output). Fsutil is documented here:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en…
A lot of these functions probably wouldn't translate to Wine well (setting NTFS
attributes, etc.) but "fsutil hardlink create" seems to do the same thing as
CreateHardLink...
--
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=50153
Bug ID: 50153
Summary: HID doesn't work on macOS Catalina and Big Sur unless
"Input Monitoring" permission is granted
Product: Wine
Version: 5.22
Hardware: x86-64
OS: Mac OS X
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: hid
Assignee: wine-bugs(a)winehq.org
Reporter: bshanks(a)codeweavers.com
On macOS Catalina and Big Sur, if the user-level app (usually Terminal) doesn't
have permission granted for "Input Monitoring" in System Preferences ->
Security & Privacy, the IOHID support in winebus will fail with 'Couldn't open
IOHIDManager.'.
And when Wine is quitting and the driver unloads, it tries to call the
IOHIDManager that was already released, causing a crash.
IOHIDManagerOpen() is failing with kIOReturnNotPermitted because it actually
tries to "open" every matching device, which is every HID device on the system,
including the keyboard (which requires Input Monitoring permission).
(Yes, this API design is very confusing, and poorly documented).
Better is to open individual devices instead, so even if the keyboard fails to
open other devices will still work.
Also it would be ideal to not "open" a device until it's necessary, so there
won't be a permission prompt unless a Windows app actually wants to read from
the keyboard. Currently some part of Wine's HID stack requests input reports
when the device gets enumerated, triggering the permission prompt.
--
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=48396
Bug ID: 48396
Summary: 'cmd.exe /c move file1 file2' doesn't respect
non-interactive mode, causing prompt for overwrite if
destination file exists
Product: Wine
Version: 5.0-rc3
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: cmd
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
as it says. Noticed this with some scene installers that use batch files to
uncompress and concatenate files. At one point the progress stalls and a number
of 'cmd.exe' processes just sit around, waiting for input (they are
non-interactive). Reason: Wine's cmd.exe 'move' doesn't take non-interactive
mode into account when destination file exists.
Cmd's 'copy' works.
--- snip ---
$ echo "1" > test1
$ echo "2" > test2
# fails but should work
$ wine cmd /c move test1 test2
Overwrite Z:\home\focht\test2? (Yes|No)
--- snip ---
Setting 'COPYCMD' environment variable to '/Y' avoids the prompt, but still
doesn't overwrite the destination file with original which is another bug.
Oh boy, cmd.exe really needs some love. Still so broken after years.
Wine source:
https://source.winehq.org/git/wine.git/blob/HEAD:/programs/cmd/builtins.c#l…
--- snip ---
2959 void WCMD_move (void)
2960 {
2961 BOOL status;
2962 WIN32_FIND_DATAW fd;
2963 HANDLE hff;
2964 WCHAR input[MAX_PATH];
2965 WCHAR output[MAX_PATH];
2966 WCHAR drive[10];
2967 WCHAR dir[MAX_PATH];
2968 WCHAR fname[MAX_PATH];
2969 WCHAR ext[MAX_PATH];
...
3023 /* If destination exists, prompt unless /Y supplied */
3024 if (GetFileAttributesW(dest) != INVALID_FILE_ATTRIBUTES) {
3025 BOOL force = FALSE;
3026 WCHAR copycmd[MAXSTRING];
3027 DWORD len;
3028
3029 /* /-Y has the highest priority, then /Y and finally the COPYCMD
env. variable */
3030 if (wcsstr (quals, parmNoY))
3031 force = FALSE;
3032 else if (wcsstr (quals, parmY))
3033 force = TRUE;
3034 else {
3035 static const WCHAR copyCmdW[] =
{'C','O','P','Y','C','M','D','\0'};
3036 len = GetEnvironmentVariableW(copyCmdW, copycmd,
ARRAY_SIZE(copycmd));
3037 force = (len && len < ARRAY_SIZE(copycmd) && !lstrcmpiW(copycmd,
parmY));
3038 }
3039
3040 /* Prompt if overwriting */
3041 if (!force) {
3042 WCHAR* question;
3043
3044 /* Ask for confirmation */
3045 question = WCMD_format_string(WCMD_LoadMessage(WCMD_OVERWRITE),
dest);
3046 ok = WCMD_ask_confirm(question, FALSE, NULL);
3047 LocalFree(question);
3048
3049 /* So delete the destination prior to the move */
3050 if (ok) {
3051 if (!DeleteFileW(dest)) {
3052 WCMD_print_error ();
3053 errorlevel = 1;
3054 ok = FALSE;
3055 }
3056 }
3057 }
3058 }
...
--- snip ---
While at it you could really refactor/unify the code more. Even basic 'COPYCMD'
handling is implemented in different code style (move vs. copy):
https://source.winehq.org/git/wine.git/blob/HEAD:/programs/cmd/builtins.c#l…
$ wine --version
wine-5.0-rc3
Regards
--
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=42731
Bug ID: 42731
Summary: stack overflow when .bat script variable has more than
256 characters
Product: Wine
Version: 2.3
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: lucianposton(a)gmail.com
Distribution: ---
Created attachment 57723
--> https://bugs.winehq.org/attachment.cgi?id=57723
bug demo
When a variable with more than (roughly) 256 characters in a .bat script is
passed as a parameter, the script fails with the following error:
err:seh:setup_exception_record stack overflow 1408 bytes in thread 0009 eip
7bc4887d esp 00240db0 stack 0x240000-0x241000-0x340000
attached .bat file that demonstrates the bug
--
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=49643
Bug ID: 49643
Summary: Calling ClipCursor too frequently can cause stack
overflow in foreground window thread.
Product: Wine
Version: 5.13
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: winex11.drv
Assignee: wine-bugs(a)winehq.org
Reporter: rbernon(a)codeweavers.com
Distribution: ---
Created attachment 67845
--> https://bugs.winehq.org/attachment.cgi?id=67845
Reproducing sample application
Calling ClipCursor too frequently in a non-foreground thread may cause the
foreground window thread to overflow its stack. This is happening under some
circumstances with CoD: WWII.
This is inherent to the current implementation where every ClipCursor request
from a non-foreground thread involves synchronously sending internal messages
to the foreground window thread, then to the desktop thread. Each ClipCursor
request is processed when the desktop thread is notified, growing the stack
every time, until it overflows.
The attached program can be used to easily reproduce the issue.
--
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=44061
Bug ID: 44061
Summary: Destiny 2 crashes on launch
Product: Wine
Version: 2.21
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: zombieff(a)gmail.com
Distribution: ArchLinux
Created attachment 59774
--> https://bugs.winehq.org/attachment.cgi?id=59774
Crash report shown by the app
The game "Destiny 2" crashes on launch.
It installs successfully via Blizzard client, but crashes on launch.
There's a delay between "Launching" → "Ready to Launch" (not launched) →
crashed with an error.
Tested on Arch Linux.
Wine version is wine-2.21 (Staging).
Terminal output (app crash report is in the attachment):
fixme:thread:create_user_shared_data_thread Creating user shared data update
thread.
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:crypt:CRYPT_LoadProvider Failed to load dll
L"C:\\windows\\system32\\rsaenh.dll"
fixme:seh:call_stack_handlers nested exception
wine: Unhandled exception 0xc06d007e in thread 556 at address 0x7b450c67
(thread 0556), starting debugger...
fixme:module:load_dll Loader redirect from L"uxtheme.dll" to L"uxtheme-gtk.dll"
fixme:module:load_dll Loader redirect from L"uxtheme.dll" to L"uxtheme-gtk.dll"
fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
fixme:uxthemegtk:SetWindowTheme (0xf0054, (null), (null))
--
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=49982
Bug ID: 49982
Summary: A '(call )' line does not reset %ERRORLEVEL% to 0
Product: Wine
Version: 5.18
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: cmd
Assignee: wine-bugs(a)winehq.org
Reporter: aa1ronham(a)gmail.com
Distribution: ---
The following batch script:
```
@echo off
echo Initial error level: %errorlevel%
call missing
echo After bad call: %errorlevel%
(call )
echo After empty call: %errorlevel%
```
gives the following output under Wine:
```
Initial error level: 0
Can't recognize 'missing' as an internal or external command, or batch script.
After bad call: 1
After empty call: 1
```
However, Windows 10 gives the following output:
```
Initial error level: 0
'missing' is not recognized as an internal or external command,
operable program or batch file.
After empty call: 1
After empty call: 0
```
It looks like the Windows cmd.exe resets %errorlevel% to 0 after a '(call )' is
executed, while Wine's cmd.exe leaves it unchanged.
--
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.