Actions
Bug #16772
closedseg fault in unittest_async_compressor during "make check" run
Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rados
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Josh confirmed it on master and this one was on wip-yuri-testing2_2016_7_21 PRs branch
yuriw@smithi036:~/ceph/build/bin$ ./bin/unittest_async_compressor -bash: ./bin/unittest_async_compressor: No such file or directory yuriw@smithi036:~/ceph/build/bin$ ./unittest_async_compressor 2016-07-21 22:12:47.858737 7fa0b3bb8d00 -1 did not load config file, using default settings. [==========] Running 4 tests from 1 test case. [----------] Global test environment set-up. [----------] 4 tests from AsyncCompressorTest [ RUN ] AsyncCompressorTest.SimpleTest SetUp start set up 2016-07-21 22:12:47.862288 7fa0b3bb8d00 -1 load failed dlopen(.libs/compressor/libceph_snappy.so) or dlopen(.libs/libceph_snappy.so): .libs/libceph_snappy.so: cannot open shared object file: No such file or directory 2016-07-21 22:12:47.862324 7fa0b3bb8d00 -1 create cannot load compressor of type snappy *** Caught signal (Segmentation fault) ** in thread 7fa0b3bb8d00 thread_name:unittest_async_ ceph version v11.0.0-828-gd061f73 (d061f731925736d78af233b24d29d29be4cee931) 1: ./unittest_async_compressor() [0x515a42] 2: (()+0x10340) [0x7fa0b37a4340] 3: (AsyncCompressor::get_compress_data(unsigned long, ceph::buffer::list&, bool, bool*)+0x10b) [0x57401b] 4: (AsyncCompressorTest_SimpleTest_Test::TestBody()+0x18b) [0x4e76cb] 5: (void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x33) [0x50e673] 6: (testing::Test::Run()+0xb7) [0x501727] 7: (testing::TestInfo::Run()+0x9e) [0x5017ce] 8: (testing::TestCase::Run()+0xa5) [0x5018d5] 9: (testing::internal::UnitTestImpl::RunAllTests()+0x248) [0x501b88] 10: (testing::UnitTest::Run()+0x54) [0x501e44] 11: (main()+0xc8) [0x4e4138] 12: (__libc_start_main()+0xf5) [0x7fa0b1c1aec5] 13: ./unittest_async_compressor() [0x4e5e43] 2016-07-21 22:12:47.877340 7fa0b3bb8d00 -1 *** Caught signal (Segmentation fault) ** in thread 7fa0b3bb8d00 thread_name:unittest_async_ ceph version v11.0.0-828-gd061f73 (d061f731925736d78af233b24d29d29be4cee931) 1: ./unittest_async_compressor() [0x515a42] 2: (()+0x10340) [0x7fa0b37a4340] 3: (AsyncCompressor::get_compress_data(unsigned long, ceph::buffer::list&, bool, bool*)+0x10b) [0x57401b] 4: (AsyncCompressorTest_SimpleTest_Test::TestBody()+0x18b) [0x4e76cb] 5: (void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x33) [0x50e673] 6: (testing::Test::Run()+0xb7) [0x501727] 7: (testing::TestInfo::Run()+0x9e) [0x5017ce] 8: (testing::TestCase::Run()+0xa5) [0x5018d5] 9: (testing::internal::UnitTestImpl::RunAllTests()+0x248) [0x501b88] 10: (testing::UnitTest::Run()+0x54) [0x501e44] 11: (main()+0xc8) [0x4e4138] 12: (__libc_start_main()+0xf5) [0x7fa0b1c1aec5] 13: ./unittest_async_compressor() [0x4e5e43] NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this. --- begin dump of recent events --- -19> 2016-07-21 22:12:47.858456 7fa0b3bb8d00 5 asok(0x8c0fce0) register_command perfcounters_dump hook 0x8c14c00 -18> 2016-07-21 22:12:47.858500 7fa0b3bb8d00 5 asok(0x8c0fce0) register_command 1 hook 0x8c14c00 -17> 2016-07-21 22:12:47.858511 7fa0b3bb8d00 5 asok(0x8c0fce0) register_command perf dump hook 0x8c14c00 -16> 2016-07-21 22:12:47.858521 7fa0b3bb8d00 5 asok(0x8c0fce0) register_command perfcounters_schema hook 0x8c14c00 -15> 2016-07-21 22:12:47.858532 7fa0b3bb8d00 5 asok(0x8c0fce0) register_command 2 hook 0x8c14c00 -14> 2016-07-21 22:12:47.858541 7fa0b3bb8d00 5 asok(0x8c0fce0) register_command perf schema hook 0x8c14c00 -13> 2016-07-21 22:12:47.858548 7fa0b3bb8d00 5 asok(0x8c0fce0) register_command perf reset hook 0x8c14c00 -12> 2016-07-21 22:12:47.858555 7fa0b3bb8d00 5 asok(0x8c0fce0) register_command config show hook 0x8c14c00 -11> 2016-07-21 22:12:47.858563 7fa0b3bb8d00 5 asok(0x8c0fce0) register_command config set hook 0x8c14c00 -10> 2016-07-21 22:12:47.858570 7fa0b3bb8d00 5 asok(0x8c0fce0) register_command config get hook 0x8c14c00 -9> 2016-07-21 22:12:47.858575 7fa0b3bb8d00 5 asok(0x8c0fce0) register_command config diff hook 0x8c14c00 -8> 2016-07-21 22:12:47.858584 7fa0b3bb8d00 5 asok(0x8c0fce0) register_command log flush hook 0x8c14c00 -7> 2016-07-21 22:12:47.858591 7fa0b3bb8d00 5 asok(0x8c0fce0) register_command log dump hook 0x8c14c00 -6> 2016-07-21 22:12:47.858597 7fa0b3bb8d00 5 asok(0x8c0fce0) register_command log reopen hook 0x8c14c00 -5> 2016-07-21 22:12:47.858737 7fa0b3bb8d00 -1 did not load config file, using default settings. -4> 2016-07-21 22:12:47.862246 7fa0b3bb8d00 1 get compressor snappy = 0 -3> 2016-07-21 22:12:47.862254 7fa0b3bb8d00 1 load compressor snappy -2> 2016-07-21 22:12:47.862288 7fa0b3bb8d00 -1 load failed dlopen(.libs/compressor/libceph_snappy.so) or dlopen(.libs/libceph_snappy.so): .libs/libceph_snappy.so: cannot open shared object file: No such file or directory -1> 2016-07-21 22:12:47.862324 7fa0b3bb8d00 -1 create cannot load compressor of type snappy 0> 2016-07-21 22:12:47.877340 7fa0b3bb8d00 -1 *** Caught signal (Segmentation fault) ** in thread 7fa0b3bb8d00 thread_name:unittest_async_ ceph version v11.0.0-828-gd061f73 (d061f731925736d78af233b24d29d29be4cee931) 1: ./unittest_async_compressor() [0x515a42] 2: (()+0x10340) [0x7fa0b37a4340] 3: (AsyncCompressor::get_compress_data(unsigned long, ceph::buffer::list&, bool, bool*)+0x10b) [0x57401b] 4: (AsyncCompressorTest_SimpleTest_Test::TestBody()+0x18b) [0x4e76cb] 5: (void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x33) [0x50e673] 6: (testing::Test::Run()+0xb7) [0x501727] 7: (testing::TestInfo::Run()+0x9e) [0x5017ce] 8: (testing::TestCase::Run()+0xa5) [0x5018d5] 9: (testing::internal::UnitTestImpl::RunAllTests()+0x248) [0x501b88] 10: (testing::UnitTest::Run()+0x54) [0x501e44] 11: (main()+0xc8) [0x4e4138] 12: (__libc_start_main()+0xf5) [0x7fa0b1c1aec5] 13: ./unittest_async_compressor() [0x4e5e43] NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this. --- logging levels --- 0/ 5 none 0/ 1 lockdep 0/ 1 context 1/ 1 crush 1/ 5 mds 1/ 5 mds_balancer 1/ 5 mds_locker 1/ 5 mds_log 1/ 5 mds_log_expire 1/ 5 mds_migrator 0/ 1 buffer 0/ 1 timer 0/ 1 filer 0/ 1 striper 0/ 1 objecter 0/ 5 rados 0/ 5 rbd 0/ 5 rbd_mirror 0/ 5 rbd_replay 0/ 5 journaler 0/ 5 objectcacher 0/ 5 client 0/ 5 osd 0/ 5 optracker 0/ 5 objclass 1/ 3 filestore 1/ 3 journal 0/ 5 ms 1/ 5 mon 0/10 monc 1/ 5 paxos 0/ 5 tp 1/ 5 auth 1/ 5 crypto 1/ 1 finisher 1/ 5 heartbeatmap 1/ 5 perfcounter 1/ 5 rgw 1/10 civetweb 1/ 5 javaclient 1/ 5 asok 1/ 1 throttle 0/ 0 refs 1/ 5 xio 1/ 5 compressor 1/ 5 newstore 1/ 5 bluestore 1/ 5 bluefs 1/ 3 bdev 1/ 5 kstore 4/ 5 rocksdb 4/ 5 leveldb 4/ 5 memdb 1/ 5 kinetic 1/ 5 fuse -2/-2 (syslog threshold) 99/99 (stderr threshold) max_recent 500 max_new 1000 log_file --- end dump of recent events --- Segmentation fault (core dumped)
Updated by Kefu Chai almost 8 years ago
yuri, are you using autotools or cmake?
in the case of cmake, shall we instead run "ctest -R unittest_async_compressor"? because "unittest_async_compressor" use ".lib" as the fallback if "$CEPH_LIB" is not set. and apparently, ".lib" does not exist in cmake build.
in the case of automake, we have "AM_TESTS_ENVIRONMENT += export CEPH_LIB="$(abs_srcdir)/.libs" in "src/Makefile.am", so it should have been take care of.
Updated by Kefu Chai almost 8 years ago
and i'd suggest remove async compressor and its test. as we are not using async compressor at all.
Updated by Josh Durgin almost 7 years ago
- Status changed from New to Can't reproduce
Actions