Skip to content

Instantly share code, notes, and snippets.

@drio
Created January 10, 2012 23:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drio/1591787 to your computer and use it in GitHub Desktop.
Save drio/1591787 to your computer and use it in GitHub Desktop.
rm -f debugallocation_test.sh
cp -p ./src/tests/debugallocation_test.sh debugallocation_test.sh
rm -f sampling_test.sh
cp -p ./src/tests/sampling_test.sh sampling_test.sh
rm -f heap-profiler_unittest.sh
cp -p ./src/tests/heap-profiler_unittest.sh heap-profiler_unittest.sh
rm -f sampling_debug_test.sh
cp -p ./src/tests/sampling_test.sh sampling_debug_test.sh
rm -f heap-profiler_debug_unittest.sh
cp -p ./src/tests/heap-profiler_unittest.sh heap-profiler_debug_unittest.sh
rm -f profiler_unittest.sh
cp -p ./src/tests/profiler_unittest.sh profiler_unittest.sh
for la in libtcmalloc_minimal.la libtcmalloc_minimal_debug.la libtcmalloc.la libtcmalloc_debug.la libtcmalloc_and_profiler.la; do lib=".libs/`basename $la .la`.a"; [ ! -f "$lib" ] || : "$lib"; done
make pprof_unittest
./src/pprof -test
AddressAdd 32-bit tests: 5 passes, 0 failures
AddressAdd 64-bit tests: 10 passes, 0 failures
AddressSub 32-bit tests: 5 passes, 0 failures
AddressSub 64-bit tests: 10 passes, 0 failures
AddressInc 32-bit tests: 5 passes, 0 failures
AddressInc 64-bit tests: 10 passes, 0 failures
PASS
make check-TESTS
rm -f debugallocation_test.sh
cp -p ./src/tests/debugallocation_test.sh debugallocation_test.sh
rm -f sampling_test.sh
cp -p ./src/tests/sampling_test.sh sampling_test.sh
rm -f heap-profiler_unittest.sh
cp -p ./src/tests/heap-profiler_unittest.sh heap-profiler_unittest.sh
rm -f sampling_debug_test.sh
cp -p ./src/tests/sampling_test.sh sampling_debug_test.sh
rm -f heap-profiler_debug_unittest.sh
cp -p ./src/tests/heap-profiler_unittest.sh heap-profiler_debug_unittest.sh
rm -f profiler_unittest.sh
cp -p ./src/tests/profiler_unittest.sh profiler_unittest.sh
....................
PASS
PASS: low_level_alloc_unittest
PASS
PASS: atomicops_unittest
Obtained 9 stack frames.
Obtained 9 stack frames.
0 stacktrace_unittest 0x00000001055360e3 _ZN12_GLOBAL__N_119CheckStackTraceLeafEv + 211 0x1055360e3
1 stacktrace_unittest 0x0000000105536405 _ZN12_GLOBAL__N_116CheckStackTrace4Ei + 213 0x105536405
2 stacktrace_unittest 0x00000001055364d7 _ZN12_GLOBAL__N_116CheckStackTrace3Ei + 199 0x1055364d7
3 stacktrace_unittest 0x00000001055365b7 _ZN12_GLOBAL__N_116CheckStackTrace2Ei + 199 0x1055365b7
4 stacktrace_unittest 0x0000000105536697 _ZN12_GLOBAL__N_116CheckStackTrace1Ei + 199 0x105536697
5 stacktrace_unittest 0x00000001055362e7 _ZN12_GLOBAL__N_115CheckStackTraceEi + 55 0x1055362e7
6 stacktrace_unittest 0x00000001055366bb main + 11 0x1055366bb
7 stacktrace_unittest 0x0000000105536004 start + 52 0x105536004
8 ??? 0x0000000000000001 0x0 + 1 0x1
CheckStackTrace() addr: 0x1055362b0
Backtrace 0: expected: 0x1055360d3..0x10553629c actual: 0x1055360e3 ... OK
Backtrace 1: expected: 0x1055363eb..0x105536409 actual: 0x105536405 ... OK
Backtrace 2: expected: 0x1055364cb..0x1055364de actual: 0x1055364d7 ... OK
Backtrace 3: expected: 0x1055365ab..0x1055365be actual: 0x1055365b7 ... OK
Backtrace 4: expected: 0x10553668b..0x10553669e actual: 0x105536697 ... OK
Backtrace 5: expected: 0x1055362da..0x1055362ee actual: 0x1055362e7 ... OK
PASS
PASS: stacktrace_unittest
src/system-alloc.cc:427] SbrkSysAllocator failed
src/system-alloc.cc:427] MmapSysAllocator failed
tcmalloc: large alloc 18446744073709453312 bytes == 0x0 @
src/system-alloc.cc:427] SbrkSysAllocator failed
src/system-alloc.cc:427] MmapSysAllocator failed
tcmalloc: large alloc 18446744073709453312 bytes == 0x0 @
src/system-alloc.cc:427] SbrkSysAllocator failed
src/system-alloc.cc:427] MmapSysAllocator failed
tcmalloc: large alloc 18446744073709453312 bytes == 0x0 @
src/system-alloc.cc:427] SbrkSysAllocator failed
src/system-alloc.cc:427] MmapSysAllocator failed
tcmalloc: large alloc 18446744073709453312 bytes == 0x0 @
src/system-alloc.cc:427] SbrkSysAllocator failed
src/system-alloc.cc:427] MmapSysAllocator failed
tcmalloc: large alloc 18446744073709453312 bytes == 0x0 @
src/system-alloc.cc:427] SbrkSysAllocator failed
src/system-alloc.cc:427] MmapSysAllocator failed
tcmalloc: large alloc 18446744073709453312 bytes == 0x0 @
src/system-alloc.cc:427] SbrkSysAllocator failed
src/system-alloc.cc:427] MmapSysAllocator failed
tcmalloc: large alloc 18446744073709453312 bytes == 0x0 @
src/system-alloc.cc:427] SbrkSysAllocator failed
src/system-alloc.cc:427] MmapSysAllocator failed
tcmalloc: large alloc 18446744073709453312 bytes == 0x0 @
tcmalloc: large alloc 18446744073709543424 bytes == 0x0 @
tcmalloc: large alloc 18446744073709543424 bytes == 0x0 @
tcmalloc: large alloc 18446744073709543424 bytes == 0x0 @
tcmalloc: large alloc 18446744073709543424 bytes == 0x0 @
tcmalloc: large alloc 18446744073709543424 bytes == 0x0 @
tcmalloc: large alloc 18446744073709543424 bytes == 0x0 @
tcmalloc: large alloc 18446744073709543424 bytes == 0x0 @
tcmalloc: large alloc 18446744073709543424 bytes == 0x0 @
tcmalloc: large alloc 18446744073709543424 bytes == 0x0 @
tcmalloc: large alloc 18446744073709543424 bytes == 0x0 @
tcmalloc: large alloc 18446744073709543424 bytes == 0x0 @
tcmalloc: large alloc 18446744073709543424 bytes == 0x0 @
tcmalloc: large alloc 18446744073709543424 bytes == 0x0 @
tcmalloc: large alloc 18446744073709543424 bytes == 0x0 @
tcmalloc: large alloc 18446744073709543424 bytes == 0x0 @
tcmalloc: large alloc 18446744073709543424 bytes == 0x0 @
tcmalloc: large alloc 18446744073709543424 bytes == 0x0 @
** reapeats forever **
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment