Project

General

Profile

Actions

Bug #14410

open

panic in dbuf_read because db_dnode_handle is NULL

Added by Marcel Telka 7 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

A machine panicked today:

> ::status
debugging crash dump vmcore.10 (64-bit) from server
operating system: 5.11 illumos-c12f119108 (i86pc)
build version: heads/master-0-gc12f119108-dirty

image uuid: a5b16fb9-ee60-e117-986b-995d12c39642
panic message: BAD TRAP: type=e (#pf Page fault) rp=fffffe00404702e0 addr=8 occurred in module "zfs" due to a NULL pointer dereference
dump content: kernel pages only
> ::stack
zrl_add_impl+0x1a(0, fffffffff7a68898)
dbuf_read+0x5e(fffffe2d9d74e118, 0, 9)
dmu_bonus_hold_impl+0xed(fffffe2cd627b940, 3a9a9, 0, 1, fffffe00404705a0)
dmu_bonus_hold+0x15(fffffe2cd627b940, 3a9a9, 0, fffffe00404705a0)
sa_buf_hold+0xd(fffffe2cd627b940, 3a9a9, 0, fffffe00404705a0)
zfs_zget+0x7c(fffffe2cbc248800, 3a9a9, fffffe0040470768)
zfs_dirent_lock+0x307(fffffe0040470770, fffffe2da1e0bb18, fffffe0040470a18, fffffe0040470768, 6, 0)
zfs_dirlook+0x9e(fffffe2da1e0bb18, fffffe0040470a18, fffffe00404709d0, 0, 0, 0)
zfs_lookup+0x30f(fffffe2e289ff840, fffffe0040470a18, fffffe00404709d0, fffffe0040470c58, 0, fffffe2ca6f3c540)
fop_lookup+0xa8(fffffe2e289ff840, fffffe0040470a18, fffffe00404709d0, fffffe0040470c58, 0, fffffe2ca6f3c540)
lookuppnvp+0x294(fffffe0040470c58, 0, 0, 0, fffffe0040470e38, fffffe2ca6f3c540)
lookuppnatcred+0x134(fffffe0040470c58, 0, 0, 0, fffffe0040470e38, 0)
lookupnameatcred+0xd5(7fffbfff2280, 0, 0, 0, fffffe0040470e38, 0)
lookupnameat+0x29(7fffbfff2280, 0, 0, 0, fffffe0040470e38, 0)
cstatat_getvp+0x18c(ffd19553, 7fffbfff2280, 0, fffffe0040470e38, fffffe0040470e40)
cstatat+0xb5(ffd19553, 7fffbfff2280, 7fffbfff2200, 1000, 0)
fstatat+0x2d(ffd19553, 7fffbfff2280, 7fffbfff2200, 1000)
lstat+0x1b(7fffbfff2280, 7fffbfff2200)
sys_syscall+0x17d()
>

The immediate cause of the panic is db_dnode_handle set to NULL:

> fffffe2d9d74e118::print dmu_buf_impl_t
{
    db = {
        db_object = 0x8671ca74ec00
        db_offset = 0xca7a604fffffff10
        db_size = 0xffffff0000008671
        db_data = 0x40008671ca93604f
    }
    db_objset = 0x2510fffffff00
    db_dnode_handle = 0
    db_parent = 0
    db_hash_next = 0x65c6e0300
    db_blkid = 0
    db_blkptr = 0
    db_level = 0
    db_rwlock = {
        _opaque = [ 0 ]
    }
    db_buf = 0
    db_mtx = {
        _opaque = [ 0 ]
    }
    db_state = 0 (DB_UNCACHED)
    db_holds = {
        rc_count = 0x1
    }
    db_changed = {
        _opaque = 0
    }
    db_data_pending = 0
    db_last_dirty = 0
    db_link = {
        avl_child = [ 0xfffffe003c988768, 0 ]
        avl_pcb = 0xfffffe2e154062b8
    }
    db_cache_link = {
        list_next = 0
        list_prev = 0
    }
    db_caching_status = -0t1 (DB_NO_CACHE)
    db_user = 0
    db_user_immediate_evict = 0x1
    db_freed_in_flight = 0
    db_pending_evict = 0
    db_dirtycnt = 0
}
>

No data to display

Actions

Also available in: Atom PDF