bugGNU TeXmacs - Bugs: bug #15676, Leaks a file descriptor to plugins

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #15676: Leaks a file descriptor to plugins

Submitter:  Lionel Elie Mamane <lmamane>
Submitted:  Thu 09 Feb 2006 11:14:31 AM UTC
   
 
Category:  Plugins Priority:  5 - Normal
Item Group:  Error Status:  Wont Fix
Privacy:  Public Assigned to:  vdhoeven
Originator Name:  Open/Closed:  Closed
Release:  None Release:  1.0.6
Fixed Release:  1.99.12 Fixed Release: 
Keywords: 

Sat 19 Oct 2019 07:41:59 PM UTC, comment #2: 

In absence of further information, I close this bug.

Joris van der Hoeven <vdhoeven>
Group administrator
Thu 28 Nov 2013 10:30:21 PM UTC, comment #1: 

I do not fully understand this bug.  A more detailed example would be welcome.

Joris van der Hoeven <vdhoeven>
Group administrator
Thu 09 Feb 2006 11:14:31 AM UTC, original submission:  

When TeXmacs lauches a plug-in process (when using the pipe communication method), it (sometimes?) leaks an open filedescriptor to the process. For example:

my_plugin 5801 lionelm    4w   REG    9,0     714 19613754 /home/lionelm/.TeXmacs/system/setup.scm


You probably want to set the "close on exec" flag on this file descriptor (with fcntl, F_SETFD, FD_CLOEXEC to 1), or close it explicitly in the forked process before doing exec().


Lionel Elie Mamane <lmamane>

 

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

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 vdhoeven (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-10-19 vdhoeven StatusNeed Info Wont Fix
        Open/ClosedOpen Closed
        Fixed ReleaseNone 1.99.12
    2013-11-28 vdhoeven StatusNone Need Info
        Assigned toNone vdhoeven

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code