dotnet-lambda-test-tool-6.0.exe fails with BEX64 Application exception always when launced via Visual Studio, but does not when just ran independently. #2029
Labels
bug
This issue is a bug.
module/lambda-test-tool
needs-reproduction
This issue needs reproduction.
p2
This is a standard priority issue
Describe the bug
I am trying to set up a new system and cannot get the dotnet-lambda-test-tool-6.0 exe working on it via Visual Studio, where I need it to work so that I can use it to debug and develop Lambda Functions.
Everytime I run it via VS2022 Community Edition, I get the following error in the Event Viewer:
Faulting application name: dotnet-lambda-test-tool-6.0.exe, version: 0.0.0.0, time stamp: 0x67ab0000
Faulting module name: ntdll.dll, version: 10.0.22621.5124, time stamp: 0x82bfa2b9
Exception code: 0xc0000409
Fault offset: 0x00000000000a4ad6
Faulting process id: 0x0x6A70
Faulting application start time: 0x0x1DBA541428CA0A6
Faulting application path: C:\Users\me.dotnet\tools\dotnet-lambda-test-tool-6.0.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
With Further info:
Fault bucket 1430445718552608279, type 5
Event Name: BEX64
Response: Not available
Cab Id: 0
Problem signature:
P1: dotnet-lambda-test-tool-6.0.exe
P2: 0.0.0.0
P3: 67ab0000
P4: ntdll.dll
P5: 10.0.22621.5124
P6: 82bfa2b9
P7: 00000000000a4ad6
P8: c0000409
P9: 0000000000000030
P10:
System Info:
OS: Windows 11 Pro
Version: 23H2
Installed: Just reinstalled today in an effort to get it working (failed)
OS Build: 22631.5126
.Net Frameworks installed
6.0.414 [C:\Program Files\dotnet\sdk]
9.0.201 [C:\Program Files\dotnet\sdk]
Visual Studio Version
Microsoft Visual Studio Community 2022 (64-bit) - Current
Version 17.13.5
Device:
Processor: 13th Gen Intel(R) Core(TM) i9-13900H 2.60 GHz
RAM: 32.0 GB (31.7 GB usable)
System type: 64-bit operating system, x64-based processor
With it failing on my PC no matter what I found online and tried, I thought I'd punt and reformat the PC. I really need to get this working, so I've actually re-imaged my PC to a fresh windows install again, figuring something must have been off with my Windows Install, BUT I've come to find that this EXE still has whatever issue it has - behaves/fails the same way.
Regression Issue
Expected Behavior
I expected to see how it used to work. Command window pops up, it shows the process looking for the dotnet-lambda-test-tool and then a browser tab opens up and shows me the AWS Lambda Test Tool page.
Current Behavior
Command window disappears quickly, and I see the following:
If I run it via VS, I get a DOS command window for a fleeting moment, and then in Visual Studio, it shows this in the Output pane:
'dotnet-lambda-test-tool-6.0.exe' (CoreCLR: DefaultDomain): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Private.CoreLib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet-lambda-test-tool-6.0.exe' (CoreCLR: clrhost): Loaded 'C:\Users\ME.dotnet\tools.store\amazon.lambda.testtool-6.0\0.16.2\amazon.lambda.testtool-6.0\0.16.2\tools\net6.0\any\Amazon.Lambda.TestTool.BlazorTester.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet-lambda-test-tool-6.0.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet-lambda-test-tool-6.0.exe' (CoreCLR: clrhost): Loaded 'C:\Users\ME.dotnet\tools.store\amazon.lambda.testtool-6.0\0.16.2\amazon.lambda.testtool-6.0\0.16.2\tools\net6.0\any\Amazon.Lambda.TestTool.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet-lambda-test-tool-6.0.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Console.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[9104] dotnet-lambda-test-tool-6.0.exe' has exited with code 3221226505 (0xc0000409).
Help?!? Also, please let me know if there is anything else that I can provide.
The strange thing is that I can simply double-click on the exe and it will create a command window and executes fine, show its usual content momentarily, and then create a new browser tab that's ready to receive the Lambda settings / config / data that I want to test with. This is a good sign but not useful, as I need it to start via Visual Studio so I can debug the lambda processes I work on.
Reproduction Steps
As stated above. Just run the Mock Test Lambda Tool via Visual Studio. It doesn't work, and has event viewer messages showing the info given above.
Possible Solution
I've tried everything I can find to fix this. Now I think I'll have to move back to my old PC so that I can work. Bummed.... :(
Tried sfc /scannow to look for system file issues. None were found, and still fails after resetting to freshly re-installed OS.
Tried running in compatability mode.
Tried running VS as an admin.
Tried updating, uninstalling, reinstalling everything I can think of / see that could be related.
Stumped.
Additional Information/Context
None.
AWS .NET SDK and/or Package version used
AWS Toolkit - ver 1.67.0.0.
dotnet-lambda-test-tool-6.0.exe ver 0.16.2
Targeted .NET Platform
.Net 6
Operating System and version
Windows 11 Pro Version: 23H2
The text was updated successfully, but these errors were encountered: