gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] Bluetooth file descriptor leak?


From: Eric S. Raymond
Subject: Re: [gpsd-dev] Bluetooth file descriptor leak?
Date: Sun, 26 Feb 2012 10:11:31 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

Eckhart Wörner <address@hidden>:
> I noticed that (according to lsof) gpsd with -b leaks file descriptors. This 
> happens every ~2 seconds if the bluetooth adapter isn't available. Partial 
> strace at [http://pastebin.com/PzaFJrJy].

I don't think it can be the -b switch doing this, since it suppresses file
opens that would normally take place.  Therefore I think it must be in the 
Bluetooth support itself.

I found a plausible place to put a close(2) on error. Please pull git head
and let me know if the problem still replicates.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]