Project

General

Profile

Actions

Bug #5178

closed

zdb -vvvvv on old-format pool fails in dump_deadlist()

Added by Matthew Ahrens about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2014-09-17
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

zdb -vvvvv on a pre-v26 pool fails:

::status

debugging core file of zdb (64-bit) from mahrens-agg.dcenter
initial argv: zdb -vvvv test
threading model: native threads
status: process terminated by SIGSEGV (Segmentation Fault), addr=0

::stack

dump_deadlist+0x56(10db378)
dump_dir+0x24d(10db800)
dump_one_dir+0x4f(1145f10, 0)
libzpool.so.1`dmu_objset_find_impl+0x443(110f000, 10e5ce0, 40d720, 0, 3)
libzpool.so.1`dmu_objset_find_impl+0x233(110f000, 110f000, 40d720, 0, 3)
libzpool.so.1`dmu_objset_find+0x5d(110f000, 40d720, 0, 3)
dump_zpool+0x133(110f000)
main+0x7a9(3, fffffd7fffdffc38)
_start+0x6c()

We need to handle old-format deadlists in dump_deadlist().

Actions

Also available in: Atom PDF