-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
UBSAN: shift-out-of-bounds spew #14777
Comments
There is likely enough information here to fix this after studying the code in more detail. |
FWIW I don't think I can repro this again unless my pool corrupts(?) in the same way - I rolled back one dataset (that a scrub was complaining about) to an earlier snap and everything is smooth again! 😬 |
i got this one with some other kernel trace
|
related ? #13146 |
System information
22.04) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #2322.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Mar 29 15:33:15 UTC 2Describe the problem you're observing
kernel spew when mounting(?) zfs filesystems:
Full spew:
The spew points to this code in zio.c:
... and that final line is line 5009:
zb2L0 = (zb2->zb_blkid) * BP_SPANB(ibs2, zb2->zb_level);
BP_SPANB is
spa.h says:
#define SPA_BLKPTRSHIFT 7
so
level * (indblkshift - 7) == -5
I think those IMPLYs are trying to catch such a situation but I'm not on a debug kernel... :)
I don't see anything clearly related in recent git history so I guess my pool has some interesting corruption, but I'm reporting it just in case.
Describe how to reproduce the problem
Unsure.
The text was updated successfully, but these errors were encountered: