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

Grain Data - Show Details Crashes Process #384

Open
jsmithtx opened this issue Dec 15, 2022 · 1 comment
Open

Grain Data - Show Details Crashes Process #384

jsmithtx opened this issue Dec 15, 2022 · 1 comment

Comments

@jsmithtx
Copy link

jsmithtx commented Dec 15, 2022

For a specific grain and grain id, when I try to get the data, it actually crashes the silo process. I am hosting in Service Fabric and get:

The program '[27244] xxx.exe' has exited with code 3221225477 (0xc0000005) 'Access violation'.

The grain state is defined as a Dictionary<int, MyCustomObj> where the MyCustomObject has GenerateSerializer on it. I have a method called GetState that returns this object.

public Task<Dictionary<int, MyCustomObject>> GetState() => Task.FromResult(GrainPersistentState.State);

I have tried even putting the dictionary in another object that also as the GenSerializer attribute with no success.

I am self hosting in an aspnet core SF service, calling a separate SF service where the silo host is running. The client is configured as usual with app.Map("/dashboard", x => x.UseOrleansDashboard()); The client and server (silo) are configured with .UseDashboard(o => o.HostSelf = true);

@jkonecki
Copy link
Member

I'm running into the same issue while hosting the silo in AppService.
I register the dashboard with default options:

app.UseOrleansDashboard();

No expection is caugth while debugging locally, the process crashes.

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