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

GCStress=C not implemented for OS X #6135

Closed
RussKeldorph opened this issue Jun 13, 2016 · 14 comments
Closed

GCStress=C not implemented for OS X #6135

RussKeldorph opened this issue Jun 13, 2016 · 14 comments
Labels
area-VM-coreclr GCStress os-mac-os-x macOS aka OSX test-bug Problem in test source code (most likely)

Comments

@RussKeldorph
Copy link
Contributor

Environment
OS X x64
COMPlus_GCStress=C

Sample Output (all tests result in stack overflow)

BEGIN EXECUTION
/Users/russellk/git/coreclr/bin/tests/Windows_NT.x64.Checked/Tests/coreoverlay/corerun badcodeaftercatch_r.exe
Process is terminated due to StackOverflowException.
./badcodeaftercatch_r.sh: line 117: 45913 Abort trap: 6           $_DebuggerFullPath "$CORE_ROOT/corerun" badcodeaftercatch_r.exe $CLRTestExecutionArguments
Expected: 100
Actual: 134
END EXECUTION - FAILED
@RussKeldorph
Copy link
Contributor Author

@janvorli @swaroop-sridhar Could one or both of you take a look?

@RussKeldorph
Copy link
Contributor Author

Apparently GCStress=C isn't implemented for OS X yet.

@RussKeldorph
Copy link
Contributor Author

@kouvel in case he can comment.

@janvorli
Copy link
Member

So, does it mean that the test fails with stack overflow without any GC stress?

@RussKeldorph
Copy link
Contributor Author

@janvorli Tests I tried passed under GCStress=3. C (presumably 4 and/or 8) were the probem.

@RussKeldorph
Copy link
Contributor Author

@janvorli Tests also pass with no GCStress set.

@janvorli
Copy link
Member

Oh, I guess I got confused a bit by you saying that GCStress=C isn't implemented for OS X yet. So what you meant was that we don't support the mode 0xC, but trying to run with it results in the stack overflow, right? So the fix should be to ignore the modes 4 and 8 on OSX for now.

@RussKeldorph
Copy link
Contributor Author

@janvorli It is better to crash and burn than silently ignore, but if you would like to print an informative message that 4 and/or 8 aren't supported and refuse to initialize, that would be fine with me for now.

@RussKeldorph RussKeldorph changed the title GCStress=C fails on OS X due to StackOverflowException GCStress=C not implemented for OS X Jun 13, 2016
@kouvel
Copy link
Member

kouvel commented Jun 13, 2016

@adityamandaleeka, it looks like HAVE_GCCOVER used to be defined only on Windows and Linux for CoreCLR and was changed in 0be6c2b. I don't have much context into what the build breaks were, could you please take a look?

@adityamandaleeka
Copy link
Member

@kouvel The build breaks mentioned there were on ARM64 coresys builds.

At that time, it was decided that HAVE_GCCOVER being enabled doesn't mean it actually works on that platform, but just that the code compiles.

@sergiy-k sergiy-k assigned adityamandaleeka and unassigned sergiy-k Sep 1, 2016
@janvorli
Copy link
Member

I think that having GCStress mode C support is not urgent and we got all the coverage from Linux builds where the GC related stuff is the same as on OSX. So I'd suggest moving it to future.

@adityamandaleeka
Copy link
Member

@janvorli Yup, I agree. I meant to move it earlier, but was busy with other work. Moved it now.

Copy link
Contributor

Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.

This process is part of our issue cleanup automation.

@dotnet-policy-service dotnet-policy-service bot added backlog-cleanup-candidate An inactive issue that has been marked for automated closure. no-recent-activity labels Oct 9, 2024
Copy link
Contributor

This issue will now be closed since it had been marked no-recent-activity but received no further activity in the past 14 days. It is still possible to reopen or comment on the issue, but please note that the issue will be locked if it remains inactive for another 30 days.

@dotnet-policy-service dotnet-policy-service bot removed this from the Future milestone Oct 23, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Nov 22, 2024
@dotnet-policy-service dotnet-policy-service bot removed no-recent-activity backlog-cleanup-candidate An inactive issue that has been marked for automated closure. labels Nov 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-VM-coreclr GCStress os-mac-os-x macOS aka OSX test-bug Problem in test source code (most likely)
Projects
None yet
Development

No branches or pull requests

8 participants