From sxwiki at gmail.com Tue May 20 00:55:04 2008 From: sxwiki at gmail.com (Rage NotGiven) Date: Mon, 19 May 2008 20:55:04 -0400 Subject: Failed Compile -- Solution (assert not declared). Message-ID: <48322168.4060007@vilerage.us> Just got 3.15 from http://www.web-polygraph.org/downloads/srcs/polygraph-3.1.5-src.tgz ,and it fails to compile, with the error: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT SslWrap.o -MD -MP -MF .deps/SslWrap.Tpo -c -o SslWrap.o SslWrap.cc SslWrap.cc: In member function ?bool SslCommand::runIfNeeded()?: SslWrap.cc:347: error: ?assert? was not declared in this scope SslWrap.cc: In member function ?String SslCommand::calcKey(const String&) const?: SslWrap.cc:396: error: ?assert? was not declared in this scope make[3]: *** [SslWrap.o] Error 1 make[3]: Leaving directory `/home/sql/Desktop/polygraph-3.1.5/src/runtime' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/sql/Desktop/polygraph-3.1.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/sql/Desktop/polygraph-3.1.5' make: *** [all] Error 2 Adding: #include To src/runtime/SslWrap.cc fixes this issue. Hope this helps. From rousskov at measurement-factory.com Tue May 20 13:32:10 2008 From: rousskov at measurement-factory.com (Alex Rousskov) Date: Tue, 20 May 2008 07:32:10 -0600 Subject: Failed Compile -- Solution (assert not declared). In-Reply-To: <48322168.4060007@vilerage.us> References: <48322168.4060007@vilerage.us> Message-ID: <1211290330.11005.29.camel@pail> On Mon, 2008-05-19 at 20:55 -0400, Rage NotGiven wrote: > Just got 3.15 from > http://www.web-polygraph.org/downloads/srcs/polygraph-3.1.5-src.tgz ,and > it fails to compile, with the error: > > g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/include -g -O1 > -Wall -Wwrite-strings -Woverloaded-virtual -MT SslWrap.o -MD -MP -MF > .deps/SslWrap.Tpo -c -o SslWrap.o SslWrap.cc > SslWrap.cc: In member function ?bool SslCommand::runIfNeeded()?: > SslWrap.cc:347: error: ?assert? was not declared in this scope > SslWrap.cc: In member function ?String SslCommand::calcKey(const > String&) const?: > SslWrap.cc:396: error: ?assert? was not declared in this scope > make[3]: *** [SslWrap.o] Error 1 > make[3]: Leaving directory `/home/sql/Desktop/polygraph-3.1.5/src/runtime' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/sql/Desktop/polygraph-3.1.5/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/sql/Desktop/polygraph-3.1.5' > make: *** [all] Error 2 > > Adding: > > #include > > To src/runtime/SslWrap.cc fixes this issue. The bug has been fixed by adding #include "xstd/Assert.h" The fix will be available in the next release. Thank you, Alex. From aesboe at gmail.com Sat May 24 00:35:10 2008 From: aesboe at gmail.com (isb) Date: Fri, 23 May 2008 17:35:10 -0700 Subject: Resolver error while parsing DNS replies Message-ID: <982d9a880805231735p261cff57kc5f654509579ffa5@mail.gmail.com> Hi, I am trying to replay a trace using Polygraph. I am seeing this error when Polygraph's DNS resolver fails to parse DNS replies on certain lookups: DnsXact.cc:94: error: 256/256 (c94) failed to parse DNServer response In my limited tests, it seems to fail when CNAME records are returned in the reply. It also fails on certain other replies. Is this a known limitation? If so, are there any plans to fix it? Thanks Imran From rousskov at measurement-factory.com Tue May 27 17:01:17 2008 From: rousskov at measurement-factory.com (Alex Rousskov) Date: Tue, 27 May 2008 11:01:17 -0600 Subject: Resolver error while parsing DNS replies In-Reply-To: <982d9a880805231735p261cff57kc5f654509579ffa5@mail.gmail.com> References: <982d9a880805231735p261cff57kc5f654509579ffa5@mail.gmail.com> Message-ID: <1211907677.8223.134.camel@pail> On Fri, 2008-05-23 at 17:35 -0700, isb wrote: > I am trying to replay a trace using Polygraph. I am seeing this error > when Polygraph's DNS resolver fails to parse DNS replies on certain > lookups: > > DnsXact.cc:94: error: 256/256 (c94) failed to parse DNServer response > > In my limited tests, it seems to fail when CNAME records are returned > in the reply. It also fails on certain other replies. Is this a known > limitation? Yes, it is a known limitation. Polygraph does not know how to deal with CNAME and other non-IP responses. > If so, are there any plans to fix it? It would be nice to add such support, but it is currently only a wish list item: http://www.web-polygraph.org/support/wishes.html Alex.