Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unwinding_records_win.cc error: Failed to add growable function table: 0xc0000095 #54206

Closed
mkustermann opened this issue Dec 1, 2023 · 1 comment
Assignees
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. crash Process exits with SIGSEGV, SIGABRT, etc. An unhandled exception is not a crash. gardening P2 A bug or feature request we're likely to work on triaged Issue has been triaged by sub team

Comments

@mkustermann
Copy link
Member

From this log:

--- Command "vm_compile_to_kernel" (took 01.000719s):
set DART_CONFIGURATION=DebugARM64 & set DART_SUPPRESS_WER=1 & set DART_CRASHPAD_HANDLER=c:\opt\s\w\ir\cache\builder\sdk\out\DebugARM64\crashpad_handler.exe & C:\opt\s\w\ir\cache\builder\sdk\pkg\vm\tool\gen_kernel.bat --aot --platform=out/DebugARM64/vm_platform_strong.dill -o c:\opt\s\w\ir\cache\builder\sdk\out\DebugARM64\generated_compilations\vm-aot-win-debug-arm64\runtime_tests_vm_dart_in_memory_elf_test\out.dill C:\opt\s\w\ir\cache\builder\sdk\runtime\tests\vm\dart\in_memory_elf_test.dart -Dtest_runner.configuration=vm-aot-win-debug-arm64 --packages=C:\opt\s\w\ir\cache\builder\sdk\.dart_tool\package_config.json -Ddart.vm.product=false --sound-null-safety

exit code:
0

--- Command "precompiler" (took 11.000285s):
set DART_CONFIGURATION=DebugARM64 & set DART_SUPPRESS_WER=1 & set DART_CRASHPAD_HANDLER=c:\opt\s\w\ir\cache\builder\sdk\out\DebugARM64\crashpad_handler.exe & out\DebugARM64\gen_snapshot --snapshot-kind=app-aot-elf --elf=c:/opt/s/w/ir/cache/builder/sdk/out/DebugARM64/generated_compilations/vm-aot-win-debug-arm64/runtime_tests_vm_dart_in_memory_elf_test/out.aotsnapshot --loading-unit-manifest=c:/opt/s/w/ir/cache/builder/sdk/out/DebugARM64/generated_compilations/vm-aot-win-debug-arm64/runtime_tests_vm_dart_in_memory_elf_test/ignored.json --sound-null-safety --force-load-elf-from-memory -Dtest_runner.configuration=vm-aot-win-debug-arm64 --ignore-unrecognized-flags --packages=C:\opt\s\w\ir\cache\builder\sdk\.dart_tool\package_config.json c:\opt\s\w\ir\cache\builder\sdk\out\DebugARM64\generated_compilations\vm-aot-win-debug-arm64\runtime_tests_vm_dart_in_memory_elf_test\out.dill

exit code:
0

--- Command "remove_kernel_file" (took 109ms):
set DART_CONFIGURATION=DebugARM64 & set DART_SUPPRESS_WER=1 & set DART_CRASHPAD_HANDLER=c:\opt\s\w\ir\cache\builder\sdk\out\DebugARM64\crashpad_handler.exe & cmd.exe /c del c:\opt\s\w\ir\cache\builder\sdk\out\DebugARM64\generated_compilations\vm-aot-win-debug-arm64\runtime_tests_vm_dart_in_memory_elf_test\out.dill

exit code:
0

--- Command "vm" (took 16:00.000558s):
set DART_CONFIGURATION=DebugARM64 & set DART_SUPPRESS_WER=1 & set DART_CRASHPAD_HANDLER=c:\opt\s\w\ir\cache\builder\sdk\out\DebugARM64\crashpad_handler.exe & set TEST_COMPILATION_DIR=c:/opt/s/w/ir/cache/builder/sdk/out/DebugARM64/generated_compilations/vm-aot-win-debug-arm64/runtime_tests_vm_dart_in_memory_elf_test & out\DebugARM64\dart_precompiled_runtime.exe --force-load-elf-from-memory --sound-null-safety -Dtest_runner.configuration=vm-aot-win-debug-arm64 --ignore-unrecognized-flags --packages=C:\opt\s\w\ir\cache\builder\sdk\.dart_tool\package_config.json c:/opt/s/w/ir/cache/builder/sdk/out/DebugARM64/generated_compilations/vm-aot-win-debug-arm64/runtime_tests_vm_dart_in_memory_elf_test/out.aotsnapshot

