[
https://issues.apache.org/jira/browse/MESOS-2879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14720289#comment-14720289
]
Joris Van Remoortere commented on MESOS-2879:
---------------------------------------------
Hi Greg,
Indeed, this is just a termination problem where the mutex is being deleted,
and then accessed again later.
The ticket you're referring to will help resolve this.
The other option was to leak the mutexes for now.
Thanks for taking this on!
> Random recursive_mutex errors in when running make check
> --------------------------------------------------------
>
> Key: MESOS-2879
> URL: https://issues.apache.org/jira/browse/MESOS-2879
> Project: Mesos
> Issue Type: Bug
> Components: libprocess
> Reporter: Alexander Rojas
> Assignee: Joris Van Remoortere
> Labels: mesosphere, tech-debt
>
> While running make check on OS X, from time to time {{recursive_mutex}}
> errors appear after running all the test successfully. Just one of the
> experience messages actually stops {{make check}} reporting an error.
> The following error messages have been experienced:
> {code}
> libc++abi.dylib: libc++abi.dylib: libc++abi.dylib: libc++abi.dylib:
> libc++abi.dylib: libc++abi.dylib: terminating with uncaught exception of type
> std::__1::system_error: recursive_mutex lock failed: Invalid
> argumentterminating with uncaught exception of type std::__1::system_error:
> recursive_mutex lock failed: Invalid argumentterminating with uncaught
> exception of type std::__1::system_error: recursive_mutex lock failed:
> Invalid argumentterminating with uncaught exception of type
> std::__1::system_error: recursive_mutex lock failed: Invalid
> argumentterminating with uncaught exception of type std::__1::system_error:
> recursive_mutex lock failed: Invalid argumentterminating with uncaught
> exception of type std::__1::system_error: recursive_mutex lock failed:
> Invalid argument
> *** Aborted at 1434553937 (unix time) try "date -d @1434553937" if you are
> using GNU date ***
> {code}
> {code}
> libc++abi.dylib: terminating with uncaught exception of type
> std::__1::system_error: recursive_mutex lock failed: Invalid argument
> *** Aborted at 1434557001 (unix time) try "date -d @1434557001" if you are
> using GNU date ***
> libc++abi.dylib: PC: @ 0x7fff93855286 __pthread_kill
> libc++abi.dylib: *** SIGABRT (@0x7fff93855286) received by PID 88060 (TID
> 0x10fc40000) stack trace: ***
> @ 0x7fff8e1d6f1a _sigtramp
> libc++abi.dylib: @ 0x10fc3f1a8 (unknown)
> libc++abi.dylib: @ 0x7fff979deb53 abort
> libc++abi.dylib: libc++abi.dylib: libc++abi.dylib: terminating with uncaught
> exception of type std::__1::system_error: recursive_mutex lock failed:
> Invalid argumentterminating with uncaught exception of type
> std::__1::system_error: recursive_mutex lock failed: Invalid
> argumentterminating with uncaught exception of type std::__1::system_error:
> recursive_mutex lock failed: Invalid argumentterminating with uncaught
> exception of type std::__1::system_error: recursive_mutex lock failed:
> Invalid argumentterminating with uncaught exception of type
> std::__1::system_error: recursive_mutex lock failed: Invalid
> argumentterminating with uncaught exception of type std::__1::system_error:
> recursive_mutex lock failed: Invalid argumentMaking check in include
> {code}
> {code}
> Assertion failed: (e == 0), function ~recursive_mutex, file
> /SourceCache/libcxx/libcxx-120/src/mutex.cpp, line 82.
> *** Aborted at 1434555685 (unix time) try "date -d @1434555685" if you are
> using GNU date ***
> PC: @ 0x7fff93855286 __pthread_kill
> *** SIGABRT (@0x7fff93855286) received by PID 60235 (TID 0x7fff7ebdc300)
> stack trace: ***
> @ 0x7fff8e1d6f1a _sigtramp
> @ 0x10b512350 google::CheckNotNull<>()
> @ 0x7fff979deb53 abort
> @ 0x7fff979a6c39 __assert_rtn
> @ 0x7fff9bffdcc9 std::__1::recursive_mutex::~recursive_mutex()
> @ 0x10b881928 process::ProcessManager::~ProcessManager()
> @ 0x10b874445 process::ProcessManager::~ProcessManager()
> @ 0x10b874418 process::finalize()
> @ 0x10b2f7aec main
> @ 0x7fff98edc5c9 start
> make[5]: *** [check-local] Abort trap: 6
> make[4]: *** [check-am] Error 2
> make[3]: *** [check-recursive] Error 1
> make[2]: *** [check-recursive] Error 1
> make[1]: *** [check] Error 2
> make: *** [check-recursive] Error 1
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)