bugThe nmh Mail Handling System - Bugs: bug #50065, mhfixmsg(1) leaks file...

 
 

bug #50065: mhfixmsg(1) leaks file descriptors, consuming ever more

Submitter:  Ralph Corderoy <ralph>
Submitted:  Tue 17 Jan 2017 01:25:58 PM UTC
   
 
Category:  Bug Severity:  2 - Minor
Priority:  * 5 - Normal Status:  Works For Me
Assigned to:  levine Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 12 Aug 2017 01:14:58 PM UTC, comment #2: 

I'm going to close this. I thought that it was fixed long before 17 Jan 2017, so I can't explain what you saw. I ran a trace, with "-e open,close", and see that temporary files are closed and file descriptors don't increase, see attached excerpt.)

David Levine <levine>
Group administrator
Fri 02 Jun 2017 05:24:45 PM UTC, comment #1: 

I just tried this on the Enron email corpus, and I didn't see any file descriptors being leaked. Is it possible for you to provide a few test messages that trigger this bug?

Ken Hornstein <kenh>
Group administrator
Tue 17 Jan 2017 01:25:58 PM UTC, original submission:  

Using git 66fa74b004d50df011eecdeac09b5e4f59181e12 it can be seen with `strace -e open mhfixmsg ...' that the file descriptor returned to open(2) steadily increases as earlier temporary files aren't closed.

Ralph Corderoy <ralph>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #41492:  mhfixmsg.strace added by levine (1KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by levine (Updated the item)
  • -email is unavailable- added by kenh (Posted a comment)
  • -email is unavailable- added by ralph (Submitted the item)
  •  

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-08-12 levine Attached File- Added mhfixmsg.strace, #41492
    2017-08-12 levine Attached File#41489 Removed
    2017-08-12 levine Attached File- Added mhfixmsg.strace, #41489
        StatusNone Works For Me
        Assigned toNone levine
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code