-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
ASSERT panic in zpool_upgrade_004_pos.ksh #6141
Comments
We actually just hit this issue (or a similar one) in production today:
It looks like this issue is also the same as the (now closed) #5803. I think at this point its safe to say this probably isn't an ECC thing, but a subtle race somewhere in the code. |
i hit similar on DilOS: |
This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions. |
System information
Describe the problem you're observing
zpool_upgrade_004_pos.ksh spuriously triggers an ASSERT on buildbot.
Describe how to reproduce the problem
Problem can be reproduced via automated buildbot testing occasionally and by running the
zpool_upgrade
zfs-tests in a loop if you're lucky.Include any warning/errors/backtraces from the system logs
This refers to this bit of code in
space_map_load()
:I dug into the stack trace a little bit and I have some info that may be useful although I could not identify the root cause. The
VERIFY3U
is checking to make sure this spacemap segment is not going beyond the spacemap's upper bound. The endpoint of the segment is shown as6755399466238464
which is a lot larger than25690112
.In binary
6755399466238464 = 0b1000000000000000000000000001100000000100001000000000
, and if you remove the top bit the number becomes25182720
which looks like a much more reasonable number. If I'm counting correctly, the top bit is number 51. So hopefully now debugging this should just be a matter of answering the question "what is setting bit 51 during a zpool upgrade?"This could be related to #4034 as well.
The text was updated successfully, but these errors were encountered: