==16468== WARNING: Support on MacOS 10.8/10.9 is experimental and mostly broken.
==16468== WARNING: Expect incorrect results, assertions and crashes.
==16468== WARNING: In particular, Memcheck on 32-bit programs will fail to
==16468== WARNING: detect any errors associated with heap-allocated data.
==16468==
MPK ==16468== 32 bytes in 1 blocks are still reachable in loss record 33 of 82
==16468== at 0x6DFB: malloc (in /usr/local/Cellar/valgrind/3.9.0/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==16468== by 0x1C8AB0: __Balloc_D2A (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x1C5BE3: __rv_alloc_D2A (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x1C6129: __dtoa (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x1ED8A9: __vfprintf (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x2142DA: __v2printf (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x1FA1DC: vsprintf_l (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x227D4A: __sprintf_chk (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x100032083: nrrdBoundarySpecSprint (in /Users/acil-user/Projects/Teem-Build/bin/test_bspec)
==16468== by 0x100002854: main (in /Users/acil-user/Projects/Teem-Build/bin/test_bspec)
==16468==
MPK ==16468== 36 bytes in 1 blocks are still reachable in loss record 36 of 82
==16468== at 0x6DFB: malloc (in /usr/local/Cellar/valgrind/3.9.0/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==16468== by 0x1C8AB0: __Balloc_D2A (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x1C92A5: __d2b_D2A (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x1C5ED6: __dtoa (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x1ED8A9: __vfprintf (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x2142DA: __v2printf (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x1FA1DC: vsprintf_l (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x227D4A: __sprintf_chk (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x100032083: nrrdBoundarySpecSprint (in /Users/acil-user/Projects/Teem-Build/bin/test_bspec)
==16468== by 0x100002854: main (in /Users/acil-user/Projects/Teem-Build/bin/test_bspec)
==16468==
MPK ==16468== 80 bytes in 1 blocks are still reachable in loss record 50 of 82
==16468== at 0x6DFB: malloc (in /usr/local/Cellar/valgrind/3.9.0/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==16468== by 0x1C8A06: __Balloc_D2A (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x1C92A5: __d2b_D2A (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x1C5ED6: __dtoa (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x1ED8A9: __vfprintf (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x2142DA: __v2printf (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x1FA1DC: vsprintf_l (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x227D4A: __sprintf_chk (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x100032083: nrrdBoundarySpecSprint (in /Users/acil-user/Projects/Teem-Build/bin/test_bspec)
==16468== by 0x100002854: main (in /Users/acil-user/Projects/Teem-Build/bin/test_bspec)
==16468==
MPK ==16468== 513 bytes in 1 blocks are still reachable in loss record 64 of 82
==16468== at 0x6DFB: malloc (in /usr/local/Cellar/valgrind/3.9.0/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==16468== by 0x1F2F04: __parsefloat_buf (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x1F104B: __svfscanf_l (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x1FA4CB: vsscanf_l (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x1EA7C0: sscanf (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x100031DFD: nrrdBoundarySpecParse (in /Users/acil-user/Projects/Teem-Build/bin/test_bspec)
==16468== by 0x100022136: _nrrdHestBoundarySpecParse (in /Users/acil-user/Projects/Teem-Build/bin/test_bspec)
==16468== by 0x10000EDF2: _hestSetValues (in /Users/acil-user/Projects/Teem-Build/bin/test_bspec)
==16468== by 0x100010194: hestParse (in /Users/acil-user/Projects/Teem-Build/bin/test_bspec)
==16468== by 0x1000104A8: hestParseOrDie (in /Users/acil-user/Projects/Teem-Build/bin/test_bspec)
==16468== by 0x1000027E1: main (in /Users/acil-user/Projects/Teem-Build/bin/test_bspec)
==16468==
MPK ==16468== 16,384 bytes in 1 blocks are still reachable in loss record 82 of 82
==16468== at 0x6DFB: malloc (in /usr/local/Cellar/valgrind/3.9.0/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==16468== by 0x1E6855: __smakebuf (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x1FB217: __swsetup (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x1E5B14: __sfvwrite (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x1E9C2A: puts (in /usr/lib/system/libsystem_c.dylib)
==16468== by 0x100002823: main (in /Users/acil-user/Projects/Teem-Build/bin/test_bspec)
==16468==
/Users/acil-user/Projects/Teem-Build/bin/test_bspec: bogus value
(expecting error): [nrrd] nrrdBoundarySpecCheck: -10 is not a valid boundary behavior value
/Users/acil-user/Projects/Teem-Build/bin/test_bspec: pad with bogus padValue
(expecting error): [nrrd] nrrdBoundarySpecCheck: need existing pad value (not inf) with boundary behavior pad
/Users/acil-user/Projects/Teem-Build/bin/test_bspec: checking parse failures
(expecting error): [nrrd] nrrdBoundarySpecParse: couldn't parse bingo as a boundary behavior
(expecting error): [nrrd] nrrdBoundarySpecParse: can only have parms for pad (not wrap)
(expecting error): [nrrd] nrrdBoundarySpecParse: need padValue parm for pad
(expecting error): [nrrd] nrrdBoundarySpecParse: need existant pad value (not nan)
(expecting error): [nrrd] nrrdBoundarySpecParse: couldn't parse "bob" as double
/Users/acil-user/Projects/Teem-Build/bin/test_bspec: checking string->bpsec->string
(looped okay): bleed
(looped okay): wrap
(looped okay): weight
(looped okay): mirror
(looped okay): pad:0
(looped okay): pad:3
command line options:
/Users/acil-user/Projects/Teem-Build/bin/test_bspec: bspec[0] = bleed
/Users/acil-user/Projects/Teem-Build/bin/test_bspec: bspec[1] = wrap
/Users/acil-user/Projects/Teem-Build/bin/test_bspec: bspec[2] = pad:42