[Pkg-bluetooth-maintainers] Bug#445677: bluez-utils: SDP server keeps entries forever

Hendrik Sattler post at hendrik-sattler.de
Sat Feb 16 21:41:52 UTC 2008


Am Samstag 16 Februar 2008 schrieb Filippo Giunchedi:
> On Sun, Oct 07, 2007 at 07:59:01PM +0200, Hendrik Sattler wrote:
> > Hi,
> >
> > In earlier versions of Bluez, it was not explicitely necessary to call
> > sdp_close() as the entry went away automatically when the connection to
> > the SDP was closed (e.g. when a program was killed).
> > This does not work anymore and is a major regression as the output of
> > "sdptool browse local" may get very long.
> > The following programs in Debian show this behaviour: obexpushd,
> > kbluetooth (both from unstable)
> >
> > With libbluetooth2-3.11, I also discovered some refused connections to
> > the local SDP server but those are gone with 3.19.
>
> Is this bug still present with bluez-libs latest version? (3.2{4,5,6})

I looked closer at kdebluetooth and it _depends_ on the feature that 
sdp_close() will include sdp_record_unregister() for all records registered 
with the associated file descriptor. A bug itself since it would be very easy 
to add the call to sdp_record_unregister() in the kdebluetooth code.
I will file a bug report but still...

HS






More information about the Pkg-bluetooth-maintainers mailing list