Skip to content

Instantly share code, notes, and snippets.

@volviq
Created May 22, 2017 09:54
Show Gist options
  • Save volviq/7f097bcbb349f17cc188ed0d407908e3 to your computer and use it in GitHub Desktop.
Save volviq/7f097bcbb349f17cc188ed0d407908e3 to your computer and use it in GitHub Desktop.
gperftools test suite heap-checker_unittest.sh failure
=========================================
gperftools 2.5.91: ./test-suite.log
=========================================
# TOTAL: 48
# PASS: 44
# SKIP: 0
# XFAIL: 0
# FAIL: 4
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: heap-checker_unittest.sh
==============================
Testing ./heap-checker_unittest with HEAPCHECK= ... ./heap-checker_unittest.sh: line 59: 18700 Aborted $HEAP_CHECKER > $TMPDIR/output 2>&1
FAILED
Output from the failed run:
----
HeapLeakChecker got turned off; we won't test much...
Adding pthread-specifics for thread 47898127173504 pid 18700----
FAIL heap-checker_unittest.sh (exit status: 4)
FAIL: heap-checker-death_unittest.sh
====================================
Testing ./heap-checker_unittest with HEAPCHECK= ... FAIL
Wrong exit code: expected: '0'; actual: 134
Output did not match '^PASS$'
Output from failed run:
---
Turning perftools heap leak checking off
HeapLeakChecker got turned off; we won't test much...
Adding pthread-specifics for thread 46989639190400 pid 18726---
FAIL heap-checker-death_unittest.sh (exit status: 1)
FAIL: heap-checker_debug_unittest.sh
====================================
Testing ./heap-checker_unittest with HEAPCHECK= ... ./heap-checker_debug_unittest.sh: line 59: 19412 Aborted $HEAP_CHECKER > $TMPDIR/output 2>&1
FAILED
Output from the failed run:
----
HeapLeakChecker got turned off; we won't test much...
Adding pthread-specifics for thread 47587955689344 pid 19412----
FAIL heap-checker_debug_unittest.sh (exit status: 4)
FAIL: profiler_unittest.sh
==========================
>>> WARNING <<<
This test looks at timing information to determine correctness.
If your system is loaded, the test may spuriously fail.
If the test does fail with an 'Actual times' error, try running again.
./profiler_unittest.sh: line 203: 19551 Segmentation fault "$PROFILER1" 50 1 "$TMPDIR/p1"
./profiler_unittest.sh: line 204: 19566 Segmentation fault "$PROFILER1" 100 1 "$TMPDIR/p2"
Using local file /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler1_unittest.
Using local file /tmp/profile_info/p1.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
/tmp/profile_info/p1: header size >= 2**16
Using local file /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler1_unittest.
Using local file /tmp/profile_info/p2.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
/tmp/profile_info/p2: header size >= 2**16
>>> profile on /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler1_unittest vs /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler1_unittest with multiplier 2 failed:
Actual times (in profiling units) were '' vs. ''
./profiler_unittest.sh: line 208: 19596 Segmentation fault "$PROFILER2" 50 1 "$TMPDIR/p3"
./profiler_unittest.sh: line 209: 19611 Segmentation fault "$PROFILER2" 100 1 "$TMPDIR/p4"
Using local file /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler2_unittest.
Using local file /tmp/profile_info/p3.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
/tmp/profile_info/p3: header size >= 2**16
Using local file /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler2_unittest.
Using local file /tmp/profile_info/p4.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
/tmp/profile_info/p4: header size >= 2**16
>>> profile on /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler2_unittest vs /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler2_unittest with multiplier 2 failed:
Actual times (in profiling units) were '' vs. ''
./profiler_unittest.sh: line 213: 19641 Segmentation fault CPUPROFILE="$TMPDIR/p5" "$PROFILER2" 50
./profiler_unittest.sh: line 214: 19656 Segmentation fault CPUPROFILE="$TMPDIR/p6" "$PROFILER2" 100
Using local file /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler2_unittest.
Using local file /tmp/profile_info/p5.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
/tmp/profile_info/p5: header size >= 2**16
Using local file /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler2_unittest.
Using local file /tmp/profile_info/p6.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
/tmp/profile_info/p6: header size >= 2**16
>>> profile on /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler2_unittest vs /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler2_unittest with multiplier 2 failed:
Actual times (in profiling units) were '' vs. ''
./profiler_unittest.sh: line 217: 19686 Segmentation fault CPUPROFILE="$TMPDIR/p5b" "$PROFILER3" 30
./profiler_unittest.sh: line 218: 19701 Segmentation fault CPUPROFILE="$TMPDIR/p5c" "$PROFILER3" 60
Using local file /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler3_unittest.
Using local file /tmp/profile_info/p5b.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
/tmp/profile_info/p5b: header size >= 2**16
Using local file /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler3_unittest.
Using local file /tmp/profile_info/p5c.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
/tmp/profile_info/p5c: header size >= 2**16
>>> profile on /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler3_unittest vs /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler3_unittest with multiplier 2 failed:
Actual times (in profiling units) were '' vs. ''
./profiler_unittest.sh: line 222: 19731 Segmentation fault "$PROFILER3" 30 2 "$TMPDIR/p7"
./profiler_unittest.sh: line 223: 19746 Segmentation fault "$PROFILER3" 60 2 "$TMPDIR/p8"
Using local file /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler3_unittest.
Using local file /tmp/profile_info/p7.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
/tmp/profile_info/p7: header size >= 2**16
Using local file /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler3_unittest.
Using local file /tmp/profile_info/p8.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
/tmp/profile_info/p8: header size >= 2**16
>>> profile on /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler3_unittest vs /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler3_unittest with multiplier 2 failed:
Actual times (in profiling units) were '' vs. ''
./profiler_unittest.sh: line 226: 19776 Segmentation fault "$PROFILER4" 30 2 "$TMPDIR/p9"
./profiler_unittest.sh: line 227: 19791 Segmentation fault "$PROFILER4" 60 2 "$TMPDIR/p10"
Using local file /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler4_unittest.
Using local file /tmp/profile_info/p9.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
/tmp/profile_info/p9: header size >= 2**16
Using local file /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler4_unittest.
Using local file /tmp/profile_info/p10.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
/tmp/profile_info/p10: header size >= 2**16
>>> profile on /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler4_unittest vs /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler4_unittest with multiplier 2 failed:
Actual times (in profiling units) were '' vs. ''
./profiler_unittest.sh: line 231: 19821 Segmentation fault "$PROFILER4" 25 3 "$TMPDIR/p9"
./profiler_unittest.sh: line 232: 19836 Segmentation fault "$PROFILER4" 50 3 "$TMPDIR/p10"
Using local file /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler4_unittest.
Using local file /tmp/profile_info/p9.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
/tmp/profile_info/p9: header size >= 2**16
Using local file /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler4_unittest.
Using local file /tmp/profile_info/p10.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
/tmp/profile_info/p10: header size >= 2**16
>>> profile on /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler4_unittest vs /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler4_unittest with multiplier 2 failed:
Actual times (in profiling units) were '' vs. ''
./profiler_unittest.sh: line 237: 19866 Segmentation fault "$PROFILER4" 20 4 "$TMPDIR/p11"
Using local file /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler4_unittest.
Using local file /tmp/profile_info/p11.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
/tmp/profile_info/p11: header size >= 2**16
Using local file /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler4_unittest.
Using local file /tmp/profile_info/p11.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
/tmp/profile_info/p11: header size >= 2**16
>>> profile on /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler4_unittest (main vs thread) with multiplier 2 failed:
Actual times (in profiling units) were '' vs. ''
./profiler_unittest.sh: line 241: 19894 Segmentation fault "$PROFILER1" 50 1 "$TMPDIR/p12"
Using local file /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler1_unittest.
Using local file /tmp/profile_info/p12.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
/tmp/profile_info/p12: header size >= 2**16
Using local file /tmp/profile_info/p13.
Did not specify profile file
Usage:
./src/pprof [options] <program> <profiles>
<profiles> is a space separated list of profile names.
./src/pprof [options] <symbolized-profiles>
<symbolized-profiles> is a list of profile files where each file contains
the necessary symbol mappings as well as profile data (likely generated
with --raw).
./src/pprof [options] <profile>
<profile> is a remote form. Symbols are obtained from host:port/pprof/symbol
Each name can be:
/path/to/profile - a path to a profile file
host:port[/<service>] - a location of a service to get profile from
The /<service> can be /pprof/heap, /pprof/profile, /pprof/pmuprofile,
/pprof/growth, /pprof/contention, /pprof/wall,
/pprof/censusprofile(?:\?.*)?, or /pprof/filteredprofile.
For instance:
./src/pprof http://myserver.com:80/pprof/heap
If /<service> is omitted, the service defaults to /pprof/profile (cpu profiling).
./src/pprof --symbols <program>
Maps addresses to symbol names. In this mode, stdin should be a
list of library mappings, in the same format as is found in the heap-
and cpu-profile files (this loosely matches that of /proc/self/maps
on linux), followed by a list of hex addresses to map, one per line.
For more help with querying remote servers, including how to add the
necessary server-side support code, see this filename (or one like it):
/usr/doc/gperftools-2.0/pprof_remote_servers.html
Options:
--cum Sort by cumulative data
--base=<base> Subtract <base> from <profile> before display
--interactive Run in interactive mode (interactive "help" gives help) [default]
--seconds=<n> Length of time for dynamic profiles [default=30 secs]
--add_lib=<file> Read additional symbols and line info from the given library
--lib_prefix=<dir> Comma separated list of library path prefixes
--no_strip_temp Do not strip template arguments from function names
Reporting Granularity:
--addresses Report at address level
--lines Report at source line level
--functions Report at function level [default]
--files Report at source file level
Output type:
--text Generate text report
--stacks Generate stack traces similar to the heap profiler (requires --text)
--callgrind Generate callgrind format to stdout
--gv Generate Postscript and display
--evince Generate PDF and display
--web Generate SVG and display
--list=<regexp> Generate source listing of matching routines
--disasm=<regexp> Generate disassembly of matching routines
--symbols Print demangled symbol names found at given addresses
--dot Generate DOT file to stdout
--ps Generate Postscript to stdout
--pdf Generate PDF to stdout
--svg Generate SVG to stdout
--gif Generate GIF to stdout
--raw Generate symbolized pprof data (useful with remote fetch)
--collapsed Generate collapsed stacks for building flame graphs
(see http://www.brendangregg.com/flamegraphs.html)
Heap-Profile Options:
--inuse_space Display in-use (mega)bytes [default]
--inuse_objects Display in-use objects
--alloc_space Display allocated (mega)bytes
--alloc_objects Display allocated objects
--show_bytes Display space in bytes
--drop_negative Ignore negative differences
Contention-profile options:
--total_delay Display total delay at each region [default]
--contentions Display number of delays at each region
--mean_delay Display mean delay at each region
Call-graph Options:
--nodecount=<n> Show at most so many nodes [default=80]
--nodefraction=<f> Hide nodes below <f>*total [default=.005]
--edgefraction=<f> Hide edges below <f>*total [default=.001]
--maxdegree=<n> Max incoming/outgoing edges per node [default=8]
--focus=<regexp> Focus on nodes matching <regexp>
--ignore=<regexp> Ignore nodes matching <regexp>
--scale=<n> Set GV scaling [default=0]
--heapcheck Make nodes with non-0 object counts
(i.e. direct leak generators) more visible
Miscellaneous:
--no-auto-signal-frm Automatically drop 2nd frame that is always same (cpu-only)
(assuming that it is artifact of bad stack captures
which include signal handler frames)
--show_addresses Always show addresses when applicable
--tools=<prefix or binary:fullpath>[,...] $PATH for object tool pathnames
--test Run unit tests
--help This message
--version Version information
Environment Variables:
PPROF_TMPDIR Profiles directory. Defaults to $HOME/pprof
PPROF_TOOLS Prefix for object tools pathnames
Examples:
./src/pprof /bin/ls ls.prof
Enters "interactive" mode
./src/pprof --text /bin/ls ls.prof
Outputs one line per procedure
./src/pprof --web /bin/ls ls.prof
Displays annotated call-graph in web browser
./src/pprof --gv /bin/ls ls.prof
Displays annotated call-graph via 'gv'
./src/pprof --gv --focus=Mutex /bin/ls ls.prof
Restricts to code paths including a .*Mutex.* entry
./src/pprof --gv --focus=Mutex --ignore=string /bin/ls ls.prof
Code paths including Mutex but not string
./src/pprof --list=getdir /bin/ls ls.prof
(Per-line) annotated source listing for getdir()
./src/pprof --disasm=getdir /bin/ls ls.prof
(Per-PC) annotated disassembly for getdir()
./src/pprof http://localhost:1234/
Enters "interactive" mode
./src/pprof --text localhost:1234
Outputs one line per procedure for localhost:1234
./src/pprof --raw localhost:1234 > ./local.raw
./src/pprof --text ./local.raw
Fetches a remote profile for later analysis and then
analyzes it in text mode.
./profiler_unittest.sh: line 246: 19918 Segmentation fault "$PROFILER3" 30 2 "$TMPDIR/p14"
Using local file /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler3_unittest.
Using local file /tmp/profile_info/p14.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
/tmp/profile_info/p14: header size >= 2**16
Using local file /tmp/profile_info/p15.
Did not specify profile file
Usage:
./src/pprof [options] <program> <profiles>
<profiles> is a space separated list of profile names.
./src/pprof [options] <symbolized-profiles>
<symbolized-profiles> is a list of profile files where each file contains
the necessary symbol mappings as well as profile data (likely generated
with --raw).
./src/pprof [options] <profile>
<profile> is a remote form. Symbols are obtained from host:port/pprof/symbol
Each name can be:
/path/to/profile - a path to a profile file
host:port[/<service>] - a location of a service to get profile from
The /<service> can be /pprof/heap, /pprof/profile, /pprof/pmuprofile,
/pprof/growth, /pprof/contention, /pprof/wall,
/pprof/censusprofile(?:\?.*)?, or /pprof/filteredprofile.
For instance:
./src/pprof http://myserver.com:80/pprof/heap
If /<service> is omitted, the service defaults to /pprof/profile (cpu profiling).
./src/pprof --symbols <program>
Maps addresses to symbol names. In this mode, stdin should be a
list of library mappings, in the same format as is found in the heap-
and cpu-profile files (this loosely matches that of /proc/self/maps
on linux), followed by a list of hex addresses to map, one per line.
For more help with querying remote servers, including how to add the
necessary server-side support code, see this filename (or one like it):
/usr/doc/gperftools-2.0/pprof_remote_servers.html
Options:
--cum Sort by cumulative data
--base=<base> Subtract <base> from <profile> before display
--interactive Run in interactive mode (interactive "help" gives help) [default]
--seconds=<n> Length of time for dynamic profiles [default=30 secs]
--add_lib=<file> Read additional symbols and line info from the given library
--lib_prefix=<dir> Comma separated list of library path prefixes
--no_strip_temp Do not strip template arguments from function names
Reporting Granularity:
--addresses Report at address level
--lines Report at source line level
--functions Report at function level [default]
--files Report at source file level
Output type:
--text Generate text report
--stacks Generate stack traces similar to the heap profiler (requires --text)
--callgrind Generate callgrind format to stdout
--gv Generate Postscript and display
--evince Generate PDF and display
--web Generate SVG and display
--list=<regexp> Generate source listing of matching routines
--disasm=<regexp> Generate disassembly of matching routines
--symbols Print demangled symbol names found at given addresses
--dot Generate DOT file to stdout
--ps Generate Postscript to stdout
--pdf Generate PDF to stdout
--svg Generate SVG to stdout
--gif Generate GIF to stdout
--raw Generate symbolized pprof data (useful with remote fetch)
--collapsed Generate collapsed stacks for building flame graphs
(see http://www.brendangregg.com/flamegraphs.html)
Heap-Profile Options:
--inuse_space Display in-use (mega)bytes [default]
--inuse_objects Display in-use objects
--alloc_space Display allocated (mega)bytes
--alloc_objects Display allocated objects
--show_bytes Display space in bytes
--drop_negative Ignore negative differences
Contention-profile options:
--total_delay Display total delay at each region [default]
--contentions Display number of delays at each region
--mean_delay Display mean delay at each region
Call-graph Options:
--nodecount=<n> Show at most so many nodes [default=80]
--nodefraction=<f> Hide nodes below <f>*total [default=.005]
--edgefraction=<f> Hide edges below <f>*total [default=.001]
--maxdegree=<n> Max incoming/outgoing edges per node [default=8]
--focus=<regexp> Focus on nodes matching <regexp>
--ignore=<regexp> Ignore nodes matching <regexp>
--scale=<n> Set GV scaling [default=0]
--heapcheck Make nodes with non-0 object counts
(i.e. direct leak generators) more visible
Miscellaneous:
--no-auto-signal-frm Automatically drop 2nd frame that is always same (cpu-only)
(assuming that it is artifact of bad stack captures
which include signal handler frames)
--show_addresses Always show addresses when applicable
--tools=<prefix or binary:fullpath>[,...] $PATH for object tool pathnames
--test Run unit tests
--help This message
--version Version information
Environment Variables:
PPROF_TMPDIR Profiles directory. Defaults to $HOME/pprof
PPROF_TOOLS Prefix for object tools pathnames
Examples:
./src/pprof /bin/ls ls.prof
Enters "interactive" mode
./src/pprof --text /bin/ls ls.prof
Outputs one line per procedure
./src/pprof --web /bin/ls ls.prof
Displays annotated call-graph in web browser
./src/pprof --gv /bin/ls ls.prof
Displays annotated call-graph via 'gv'
./src/pprof --gv --focus=Mutex /bin/ls ls.prof
Restricts to code paths including a .*Mutex.* entry
./src/pprof --gv --focus=Mutex --ignore=string /bin/ls ls.prof
Code paths including Mutex but not string
./src/pprof --list=getdir /bin/ls ls.prof
(Per-line) annotated source listing for getdir()
./src/pprof --disasm=getdir /bin/ls ls.prof
(Per-PC) annotated disassembly for getdir()
./src/pprof http://localhost:1234/
Enters "interactive" mode
./src/pprof --text localhost:1234
Outputs one line per procedure for localhost:1234
./src/pprof --raw localhost:1234 > ./local.raw
./src/pprof --text ./local.raw
Fetches a remote profile for later analysis and then
analyzes it in text mode.
./profiler_unittest.sh: line 252: 19942 Segmentation fault env CPUPROFILE_REALTIME=1 "$PROFILER3" 30 2 "$TMPDIR/p16"
./profiler_unittest.sh: line 253: 19957 Segmentation fault env CPUPROFILE_REALTIME=1 "$PROFILER3" 60 2 "$TMPDIR/p17"
Using local file /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler3_unittest.
Using local file /tmp/profile_info/p16.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
/tmp/profile_info/p16: header size >= 2**16
Using local file /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler3_unittest.
Using local file /tmp/profile_info/p17.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
substr outside of string at ./src/pprof line 3695.
Use of uninitialized value in string eq at ./src/pprof line 3695.
/tmp/profile_info/p17: header size >= 2**16
>>> profile on /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler3_unittest vs /home/testuser/testuser_test/gperftools-2.5.91/.libs/profiler3_unittest with multiplier 2 failed:
Actual times (in profiling units) were '' vs. ''
./profiler_unittest.sh: line 259: 19987 Segmentation fault CPUPROFILE="$TMPDIR/pfork" "$PROFILER1" 1 -2
FORK test FAILED: expected 3 profiles (for main + 2 children), found 1
Tests finished with 32 failures
FAIL profiler_unittest.sh (exit status: 32)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment