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

GC.LargeMemory failed with System.NullReferenceException: Object reference not set to an instance of an object #53004

Closed
VincentBu opened this issue May 20, 2021 · 3 comments
Labels
arch-arm64 area-GC-coreclr JitStress CLR JIT issues involving JIT internal stress modes os-mac-os-x macOS aka OSX
Milestone

Comments

@VincentBu
Copy link
Contributor

Run: runtime-coreclr jitstress 20210519.1

Failed tests:

CoreCLR OSX arm64 Checked jitminopts @ OSX.1100.ARM64.Open

- GC/LargeMemory/Allocation/largeexceptiontest/largeexceptiontest.sh
- GC/LargeMemory/API/gc/gettotalmemory/gettotalmemory.sh
- GC/LargeMemory/API/gc/keepalive/keepalive.sh
- GC/LargeMemory/API/gc/suppressfinalize/suppressfinalize.sh

Error message:

Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at System.SZArrayHelper.get_Item[T](Int32 index) in System.Private.CoreLib.dll:token 0x6000162+0x0
at MemCheck.ParseSizeMBArgument(IReadOnlyList1 args) in memcheck.dll:token 0x6000007+0x0 at MemCheck.ParseSizeMBAndLimitByAvailableMem(IReadOnlyList1 args) in memcheck.dll:token 0x6000006+0x0
at LargeExceptionTest.Main(String[] args) in largeexceptiontest.dll:token 0x6000004+0x0
task_for_pid(17855) FAILED 5 (os/kern) failure
/private/tmp/helix/working/A2FD0903/w/B1360936/e/GC/LargeMemory/Allocation/largeexceptiontest/largeexceptiontest.sh: line 384: 17855 Abort trap: 6           (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"

Return code:      1
Raw output file:      /private/tmp/helix/working/A2FD0903/w/B1360936/e/GC/LargeMemory/Reports/GC.LargeMemory/Allocation/largeexceptiontest/largeexceptiontest.output.txt
Raw output:
BEGIN EXECUTION
/tmp/helix/working/A2FD0903/p/corerun largeexceptiontest.dll '2048'
Expected: 100
Actual: 134
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:

set CORE_ROOT=/tmp/helix/working/A2FD0903/p
/private/tmp/helix/working/A2FD0903/w/B1360936/e/GC/LargeMemory/Allocation/largeexceptiontest/largeexceptiontest.sh
Expected: True
Actual:   False


Stack trace
   at GC_LargeMemory._Allocation_largeexceptiontest_largeexceptiontest_._Allocation_largeexceptiontest_largeexceptiontest_sh()
@VincentBu VincentBu added arch-arm64 os-mac-os-x macOS aka OSX JitStress CLR JIT issues involving JIT internal stress modes labels May 20, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added area-GC-coreclr untriaged New issue has not been triaged by the area owner labels May 20, 2021
@ghost
Copy link

ghost commented May 20, 2021

Tagging subscribers to this area: @dotnet/gc
See info in area-owners.md if you want to be subscribed.

Issue Details

Run: runtime-coreclr jitstress 20210519.1

Failed tests:

CoreCLR OSX arm64 Checked jitminopts @ OSX.1100.ARM64.Open

- GC/LargeMemory/Allocation/largeexceptiontest/largeexceptiontest.sh
- GC/LargeMemory/API/gc/gettotalmemory/gettotalmemory.sh
- GC/LargeMemory/API/gc/keepalive/keepalive.sh
- GC/LargeMemory/API/gc/suppressfinalize/suppressfinalize.sh

Error message:

Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at System.SZArrayHelper.get_Item[T](Int32 index) in System.Private.CoreLib.dll:token 0x6000162+0x0
at MemCheck.ParseSizeMBArgument(IReadOnlyList1 args) in memcheck.dll:token 0x6000007+0x0 at MemCheck.ParseSizeMBAndLimitByAvailableMem(IReadOnlyList1 args) in memcheck.dll:token 0x6000006+0x0
at LargeExceptionTest.Main(String[] args) in largeexceptiontest.dll:token 0x6000004+0x0
task_for_pid(17855) FAILED 5 (os/kern) failure
/private/tmp/helix/working/A2FD0903/w/B1360936/e/GC/LargeMemory/Allocation/largeexceptiontest/largeexceptiontest.sh: line 384: 17855 Abort trap: 6           (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"

Return code:      1
Raw output file:      /private/tmp/helix/working/A2FD0903/w/B1360936/e/GC/LargeMemory/Reports/GC.LargeMemory/Allocation/largeexceptiontest/largeexceptiontest.output.txt
Raw output:
BEGIN EXECUTION
/tmp/helix/working/A2FD0903/p/corerun largeexceptiontest.dll '2048'
Expected: 100
Actual: 134
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:

set CORE_ROOT=/tmp/helix/working/A2FD0903/p
/private/tmp/helix/working/A2FD0903/w/B1360936/e/GC/LargeMemory/Allocation/largeexceptiontest/largeexceptiontest.sh
Expected: True
Actual:   False


Stack trace
   at GC_LargeMemory._Allocation_largeexceptiontest_largeexceptiontest_._Allocation_largeexceptiontest_largeexceptiontest_sh()
Author: VincentBu
Assignees: -
Labels:

JitStress, arch-arm64, area-GC-coreclr, os-mac-os-x, untriaged

Milestone: -

@AaronRobinsonMSFT
Copy link
Member

Likely related to #49365

/cc @sdmaclea

@sdmaclea sdmaclea added this to the 6.0.0 milestone May 20, 2021
@jeffschwMSFT jeffschwMSFT removed the untriaged New issue has not been triaged by the area owner label Jul 6, 2021
@mangod9
Copy link
Member

mangod9 commented Jul 20, 2021

Dupe of #51250

@mangod9 mangod9 closed this as completed Jul 20, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Aug 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm64 area-GC-coreclr JitStress CLR JIT issues involving JIT internal stress modes os-mac-os-x macOS aka OSX
Projects
None yet
Development

No branches or pull requests

5 participants