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
Regression: StackOverflowException thrown after 11.1 upgrade #15539
Comments
@AArnott could you please upload a very minimal sample? We can't know your ViewModel and code behind etc from the XAML snippet |
Hard to tell just from the stack trace, but this looks like you're somehow getting a circular reference in a couple of your bindings. Is that possible? I have no idea why this issue is only showing up in 11.1 though, I think I need a repro to be able to diagnose it any more. |
@grokys this triggers the issue:
/cc @amwx in case this is an FluentAvalonia only issue. |
@timunie thanks for the repro! It actually looks like that is a different issue to the one reported above though: I can't see the nested I just opened a PR to fix #15201 which however does manifest itself in nested |
I'd be happy to test the fix. Which version should I use, or where can I download a CI build? |
@AArnott in each PR there is a comment how to test. Mind the nuget feed url to add #15722 (comment) |
Describe the bug
After upgrading my Avalonia app from 11.0.10 to 11.1.0-beta2, my app crashes when presenting its second view with a StackOverflowException.
To Reproduce
I'm not sure which elements in my app are important to this. Here is the axaml of the view that the app is switching to when the exception occurs:
And here is the value of the
value
parameter in the method call toConvertAndPublishValue
, which seems highly suspect:Expected behavior
No crash. I expect 11.1 to work at least as well as 11.0 did.
Avalonia version
11.1.0-beta2
OS
Windows
Additional context
The text was updated successfully, but these errors were encountered: