https://bugs.winehq.org/show_bug.cgi?id=48474
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://clients.chime.aws/w |https://web.archive.org/web |in/releases/Chime.4.28.9164 |/20200117134752/https://cli |.exe |ents.chime.aws/win/releases | |/Chime.4.28.9164.exe Keywords| |dotnet Component|-unknown |jscript Summary|Amazon Chime 4.x (.NET 4.5 |Amazon Chime 4.x (.NET 4.5 |app) dhtml-based user |app) crashes in jscript |interface unresponsive |after clicking 'Join |(unable to join meeting) |meeting without account'
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable link via Internet Archive:
https://web.archive.org/web/20200117134752/https://clients.chime.aws/win/rel...
Instead of doing nothing after clicking 'Join meeting without account' it crashes now. It seems to have a bit progressed but hard to tell.
Chime logs 'trace-2021-01-12.log':
--- snip ---- BibaSource Information 0 [1] 01/12/2021 16:25:33.002427: ***************** BibaSource Information 0 [1] 01/12/2021 16:25:33.141427: Starting Amazon Chime... BibaSource Information 0 [1] 01/12/2021 16:25:33.142427: Current Working Directory: C:\users***\Application Data\Chime BibaSource Information 0 [1] 01/12/2021 16:25:33.142427: Enabling TLS 1.2 BibaSource Error 2 [3] 01/12/2021 16:25:33.158427: Failed to handle dump files,Could not find a part of the path 'C:\users***\Application Data\Chime\dumpfiles'. BibaSource Information 0 [1] 01/12/2021 16:25:33.478429: .NET framework detected: 4.5 - Release #379893 BibaSource Information 0 [1] 01/12/2021 16:25:33.484429: Registering to Events BibaSource Information 0 [1] 01/12/2021 16:25:33.624429: Registering Windows BibaSource Information 0 [1] 01/12/2021 16:25:33.983431: Combined Identifier: 258989E2-A020-4BC9-A7B1-78F80C83DDF0-0-BFEBFBFF000306C3-Samsung-SSD-860-EVO-2TB-S3YVNX0N403389X BibaSource Error 2 [1] 01/12/2021 16:25:34.008431: Failed to get the hardware information from Win32_ComputerSystem Error: Error code: 0x80041002 BibaSource Error 2 [1] 01/12/2021 16:25:34.034431: Failed to get the hardware information from Win32_ComputerSystem Error: Error code: 0x80041002 BibaSource Error 2 [1] 01/12/2021 16:25:34.069431: Failed to get the hardware information from Win32_OperatingSystem Error: Error code: 0x80041002 Native library pre-loader is trying to load native SQLite library "C:\users***\Application Data\Chime\x86\SQLite.Interop.dll"... BibaSource Information 0 [1] 01/12/2021 16:25:35.010435: MetricsManager::SendCustomEvent type: App Active BibaSource Information 0 [1] 01/12/2021 16:25:35.017435: App:: user config directory = C:\users***\Local Settings\Application Data\Amazon\Chime.exe_Url_ekajjg3kle30m4k4edurcaufrxkea4tf\4.28.9164.0 BibaSource Information 0 [1] 01/12/2021 16:25:35.098435: Trying to create identity session from saved config. BibaSource Error 2 [1] 01/12/2021 16:25:35.105435: Login failed with saved credentials : Credential is invalid BibaSource Information 0 [1] 01/12/2021 16:25:35.109435: Create task bar icon BibaSource Information 0 [1] 01/12/2021 16:25:35.357436: WindowManager::ShowModalWindow:: Displaying the view IdentityLoginView BibaSource Information 0 [1] 01/12/2021 16:25:36.362440: web browser IE version = 6.0.2800.1106 BibaSource Information 0 [1] 01/12/2021 16:25:36.362440: subscribe to webbrowser's NavigateError BibaSource Information 0 [1] 01/12/2021 16:25:36.379440: Navigating to: https://signin.id.ue1.app.chime.aws/ BibaSource Error 2 [1] 01/12/2021 16:25:59.223533: Failed to InjectErrorHandlingScript,Unable to cast COM object of type 'System.__ComObject' to interface type 'mshtml.HTMLHeadElement'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3050F561-98B5-11CF-BB82-00AA00BDCE0B}' failed due to the following error: Exception from HRESULT: 0x80004002 (E_NOINTERFACE). BibaSource Information 0 [1] 01/12/2021 16:26:08.837572: Navigating to: https://webclient.app.chime.aws/?origin=chime BibaSource Error 2 [1] 01/12/2021 16:26:11.954585: Dispatcher UnHandled Exception BibaSource Information 0 [1] 01/12/2021 16:26:11.960585: ****Modules**** BibaSource Information 0 [1] 01/12/2021 16:26:13.463591: ****Modules**** BibaSource Information 0 [1] 01/12/2021 16:26:13.464591: ****** Current Process details: Memory - 401338368, Process Handles - 512, GDI Handles - 0, User GUI objects - 0 ***** BibaSource Information 0 [1] 01/12/2021 16:26:13.501591: ****** Memory Available: Total Visible Memory = 16269120, Free Physical Memory = 12933244 BibaSource Error 2 [1] 01/12/2021 16:26:13.502591: ******** Amazon Chime encountered an unhandled exception ********** BibaSource Error 2 [1] 01/12/2021 16:26:13.515592: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.Run() at System.Windows.Application.RunDispatcher(Object ignore) at System.Windows.Application.RunInternal(Window window) at System.Windows.Application.Run(Window window) at BibaApplication.App.Main() --- snip ---
The first managed exception in CLR debugger is another (non-critical) problem. I will create a separate bug for it.
--- snip --- (dc.e0): CLR exception - code e0434352 (first chance) Exception object: 0297cdd0 Exception type: System.InvalidCastException Message: Unable to cast COM object of type 'System.__ComObject' to interface type 'mshtml.HTMLHeadElement'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3050F561-98B5-11CF-BB82-00AA00BDCE0B}' failed due to the following error: Exception from HRESULT: 0x80004002 (E_NOINTERFACE). InnerException: <none> StackTrace (generated): <none> StackTraceString: <none> HResult: 80004002 OS Thread Id: 0xe0 (0) Child SP IP Call Site 0031dd94 7b00ff28 [HelperMethodFrame_1OBJ: 0031dd94] 0031de18 0cc5ac40 BibaApplication.Views.IdentityLoginView.InjectErrorHandlingScript() 0031de44 0cc5aab2 BibaApplication.Views.IdentityLoginView.WebBrowserNavigated(System.Object, System.Windows.Forms.WebBrowserNavigatedEventArgs) 0031de74 078c18d9 System.Windows.Forms.WebBrowser.OnNavigated(System.Windows.Forms.WebBrowserNavigatedEventArgs) 0031de78 06fcde76 System.Windows.Forms.WebBrowser+WebBrowserEvent.NavigateComplete2(System.Object, System.Object ByRef) 0031e1c4 01892552 [DebuggerU2MCatchHandlerFrame: 0031e1c4] 0031df70 01892552 [HelperMethodFrame_PROTECTOBJ: 0031df70] System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean) 0031e244 79a044bd System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[]) 0031e268 79a0294c System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo) 0031ecdc 01892552 [DebuggerU2MCatchHandlerFrame: 0031ecdc] 0031ecac 01892552 [GCFrame: 0031ecac] 0031ec90 01892552 [GCFrame: 0031ec90] 0031f3d8 01892552 [InlinedCallFrame: 0031f3d8] 0031f3d4 05043b34 DomainBoundILStubClass.IL_STUB_PInvoke(System.Windows.Interop.MSG ByRef) 0031f3d8 0502630d [InlinedCallFrame: 0031f3d8] MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) 0031f40c 0502630d System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) 0031f458 05026009 System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame) 0031f464 0501cf2f System.Windows.Threading.Dispatcher.Run() 0031f474 56878bdf System.Windows.Application.RunDispatcher(System.Object) 0031f480 5687885f System.Windows.Application.RunInternal(System.Windows.Window) 0031f4a4 5687861a System.Windows.Application.Run(System.Windows.Window) 0031f4b4 063e0084 BibaApplication.App.Main() 0031f638 01892552 [GCFrame: 0031f638] BibaSource Error: 2 : [1] 01/12/2021 16:35:44.393064: Failed to InjectErrorHandlingScript,Unable to cast COM object of type 'System.__ComObject' to interface type 'mshtml.HTMLHeadElement'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3050F561-98B5-11CF-BB82-00AA00BDCE0B}' failed due to the following error: Exception from HRESULT: 0x80004002 (E_NOINTERFACE). --- snip ---
The final unmanaged exception, as seen in CLR debugger. The app has an own crash dumper hence 'winedbg' is never invoked.
--- snip --- (dc.e0): Access violation - code c0000005 (first chance) *** WARNING: Unable to verify checksum for C:\windows\system32\jscript.dll ChildEBP RetAddr Args to Child 0031eecc 0cdc5d34 00000000 00000000 08ddbbf8 jscript!compile_function+0x1a1 0031ef4c 0ce0193a 08dd4f68 07f60020 00000000 jscript!compile_script+0x1e4 *** WARNING: Unable to verify checksum for C:\windows\system32\mshtml.dll 0031efe0 0c56088a 08dd4f14 07f60020 0c5b3d9e jscript!JScriptParse_ParseScriptText+0x18a 0031f068 0c560279 137520c2 00000000 00000001 mshtml!parse_elem_text+0xaa 0031f0b4 0c52cc6c 08df9a90 08dd4e08 00000001 mshtml!doc_insert_script+0x59 0031f0e4 0c52c605 08dd53b8 0fb7b158 0fb574c8 mshtml!run_insert_script+0x17c *** WARNING: Unable to verify checksum for C:\windows\syswow64\gecko\2.47.2\wine_gecko\xul.dll *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\windows\syswow64\gecko\2.47.2\wine_gecko\xul.dll - 0031f0f8 1153d995 08c1ae68 08c1ae68 08c1ae68 mshtml!nsRunnable_Run+0x15 WARNING: Stack unwind information not available. Following frames may be wrong. 0031f148 1163a9a3 08dd5498 0fb7b108 0fb574c8 xul!ZN9imgLoader24SupportImageWithMimeTypeEPKc17AcceptedMimeTypes+0x58085 0031f17c 116a8e43 0fb7b108 0fb574c8 0031f1bb xul!ZN9imgLoader24SupportImageWithMimeTypeEPKc17AcceptedMimeTypes+0x155093 0031f1ac 1127eaaa 0031f1bb 00b7b15c 0fafdb48 xul!ZN9imgLoader24SupportImageWithMimeTypeEPKc17AcceptedMimeTypes+0x1c3533 0031f1bc 112724e6 0031f1ec 0fb7b15c 0fb503f0 xul!DumpCompleteHeap+0xe520a 0031f1e0 11272160 0fb7b108 0fb7b108 0fafdb64 xul!DumpCompleteHeap+0xd8c46 00000000 00000000 00000000 00000000 00000000 xul!DumpCompleteHeap+0xd88c0 There is no current managed exception on this thread OS Thread Id: 0xe0 (0) Child SP IP Call Site 0031f3d8 0cdc6031 [InlinedCallFrame: 0031f3d8] 0031f3d4 05043b34 DomainBoundILStubClass.IL_STUB_PInvoke(System.Windows.Interop.MSG ByRef) 0031f3d8 0502630d [InlinedCallFrame: 0031f3d8] MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) 0031f40c 0502630d System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) 0031f458 05026009 System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame) 0031f464 0501cf2f System.Windows.Threading.Dispatcher.Run() 0031f474 56878bdf System.Windows.Application.RunDispatcher(System.Object) 0031f480 5687885f System.Windows.Application.RunInternal(System.Windows.Window) 0031f4a4 5687861a System.Windows.Application.Run(System.Windows.Window) 0031f4b4 063e0084 BibaApplication.App.Main() 0031f638 01892552 [GCFrame: 0031f638] --- snip ---
It chokes on this jscript:
https://webclient.app.chime.aws/index.min.js
--- snip --- $ pwd /home/focht/.wine/drive_c/users/focht/Application Data/Chime
$ WINEDEBUG=+seh,+mshtml,+ieframe,+jscript,+ole,+variant,+loaddll,+debugstr wine ./Chime.exe >>log.txt 2>&1 ... 0100:trace:mshtml:BindStatusCallback_OnProgress 10DDA240)->(479624 479624 6 L"https://webclient.app.chime.aws/index.min.js") 0100:trace:mshtml:BindStatusCallback_OnDataAvailable (10DDA240)->(00000006 479624 0031E4F8 0031C4F8) 0100:trace:mshtml:BindStatusCallback_OnStopBinding (10DDA240)->(00000000 (null)) 0100:trace:mshtml:dispatch_event_object (10C1E4C8) L"readystatechange" ... 0100:trace:mshtml:BindStatusCallback_Release (10DDA240) ref = 0 0100:trace:mshtml:parse_elem_text L"!function(e){function t(r){if(o[r])return o[r].exports;var s=o[r]={i:r,l:!1,exports:{}};return e[r].call(s.exports,s,s.exports,t),s.l=!0,s.exports}var o={};t.m=e,t.c=o,t.d=function(exports,e,o){t.o(exports,e)||Object.defineProperty(exports,e,{configurable:!1,enumerable:!0,get:o})},t.n=fun"... 0100:trace:variant:VariantInit (0031F038) 0100:trace:mshtml:parse_elem_text >>> 0100:trace:jscript:JScriptParse_ParseScriptText (10C1E5D0)->(L"!function(e){function t(r){if(o[r])return o[r].exports;var s=o[r]={i:r,l:!1,exports:{}};return e[r].call(s.exports,s,s.exports,t),s.l=!0,s.exports}var o={};t.m=e,t.c=o,t.d=function(exports,e,o){t.o(exports,e)||Object.defineProperty(exports,e,{configurable:!1,enumerable:!0,get:o})},t.n=fun"... L"window" 00000000 L"</SCRIPT>" 0 0 82 0031F038 0031F010) 0100:trace:jscript:enter_script ctx 10C1E628 ei 0031EF90 prev 00000000 0100:warn:jscript:parser_error L"}var o={};t.m=e,t.c=o,t.d=function(exports,e,o){t.o(exports,e)||Object.defineProperty(exports,e,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototyp"...: syntax error 0100:warn:jscript:parser_error L"},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=1)}({"./node_modules/aws-sdk/apis/cognito-identity-2014-06-30.min.json":function(e,export"...: syntax error ... 0100:warn:jscript:parser_error L"},"./node_modules/ucbuzz-client-infra-web-common/index.js":function(e,exports,t){function o(e){if(i===r.DEFAULT)throw new Error("Unable to retrieve log level settings for "+i+" client type. Make sure to choose the correct ring and client specific branch to build the ucbuzz-client-inf"...: syntax error 0100:warn:jscript:parser_error L"}const r={EXPRESS:"express",DESKTOP:"desktop",DEFAULT:"UNKNOWN"},s={CURRENT:"current",BETA:"beta",STABLE:"stable",DEFAULT:"UNKNOWN"},n=s.CURRENT,i=r.EXPRESS,u=Object.create(t("./node_modules/ucbuzz-client-infra-web-common/config/configs.json"));e.exports={clientType:i,ECli"...: syntax error 0100:trace:jscript:compile_function 0100:trace:seh:dispatch_exception code=c0000005 flags=0 addr=0C996031 ip=0c996031 tid=0100 0100:trace:seh:dispatch_exception info[0]=00000000 0100:trace:seh:dispatch_exception info[1]=00000000 0100:trace:seh:dispatch_exception eax=00000000 ebx=00000000 ecx=0031eee0 edx=0031ea8d esi=10dda600 edi=00000000 0100:trace:seh:dispatch_exception ebp=0031eecc esp=0031eeb0 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210246 0100:trace:seh:call_vectored_handlers calling handler at 01A1A398 code=c0000005 flags=0 0100:trace:seh:call_vectored_handlers handler at 01A1A398 returned 0 0100:trace:seh:call_vectored_handlers calling handler at 7B00F270 code=c0000005 flags=0 0100:trace:seh:call_vectored_handlers handler at 7B00F270 returned 0 0100:trace:seh:call_stack_handlers calling handler at 019E8AD2 code=c0000005 flags=0 0100:trace:seh:call_stack_handlers handler at 019E8AD2 returned 1 0100:trace:seh:call_stack_handlers calling handler at 01A1F7E4 code=c0000005 flags=0 --- snip ---
'winetricks -q jscript' prevents the crash but it's not really helping further. Probably more a couple more mshtml/Gecko bugs.
$ sha1sum Chime.4.28.9164.exe 505934bfaa22843788a880cdfd3bc04ece9a3728 Chime.4.28.9164.exe
$ du -sh Chime.4.28.9164.exe 53M Chime.4.28.9164.exe
$ wine --version wine-6.0-rc6
Regards