RHEL6: crash at fs/inode.c:331 - clear_inode hitting BUG_ON(!(inode->i_state & I_FREEING));

Solution In Progress - Updated -

Issue

  • PANIC: "[289785.174988] kernel BUG at fs/inode.c:331!"
  • java crashes while doing an unlink an a shared memory inode from tmpfs
  • kernel crash due to the following BUG_ON being hit inside clear_inode
331-->  BUG_ON(!(inode->i_state & I_FREEING));

Environment

  • Red Hat Enterprise Linux 6
    • seen on 2.6.32-279.19.1.el6, 2.6.32-358.14.1.el6, 2.6.32-431.20.5.el6, 2.6.32-504.el6
    • seen on tmpfs / shmem filesystem

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content