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

AF: m_alignpad == 0 (LibraryImportGenerator.Unit.Tests) #91569

Closed
jkotas opened this issue Sep 5, 2023 · 5 comments
Closed

AF: m_alignpad == 0 (LibraryImportGenerator.Unit.Tests) #91569

jkotas opened this issue Sep 5, 2023 · 5 comments
Labels
arch-x64 area-VM-coreclr Known Build Error Use this to report build issues in the .NET Helix tab
Milestone

Comments

@jkotas
Copy link
Member

jkotas commented Sep 5, 2023

/private/tmp/helix/working/BC7909DB/w/AAF70995/e /private/tmp/helix/working/BC7909DB/w/AAF70995/e
  Discovering: LibraryImportGenerator.Unit.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  LibraryImportGenerator.Unit.Tests (found 184 of 189 test cases)
  Starting:    LibraryImportGenerator.Unit.Tests (parallel test collections = on, max threads = 12)

Assert failure(PID 48010 [0x0000bb8a], Thread: 3605062 [0x370246]): m_alignpad == 0
    File: /Users/runner/work/1/s/src/coreclr/vm/syncblk.cpp Line: 2958
    Image: /private/tmp/helix/working/BC7909DB/p/dotnet

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=395229
Build error leg or test failing: LibraryImportGenerator.Unit.Tests.WorkItemExecution
Pull request: #91415

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "m_alignpad == 0",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=395229
Error message validated: m_alignpad == 0
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/5/2023 2:07:19 AM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@jkotas jkotas added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Sep 5, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Sep 5, 2023
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Sep 5, 2023
@mangod9 mangod9 added os-mac-os-x macOS aka OSX arch-x64 and removed untriaged New issue has not been triaged by the area owner labels Sep 5, 2023
@mangod9 mangod9 added this to the 9.0.0 milestone Sep 5, 2023
@mangod9
Copy link
Member

mangod9 commented Sep 5, 2023

Looks to be a failure on macOS x64, Unfortunately CI doesnt capture dumps, so will have to wait to see if this is occurring frequently.

@vcsjones vcsjones removed the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Sep 7, 2023
@kunalspathak
Copy link
Member

Looks to be a failure on macOS x64, Unfortunately CI doesnt capture dumps, so will have to wait to see if this is occurring frequently.

This is happening more frequently lately on windows/linux as well. E.g. From this PR run. Logs are: https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-93223-merge-ccfaccd8a68c41f488/HardwareIntrinsics_Arm_ro/1/console.6dd29e5c.log?helixlogtype=result in

Can you please prioritize because this is blocking clean ci runs?

@kunalspathak kunalspathak removed the os-mac-os-x macOS aka OSX label Oct 23, 2023
@kunalspathak
Copy link
Member

0:000> ?? this
class ObjHeader * 0x0000020d`f053cdf8
   +0x000 m_alignpad       : 0x6bab9f70
   +0x004 m_SyncBlockValue : Volatile<unsigned long>

00 KERNELBASE!RaiseFailFastException
01 coreclr!FailFastOnAssert
02 coreclr!_DbgBreakCheck
03 coreclr!_DbgBreakCheckNoThrow
04 coreclr!DbgAssertDialog
05 coreclr!ObjHeader::IllegalAlignPad
06 coreclr!ObjHeader::GetBits
07 coreclr!ObjHeader::Validate
08 coreclr!Object::ValidateInner
09 coreclr!Object::Validate
0a coreclr!OBJECTREF::OBJECTREF
0b coreclr!ObjectFromHandle
0c coreclr!MarshalNative::GCHandleInternalGet

@build-analysis build-analysis bot removed this from the 9.0.0 milestone Nov 15, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Nov 15, 2023
@akoeplinger akoeplinger added this to the 9.0.0 milestone Nov 24, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Nov 24, 2023
@jeffschwMSFT jeffschwMSFT removed the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Mar 26, 2024
@jeffschwMSFT
Copy link
Member

removing blocking-clean-ci as it has not failed in 30 days

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

@jkotas
Copy link
Member Author

jkotas commented Mar 26, 2024

m_alignpad == 0

This is a general symptom of a GC hole or a GC heap corruption that can have many different root causes. It is likely that the specific root cause has been fixed.

If we see this AF again in future, do not re-activate this issue, open a new issue instead.

@jkotas jkotas closed this as completed Mar 26, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-x64 area-VM-coreclr Known Build Error Use this to report build issues in the .NET Helix tab
Projects
None yet
Development

No branches or pull requests

6 participants