Project

General

Profile

Bug #7395

mutex not owner panic in dnode_dest() -> mutex_destroy()

Added by Youzhong Yang over 4 years ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2016-09-21
Due date:
% Done:

0%

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

Description

> ::status
debugging crash dump vmcore.0 (64-bit) from batfs0505
operating system: 5.11 joyent_20160525T044136Z (i86pc)
image uuid: (not set)
panic message: mutex_destroy: not owner, lp=ffffff6e2d59f5f0 owner=ffffff449396f400 thread=ffffff01e8062c40
dump content: kernel pages only

> $C
ffffff01e8062a50 vpanic()
ffffff01e8062a70 mutex_panic+0x58(fffffffffb94c94b, ffffff6e2d59f5f0)
ffffff01e8062aa0 mutex_destroy+0x60(ffffff6e2d59f5f0)
ffffff01e8062ad0 dnode_dest+0x28(ffffff6e2d59f510, 0)
ffffff01e8062b10 kmem_slab_free_constructed+0xcc(ffffff42edff0008, ffffff6e2d59f510, 0)
ffffff01e8062b60 kmem_move_buffer+0x26a(ffffff55a02b4370)
ffffff01e8062c20 taskq_thread+0x2d0(ffffff42e2ce2e40)
ffffff01e8062c30 thread_start+8()

> ffffff6e2d59f5f0::mutex
            ADDR  TYPE             HELD MINSPL OLDSPL WAITERS
ffffff6e2d59f5f0 adapt               no      -      -      no

> ffffff449396f400::findstack -v
stack pointer for thread ffffff449396f400: ffffff020a0fe5a0
  ffffff020a0fe5e0 dbuf_rele+0x30(ffffff504697cae0, 0)
  ffffff020a0fe600 dmu_buf_rele+0x15(ffffff504697cae0, 0)
  ffffff020a0fe620 sa_buf_rele+0x15(ffffff504697cae0, 0)
  ffffff020a0fe6c0 zfs_zget+0x169(fffffffff791191e, ffffff4f917b2298, fffffffff7d05168)
  ffffff020a0fe700 0xffffff020a0fe790()
  ffffff020a0fe8c0 mutex_enter()
  ffffff020a0fea50 dbuf_prefetch+0x68(ffffff4e2196cc70, 0, 69504, 0, 0)
  ffffff020a0feae0 dmu_prefetch+0x136(ffffff48d6995400, d2a088, 0, 0, 0, 0)
  ffffff020a0fed60 zfs_readdir+0x659(ffffff44bef53300, ffffff020a0fee10, ffffff44bc540bc0, ffffff020a0fee5c, 0, 0)
  ffffff020a0fedf0 fop_readdir+0x6b(ffffff44bef53300, ffffff020a0fee10, ffffff44bc540bc0, ffffff020a0fee5c, 0, 0)
  ffffff020a0feeb0 getdents64+0xf5(22, feda8000, 2000)
  ffffff020a0fef10 _sys_sysenter_post_swapgs+0x153()

Related issues

Is duplicate of illumos gate - Bug #13234: Prevent race condition in dnode_destClosedJason King

Actions

Also available in: Atom PDF