bugfindutils - Bugs: bug #47220, Assertion "fdleak.c:382:...


bug #47220: Assertion "fdleak.c:382: complain_about_leaky_fds" during find

Submitted by:  Ross Burton <rossburton>
Submitted on:  Mon 22 Feb 2016 12:53:34 PM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  4.5.19 Fixed Release:  None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 24 Mar 2016 07:06:59 AM UTC, comment #1:

Could you provide an example command line which exhibits this problem (even if the problem does not occur every time)?

What does file descriptor 8 point to when this happens? If you are using Linux you should be able to figure this out by running xargs under a debugger, and running "ls -l /proc/NN/fds" when the abort is reached. Of course you will need to use the actual PID of the xargs process instead of NN.

Does this problem still occur with the current release (4.6.0, available from ftp.gnu.org)?

James Youngman <jay>
Project Administrator
Mon 22 Feb 2016 12:53:34 PM UTC, original submission:

With find 4.5.19 we're seeing this assertion relatively frequently:

| xargs: File descriptor 8 will leak; please report this as a bug, remembering to include a detailed description of the simplest way to reproduce this problem.
| xargs: ../../findutils-4.5.19/lib/fdleak.c:382: complain_about_leaky_fds: Assertion `no_leaks' failed.
| xargs: basename: terminated by signal 6

Sadly the reproducers are less than trivial.

Ross Burton <rossburton>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by jay (Posted a comment)
  • -email is unavailable- added by rossburton (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.4