-
Notifications
You must be signed in to change notification settings - Fork 315
Fix stack overflow #1504
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
base: master
Are you sure you want to change the base?
Fix stack overflow #1504
Conversation
|
@juhaku this is really urgent! Thanks for your amazing work! |
|
@qarmin I tried this change using: utoipa = { git = "https://github.com/juhaku/utoipa", rev = "634857582c3b9a2330f34bcf7615148cfa86c951" }
utoipa-axum = { git = "https://github.com/juhaku/utoipa", rev = "634857582c3b9a2330f34bcf7615148cfa86c951" }and unfortunately the error is still there: |
|
Could you try running In my case, the example from #1454 no longer prints warning about large stack arrays but there might be another location causing the issue. |
|
I'm on Windows, maybe the stack size is different if you're on linux/mac. Here the logs: |
|
I'm thinking of removing utoipa altogether and going either with aide or by hand. |
|
So this is yet another bug - my issue was about IntoParams, and here the error comes from ToSchema. |
Fixes #1454
Temporary array was changed into temporary vector