zdb -A does not work after 3006
Among other changes #3006 removed checks for
aok value from ASSERT/VERIFY, so now specifying -A(AA) flags to zdb simply does nothing.
To test this, after updating to workspace contents, I have added explicit
dump_cachefile that gets called when
-C is specified, and checked that zdb is now able to "bypass" that failed assertion:
callisto:yuri:~/ws/il12396/usr/src/cmd/zdb$ ./zdb -C aok=0 zsh: segmentation fault (core dumped) ./zdb -C callisto:yuri:~/ws/il12396/usr/src/cmd/zdb$ ./zdb -AC aok=1 ASSERTION CAUGHT: 0, file: zdb.c, line: 2638 data: version: 5000 name: 'data' ...other output...
Updated by Electric Monk 7 months ago
- Status changed from Pending RTI to Closed
- % Done changed from 90 to 100
commit 8e6f7903d5f7a53e1d6685962c900ab0f29c6b6c Author: Yuri Pankov <firstname.lastname@example.org> Date: 2021-10-08T14:10:56.000Z 12396 zdb -A does not work after 3006 Reviewed by: Robert Mustacchi <email@example.com> Reviewed by: Andy Fiddaman <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>