On 08/01/2008 02:28 PM, Simone Bordet 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 ? > Hmm, run slpd in gdb? (you'd probably first have to disable the Daemonize() step in slpd_main.c) > The <invalid data!> thing is quite common in OpenSLP 2.0, but I guess > it only means it's an empty string. > Probably. The latest repository version will indicate '<empty>' in that case.
In the past I've seen crashes caused by enabling the message trace, so you might try turning that off as a test. Roel > 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 > ------------------------------------------------------------------------- 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