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

[Bug (SC-Platform)]: Panic in pprof 0.13 #958

Closed
DaughterOfMars opened this issue Jul 2, 2024 · 1 comment · Fixed by #4113
Closed

[Bug (SC-Platform)]: Panic in pprof 0.13 #958

DaughterOfMars opened this issue Jul 2, 2024 · 1 comment · Fixed by #4113
Labels
node Issues related to the Core Node team sc-platform Issues related to the Smart Contract Platform group.

Comments

@DaughterOfMars
Copy link
Contributor

DaughterOfMars commented Jul 2, 2024

Bug description

There is currently a bug in pprof which is causing the related tests to fail in iota-core.

These tests were disabled in #2166

@DaughterOfMars
Copy link
Contributor Author

These are from current develop (79d0e35) when running cargo nextest run --package iota-core {test_name} with the respective test name.

--- STDERR:              iota-core authority::authority_store_pruner::pprof_tests::ensure_no_tombstone_fragmentation_in_stack_frame_with_ignore_tombstones ---
thread 'authority::authority_store_pruner::pprof_tests::ensure_no_tombstone_fragmentation_in_stack_frame_with_ignore_tombstones' panicked at library/core/src/panicking.rs:220:5:
unsafe precondition(s) violated: slice::from_raw_parts requires the pointer to be aligned and non-null, and the total size of the slice not to exceed `isize::MAX`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.

and

--- STDERR:              iota-core authority::authority_store_pruner::pprof_tests::ensure_no_tombstone_fragmentation_in_stack_frame_after_flush ---
thread 'authority::authority_store_pruner::pprof_tests::ensure_no_tombstone_fragmentation_in_stack_frame_after_flush' panicked at library/core/src/panicking.rs:220:5:
unsafe precondition(s) violated: slice::from_raw_parts requires the pointer to be aligned and non-null, and the total size of the slice not to exceed `isize::MAX`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.

@Thoralf-M Thoralf-M added sc-platform Issues related to the Smart Contract Platform group. node Issues related to the Core Node team and removed sc-platform Issues related to the Smart Contract Platform group. labels Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
node Issues related to the Core Node team sc-platform Issues related to the Smart Contract Platform group.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants