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

Inserting PITTimers with abstracts voids as a dOnTrigger #107

Open
JuliusCaesar12 opened this issue May 22, 2021 · 3 comments
Open

Inserting PITTimers with abstracts voids as a dOnTrigger #107

JuliusCaesar12 opened this issue May 22, 2021 · 3 comments
Assignees

Comments

@JuliusCaesar12
Copy link

Have you checked Github Issues for similar errors?
I have checked for other issues, but the only one that came up was unrelated to the issue whence this has arisen.
Exception
Post the exception returned by Visual Studio
"Exception: System.Exception: Error compiling method 'SystemVoidSystemCProcessingProcMGRKStartSystemCProcessingCriProc': System.Exception: After interpreting stack types, nothing changed! (First instruction needing types = IL_0020: Ldvirtftn)"
** VS Output Logs **
Post the entire output log given by Visual Studio for the build
https://pastebin.com/KuyrsEjX
To Reproduce
Describe any changes done to a clean kernel for this error to occur.
Inserting a PITTimer with a possibly-defined abstract void will cause this error in IL2CPU
Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot (60)

Context
Before posting please confirm that the following are in order
[Yes] Both Cosmos VS Extensions are installed
[Yes] The Cosmos nuget packages are installed

Add any other context about the problem which might be helpful.
I am running the latest devkit.

@quajak
Copy link
Member

quajak commented May 23, 2021

This seems like a problem with il2cpu stack analysis. It might be fixed by changes with .net 5.0 but to be sure can you reproduce this issue while using fake classes (so new empty classes, not actual cosmos types), so I can easily reproduce this in unit testing?

@JuliusCaesar12
Copy link
Author

JuliusCaesar12 commented May 23, 2021

https://pastebin.com/wKyaLXpc
I have created the empty classes without using any Cosmos types.

@quajak
Copy link
Member

quajak commented May 24, 2021

Thank you! Will look into it

@quajak quajak self-assigned this May 24, 2021
@quajak quajak transferred this issue from CosmosOS/Cosmos May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants