[Bug 230962] Kernel panic when writing extended attributes with soft updates enabled

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 27 20:55:00 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230962

            Bug ID: 230962
           Summary: Kernel panic when writing extended attributes with
                    soft updates enabled
           Product: Base System
           Version: 11.2-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: 2t8mr7kx9f at protonmail.com

Created attachment 196617
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=196617&action=edit
A screenshot of the panic message.

This is a continuation of the following bugreport:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230732

I did some digging to try and get to the root cause. It appears that it has
nothing to do with GELI, I can also reproduce this on a plain UFS volume. The
culprit seem to be extended attributes.

Freebsd panics reproducible with 

"panic: softdep_deallocate_dependencies: dangling deps" 

when using rsync with the -X option ("preserve extended attributes") to a
volume with soft updates enabled.

This appears to be some kind of race condition - transferring the files
one-by-one works, the panic occurs only when transferring the whole directory.

Turning off soft updates (-n disable) or using rsync without -X prevents the
panic from occurring.

The exact same command worked with 11.1-RELEASE.

The attached screenshot shows the panic message. Please let me know if I can be
of further assistance!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list