[
https://issues.apache.org/jira/browse/MESOS-7583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16029439#comment-16029439
]
Alexander Rojas commented on MESOS-7583:
----------------------------------------
Could not reproduce as described here, however running
{{./builc/src/mesos-tests --gtest_filter="ExamplesTest.PythonFramework"}} does
crash and yields:
{noformat}
Process: Python [4146]
Path:
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Identifier: Python
Version: 2.7.13 (2.7.13)
Code Type: X86-64 (Native)
Parent Process: mesos-tests [4126]
Responsible: Python [4146]
Crashed Thread: 6
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
abort() called
*** error for object 0x110f68290: pointer being freed was not allocated
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff9d1babf2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff9d2a686e _pthread_cond_wait +
712
2 libc++.1.dylib 0x0000000111a10b60
std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3 _scheduler.so 0x000000011a2e5c2f void
synchronized_wait<std::__1::condition_variable,
std::__1::mutex>(std::__1::condition_variable*, std::__1::mutex*) + 175
4 _scheduler.so 0x000000011d30988c Gate::arrive(long) +
188
5 _scheduler.so 0x000000011d309263
process::ProcessManager::wait(process::UPID const&) + 3411
6 _scheduler.so 0x000000011d300a4b
process::wait(process::UPID const&, Duration const&) + 715
7 _scheduler.so 0x000000011d1c35f2
process::Latch::await(Duration const&) + 162
8 _scheduler.so 0x000000011ac8d497
mesos::MesosSchedulerDriver::join() + 615
9 _scheduler.so 0x000000011ac8d86f
mesos::MesosSchedulerDriver::run() + 63
10 _scheduler.so 0x0000000119cd84de
mesos::python::MesosSchedulerDriverImpl_run(mesos::python::MesosSchedulerDriverImpl*)
+ 94 (mesos_scheduler_driver_impl.cpp:388)
11 org.python.python 0x000000010ee47884 PyEval_EvalFrameEx +
26960
12 org.python.python 0x000000010ee40d3e PyEval_EvalCodeEx +
1617
13 org.python.python 0x000000010ee406e7 PyEval_EvalCode + 48
14 org.python.python 0x000000010ee64068 run_mod + 53
15 org.python.python 0x000000010ee6410b PyRun_FileExFlags +
133
16 org.python.python 0x000000010ee63c5c
PyRun_SimpleFileExFlags + 702
17 org.python.python 0x000000010ee75442 Py_Main + 3094
18 libdyld.dylib 0x00007fff9d08c235 start + 1
Thread 1:
0 libsystem_kernel.dylib 0x00007fff9d1babf2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff9d2a686e _pthread_cond_wait +
712
2 libc++.1.dylib 0x0000000111a10b60
std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3 _scheduler.so 0x000000011a2e5c2f void
synchronized_wait<std::__1::condition_variable,
std::__1::mutex>(std::__1::condition_variable*, std::__1::mutex*) + 175
4 _scheduler.so 0x000000011d30988c Gate::arrive(long) +
188
5 _scheduler.so 0x000000011d43c6a7
process::ProcessManager::init_threads()::$_1::operator()() const + 231
6 _scheduler.so 0x000000011d43c2f2 void*
std::__1::__thread_proxy<std::__1::tuple<process::ProcessManager::init_threads()::$_1>
>(void*) + 386
7 libsystem_pthread.dylib 0x00007fff9d2a59af _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fff9d2a58fb _pthread_start + 286
9 libsystem_pthread.dylib 0x00007fff9d2a5101 thread_start + 13
Thread 2:
0 libsystem_kernel.dylib 0x00007fff9d1babf2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff9d2a686e _pthread_cond_wait +
712
2 libc++.1.dylib 0x0000000111a10b60
std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3 _scheduler.so 0x000000011a2e5c2f void
synchronized_wait<std::__1::condition_variable,
std::__1::mutex>(std::__1::condition_variable*, std::__1::mutex*) + 175
4 _scheduler.so 0x000000011d30988c Gate::arrive(long) +
188
5 _scheduler.so 0x000000011d43c6a7
process::ProcessManager::init_threads()::$_1::operator()() const + 231
6 _scheduler.so 0x000000011d43c2f2 void*
std::__1::__thread_proxy<std::__1::tuple<process::ProcessManager::init_threads()::$_1>
>(void*) + 386
7 libsystem_pthread.dylib 0x00007fff9d2a59af _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fff9d2a58fb _pthread_start + 286
9 libsystem_pthread.dylib 0x00007fff9d2a5101 thread_start + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff9d1babf2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff9d2a686e _pthread_cond_wait +
712
2 libc++.1.dylib 0x0000000111a10b60
std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3 _scheduler.so 0x000000011a2e5c2f void
synchronized_wait<std::__1::condition_variable,
std::__1::mutex>(std::__1::condition_variable*, std::__1::mutex*) + 175
4 _scheduler.so 0x000000011d30988c Gate::arrive(long) +
188
5 _scheduler.so 0x000000011d43c6a7
process::ProcessManager::init_threads()::$_1::operator()() const + 231
6 _scheduler.so 0x000000011d43c2f2 void*
std::__1::__thread_proxy<std::__1::tuple<process::ProcessManager::init_threads()::$_1>
>(void*) + 386
7 libsystem_pthread.dylib 0x00007fff9d2a59af _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fff9d2a58fb _pthread_start + 286
9 libsystem_pthread.dylib 0x00007fff9d2a5101 thread_start + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff9d1babf2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff9d2a686e _pthread_cond_wait +
712
2 libc++.1.dylib 0x0000000111a10b60
std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3 _scheduler.so 0x000000011a2e5c2f void
synchronized_wait<std::__1::condition_variable,
std::__1::mutex>(std::__1::condition_variable*, std::__1::mutex*) + 175
4 _scheduler.so 0x000000011d30988c Gate::arrive(long) +
188
5 _scheduler.so 0x000000011d43c6a7
process::ProcessManager::init_threads()::$_1::operator()() const + 231
6 _scheduler.so 0x000000011d43c2f2 void*
std::__1::__thread_proxy<std::__1::tuple<process::ProcessManager::init_threads()::$_1>
>(void*) + 386
7 libsystem_pthread.dylib 0x00007fff9d2a59af _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fff9d2a58fb _pthread_start + 286
9 libsystem_pthread.dylib 0x00007fff9d2a5101 thread_start + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff9d1babf2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff9d2a686e _pthread_cond_wait +
712
2 libc++.1.dylib 0x0000000111a10b60
std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3 _scheduler.so 0x000000011a2e5c2f void
synchronized_wait<std::__1::condition_variable,
std::__1::mutex>(std::__1::condition_variable*, std::__1::mutex*) + 175
4 _scheduler.so 0x000000011d30988c Gate::arrive(long) +
188
5 _scheduler.so 0x000000011d43c6a7
process::ProcessManager::init_threads()::$_1::operator()() const + 231
6 _scheduler.so 0x000000011d43c2f2 void*
std::__1::__thread_proxy<std::__1::tuple<process::ProcessManager::init_threads()::$_1>
>(void*) + 386
7 libsystem_pthread.dylib 0x00007fff9d2a59af _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fff9d2a58fb _pthread_start + 286
9 libsystem_pthread.dylib 0x00007fff9d2a5101 thread_start + 13
Thread 6 Crashed:
0 libsystem_kernel.dylib 0x00007fff9d1bad42 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff9d2a85bf pthread_kill + 90
2 libsystem_c.dylib 0x00007fff9d120420 abort + 129
3 libsystem_malloc.dylib 0x00007fff9d20ffe7 free + 530
4 _scheduler.so 0x000000011c1faa0c
google::protobuf::internal::ArenaStringPtr::DestroyNoArena(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const*) + 76
5 _scheduler.so 0x000000011c27dba4
mesos::Resource::SharedDtor() + 84
6 _scheduler.so 0x000000011c27daf2
mesos::Resource::~Resource() + 34
7 _scheduler.so 0x000000011c27ddd5
mesos::Resource::~Resource() + 21
8 _scheduler.so 0x000000011a268aac
mesos::Resources::Resource_::~Resource_() + 44
9 _scheduler.so 0x000000011a268a75
mesos::Resources::Resource_::~Resource_() + 21
10 _scheduler.so 0x000000011a2689be
std::__1::__vector_base<mesos::Resources::Resource_,
std::__1::allocator<mesos::Resources::Resource_> >::~__vector_base() + 270
11 _scheduler.so 0x000000011a2688a5
std::__1::vector<mesos::Resources::Resource_,
std::__1::allocator<mesos::Resources::Resource_> >::~vector() + 21
12 _scheduler.so 0x000000011a268885
std::__1::vector<mesos::Resources::Resource_,
std::__1::allocator<mesos::Resources::Resource_> >::~vector() + 21
13 _scheduler.so 0x000000011a268865
mesos::Resources::~Resources() + 21
14 _scheduler.so 0x000000011a268375
mesos::Resources::~Resources() + 21
15 _scheduler.so 0x000000011aa742fd
mesos::internal::master::validation::resource::validateGpus(google::protobuf::RepeatedPtrField<mesos::Resource>
const&) + 141
16 _scheduler.so 0x000000011aa6dd95
mesos::internal::master::validation::resource::validate(google::protobuf::RepeatedPtrField<mesos::Resource>
const&) + 325
17 _scheduler.so 0x000000011aa802b1
mesos::internal::master::validation::task::internal::validateResources(mesos::TaskInfo
const&) + 401
18 _scheduler.so 0x000000011aaaa369 Option<Error>
std::__1::__invoke_void_return_wrapper<Option<Error>
>::__call<std::__1::__bind<Option<Error> (&)(mesos::TaskInfo const&),
mesos::TaskInfo const&>&>(std::__1::__bind<Option<Error> (&)(mesos::TaskInfo
const&), mesos::TaskInfo const&>&&&) + 217
19 _scheduler.so 0x000000011aaa9e90
std::__1::__function::__func<std::__1::__bind<Option<Error> (&)(mesos::TaskInfo
const&), mesos::TaskInfo const&>,
std::__1::allocator<std::__1::__bind<Option<Error> (&)(mesos::TaskInfo const&),
mesos::TaskInfo const&> >, Option<Error> ()>::operator()() + 48
20 _scheduler.so 0x000000011aa7efad
std::__1::function<Option<Error> ()>::operator()() const + 141
21 _scheduler.so 0x000000011aa821fc
mesos::internal::master::validation::task::internal::validateTask(mesos::TaskInfo
const&, mesos::internal::master::Framework*, mesos::internal::master::Slave*)
+ 4636
22 _scheduler.so 0x000000011aaaf592 Option<Error>
std::__1::__invoke_void_return_wrapper<Option<Error>
>::__call<std::__1::__bind<Option<Error> (&)(mesos::TaskInfo const&,
mesos::internal::master::Framework*, mesos::internal::master::Slave*),
mesos::TaskInfo const&, mesos::internal::master::Framework*&,
mesos::internal::master::Slave*&>&>(std::__1::__bind<Option<Error>
(&)(mesos::TaskInfo const&, mesos::internal::master::Framework*,
mesos::internal::master::Slave*), mesos::TaskInfo const&,
mesos::internal::master::Framework*&, mesos::internal::master::Slave*&>&&&) +
434
23 _scheduler.so 0x000000011aaaefe0
std::__1::__function::__func<std::__1::__bind<Option<Error> (&)(mesos::TaskInfo
const&, mesos::internal::master::Framework*, mesos::internal::master::Slave*),
mesos::TaskInfo const&, mesos::internal::master::Framework*&,
mesos::internal::master::Slave*&>,
std::__1::allocator<std::__1::__bind<Option<Error> (&)(mesos::TaskInfo const&,
mesos::internal::master::Framework*, mesos::internal::master::Slave*),
mesos::TaskInfo const&, mesos::internal::master::Framework*&,
mesos::internal::master::Slave*&> >, Option<Error> ()>::operator()() + 48
24 _scheduler.so 0x000000011aa7efad
std::__1::function<Option<Error> ()>::operator()() const + 141
25 _scheduler.so 0x000000011aa84e77
mesos::internal::master::validation::task::validate(mesos::TaskInfo const&,
mesos::internal::master::Framework*, mesos::internal::master::Slave*,
mesos::Resources const&) + 3063
26 _scheduler.so 0x000000011a63dfb7
mesos::internal::master::Master::_accept(mesos::FrameworkID const&,
mesos::SlaveID const&, mesos::Resources const&, mesos::scheduler::Call_Accept
const&, process::Future<std::__1::list<process::Future<bool>,
std::__1::allocator<process::Future<bool> > > > const&) + 27703
27 _scheduler.so 0x000000011a870dd4 void
process::dispatch<mesos::internal::master::Master, mesos::FrameworkID const&,
mesos::SlaveID const&, mesos::Resources const&, mesos::scheduler::Call_Accept
const&, process::Future<std::__1::list<process::Future<bool>,
std::__1::allocator<process::Future<bool> > > > const&, mesos::FrameworkID,
mesos::SlaveID, mesos::Resources, mesos::scheduler::Call_Accept,
process::Future<std::__1::list<process::Future<bool>,
std::__1::allocator<process::Future<bool> > > >
>(process::PID<mesos::internal::master::Master> const&, void
(mesos::internal::master::Master::*)(mesos::FrameworkID const&, mesos::SlaveID
const&, mesos::Resources const&, mesos::scheduler::Call_Accept const&,
process::Future<std::__1::list<process::Future<bool>,
std::__1::allocator<process::Future<bool> > > > const&), mesos::FrameworkID,
mesos::SlaveID, mesos::Resources, mesos::scheduler::Call_Accept,
process::Future<std::__1::list<process::Future<bool>,
std::__1::allocator<process::Future<bool> > >
>)::'lambda'(process::ProcessBase*)::operator()(process::ProcessBase*) const +
404
28 _scheduler.so 0x000000011a870c30 void
std::__1::__invoke_void_return_wrapper<void>::__call<void
process::dispatch<mesos::internal::master::Master, mesos::FrameworkID const&,
mesos::SlaveID const&, mesos::Resources const&, mesos::scheduler::Call_Accept
const&, process::Future<std::__1::list<process::Future<bool>,
std::__1::allocator<process::Future<bool> > > > const&, mesos::FrameworkID,
mesos::SlaveID, mesos::Resources, mesos::scheduler::Call_Accept,
process::Future<std::__1::list<process::Future<bool>,
std::__1::allocator<process::Future<bool> > > >
>(process::PID<mesos::internal::master::Master> const&, void
(mesos::internal::master::Master::*)(mesos::FrameworkID const&, mesos::SlaveID
const&, mesos::Resources const&, mesos::scheduler::Call_Accept const&,
process::Future<std::__1::list<process::Future<bool>,
std::__1::allocator<process::Future<bool> > > > const&), mesos::FrameworkID,
mesos::SlaveID, mesos::Resources, mesos::scheduler::Call_Accept,
process::Future<std::__1::list<process::Future<bool>,
std::__1::allocator<process::Future<bool> > >
>)::'lambda'(process::ProcessBase*)&, process::ProcessBase*>(void
process::dispatch<mesos::internal::master::Master, mesos::FrameworkID const&,
mesos::SlaveID const&, mesos::Resources const&, mesos::scheduler::Call_Accept
const&, process::Future<std::__1::list<process::Future<bool>,
std::__1::allocator<process::Future<bool> > > > const&, mesos::FrameworkID,
mesos::SlaveID, mesos::Resources, mesos::scheduler::Call_Accept,
process::Future<std::__1::list<process::Future<bool>,
std::__1::allocator<process::Future<bool> > > >
>(process::PID<mesos::internal::master::Master> const&, void
(mesos::internal::master::Master::*)(mesos::FrameworkID const&, mesos::SlaveID
const&, mesos::Resources const&, mesos::scheduler::Call_Accept const&,
process::Future<std::__1::list<process::Future<bool>,
std::__1::allocator<process::Future<bool> > > > const&), mesos::FrameworkID,
mesos::SlaveID, mesos::Resources, mesos::scheduler::Call_Accept,
process::Future<std::__1::list<process::Future<bool>,
std::__1::allocator<process::Future<bool> > >
>)::'lambda'(process::ProcessBase*)&&&, process::ProcessBase*&&) + 80
29 _scheduler.so 0x000000011a8707c9
std::__1::__function::__func<void
process::dispatch<mesos::internal::master::Master, mesos::FrameworkID const&,
mesos::SlaveID const&, mesos::Resources const&, mesos::scheduler::Call_Accept
const&, process::Future<std::__1::list<process::Future<bool>,
std::__1::allocator<process::Future<bool> > > > const&, mesos::FrameworkID,
mesos::SlaveID, mesos::Resources, mesos::scheduler::Call_Accept,
process::Future<std::__1::list<process::Future<bool>,
std::__1::allocator<process::Future<bool> > > >
>(process::PID<mesos::internal::master::Master> const&, void
(mesos::internal::master::Master::*)(mesos::FrameworkID const&, mesos::SlaveID
const&, mesos::Resources const&, mesos::scheduler::Call_Accept const&,
process::Future<std::__1::list<process::Future<bool>,
std::__1::allocator<process::Future<bool> > > > const&), mesos::FrameworkID,
mesos::SlaveID, mesos::Resources, mesos::scheduler::Call_Accept,
process::Future<std::__1::list<process::Future<bool>,
std::__1::allocator<process::Future<bool> > >
>)::'lambda'(process::ProcessBase*), std::__1::allocator<void
process::dispatch<mesos::internal::master::Master, mesos::FrameworkID const&,
mesos::SlaveID const&, mesos::Resources const&, mesos::scheduler::Call_Accept
const&, process::Future<std::__1::list<process::Future<bool>,
std::__1::allocator<process::Future<bool> > > > const&, mesos::FrameworkID,
mesos::SlaveID, mesos::Resources, mesos::scheduler::Call_Accept,
process::Future<std::__1::list<process::Future<bool>,
std::__1::allocator<process::Future<bool> > > >
>(process::PID<mesos::internal::master::Master> const&, void
(mesos::internal::master::Master::*)(mesos::FrameworkID const&, mesos::SlaveID
const&, mesos::Resources const&, mesos::scheduler::Call_Accept const&,
process::Future<std::__1::list<process::Future<bool>,
std::__1::allocator<process::Future<bool> > > > const&), mesos::FrameworkID,
mesos::SlaveID, mesos::Resources, mesos::scheduler::Call_Accept,
process::Future<std::__1::list<process::Future<bool>,
std::__1::allocator<process::Future<bool> > >
>)::'lambda'(process::ProcessBase*)>, void
(process::ProcessBase*)>::operator()(process::ProcessBase*&&) + 57
30 _executor.so 0x000000011095798a
std::__1::function<void
(process::ProcessBase*)>::operator()(process::ProcessBase*) const + 170
31 _scheduler.so 0x000000011d30b74c
process::ProcessBase::visit(process::DispatchEvent const&) + 44
32 _scheduler.so 0x000000011d3ace3e
process::DispatchEvent::visit(process::EventVisitor*) const + 30
33 _scheduler.so 0x000000011ad1b1c1
process::ProcessBase::serve(process::Event const&) + 33
34 _scheduler.so 0x000000011d306266
process::ProcessManager::resume(process::ProcessBase*) + 2102
35 _scheduler.so 0x000000011d43c6d0
process::ProcessManager::init_threads()::$_1::operator()() const + 272
36 _scheduler.so 0x000000011d43c2f2 void*
std::__1::__thread_proxy<std::__1::tuple<process::ProcessManager::init_threads()::$_1>
>(void*) + 386
37 libsystem_pthread.dylib 0x00007fff9d2a59af _pthread_body + 180
38 libsystem_pthread.dylib 0x00007fff9d2a58fb _pthread_start + 286
39 libsystem_pthread.dylib 0x00007fff9d2a5101 thread_start + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff9d1babf2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff9d2a686e _pthread_cond_wait +
712
2 libc++.1.dylib 0x0000000111a10b60
std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3 _scheduler.so 0x000000011a2e5c2f void
synchronized_wait<std::__1::condition_variable,
std::__1::mutex>(std::__1::condition_variable*, std::__1::mutex*) + 175
4 _scheduler.so 0x000000011d30988c Gate::arrive(long) +
188
5 _scheduler.so 0x000000011d43c6a7
process::ProcessManager::init_threads()::$_1::operator()() const + 231
6 _scheduler.so 0x000000011d43c2f2 void*
std::__1::__thread_proxy<std::__1::tuple<process::ProcessManager::init_threads()::$_1>
>(void*) + 386
7 libsystem_pthread.dylib 0x00007fff9d2a59af _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fff9d2a58fb _pthread_start + 286
9 libsystem_pthread.dylib 0x00007fff9d2a5101 thread_start + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff9d1babf2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff9d2a686e _pthread_cond_wait +
712
2 libc++.1.dylib 0x0000000111a10b60
std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3 _scheduler.so 0x000000011a2e5c2f void
synchronized_wait<std::__1::condition_variable,
std::__1::mutex>(std::__1::condition_variable*, std::__1::mutex*) + 175
4 _scheduler.so 0x000000011d30988c Gate::arrive(long) +
188
5 _scheduler.so 0x000000011d43c6a7
process::ProcessManager::init_threads()::$_1::operator()() const + 231
6 _scheduler.so 0x000000011d43c2f2 void*
std::__1::__thread_proxy<std::__1::tuple<process::ProcessManager::init_threads()::$_1>
>(void*) + 386
7 libsystem_pthread.dylib 0x00007fff9d2a59af _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fff9d2a58fb _pthread_start + 286
9 libsystem_pthread.dylib 0x00007fff9d2a5101 thread_start + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff9d1baeb6 __select + 10
1 _scheduler.so 0x000000011d808b82 select_poll + 162
(.ev_select.c:170)
2 _scheduler.so 0x000000011d8046b9 ev_run + 1017
(ev.c:3655)
3 _scheduler.so 0x000000011d52e98b ev_loop(ev_loop*,
int) + 27
4 _scheduler.so 0x000000011d52e8ff
process::EventLoop::run() + 111
5 _executor.so 0x0000000110aca05f void*
std::__1::__thread_proxy<std::__1::tuple<void (*)()> >(void*) + 383
6 libsystem_pthread.dylib 0x00007fff9d2a59af _pthread_body + 180
7 libsystem_pthread.dylib 0x00007fff9d2a58fb _pthread_start + 286
8 libsystem_pthread.dylib 0x00007fff9d2a5101 thread_start + 13
Thread 10:
0 libsystem_kernel.dylib 0x00007fff9d1babf2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff9d2a686e _pthread_cond_wait +
712
2 libc++.1.dylib 0x0000000111a10b60
std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3 _executor.so 0x0000000110294d0f void
synchronized_wait<std::__1::condition_variable,
std::__1::mutex>(std::__1::condition_variable*, std::__1::mutex*) + 175
4 _executor.so 0x00000001109559dc Gate::arrive(long) +
188
5 _executor.so 0x0000000110ac93e7
process::ProcessManager::init_threads()::$_1::operator()() const + 231
6 _executor.so 0x0000000110ac9032 void*
std::__1::__thread_proxy<std::__1::tuple<process::ProcessManager::init_threads()::$_1>
>(void*) + 386
7 libsystem_pthread.dylib 0x00007fff9d2a59af _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fff9d2a58fb _pthread_start + 286
9 libsystem_pthread.dylib 0x00007fff9d2a5101 thread_start + 13
Thread 11:
0 libsystem_kernel.dylib 0x00007fff9d1babf2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff9d2a686e _pthread_cond_wait +
712
2 libc++.1.dylib 0x0000000111a10b60
std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3 _executor.so 0x0000000110294d0f void
synchronized_wait<std::__1::condition_variable,
std::__1::mutex>(std::__1::condition_variable*, std::__1::mutex*) + 175
4 _executor.so 0x00000001109559dc Gate::arrive(long) +
188
5 _executor.so 0x0000000110ac93e7
process::ProcessManager::init_threads()::$_1::operator()() const + 231
6 _executor.so 0x0000000110ac9032 void*
std::__1::__thread_proxy<std::__1::tuple<process::ProcessManager::init_threads()::$_1>
>(void*) + 386
7 libsystem_pthread.dylib 0x00007fff9d2a59af _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fff9d2a58fb _pthread_start + 286
9 libsystem_pthread.dylib 0x00007fff9d2a5101 thread_start + 13
Thread 12:
0 libsystem_kernel.dylib 0x00007fff9d1babf2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff9d2a686e _pthread_cond_wait +
712
2 libc++.1.dylib 0x0000000111a10b60
std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3 _executor.so 0x0000000110294d0f void
synchronized_wait<std::__1::condition_variable,
std::__1::mutex>(std::__1::condition_variable*, std::__1::mutex*) + 175
4 _executor.so 0x00000001109559dc Gate::arrive(long) +
188
5 _executor.so 0x0000000110ac93e7
process::ProcessManager::init_threads()::$_1::operator()() const + 231
6 _executor.so 0x0000000110ac9032 void*
std::__1::__thread_proxy<std::__1::tuple<process::ProcessManager::init_threads()::$_1>
>(void*) + 386
7 libsystem_pthread.dylib 0x00007fff9d2a59af _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fff9d2a58fb _pthread_start + 286
9 libsystem_pthread.dylib 0x00007fff9d2a5101 thread_start + 13
Thread 13:
0 libsystem_kernel.dylib 0x00007fff9d1babf2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff9d2a686e _pthread_cond_wait +
712
2 libc++.1.dylib 0x0000000111a10b60
std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3 _executor.so 0x0000000110294d0f void
synchronized_wait<std::__1::condition_variable,
std::__1::mutex>(std::__1::condition_variable*, std::__1::mutex*) + 175
4 _executor.so 0x00000001109559dc Gate::arrive(long) +
188
5 _executor.so 0x0000000110ac93e7
process::ProcessManager::init_threads()::$_1::operator()() const + 231
6 _executor.so 0x0000000110ac9032 void*
std::__1::__thread_proxy<std::__1::tuple<process::ProcessManager::init_threads()::$_1>
>(void*) + 386
7 libsystem_pthread.dylib 0x00007fff9d2a59af _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fff9d2a58fb _pthread_start + 286
9 libsystem_pthread.dylib 0x00007fff9d2a5101 thread_start + 13
Thread 14:
0 libsystem_kernel.dylib 0x00007fff9d1babf2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff9d2a686e _pthread_cond_wait +
712
2 libc++.1.dylib 0x0000000111a10b60
std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3 _executor.so 0x0000000110294d0f void
synchronized_wait<std::__1::condition_variable,
std::__1::mutex>(std::__1::condition_variable*, std::__1::mutex*) + 175
4 _executor.so 0x00000001109559dc Gate::arrive(long) +
188
5 _executor.so 0x0000000110ac93e7
process::ProcessManager::init_threads()::$_1::operator()() const + 231
6 _executor.so 0x0000000110ac9032 void*
std::__1::__thread_proxy<std::__1::tuple<process::ProcessManager::init_threads()::$_1>
>(void*) + 386
7 libsystem_pthread.dylib 0x00007fff9d2a59af _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fff9d2a58fb _pthread_start + 286
9 libsystem_pthread.dylib 0x00007fff9d2a5101 thread_start + 13
Thread 15:
0 libsystem_kernel.dylib 0x00007fff9d1babf2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff9d2a686e _pthread_cond_wait +
712
2 libc++.1.dylib 0x0000000111a10b60
std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3 _executor.so 0x0000000110294d0f void
synchronized_wait<std::__1::condition_variable,
std::__1::mutex>(std::__1::condition_variable*, std::__1::mutex*) + 175
4 _executor.so 0x00000001109559dc Gate::arrive(long) +
188
5 _executor.so 0x0000000110ac93e7
process::ProcessManager::init_threads()::$_1::operator()() const + 231
6 _executor.so 0x0000000110ac9032 void*
std::__1::__thread_proxy<std::__1::tuple<process::ProcessManager::init_threads()::$_1>
>(void*) + 386
7 libsystem_pthread.dylib 0x00007fff9d2a59af _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fff9d2a58fb _pthread_start + 286
9 libsystem_pthread.dylib 0x00007fff9d2a5101 thread_start + 13
Thread 16:
0 libsystem_kernel.dylib 0x00007fff9d1babf2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff9d2a686e _pthread_cond_wait +
712
2 libc++.1.dylib 0x0000000111a10b60
std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3 _executor.so 0x0000000110294d0f void
synchronized_wait<std::__1::condition_variable,
std::__1::mutex>(std::__1::condition_variable*, std::__1::mutex*) + 175
4 _executor.so 0x00000001109559dc Gate::arrive(long) +
188
5 _executor.so 0x0000000110ac93e7
process::ProcessManager::init_threads()::$_1::operator()() const + 231
6 _executor.so 0x0000000110ac9032 void*
std::__1::__thread_proxy<std::__1::tuple<process::ProcessManager::init_threads()::$_1>
>(void*) + 386
7 libsystem_pthread.dylib 0x00007fff9d2a59af _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fff9d2a58fb _pthread_start + 286
9 libsystem_pthread.dylib 0x00007fff9d2a5101 thread_start + 13
Thread 17:
0 libsystem_kernel.dylib 0x00007fff9d1babf2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff9d2a686e _pthread_cond_wait +
712
2 libc++.1.dylib 0x0000000111a10b60
std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3 _executor.so 0x0000000110294d0f void
synchronized_wait<std::__1::condition_variable,
std::__1::mutex>(std::__1::condition_variable*, std::__1::mutex*) + 175
4 _executor.so 0x00000001109559dc Gate::arrive(long) +
188
5 _executor.so 0x0000000110ac93e7
process::ProcessManager::init_threads()::$_1::operator()() const + 231
6 _executor.so 0x0000000110ac9032 void*
std::__1::__thread_proxy<std::__1::tuple<process::ProcessManager::init_threads()::$_1>
>(void*) + 386
7 libsystem_pthread.dylib 0x00007fff9d2a59af _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fff9d2a58fb _pthread_start + 286
9 libsystem_pthread.dylib 0x00007fff9d2a5101 thread_start + 13
Thread 18:
0 libsystem_kernel.dylib 0x00007fff9d1baeb6 __select + 10
1 _executor.so 0x0000000110e1f9a2 select_poll + 162
(.ev_select.c:170)
2 _executor.so 0x0000000110e1b4d9 ev_run + 1017
(ev.c:3655)
3 _executor.so 0x0000000110bb538b ev_loop(ev_loop*,
int) + 27
4 _executor.so 0x0000000110bb52ff
process::EventLoop::run() + 111
5 _executor.so 0x0000000110aca05f void*
std::__1::__thread_proxy<std::__1::tuple<void (*)()> >(void*) + 383
6 libsystem_pthread.dylib 0x00007fff9d2a59af _pthread_body + 180
7 libsystem_pthread.dylib 0x00007fff9d2a58fb _pthread_start + 286
8 libsystem_pthread.dylib 0x00007fff9d2a5101 thread_start + 13
Thread 19:
0 libsystem_kernel.dylib 0x00007fff9d1babf2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff9d2a686e _pthread_cond_wait +
712
2 _scheduler.so 0x000000011d5b1329 leveldb::(anonymous
namespace)::PosixEnv::BGThread() + 137
3 _scheduler.so 0x000000011d5b1035 leveldb::(anonymous
namespace)::PosixEnv::BGThreadWrapper(void*) + 21
4 libsystem_pthread.dylib 0x00007fff9d2a59af _pthread_body + 180
5 libsystem_pthread.dylib 0x00007fff9d2a58fb _pthread_start + 286
6 libsystem_pthread.dylib 0x00007fff9d2a5101 thread_start + 13
{noformat}
> _scheduler.so segfault when Mesos is built with Xcode 8.3.2
> -----------------------------------------------------------
>
> Key: MESOS-7583
> URL: https://issues.apache.org/jira/browse/MESOS-7583
> Project: Mesos
> Issue Type: Bug
> Components: python api
> Affects Versions: 1.2.0, 1.3.0
> Reporter: ilovezfs
>
> Testing on macOS Sierra 10.12.5.
> Note: This bug does *not* occur if you build Mesos with Xcode 8.2.1 instead
> of with Xcode 8.3.2.
> The bug affects affects Mesos 1.2.0, and still affects 1.3.0-rc3.
> The crash occurs at run time if you run `python -c "import mesos.native"`
> It appears to be a segfault in _scheduler.so.
> Crash log here:
> https://gist.github.com/ilovezfs/3a63cf1f2a1ed104f15ac38226ce24d5
> In particular, this is Mesos built with Homebrew
> (https://github.com/Homebrew/homebrew-core/blob/master/Formula/mesos.rb)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)