-
Notifications
You must be signed in to change notification settings - Fork 109
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
toml-edit - stack overflow in testsuite. #653
Comments
That is strange considering it isn't overflowing in our test suite and we haven't heard from any users that it is overflowing. That test is creating a 300-levels deep TOML array and making sure we hit our 128-levels deep recursion limit. What is the old and new version being tested? |
The update I was working from was from toml-edit 0.19.14 to 0.21.0 However, investigating in more detail, it seems that we were not previously running these tests. We have a patch to disable tests that either we do not carry the dependencies for, or that require test data that is not included in the crates.io releases. When I updated said patch for the new upstream version, some tests that were previously disabled ended up enabled. When I remove our patches I can reproduce the issue with 0.19.14 as well. Also I can only reproduce this in debug mode not release mode.
Edit: seems I was wrong, it seems default features for toml_edit are tested in the same workflow item as default features for "toml" |
We only test in debug mode, so thats not helping. That is confusing. |
Could you be enabling the Could you provide a reproduction case? |
Without a reproduction case, I'm closing |
Hi,
I've been looking at updating the rust-toml-edit package in Debian, however when running the testsuite for the new version I get a stack overflow.
We are using rustc 1.70
If this was happening on some obscure architecture, I'd put it down to the weirdness of said architecture but this is happening on amd64, and it's happening even when none of our patches are applied.
Any advice would be appreciated.
The text was updated successfully, but these errors were encountered: