To take care of the obvious -- have you sniffed the packet and validated
that it is correct?  Perhaps slpd isn't gracefully handling a bad packet.

--Nick

On Fri, Aug 1, 2008 at 7:28 AM, Simone Bordet <[EMAIL PROTECTED]>wrote:

> Hi,
>
> at LiveTribe we're implementing a pure Java SLP implementation, and
> we're currently testing our upcoming release 2.0 with OpenSLP 2.0 beta
> 1 downloaded from SourceForge.
>
> [EMAIL PROTECTED]:~$ uname -a
> Linux pitt 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686
> GNU/Linux
>
> To compile OpenSLP I did the usual things:
> configure
> make
> sudo make install
>
> I configured slpd as a DA (isDA = true).
>
> I get an slpd crash when sending a SrvRqst.
> The SrvRqst has extensions (in particular it has the rfc3059 attribute
> list extension, and other 2 custom extensions), but I get a crash even
> when I don't send any extension.
> The slpd log just before the crash is (without extensions):
>
> Fri Aug  1 14:15:47 2008
> MESSAGE - Trace message (IN)
> Peer:
>   IP address: 192.168.0.3
> Header:
>   version = 2
>   functionid = 1
>   length = 48
>   flags = 0
>   extoffset = 0
>   xid = 20445
>   langtag = it
> Message SRVRQST:
>   srvtype = service:jmx:rmi
>   scopelist = default
>   predicate = <invalid data!>
>
> Is there any way to have a more detailed error log of slpd that I can
> report here ?
>
> The <invalid data!> thing is quite common in OpenSLP 2.0, but I guess
> it only means it's an empty string.
>
> OpenSLP 1.2.1 does not crash, although it cannot find the services
> asked. This is another issue however, and if I can get OpenSLP 2.0
> going I'll be happy.
>
> In OpenSLP 2.0, messages that I tested were: DaSrvRqst, DaAdvert,
> SrvReg (fresh), SrvAck, SrvDeReg, and all seem to interoperate well
> with LiveTribe SLP.
>
> Thanks,
>
> Simon
> --
> http://bordet.blogspot.com
> ---
> Finally, no matter how good the architecture and design are,
> to deliver bug-free software with optimal performance and reliability,
> the implementation technique must be flawless. Victoria Livschitz
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Openslp-devel mailing list
> Openslp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openslp-devel
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel

Reply via email to