Han Zhenhua created MESOS-7928:
----------------------------------
Summary: Segmentation fault when executing LogZooKeeperTest
Key: MESOS-7928
URL: https://issues.apache.org/jira/browse/MESOS-7928
Project: Mesos
Issue Type: Bug
Components: build
Affects Versions: 1.3.0
Environment: Ubuntu 16.04 with kernel 4.4.0-81-generic
Reporter: Han Zhenhua
Test fails when I run "make check".
I followed the steps given in http://mesos.apache.org/gettingstarted/ (I
downloaded mesos-1.3.0.tar.gz).
The examples can be executed successfully.
Here is the test output and core dump information :
......
[----------] 3 tests from LogTest
[ RUN ] LogTest.WriteRead
[ OK ] LogTest.WriteRead (761 ms)
[ RUN ] LogTest.Position
[ OK ] LogTest.Position (736 ms)
[ RUN ] LogTest.Metrics
[ OK ] LogTest.Metrics (421 ms)
[----------] 3 tests from LogTest (1918 ms total)
[----------] 2 tests from LogZooKeeperTest
Makefile:13410: recipe for target 'check-local' failed
make[3]: *** [check-local] Segmentation fault (core dumped)
make[3]: Leaving directory '/home/mesos/mesos/build/src'
Makefile:12579: recipe for target 'check-am' failed
make[2]: *** [check-am] Error 2
make[2]: Leaving directory '/home/mesos/mesos/build/src'
Makefile:12583: recipe for target 'check' failed
make[1]: *** [check] Error 2
make[1]: Leaving directory '/home/mesos/mesos/build/src'
Makefile:753: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
Core dump information:
Reading symbols from /home/mesos/mesos/build/src/.libs/lt-mesos-tests...done.
[New LWP 26183]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/home/mesos/mesos/build/src/.libs/lt-mesos-tests'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f25e2029428 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007f25e2029428 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007f25e202b02a in __GI_abort () at abort.c:89
#2 0x0000561cc7343c5e in _Abort () at
../../3rdparty/stout/include/stout/abort.hpp:74
#3 0x0000561cc7343c8c in _Abort () at
../../3rdparty/stout/include/stout/abort.hpp:80
#4 0x00007f25e972c97b in process::internal::childMain () at
../../../3rdparty/libprocess/include/process/posix/subprocess.hpp:195
#5 0x00007f25e97325e3 in std::_Bind<int (*(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >, char**, char**,
process::Subprocess::IO::InputFileDescriptors,
process::Subprocess::IO::OutputFileDescriptors,
process::Subprocess::IO::OutputFileDescriptors, bool, int*,
std::vector<process::Subprocess::ChildHook,
std::allocator<process::Subprocess::ChildHook>
>))(std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, char**, char**,
process::Subprocess::IO::InputFileDescriptors const&,
process::Subprocess::IO::OutputFileDescriptors const&,
process::Subprocess::IO::OutputFileDescriptors const&, bool, int*,
std::vector<process::Subprocess::ChildHook,
std::allocator<process::Subprocess::ChildHook> > const&)>::__call<int, , 0ul,
1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul, 8ul>(std::tuple<>&&, std::_Index_tuple<0ul,
1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul, 8ul>) () at
/usr/include/c++/5/functional:1074
#6 0x00007f25e9731691 in std::_Bind<int (*(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >, char**, char**,
process::Subprocess::IO::InputFileDescriptors,
process::Subprocess::IO::OutputFileDescriptors,
process::Subprocess::IO::OutputFileDescriptors, bool, int*,
std::vector<process::Subprocess::ChildHook,
std::allocator<process::Subprocess::ChildHook>
>))(std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, char**, char**,
process::Subprocess::IO::InputFileDescriptors const&,
process::Subprocess::IO::OutputFileDescriptors const&,
process::Subprocess::IO::OutputFileDescriptors const&, bool, int*,
std::vector<process::Subprocess::ChildHook,
std::allocator<process::Subprocess::ChildHook> > const&)>::operator()<, int>()
() at /usr/include/c++/5/functional:1133
#7 0x00007f25e9730422 in std::_Function_handler<int (), std::_Bind<int
(*(std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, char**, char**,
process::Subprocess::IO::InputFileDescriptors,
process::Subprocess::IO::OutputFileDescriptors,
process::Subprocess::IO::OutputFileDescriptors, bool, int*,
std::vector<process::Subprocess::ChildHook,
std::allocator<process::Subprocess::ChildHook>
>))(std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, char**, char**,
process::Subprocess::IO::InputFileDescriptors const&,
process::Subprocess::IO::OutputFileDescriptors const&,
process::Subprocess::IO::OutputFileDescriptors const&, bool, int*,
std::vector<process::Subprocess::ChildHook,
std::allocator<process::Subprocess::ChildHook> > const&)>
>::_M_invoke(std::_Any_data const&) () at /usr/include/c++/5/functional:1857
#8 0x0000561cc734731a in std::function<int ()>::operator()() const () at
/usr/include/c++/5/functional:2267
#9 0x00007f25e7e787d5 in process::defaultClone(std::function<int ()> const&)
() at ../../3rdparty/libprocess/include/process/posix/subprocess.hpp:54
#10 0x00007f25e972f924 in std::_Function_handler<int (std::function<int ()>
const&), int (*)(std::function<int ()> const&)>::_M_invoke(std::_Any_data
const&, std::function<int ()> const&) ()
at /usr/include/c++/5/functional:1857
#11 0x00007f25e972ed21 in std::function<int (std::function<int ()>
const&)>::operator()(std::function<int ()> const&) const () at
/usr/include/c++/5/functional:2267
#12 0x00007f25e972d206 in
process::internal::cloneChild(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::vector<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >,
Option<std::map<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::less<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >,
std::allocator<std::pair<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const,
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >
> > > > const&, Option<std::function<int (std::function<int ()> const&)> >
const&, std::vector<process::Subprocess::ParentHook,
std::allocator<process::Subprocess::ParentHook> > const&,
std::vector<process::Subprocess::ChildHook,
std::allocator<process::Subprocess::ChildHook> > const&,
process::Subprocess::IO::InputFileDescriptors,
process::Subprocess::IO::OutputFileDescriptors,
process::Subprocess::IO::OutputFileDescriptors) () at
../../../3rdparty/libprocess/include/process/posix/subprocess.hpp:262
#13 0x00007f25e9729cbb in process::subprocess(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::vector<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >, process::Subprocess::IO
const&, process::Subprocess::IO const&, process::Subprocess::IO const&,
flags::FlagsBase const*, Option<std::map<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>
>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >,
std::allocator<std::pair<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const,
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >
> > > > const&, Option<std::function<int (st---Type <return> to continue, or q
<return> to quit---
d::function<int ()> const&)> > const&,
std::vector<process::Subprocess::ParentHook,
std::allocator<process::Subprocess::ParentHook> > const&,
std::vector<process::Subprocess::ChildHook,
std::allocator<process::Subprocess::ChildHook> > const&) () at
../../../3rdparty/libprocess/src/subprocess.cpp:374
#14 0x00007f25e8d5c654 in perf::internal::Perf::execute () at
../../src/linux/perf.cpp:140
#15 0x00007f25e8d5bb7f in perf::internal::Perf::initialize () at
../../src/linux/perf.cpp:110
#16 0x00007f25e96935e4 in process::ProcessManager::resume () at
../../../3rdparty/libprocess/src/process.cpp:3109
#17 0x00007f25e968ffab in operator() () at
../../../3rdparty/libprocess/src/process.cpp:2779
#18 0x00007f25e96a2496 in _M_invoke<>(void) () at
/usr/include/c++/5/functional:1531
#19 0x00007f25e96a23ec in operator() () at /usr/include/c++/5/functional:1520
#20 0x00007f25e96a237c in _M_run () at /usr/include/c++/5/thread:115
#21 0x00007f25e2995c80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#22 0x00007f25e30726ba in start_thread (arg=0x7f25ceebc700) at
pthread_create.c:333
#23 0x00007f25e20fb3dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)