ARTICLE AD BOX
I'm trying to roll back my C# Winforms .slnx solution to determine which repo check-in introduced an unrelated bug. When I roll back to a version that worked 6 weeks ago, the app crashes on startup, bypassing my UnhandledExceptionHandler. When I roll back, I get a message saying "This solution contains packages with vulnerabilities..." (which I was getting when it ran OK, and is why I upgraded in the first place). The only crash info that Visual Studio shows is: "The program '[38596] PixEmail.exe' has exited with code 2147483651 (0x80000003)."
By manually editing the .csproj files of the crashing version, I determined that the the crash is caused by
down-rev'ing: "<PackageReference Include="CefSharp.WinForms.NETCore" Version="146.0.70" />"
to: "<PackageReference Include="CefSharp.WinForms.NETCore" Version="145.0.250" /> "
The Cef logs show some errors, but logs of working and crashing versions are similar:
Working version:
ERROR:ui\gl\egl_util.cc:92] EGL Driver message (Error) eglCreateContext: Requested version is not supported ERROR:ui\gl\gl_context_egl.cc:337] eglCreateContext ES 3.0 failed with error EGL_BAD_ATTRIBUTE ERROR:ui\gl\egl_util.cc:92] EGL Driver message (Error) eglCreateContext: Requested version is not supported ERROR:ui\gl\gl_context_egl.cc:337] eglCreateContext ES 3.0 failed with error EGL_BAD_ATTRIBUTE ERROR:ui\gl\egl_util.cc:92] EGL Driver message (Error) eglCreateContext: Requested version is not supported ERROR:ui\gl\gl_context_egl.cc:337] eglCreateContext ES 3.0 failed with error EGL_BAD_ATTRIBUTE WARNING:ui\gl\direct_composition_support.cc:1182] IDCompositionTexture is not supported without fences. WARNING:chrome\browser\signin\account_consistency_mode_manager.cc:74] Desktop Identity Consistency cannot be enabled as no OAuth client ID and client secret have been configured. WARNING:chrome\browser\media\router\discovery\discovery_network_list_win.cc:228] Failed to open WLAN handle: The service has not been started. (0x426)Crashing version:
ERROR:ui\gl\egl_util.cc:92] EGL Driver message (Error) eglCreateContext: Requested version is not supported ERROR:ui\gl\gl_context_egl.cc:337] eglCreateContext ES 3.0 failed with error EGL_BAD_ATTRIBUTE ERROR:ui\gl\egl_util.cc:92] EGL Driver message (Error) eglCreateContext: Requested version is not supported ERROR:ui\gl\gl_context_egl.cc:337] eglCreateContext ES 3.0 failed with error EGL_BAD_ATTRIBUTE ERROR:ui\gl\egl_util.cc:92] EGL Driver message (Error) eglCreateContext: Requested version is not supported ERROR:ui\gl\gl_context_egl.cc:337] eglCreateContext ES 3.0 failed with error EGL_BAD_ATTRIBUTE WARNING:ui\gl\direct_composition_support.cc:1182] IDCompositionTexture is not supported without fences. WARNING:chrome\browser\signin\account_consistency_mode_manager.cc:74] Desktop Identity Consistency cannot be enabled as no OAuth client ID and client secret have been configured. WARNING:chrome\browser\media\router\discovery\discovery_network_list_win.cc:228] Failed to open WLAN handle: The service has not been started. (0x426)What is causing my app that ran OK in Visual Studio 6 weeks ago to fail now, and How do I make down-rev'd versions run again?
FWIW, I don't care about the reported vulnerabilites. I'm down-rev'ing in a sandboxed environment to diagnose an unrelated problem.
