You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Bill Zhao (JIRA)" <ji...@apache.org> on 2011/07/22 00:35:58 UTC

[jira] [Commented] (MESOS-32) Mac OS X Lion errors

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

Bill Zhao commented on MESOS-32:
--------------------------------

I am seeing few warning when compile on Mac OS X - Lion.


Warning:

g++ -c -O2 -fno-strict-aliasing -fPIC  -D_XOPEN_SOURCE -g -I./include -I. -I./third_party/libev-3.8 -I./third_party/boost-1.37.0 -I./third_party/ry-http-parser-1c3624a -I./third_party/glog-0.3.1/src -Ithird_party/glog-0.3.1/src -fPIC -D_XOPEN_SOURCE -MMD -MP -o src/process.o src/process.cpp
src/process.cpp: In function ‘void process::trampoline(int, int, int, int)’:
src/process.cpp:920: warning: ‘setcontext’ is deprecated (declared at /usr/include/ucontext.h:39)
src/process.cpp:920: warning: ‘setcontext’ is deprecated (declared at /usr/include/ucontext.h:39)
src/process.cpp: In function ‘void* process::schedule(void*)’:
src/process.cpp:928: warning: ‘getcontext’ is deprecated (declared at /usr/include/ucontext.h:37)
src/process.cpp:928: warning: ‘getcontext’ is deprecated (declared at /usr/include/ucontext.h:37)
src/process.cpp:1012: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40)
src/process.cpp:1012: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40)
src/process.cpp:1015: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40)
src/process.cpp:1015: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40)
src/process.cpp: In member function ‘process::UPID process::ProcessManager::spawn(process::ProcessBase*, bool)’:
src/process.cpp:1847: warning: ‘getcontext’ is deprecated (declared at /usr/include/ucontext.h:37)
src/process.cpp:1847: warning: ‘getcontext’ is deprecated (declared at /usr/include/ucontext.h:37)
src/process.cpp:1869: warning: ‘makecontext’ is deprecated (declared at /usr/include/ucontext.h:38)
src/process.cpp:1870: warning: ‘makecontext’ is deprecated (declared at /usr/include/ucontext.h:38)
src/process.cpp: In member function ‘bool process::ProcessManager::receive(process::ProcessBase*, double)’:
src/process.cpp:1925: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40)
src/process.cpp:1925: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40)
src/process.cpp:1946: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40)
src/process.cpp:1946: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40)
src/process.cpp: In member function ‘bool process::ProcessManager::serve(process::ProcessBase*, double)’:
src/process.cpp:1979: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40)
src/process.cpp:1979: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40)
src/process.cpp:2000: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40)
src/process.cpp:2000: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40)
src/process.cpp: In member function ‘void process::ProcessManager::pause(process::ProcessBase*, double)’:
src/process.cpp:2024: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40)
src/process.cpp:2024: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40)
src/process.cpp:2031: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40)
src/process.cpp:2031: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40)
src/process.cpp: In member function ‘bool process::ProcessManager::wait(process::ProcessBase*, const process::UPID&)’:
src/process.cpp:2080: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40)
src/process.cpp:2080: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40)
src/process.cpp: In member function ‘bool process::ProcessManager::poll(process::ProcessBase*, int, int, double, bool)’:
src/process.cpp:2194: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40)
src/process.cpp:2194: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40)
src/process.cpp: In static member function ‘static void process::ProcessManager::invoke(const std::tr1::function<void ()()>&)’:
src/process.cpp:2469: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40)
src/process.cpp:2469: warning: ‘swapcontext’ is deprecated (declared at /usr/include/ucontext.h:40) 

> Mac OS X Lion errors
> --------------------
>
>                 Key: MESOS-32
>                 URL: https://issues.apache.org/jira/browse/MESOS-32
>             Project: Mesos
>          Issue Type: Bug
>          Components: master
>         Environment: Mac OS X - Lion (10.7)
>            Reporter: Bill Zhao
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Mesos's code compiled without error.  However, when I run mesos-master, I got a "Trace/BPT trap: 5" error.
> Error:
> billz@dhcp-44-175: ~/mesos$ bin/mesos-master
> I0721 15:23:43.394886 2064075104 logging.cpp:40] Logging to /Users/billz/mesos/logs
> I0721 15:23:43.435346 2064075104 main.cpp:75] Build: 2011-07-21 15:17:31 by billz
> I0721 15:23:43.435402 2064075104 main.cpp:76] Starting Mesos master
> I0721 15:23:43.436972 145375232 master.cpp:379] Master started at mesos://master@128.32.44.175:5050
> I0721 15:23:43.436986 2064075104 webui.cpp:66] Starting master web UI on port 8080
> I0721 15:23:43.437049 145375232 master.cpp:394] Master ID: 201107211523-0
> I0721 15:23:43.437192 146579456 webui.cpp:34] Web UI thread started
> I0721 15:23:43.437399 145375232 master.cpp:403] Creating "simple" allocator
> I0721 15:23:44.005723 146579456 webui.cpp:46] Loading webui/master/webui.py
> Trace/BPT trap: 5

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira