Re: Error for regression testing

2011-09-11 Thread steven liu
It is 32-bit. Tks. On Mon, Sep 12, 2011 at 2:04 AM, Leif Hedstrom wrote: > On 09/11/2011 10:46 AM, steven liu wrote: > >> Hi All, >> >> I am trying to run regression testing in Ubuntu 11.04 for ATS V3.0.0 uisng >> >> /usr/local/trafficserver/bin/**traffic_server -R 1 >> >> But I have following

Re: problem for plugin example: server-transform.c

2011-09-11 Thread steven liu
Thanks. Yes. I am setting port using hons() using following codes. struct sockaddr_in ip4addr; ip4addr.sin_family = AF_INET; ip4addr.sin_port = htons(server_port); ip4addr.sin_addr.s_addr = inet_addr((const char *)("127.0.0.1")); action = TSNetConnect(contp, (struct sockaddr const*)&ip4addr);

Re: problem for plugin example: server-transform.c

2011-09-11 Thread Alan M. Carroll
Are you setting the port in the sockaddr? Note that in a sockaddr, all data is in network order (including the port). Sunday, September 11, 2011, 11:24:25 AM, you wrote: > Dear All, > I am tring to run a plugin example: server-transform.c under V3.0.0. But I > found that it does not work out of

Re: AIO race condition

2011-09-11 Thread John Plevyak
I don't think so as this should be self correcting in a busy system as Bart pointed out; the main concern is initialization or recovery. I'll take care of this... john On Sun, Sep 11, 2011 at 1:59 PM, Leif Hedstrom wrote: > On 09/10/2011 02:17 PM, John Plevyak wrote: > >> This is a race condit

Re: AIO race condition

2011-09-11 Thread Leif Hedstrom
On 09/10/2011 02:17 PM, John Plevyak wrote: This is a race condition which should happen very very infrequently (e.g. once a day on a loaded system perhaps) and it would only be 10msec on an unloaded system, which would make it very very very infrequent (maybe once a year in that case). I agree

Re: Error for regression testing

2011-09-11 Thread Leif Hedstrom
On 09/11/2011 10:46 AM, steven liu wrote: Hi All, I am trying to run regression testing in Ubuntu 11.04 for ATS V3.0.0 uisng /usr/local/trafficserver/bin/traffic_server -R 1 But I have following fatal error: test_http_hdr_print_and_copy FATAL: HdrHeap.cc:610: failed assert `(((uintptr_t) bu

Error for regression testing

2011-09-11 Thread steven liu
Hi All, I am trying to run regression testing in Ubuntu 11.04 for ATS V3.0.0 uisng /usr/local/trafficserver/bin/traffic_server -R 1 But I have following fatal error: test_http_hdr_print_and_copy FATAL: HdrHeap.cc:610: failed assert `(((uintptr_t) buf) & HDR_PTR_ALIGNMENT_MASK) == 0` Thanks fo

problem for plugin example: server-transform.c

2011-09-11 Thread steven liu
Dear All, I am tring to run a plugin example: server-transform.c under V3.0.0. But I found that it does not work out of the box. Firstly, it cannot be compiled properly due to TSNetConnect(contp, server_ip, server_port); In V3.0.0, the parameter of this function has been changed to TSNetConnect(T