chrsmithdemos / leveldb

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

make check fails on os x 10.8 #131

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
for t in arena_test bloom_test c_test cache_test coding_test corruption_test 
crc32c_test db_test dbformat_test env_test filename_test filter_block_test 
log_test memenv_test skiplist_test table_test version_edit_test 
version_set_test write_batch_test; do echo "***** Running $t"; ./$t || exit 1; 
done
***** Running arena_test
/bin/sh: line 1:  2447 Segmentation fault: 11  ./$t
make: *** [check] Error 1

Xcode: 4.5.2
CLT: 4.5.0.0.1.1249367152
LLVM-GCC: build 2336
Clang: 4.1 build 421

Original issue reported on code.google.com by humdumde...@gmail.com on 15 Nov 2012 at 3:42

GoogleCodeExporter commented 9 years ago
I get the same issue on OSX 10.7 using gcc 4.7.1.

I ran the make check because my program would segfault during linking in OSX, 
and found that the same issue comes up in the make check.  It looks like a 
problem with tcmalloc.  Removing -ltcmalloc solves it, but it would be nice to 
figure out why.

Original comment by Positive...@gmail.com on 13 Feb 2013 at 1:55

GoogleCodeExporter commented 9 years ago
I have reported this issue before
https://code.google.com/p/leveldb/issues/detail?id=119.

After what you said it looks like this is related to an issue with gperftools
https://code.google.com/p/gperftools/issues/detail?id=389.

Original comment by s.suerb...@googlemail.com on 12 Jun 2013 at 7:21