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

i#7376: Fix schedule_stats crash at verbose 4 #7377

Merged
merged 3 commits into from
Mar 19, 2025

Conversation

derekbruening
Copy link
Contributor

Fixes a crash in the drmemtrace schedule_stats tool at verbose 4 where it tries to get the input stream on an idle sequence.

Tested on the new threadsig checked-in trace. Unfortunately the unit tests mock the stream interfaces and so can't reproduce this, and the top-level at verbose 4 with a big enough trace to hit idle is too slow for a good regression test.

Fixes #7376

Fixes a crash in the drmemtrace schedule_stats tool at verbose 4 where
it tries to get the input stream on an idle sequence.

Tested on the new threadsig checked-in trace.  Unfortunately the unit
tests mock the stream interfaces and so can't reproduce this, and the
top-level at verbose 4 with a big enough trace to hit idle is too slow
for a good regression test.

Fixes #7376
@derekbruening derekbruening requested a review from edeiana March 19, 2025 16:23
@derekbruening derekbruening merged commit 42e36ca into master Mar 19, 2025
24 checks passed
@derekbruening derekbruening deleted the i7376-schedule-stats-crash branch March 19, 2025 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CRASH schedule_stats tool at verbose 4
2 participants