[ 
https://issues.apache.org/jira/browse/MESOS-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13831764#comment-13831764
 ] 

Yan Xu commented on MESOS-817:
------------------------------

Still getting it at the same location.

{noformat}
F1125 08:58:22.900377 56429 future.hpp:661] Check failed: !isPending() Future 
was in PENDING after await()
    @     0x7f1b901f4d0d  google::LogMessage::Fail()
    @     0x7f1b901f8cf7  google::LogMessage::SendToLog()
    @     0x7f1b901f75f4  google::LogMessage::Flush()
    @     0x7f1b901f7826  google::LogMessageFatal::~LogMessageFatal()
    @     0x7f1b8ff3ea0e  process::Future<>::get()
    @     0x7f1b8ff2eab4  Watcher::Watcher()
    @     0x7f1b8ff707ae  ProcessWatcher<>::ProcessWatcher()
    @     0x7f1b8ff498cb  zookeeper::GroupProcess::initialize()
    @     0x7f1b900c7bac  process::ProcessManager::resume()
    @     0x7f1b900c86dc  process::schedule()
    @     0x7f1b8eee683d  start_thread
    @     0x7f1b8d6af26d  clone
{noformat}

> CHECK is Future.get() can fail.
> -------------------------------
>
>                 Key: MESOS-817
>                 URL: https://issues.apache.org/jira/browse/MESOS-817
>             Project: Mesos
>          Issue Type: Bug
>         Environment: Linux gcc 4.2.1
>            Reporter: Jie Yu
>            Assignee: Jie Yu
>
> template <typename T>
> T Future<T>::get() const
> {
>   if (!isReady()) {
>     await();
>   }
>   CHECK(!isPending()) << "Future was in PENDING after await()";
>   if (!isReady()) {
>     if (isFailed()) {
>       std::cerr << "Future::get() but state == FAILED: "
>                 << failure()  << std::endl;
>     } else if (isDiscarded()) {
>       std::cerr << "Future::get() but state == DISCARDED" << std::endl;
>     }
>     abort();
>   }
>   assert(data->t != NULL);
>   return *data->t;
> }
> This CHECK can fail:
> CHECK(!isPending()) << "Future was in PENDING after await()";



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to