exit code:
1

diagnostics:
Using c:\opt\s\w\ir\kitchen-checkout\depot_tools\win_toolchain\vs_files\1023ce2e82\Windows Kits\10\Debuggers\x86\cdb.exe to print stack traces
Process list including children: [8828, 12784]
Trying to capture stack trace for pid 8828

Microsoft (R) Windows Debugger Version 10.0.19041.685 X86
Copyright (c) Microsoft Corporation. All rights reserved.

Cannot debug pid 8828, NTSTATUS 0xC00000BB
    "The request is not supported."
Debuggee initialization failed, NTSTATUS 0xC00000BB
The request is not supported.


Trying to capture stack trace for pid 12784

Microsoft (R) Windows Debugger Version 10.0.19041.685 X86
Copyright (c) Microsoft Corporation. All rights reserved.

Cannot debug pid 12784, NTSTATUS 0xC00000BB
    "The request is not supported."
Debuggee initialization failed, NTSTATUS 0xC00000BB
The request is not supported.



stderr:
c:\opt\s\w\ir\cache\builder\sdk\runtime\platform\unwinding_records_win.cc: 80: error: Failed to add growable function table: 0xc0000095

c:\opt\s\w\ir\cache\builder\sdk\runtime\vm\os_thread_win.h: 31: error: expected: key != kUnsetThreadLocalKey
Aborting reentrant request for stack trace.

--- Re-run this test:
python3 tools/test.py -n vm-aot-win-debug-arm64 vm/dart/in_memory_elf_test

/cc @aam

@mkustermann mkustermann added area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. gardening crash Process exits with SIGSEGV, SIGABRT, etc. An unhandled exception is not a crash. labels Dec 1, 2023
@aam
Copy link
Contributor

aam commented Dec 1, 2023

0xC0000095 STATUS_INTEGER_OVERFLOW

cc @rmacnak-google

copybara-service bot pushed a commit that referenced this issue Dec 4, 2023
TEST=vm/dart/in_memory_elf_test
Bug: #54206
Change-Id: I3a0e15ee3f3b98602cd2cf8921f0334539e64a17
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/339225
Reviewed-by: Alexander Aprelev <[email protected]>
Commit-Queue: Ryan Macnak <[email protected]>
@aam aam closed this as completed Dec 4, 2023
copybara-service bot pushed a commit that referenced this issue Dec 5, 2023
This reverts commit b91dcdf.

Reason for revert: Broke g3 Windows cross compilation.
`unwinding_records_win.cc: 80: error: Failed to add growable function table: 0xc0000095`
https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/google/42584/overview

Original change's description:
> [vm, compiler] Unwind record alignment.
>
> TEST=vm/dart/in_memory_elf_test
> Bug: #54206
> Change-Id: I3a0e15ee3f3b98602cd2cf8921f0334539e64a17
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/339225
> Reviewed-by: Alexander Aprelev <[email protected]>
> Commit-Queue: Ryan Macnak <[email protected]>

Bug: #54206
Change-Id: I8b57862f53af254040d0425e78abab0e608e33e7
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/339942
Reviewed-by: Martin Kustermann <[email protected]>
Commit-Queue: Daco Harkes <[email protected]>
Bot-Commit: Rubber Stamper <[email protected]>
Reviewed-by: Ivan Inozemtsev <[email protected]>
@aam aam reopened this Dec 5, 2023
@a-siva a-siva added triaged Issue has been triaged by sub team P2 A bug or feature request we're likely to work on labels Dec 14, 2023
copybara-service bot pushed a commit that referenced this issue Jan 8, 2024
Bug: #54206
Change-Id: I8d4f2e9cc1aebd747cf35e63dc72c4bf9aa80297
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/340060
Reviewed-by: Alexander Thomas <[email protected]>
Commit-Queue: Ryan Macnak <[email protected]>
copybara-service bot pushed a commit that referenced this issue Jan 9, 2024
Bug: #54206
Change-Id: Iadb16a7bad69c7f66163201cb207061561f7acf0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/340022
Reviewed-by: Alexander Thomas <[email protected]>
Commit-Queue: Ryan Macnak <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. crash Process exits with SIGSEGV, SIGABRT, etc. An unhandled exception is not a crash. gardening P2 A bug or feature request we're likely to work on triaged Issue has been triaged by sub team
Projects
None yet
Development

No branches or pull requests

4 participants