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

Submitted by:  Lionel Elie Mamane <lmamane>
Submitted on:  Thu 09 Feb 2006 11:14:31 AM UTC  
 
Category: PluginsPriority: 5 - Normal
Item Group: ErrorStatus: Need Info
Privacy: PublicAssigned to: Joris van der Hoeven <vdhoeven>
Originator Name: Open/Closed: Open
Release: 1.0.6Release: None
Fixed Release: NoneFixed Release: 
Keywords: 

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>
Project AdministratorIn charge of this item.
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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by vdhoeven (Posted a comment)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 28 Nov 2013 10:30:21 PM UTCvdhoevenStatusNone=>Need Info
      Assigned toNone=>vdhoeven

    Back to the top


    Powered by Savane 3.1-cleanup1