https://bugs.winehq.org/show_bug.cgi?id=48493
Bug ID: 48493 Summary: Any AutoIt software using built-in Sound.au3 crashes - FolderImpl_GetDetailsOf problem Product: Wine Version: 5.0-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: shell32 Assignee: wine-bugs@winehq.org Reporter: tomas@unimus.net Distribution: ---
Greetings,
Environment: Wine: 5.0-rc2 OS: Manjaro (Arch) Kernel: 4.19.96
I am attempting to run "ISN AutoIt Studio" under Wine5, but this problem is not limited to ISN (more details further down). It crashes during startup.
After a bit of investigation, I found FolderImpl_GetDetailsOf doesn't support "iColumn" of "-1" in Wine (as suggested by the fixme in console):
[me@pc ISN AutoIt Studio]$ ./Autoit_Studio.exe
000b:fixme:winediag:start_process Wine Staging 5.0-rc2 is a testing version containing experimental patches. 000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org. 0009:fixme:ver:GetCurrentPackageId (0xaefc1c (nil)): stub 0009:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work. 0009:fixme:gstreamer:source_query_accept (0x5be8e88) stub 0009:fixme:shell:FolderImpl_GetDetailsOf (0x5bd95b0,0xaeea40 {VT_DISPATCH: 0x5bd99b0},-1,0xaeebb0)
-- ISN crashes here --
Running ISN in debug mode shows the following error:
The requested action with this object has failed.:
Local $sRaw = $oShellDir.GetDetailsOf($oShellDirFile, -1) Local $sRaw = $oShellDir^ ERROR
AutoIt requires this in it's built-in Sound.au3 library.
From the above fragment we can see "$oShellDir.GetDetailsOf($oShellDirFile,
-1)" is called, and "The requested action with this object has failed" is received.
MS reference: https://docs.microsoft.com/en-us/windows/win32/shell/folder-getdetailsof
Lack of this function makes any AutoIt script / application using the native Sound.au3 library non-functional, so this problem is not ISN specific.
https://bugs.winehq.org/show_bug.cgi?id=48493
tomas@unimus.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tomas@unimus.net
https://bugs.winehq.org/show_bug.cgi?id=48493
--- Comment #1 from Austin English austinenglish@gmail.com --- Well if you'retrying to use sound and there's no sound device, it makes sense.
See https://wiki.winehq.org/MIDI; does using, e.g., timidity help?
https://bugs.winehq.org/show_bug.cgi?id=48493
--- Comment #2 from tomas@unimus.net --- (In reply to Austin English from comment #1)
Well if you'retrying to use sound and there's no sound device, it makes sense.
See https://wiki.winehq.org/MIDI; does using, e.g., timidity help?
Sound is available and works completely fine in other application (VLC, etc.)
ISN does not use MIDI, it does however load GStreamer, which outputs this message, since GStreamer can (but in this case does not) output MIDI.
As both ISN and Wine show that the issues is at FolderImpl_GetDetailsOf, I really don't think that MIDI has anything to do with this. (as per the outputs provided above)
However if testing with MIDI setup is required to take this ticket further, I will happily setup timidity and retest.