Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
ubuntu 14.04
Description
Have been seeing the following socket receive error frequently:
F1204 11:12:47.301839 54104 libevent_ssl_socket.cpp:245] Check failed: length > 0
*** Check failure stack trace: ***
@ 0x7f73227fe5a6 google::LogMessage::Fail()
@ 0x7f73227fe4f2 google::LogMessage::SendToLog()
@ 0x7f73227fdef4 google::LogMessage::Flush()
@ 0x7f7322800e08 google::LogMessageFatal::~LogMessageFatal()
@ 0x7f73227b93e2 process::network::LibeventSSLSocketImpl::recv_callback()
@ 0x7f73227b9182 process::network::LibeventSSLSocketImpl::recv_callback()
@ 0x7f731cbc75cc bufferevent_run_deferred_callbacks_locked
@ 0x7f731cbbdc5d event_base_loop
@ 0x7f73227d9ded process::EventLoop::run()
@ 0x7f73227a3101 _ZNSt12_Bind_simpleIFPFvvEvEE9_M_invokeIJEEEvSt12_Index_tupleIJXspT_EEE
@ 0x7f73227a305b std::_Bind_simple<>::operator()()
@ 0x7f73227a2ff4 std::thread::_Impl<>::_M_run()
@ 0x7f731e0d1a40 (unknown)
@ 0x7f731de0a182 start_thread
@ 0x7f731db3730d (unknown)
@ (nil) (unknown)
In this case this was a HTTP get over SSL. The url being:
Steps to reproduce:
1. Run master
2. Run slave from your build directory as as:
GLOG_v=1;SSL_ENABLED=1;SSL_KEY_FILE=<path_to_key>;SSL_CERT_FILE=<path_to_cert>;sudo -E ./bin/mesos-slave.sh \ --master=127.0.0.1:5050 \ --executor_registration_timeout=5mins \ --containerizers=mesos \ --isolation=filesystem/linux \ --image_providers=DOCKER \ --docker_puller_timeout=600 \ --launcher_dir=$MESOS_BUILD_DIR/src/.libs \ --switch_user="false" \ --docker_puller="registry"
3. Run mesos-execute from your build directory as :
./src/mesos-execute \
--master=127.0.0.1:5050 \
--command="uname -a" \
--name=test \
--docker_image=ubuntu