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

            Bug ID: 279226
           Summary: sort(1) can deadlock with poorly timed signal
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: b...@freebsd.org
          Reporter: kev...@freebsd.org

sort(1) has a semapahore to protect the tmp file list, and it catches numerous
signals to trigger tmp cleanup before bailing out.  If we receive a signal
while tmp_files_sem is held, we can easily deadlock sort(1) as the signal
handler tries to take it again.

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

Reply via email to