-
Notifications
You must be signed in to change notification settings - Fork 354
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
Sending a blueprint withan empty barchart crashes the viewer #6681
Comments
Things to investigate:
|
that's a debug assertion only, fixed it for the time series chart already but didn't realize there it was new |
We also hit a |
@Wumpf is referring to https://github.com/rerun-io/rerun/pull/6639/files I don't really understand why |
I believe this has something to do with empty plots, and how to pick bounds for such plots |
Doesn't have to be inverted, a zero size range is enough to trigger the assertion. (A user may though provide an inverted range, we have to guard for that as well) |
When I run |
I suspect this is to blame:
I'll clean this up |
### What With this update, we now format numbers in `DragValues` using `re_format`, i.e. with thousands separators. This makes large editable components easier to read, and makes our UI more consistent. ![image](https://github.com/rerun-io/rerun/assets/1148717/c7f3367e-45d7-4967-9bfe-6ac1cd98c0ad) * Also closes #6681 * Also includes a better fix for #6639 ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested the web demo (if applicable): * Using examples from latest `main` build: [rerun.io/viewer](https://rerun.io/viewer/pr/6683?manifest_url=https://app.rerun.io/version/main/examples_manifest.json) * Using full set of examples from `nightly` build: [rerun.io/viewer](https://rerun.io/viewer/pr/6683?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG * [x] If applicable, add a new check to the [release checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)! - [PR Build Summary](https://build.rerun.io/pr/6683) - [Recent benchmark results](https://build.rerun.io/graphs/crates.html) - [Wasm size tracking](https://build.rerun.io/graphs/sizes.html) To run all checks from `main`, comment on the PR with `@rerun-bot full-check`.
We would sometimes hit a `debug_assert` when plots were empty * Closes rerun-io/rerun#6681
We would sometimes hit a `debug_assert` when plots were empty * Closes rerun-io/rerun#6681
Repro:
Crashes on 0.17 but does not crash on 0.16.1.
Both on native (linux) and web.
Stack trace:
The text was updated successfully, but these errors were encountered: