https://bugs.winehq.org/show_bug.cgi?id=55969
Bug ID: 55969 Summary: vbscript fails to return TypeName for Nothing Product: Wine Version: 8.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: vbscript Assignee: wine-bugs@winehq.org Reporter: francisdb@gmail.com Distribution: ---
If TypeName(Nothing) = "Nothing" Then CScript.echo "Nothing" End If
On windows this echoes Nothing
On wine
wine cscript test.vbs wine: configuration in L"/home/me/.wine" has been updated. wine: Unhandled page fault on read access to 00000000 at address 6154A2B6 (thread 0134), starting debugger... Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x6154a2b6). Backtrace: =>0 0x6154a2b6 IDispatch_GetTypeInfo+0x3(ppTInfo=<internal error>, lcid=<internal error>, iTInfo=<internal error>, This=<internal error>) [Z:\usr\src\wine-8.0.1~repack-3ubuntu2\include\oaidl.h:890] in vbscript (0x0075f928) 1 0x6154a2b6 Global_TypeName+0x2c6(This=<is not available>, arg=<is not available>, args_cnt=<is not available>, res=<is not available>) [Z:\usr\src\wine-8.0.1~repack-3ubuntu2\dlls\vbscript\global.c:330] in vbscript (0x0075f928 )
https://bugs.winehq.org/show_bug.cgi?id=55969
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Thank you for reporting, the fix is at https://gitlab.winehq.org/wine/wine/-/merge_requests/4564.
https://bugs.winehq.org/show_bug.cgi?id=55969
--- Comment #2 from francisdb francisdb@gmail.com --- Thanks for the super quick response!
https://bugs.winehq.org/show_bug.cgi?id=55969
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |00057128a3ad636528bb8ed1248 | |17eeb5d014dee
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Fixed with 00057128a3ad636528bb8ed124817eeb5d014dee.
https://bugs.winehq.org/show_bug.cgi?id=55969
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.0-rc1.