DavidMorre / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

make check fail while installing google-perftools-1.4 #208

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1../configure
2.make
3.make check

What is the expected output? What do you see instead?

ATAL ERROR: Did not specify profile file
./profiler_unittest.sh: line 246: 13780 Segmentation fault     
CPUPROFILE="$TMPDIR/p6" "$PROFILER1" 1 -2
ls: /tmp/profile_info/p6*: No such file or directory
FORK test FAILED: expected 3 profiles (for main + 2 children), found 0
Tests finished with 29 failures
FAIL: profiler_unittest.sh
/bin/sh: line 4: 13806 Segmentation fault      PPROF_PATH=./src/pprof
BINDIR=. TMPDIR=/tmp/perftools ${dir}$tst
FAIL: tcmalloc_and_profiler_unittest
======================================
19 of 41 tests failed
Please report to opensource@google.com
======================================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/usr/home/xxxxxx/google-perftools-1.4'
make: *** [check-am] Error 2

What version of the product are you using? On what operating system?

CentOS release 5.2 (Final) 
Linux localhost.localdomain 2.6.18-92.1.6.el5PAE #1 SMP Wed Jun 25 14:21:46
EDT 2008 i686 i686 i386 GNU/Linux

Please provide any additional information below.

Original issue reported on code.google.com by stv...@gmail.com on 19 Jan 2010 at 10:28

GoogleCodeExporter commented 9 years ago
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
--host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)

Original comment by stv...@gmail.com on 19 Jan 2010 at 10:30

GoogleCodeExporter commented 9 years ago
Can you provide the full 'make check' output?  (Maybe as an attachment.)  I'd 
like to 
see what other tests have failed.

Original comment by csilv...@gmail.com on 19 Jan 2010 at 7:14

GoogleCodeExporter commented 9 years ago
hi, csilvers,

I'v attached the make check log in attachment.

Original comment by stv...@gmail.com on 20 Jan 2010 at 2:07

Attachments:

GoogleCodeExporter commented 9 years ago
Hmm, very curious.  stacktrace_unittest fails, but tcmalloc_minimal_unittest, 
which
does so much more, succeeds.

OK, try this: do
   ./configure CXXFLAGS=-g    # turn off optimization
   make clean
   make
   ./stacktrace_unittest
   ./tcmalloc_minimal_unittest

See if the first still segfaults and the second still succeeds.  If so, try 
running
the first under gdb to get a backtrace of where it's segfaulting.  If you can 
poke
around and figure anything out, that would be great too!

Original comment by csilv...@gmail.com on 20 Jan 2010 at 3:08

GoogleCodeExporter commented 9 years ago
Any more word on this?

Original comment by csilv...@gmail.com on 10 Mar 2010 at 6:55

GoogleCodeExporter commented 9 years ago
It's been about half a year with no more word, so I'm going to close this 
CannotReproduce.  If you get any more info about the failures, feel free to 
reopen.

Original comment by csilv...@gmail.com on 7 Jun 2010 at 11:03