On 4 Feb 2012, at 02:05, Leif Hedstrom wrote:
> Hi all,
>
> I've prepared a package for a v3.1.2 release. Please take a look at the
> artifacts, check the STATUS/README/CHANGES files, and do builds and tests.
> After finishing your examination of the release candidate, please cast your
> ±/0 votes in a timely manner, I will call the vote on Feb 8, 2012. The source
> tar-ball and signatures are available in
>
> http://people.apache.org/~zwoop/rel-candidates/
Getting this on MacOS:
[TrafficServer] using root directory '/usr/local/trafficserver'
[Feb 6 14:30:32.498] {0xa0b51540} STATUS: opened
/usr/local/trafficserver/var/log/trafficserver/diags.log
[Feb 6 14:30:32.513] {0xa0b51540} NOTE: updated diags config
[Feb 6 14:30:32.521] Server {0xa0b51540} WARNING: connection throttle too
high, 30000 (throttle) + 192 (internal use) > 10240 (file descriptor limit),
using throttle of 10048
[Feb 6 14:30:32.542] Server {0xa0b51540} NOTE: cache clustering disabled
[Feb 6 14:30:32.542] Server {0xa0b51540} NOTE: clearing statistics
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
[Switching to process 19434]
0x00296f41 in ink_atomic_swap64 [inlined] () at
/Users/nick/trafficserver/trafficserver-3.1.2-unstable/lib/ts/ink_atomic.h:687
687 ink_atomic_swap64(&(rsb->global[id]->sum), data);
That's inlined from RecProcess.cc line 687, function RecSetGlobalRawStatSum,
and gdb shows it's calling ink_atomic_swap64(&(0), 0):
ink_atomic_swap64(&(rsb->global[id]->sum), data);
uname -a
Darwin freya.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT
2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking
--enable-werror --prefix=/usr --mandir=/usr/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib
--build=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/4.2.1
--host=i686-apple-darwin10 --target=i686-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
This machine hasn't been used as a TS dev platform, and this is the first 3.1.x
I've
tried on it. However, 3.0 works. Will see if turning off gcc optimisation
makes any difference.
--
Nick Kew