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:31:58 UTC

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

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


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

        

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

Posted by "Bill Zhao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069277#comment-13069277 ] 

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

I searched on google about Python issue on Lion.  However, not much about this yet.

> 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

        

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

Posted by "Andy Konwinski (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155580#comment-13155580 ] 

Andy Konwinski commented on MESOS-32:
-------------------------------------

It look like this is a libprocess issue that Ben is actively working on!
                
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Benjamin Hindman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069261#comment-13069261 ] 

Benjamin Hindman commented on MESOS-32:
---------------------------------------

Can you give us a stack trace when it traps please?

> 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

        

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

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174175#comment-13174175 ] 

jiraposter@reviews.apache.org commented on MESOS-32:
----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3061/
-----------------------------------------------------------

(Updated 2011-12-21 16:07:27.783934)


Review request for mesos and John Sirois.


Changes
-------

This diff represents more update to libprocess and corresponding updates to Mesos.


Summary
-------

This is my first stab at the updated libprocess and corresponding Mesos changes. I'll probably go through a few iterations here (even without review feedback, just by looking at it myself).


This addresses bugs MESOS-32 and MESOS-36.
    https://issues.apache.org/jira/browse/MESOS-32
    https://issues.apache.org/jira/browse/MESOS-36


Diffs (updated)
-----

  include/mesos/mesos.proto 33248ec 
  include/mesos/scheduler.hpp 93dda98 
  src/common/lock.hpp 2958752 
  src/common/lock.cpp 1d2118a 
  src/common/type_utils.hpp c0b5fe9 
  src/exec/exec.cpp b27c241 
  src/local/local.cpp 1e2273b 
  src/log/coordinator.cpp d05538d 
  src/log/log.hpp e50969b 
  src/log/log.cpp 7386a9d 
  src/log/network.hpp c88822c 
  src/log/replica.cpp e60f4df 
  src/master/frameworks_manager.hpp bf97d5f 
  src/master/frameworks_manager.cpp 30fa325 
  src/master/http.hpp 30ab1ff 
  src/master/http.cpp 47caf48 
  src/master/master.hpp fdacf36 
  src/master/master.cpp b6cfde7 
  src/master/slaves_manager.hpp 3c98303 
  src/master/slaves_manager.cpp 3f67aa1 
  src/python/native/mesos_executor_driver_impl.cpp ed4aaa5 
  src/python/native/mesos_scheduler_driver_impl.cpp 4bde768 
  src/python/native/proxy_scheduler.cpp 934820a 
  src/sched/sched.cpp 7f4e980 
  src/slave/http.hpp 0b2930a 
  src/slave/http.cpp 18efd8c 
  src/slave/reaper.hpp 63b1f5d 
  src/slave/reaper.cpp 4193692 
  src/slave/slave.hpp 37bbd8c 
  src/slave/slave.cpp de5716c 
  src/tests/Makefile.in ea943f7 
  src/tests/exception_tests.cpp 62f4fb6 
  src/tests/fault_tolerance_tests.cpp ebb7709 
  src/tests/log_tests.cpp c6bbdd1 
  src/tests/master_tests.cpp 2438114 
  src/tests/utils.hpp 02772f7 
  src/zookeeper/group.cpp 772ecd9 
  src/zookeeper/zookeeper.cpp c1aa827 
  third_party/libprocess/Makefile.in 6b9a095 
  third_party/libprocess/include/process/async.hpp 9886c3e 
  third_party/libprocess/include/process/clock.hpp PRE-CREATION 
  third_party/libprocess/include/process/defer.hpp PRE-CREATION 
  third_party/libprocess/include/process/deferred.hpp PRE-CREATION 
  third_party/libprocess/include/process/dispatch.hpp 9e69896 
  third_party/libprocess/include/process/event.hpp PRE-CREATION 
  third_party/libprocess/include/process/executor.hpp PRE-CREATION 
  third_party/libprocess/include/process/filter.hpp PRE-CREATION 
  third_party/libprocess/include/process/future.hpp 52d1679 
  third_party/libprocess/include/process/gc.hpp d9ccb35 
  third_party/libprocess/include/process/latch.hpp 1f04da4 
  third_party/libprocess/include/process/message.hpp PRE-CREATION 
  third_party/libprocess/include/process/preprocessor.hpp PRE-CREATION 
  third_party/libprocess/include/process/process.hpp b7d1a86 
  third_party/libprocess/include/process/protobuf.hpp 7636822 
  third_party/libprocess/include/process/run.hpp 6787f6d 
  third_party/libprocess/include/process/timer.hpp a9706aa 
  third_party/libprocess/src/encoder.hpp 1432aec 
  third_party/libprocess/src/foreach.hpp ae17f58 
  third_party/libprocess/src/latch.cpp 1d53246 
  third_party/libprocess/src/process.cpp d77b156 
  third_party/libprocess/src/tests.cpp b3521f3 
  third_party/libprocess/src/thread.hpp PRE-CREATION 
  third_party/libprocess/src/timer.cpp e9a081a 

Diff: https://reviews.apache.org/r/3061/diff


Testing
-------

./bin/tests/all-tests


Thanks,

Benjamin


                
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Bill Zhao (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197676#comment-13197676 ] 

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

Ben, I still have issue with Lion.

It worked until the make step:

java/jni/org_apache_mesos_MesosSchedulerDriver.cpp: In function 'void Java_org_apache_mesos_MesosSchedulerDriver_finalize(JNIEnv*, __jobject*)':
java/jni/org_apache_mesos_MesosSchedulerDriver.cpp:493: error: invalid conversion from '__jobject*' to '__jweak*'
java/jni/org_apache_mesos_MesosSchedulerDriver.cpp:493: error:   initializing argument 1 of 'void _Jv_JNIEnv::DeleteWeakGlobalRef(__jweak*)'
make[2]: *** [java/jni/libjava_la-org_apache_mesos_MesosSchedulerDriver.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
                
> 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
>            Assignee: Benjamin Hindman
>   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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Matei Zaharia (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069274#comment-13069274 ] 

Matei Zaharia commented on MESOS-32:
------------------------------------

Just FYI, I believe that the Python version shipped with OS X was upgraded to 2.7 in Lion (from 2.6 before). Maybe the new SWIG is not dealing with this correctly, or maybe our configure file somehow references 2.6.

> 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

        

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

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164625#comment-13164625 ] 

jiraposter@reviews.apache.org commented on MESOS-32:
----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3061/
-----------------------------------------------------------

Review request for mesos and John Sirois.


Summary
-------

This is my first stab at the updated libprocess and corresponding Mesos changes. I'll probably go through a few iterations here (even without review feedback, just by looking at it myself).


This addresses bug MESOS-32.
    https://issues.apache.org/jira/browse/MESOS-32


Diffs
-----

  include/mesos/mesos.proto 33248ec 
  include/mesos/scheduler.hpp 93dda98 
  src/common/lock.hpp 2958752 
  src/common/lock.cpp 1d2118a 
  src/common/type_utils.hpp c0b5fe9 
  src/exec/exec.cpp b27c241 
  src/local/local.cpp 1e2273b 
  src/log/log.cpp 7386a9d 
  src/log/network.hpp c88822c 
  src/log/replica.cpp e60f4df 
  src/master/frameworks_manager.hpp bf97d5f 
  src/master/frameworks_manager.cpp 30fa325 
  src/master/http.cpp 47caf48 
  src/master/master.hpp fdacf36 
  src/master/master.cpp b6cfde7 
  src/master/slaves_manager.cpp 3f67aa1 
  src/python/native/mesos_executor_driver_impl.cpp ed4aaa5 
  src/python/native/mesos_scheduler_driver_impl.cpp 4bde768 
  src/python/native/proxy_scheduler.cpp 934820a 
  src/sched/sched.cpp 7f4e980 
  src/slave/http.cpp 18efd8c 
  src/slave/reaper.hpp 63b1f5d 
  src/slave/reaper.cpp 4193692 
  src/slave/slave.hpp 37bbd8c 
  src/slave/slave.cpp de5716c 
  src/tests/exception_tests.cpp 62f4fb6 
  src/tests/fault_tolerance_tests.cpp ebb7709 
  src/tests/log_tests.cpp c6bbdd1 
  src/tests/master_tests.cpp 2438114 
  src/tests/utils.hpp 02772f7 
  src/zookeeper/zookeeper.cpp c1aa827 
  third_party/libprocess/Makefile.in 6b9a095 
  third_party/libprocess/include/process/async.hpp 9886c3e 
  third_party/libprocess/include/process/dispatch.hpp 9e69896 
  third_party/libprocess/include/process/event.hpp PRE-CREATION 
  third_party/libprocess/include/process/future.hpp 52d1679 
  third_party/libprocess/include/process/gc.hpp d9ccb35 
  third_party/libprocess/include/process/latch.hpp 1f04da4 
  third_party/libprocess/include/process/message.hpp PRE-CREATION 
  third_party/libprocess/include/process/process.hpp b7d1a86 
  third_party/libprocess/include/process/protobuf.hpp 7636822 
  third_party/libprocess/include/process/run.hpp 6787f6d 
  third_party/libprocess/include/process/timeout.hpp 96905a8 
  third_party/libprocess/include/process/timer.hpp a9706aa 
  third_party/libprocess/src/encoder.hpp 1432aec 
  third_party/libprocess/src/foreach.hpp ae17f58 
  third_party/libprocess/src/latch.cpp 1d53246 
  third_party/libprocess/src/process.cpp d77b156 
  third_party/libprocess/src/tests.cpp b3521f3 
  third_party/libprocess/src/timer.cpp e9a081a 

Diff: https://reviews.apache.org/r/3061/diff


Testing
-------

./bin/tests/all-tests


Thanks,

Benjamin


                
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164743#comment-13164743 ] 

jiraposter@reviews.apache.org commented on MESOS-32:
----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3061/#review3713
-----------------------------------------------------------



third_party/libprocess/src/process.cpp
<https://reviews.apache.org/r/3061/#comment8327>

    pthread_create doesn't set errno.


- Charles


On 2011-12-07 19:06:41, Benjamin Hindman wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/3061/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2011-12-07 19:06:41)
bq.  
bq.  
bq.  Review request for mesos and John Sirois.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  This is my first stab at the updated libprocess and corresponding Mesos changes. I'll probably go through a few iterations here (even without review feedback, just by looking at it myself).
bq.  
bq.  
bq.  This addresses bugs MESOS-32 and MESOS-36.
bq.      https://issues.apache.org/jira/browse/MESOS-32
bq.      https://issues.apache.org/jira/browse/MESOS-36
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    include/mesos/mesos.proto 33248ec 
bq.    include/mesos/scheduler.hpp 93dda98 
bq.    src/common/lock.hpp 2958752 
bq.    src/common/lock.cpp 1d2118a 
bq.    src/common/type_utils.hpp c0b5fe9 
bq.    src/exec/exec.cpp b27c241 
bq.    src/local/local.cpp 1e2273b 
bq.    src/log/log.cpp 7386a9d 
bq.    src/log/network.hpp c88822c 
bq.    src/log/replica.cpp e60f4df 
bq.    src/master/frameworks_manager.hpp bf97d5f 
bq.    src/master/frameworks_manager.cpp 30fa325 
bq.    src/master/http.cpp 47caf48 
bq.    src/master/master.hpp fdacf36 
bq.    src/master/master.cpp b6cfde7 
bq.    src/master/slaves_manager.cpp 3f67aa1 
bq.    src/python/native/mesos_executor_driver_impl.cpp ed4aaa5 
bq.    src/python/native/mesos_scheduler_driver_impl.cpp 4bde768 
bq.    src/python/native/proxy_scheduler.cpp 934820a 
bq.    src/sched/sched.cpp 7f4e980 
bq.    src/slave/http.cpp 18efd8c 
bq.    src/slave/reaper.hpp 63b1f5d 
bq.    src/slave/reaper.cpp 4193692 
bq.    src/slave/slave.hpp 37bbd8c 
bq.    src/slave/slave.cpp de5716c 
bq.    src/tests/exception_tests.cpp 62f4fb6 
bq.    src/tests/fault_tolerance_tests.cpp ebb7709 
bq.    src/tests/log_tests.cpp c6bbdd1 
bq.    src/tests/master_tests.cpp 2438114 
bq.    src/tests/utils.hpp 02772f7 
bq.    src/zookeeper/zookeeper.cpp c1aa827 
bq.    third_party/libprocess/Makefile.in 6b9a095 
bq.    third_party/libprocess/include/process/async.hpp 9886c3e 
bq.    third_party/libprocess/include/process/dispatch.hpp 9e69896 
bq.    third_party/libprocess/include/process/event.hpp PRE-CREATION 
bq.    third_party/libprocess/include/process/future.hpp 52d1679 
bq.    third_party/libprocess/include/process/gc.hpp d9ccb35 
bq.    third_party/libprocess/include/process/latch.hpp 1f04da4 
bq.    third_party/libprocess/include/process/message.hpp PRE-CREATION 
bq.    third_party/libprocess/include/process/process.hpp b7d1a86 
bq.    third_party/libprocess/include/process/protobuf.hpp 7636822 
bq.    third_party/libprocess/include/process/run.hpp 6787f6d 
bq.    third_party/libprocess/include/process/timeout.hpp 96905a8 
bq.    third_party/libprocess/include/process/timer.hpp a9706aa 
bq.    third_party/libprocess/src/encoder.hpp 1432aec 
bq.    third_party/libprocess/src/foreach.hpp ae17f58 
bq.    third_party/libprocess/src/latch.cpp 1d53246 
bq.    third_party/libprocess/src/process.cpp d77b156 
bq.    third_party/libprocess/src/tests.cpp b3521f3 
bq.    third_party/libprocess/src/timer.cpp e9a081a 
bq.  
bq.  Diff: https://reviews.apache.org/r/3061/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  ./bin/tests/all-tests
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Benjamin
bq.  
bq.


                
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13194254#comment-13194254 ] 

jiraposter@reviews.apache.org commented on MESOS-32:
----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3061/
-----------------------------------------------------------

(Updated 2012-01-26 23:05:50.785670)


Review request for mesos and John Sirois.


Changes
-------

Updated the patch to account for recent commits.


Summary
-------

This is my first stab at the updated libprocess and corresponding Mesos changes. I'll probably go through a few iterations here (even without review feedback, just by looking at it myself).


This addresses bugs MESOS-32 and MESOS-36.
    https://issues.apache.org/jira/browse/MESOS-32
    https://issues.apache.org/jira/browse/MESOS-36


Diffs (updated)
-----

  include/mesos/mesos.proto cdb98ba 
  include/mesos/scheduler.hpp 763c634 
  src/common/lock.hpp 2958752 
  src/common/lock.cpp 1d2118a 
  src/common/type_utils.hpp c0b5fe9 
  src/exec/exec.cpp 9617423 
  src/local/local.cpp 1e2273b 
  src/log/coordinator.cpp 679fff1 
  src/log/log.hpp d3d6f09 
  src/log/log.cpp 151c46b 
  src/log/network.hpp 4d663a6 
  src/log/replica.cpp ed78f47 
  src/master/frameworks_manager.hpp 05c1059 
  src/master/frameworks_manager.cpp 6dece97 
  src/master/http.hpp d9fd511 
  src/master/http.cpp 9a8938d 
  src/master/master.hpp 42c812b 
  src/master/master.cpp b56c732 
  src/master/slaves_manager.hpp 3c98303 
  src/master/slaves_manager.cpp 28b50ef 
  src/python/native/mesos_executor_driver_impl.cpp d365e8f 
  src/python/native/mesos_scheduler_driver_impl.cpp 4bde768 
  src/python/native/proxy_scheduler.cpp 934820a 
  src/sched/sched.cpp 347e927 
  src/slave/http.hpp 9e8f58f 
  src/slave/http.cpp 133660c 
  src/slave/reaper.hpp 63b1f5d 
  src/slave/reaper.cpp 4193692 
  src/slave/slave.hpp 88cfc72 
  src/slave/slave.cpp 62fc277 
  src/tests/exception_tests.cpp 2df160b 
  src/tests/fault_tolerance_tests.cpp db9a434 
  src/tests/log_tests.cpp 12cde20 
  src/tests/master_tests.cpp 1842def 
  src/tests/utils.hpp efef762 
  src/zookeeper/group.cpp 772ecd9 
  src/zookeeper/zookeeper.cpp c9c38b4 
  third_party/libprocess/Makefile.in 6b9a095 
  third_party/libprocess/include/process/async.hpp 9886c3e 
  third_party/libprocess/include/process/dispatch.hpp 9e69896 
  third_party/libprocess/include/process/future.hpp 52d1679 
  third_party/libprocess/include/process/gc.hpp d9ccb35 
  third_party/libprocess/include/process/latch.hpp 1f04da4 
  third_party/libprocess/include/process/process.hpp b7d1a86 
  third_party/libprocess/include/process/protobuf.hpp d2ac3e8 
  third_party/libprocess/include/process/run.hpp 6787f6d 
  third_party/libprocess/include/process/timer.hpp a9706aa 
  third_party/libprocess/src/encoder.hpp 1432aec 
  third_party/libprocess/src/foreach.hpp ae17f58 
  third_party/libprocess/src/latch.cpp 1d53246 
  third_party/libprocess/src/process.cpp d77b156 
  third_party/libprocess/src/tests.cpp b3521f3 
  third_party/libprocess/src/timer.cpp e9a081a 

Diff: https://reviews.apache.org/r/3061/diff


Testing
-------

./bin/tests/all-tests


Thanks,

Benjamin


                
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Benjamin Hindman (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Hindman closed MESOS-32.
---------------------------------

    
> 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
>            Assignee: Benjamin Hindman
>   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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Bill Zhao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069270#comment-13069270 ] 

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

Here are the other threads:

billz@dhcp-44-175: ~/mesos$ gdb bin/mesos-master
GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul  1 10:50:06 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .... done

(gdb) run
Starting program: /Users/billz/mesos/bin/mesos-master 
Reading symbols for shared libraries +++......................... done
I0721 15:54:19.099674 2064075104 logging.cpp:40] Logging to /Users/billz/mesos/logs
I0721 15:54:19.107087 2064075104 main.cpp:75] Build: 2011-07-21 15:17:31 by billz
I0721 15:54:19.107141 2064075104 main.cpp:76] Starting Mesos master
I0721 15:54:19.109128 2064075104 webui.cpp:66] Starting master web UI on port 8080
I0721 15:54:19.109236 8056832 master.cpp:379] Master started at mesos://master@128.32.44.175:5050
I0721 15:54:19.109288 8056832 master.cpp:394] Master ID: 201107211554-0
I0721 15:54:19.109364 8056832 master.cpp:403] Creating "simple" allocator
I0721 15:54:19.109426 19939328 webui.cpp:34] Web UI thread started
I0721 15:54:19.166339 19939328 webui.cpp:46] Loading webui/master/webui.py
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries ........ done

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to process 88571 thread 0x1803]
0x00007fff9106ebff in __CFInitialize ()
(gdb) info threads
* 4                         0x00007fff9106ebff in __CFInitialize ()
  3                         0x00007fff96064df2 in select$DARWIN_EXTSN ()
  2                         0x00007fff96064bf2 in __psynch_mutexwait ()
  1 "com.apple.main-thread" 0x00007fff96064bca in __psynch_cvwait ()
(gdb) thread 1
[Switching to thread 1 (process 88571), "com.apple.main-thread"]
0x00007fff96064bca in __psynch_cvwait ()
(gdb) bt
#0  0x00007fff96064bca in __psynch_cvwait ()
#1  0x00007fff92c06274 in _pthread_cond_wait ()
#2  0x000000010013642b in Gate::arrive () at /Users/billz/mesos/third_party/libprocess/src/gate.hpp:73
#3  0x000000010013642b in process::ProcessManager::external_wait (this=0x101103a80, pid=@0x101103a30) at gate.hpp:2128
#4  0x000000010013db18 in process::wait (pid=@0x7fff5fbff788, secs=6.9532229757399032e-310) at process.cpp:3206
#5  0x00000001000021dd in main (argc=8447488, argv=0x7fff5fbff7c0) at main.cpp:92
(gdb) info threads
  4                         0x00007fff9106ebff in __CFInitialize ()
  3                         0x00007fff96064df2 in select$DARWIN_EXTSN ()
  2                         0x00007fff96064bf2 in __psynch_mutexwait ()
* 1 "com.apple.main-thread" 0x00007fff96064bca in __psynch_cvwait ()
(gdb) thread 2
[Switching to thread 2 (process 88571)]
0x00007fff96064bf2 in __psynch_mutexwait ()
(gdb) bt
#0  0x00007fff96064bf2 in __psynch_mutexwait ()
#1  0x00007fff92c011a1 in pthread_mutex_lock ()
#2  0x0000000100133710 in process::ProcessBase::enqueue (dispatcher=0x101105790, this=0x10080e038) at process.cpp:2734
#3  0x00000001001360b9 in process::ProcessReference::~ProcessReference () at /Users/billz/mesos/third_party/libprocess/src/process.cpp:1798
#4  0x00000001001360b9 in process::ProcessManager::deliver (this=0x101105790, to=@0x100265de0, dispatcher=0x101105790, sender=0x10080e038) at process.cpp:1802
#5  0x000000010014d295 in process::internal::vdispatch<process::GarbageCollector> (pid=@0x100265de0, thunk=@0x101105790) at process.cpp:3258
#6  0x000000010014d39a in std::tr1::_Function_base::~_Function_base () at dispatch.hpp:1069
#7  0x000000010014d39a in std::tr1::function<void ()(process::GarbageCollector*)>::~function () at /usr/include/c++/4.2.1/tr1/functional:834
#8  0x000000010014d39a in process::dispatch<process::GarbageCollector, process::ProcessBase const*, process::ProcessBase*> (pid=@0x10080e048, a1=0x101802028) at dispatch.hpp:1069
#9  0x000000010013c122 in process::UPID::UPID () at process.cpp:1877
#10 0x000000010013c122 in process::ProcessBase::self () at /Users/billz/mesos/third_party/libprocess/include/process/process.hpp:62
#11 0x000000010013c122 in process::ProcessManager::spawn (this=0x1007d0bb0, process=0x101802028, manage=true) at process.cpp:1880
#12 0x000000010013d2e2 in process::ProcessBase::spawn (process=0x101802028, manage=true) at process.cpp:3142
#13 0x00000001001500bc in process::spawn<process::TimerProcess> (t=0x100603590, manage=false) at process.hpp:264
#14 0x000000010014f9d7 in process::PID<process::TimerProcess>::operator= () at /Users/billz/mesos/third_party/libprocess/include/process/pid.hpp:34
#15 0x000000010014f9d7 in process::Timer::Timer (this=0x1007d0ef0, secs=0, pid=@0x100603590, dispatcher=0x400) at timer.cpp:34
#16 0x000000010002f945 in std::tr1::function<void ()(mesos::internal::master::Master*)>::~function () at timer.hpp:42
#17 0x000000010002f945 in std::tr1::_Function_base::~_Function_base () at /usr/include/c++/4.2.1/tr1/functional:42
#18 0x000000010002f945 in process::delay<mesos::internal::master::Master> (secs=0, pid=@0x100603590) at timer.hpp:834
#19 0x000000010000c4ce in mesos::internal::master::Master::operator() (this=0x10080e048) at master.cpp:411
#20 0x0000000100139df1 in process::ProcessManager::run (this=0x10080e600, process=0x10080e800) at process.cpp:2328
#21 0x0000000100139f16 in process::trampoline (stack0=8130560, stack1=1, process0=1024, process1=8194344) at process.cpp:913
(gdb) thread 3
[Switching to thread 3 (process 88571)]
0x00007fff96064df2 in select$DARWIN_EXTSN ()
(gdb) bt
#0  0x00007fff96064df2 in select$DARWIN_EXTSN ()
#1  0x00000001001542bb in select_poll ()
#2  0x000000010015824c in ev_loop ()
#3  0x000000010013728b in process::serve (arg=0x19) at process.cpp:891
#4  0x00007fff92c028bf in _pthread_start ()
#5  0x00007fff92c05b75 in thread_start ()
(gdb) info thread
Thread 3 has current state "WAITING"
        Mach port #0x1703 (gdb port #0x4203)
        frame 0: 0x00007fff96064df2 in select$DARWIN_EXTSN ()
        pthread ID: 0x101281060
        system-wide unique thread id: 0x6f16a
        total user time: 24000
        total system time: 45000
        scaled cpu usage percentage: 0
        scheduling policy in effect: 0x1
        run state: 0x3 (WAITING)
        flags: 0x1 (SWAPPED)
        number of seconds that thread has slept: 0
        current priority: 31
        max priority: 63
        suspend count: 0.
(gdb) info threads
  4                         0x00007fff9106ebff in __CFInitialize ()
* 3                         0x00007fff96064df2 in select$DARWIN_EXTSN ()
  2                         0x00007fff96064bf2 in __psynch_mutexwait ()
  1 "com.apple.main-thread" 0x00007fff96064bca in __psynch_cvwait ()
(gdb) thread 4
[Switching to thread 4 (process 88571)]
0x00007fff9106ebff in __CFInitialize ()
(gdb) bt
#0  0x00007fff9106ebff in __CFInitialize ()
#1  0x00007fff5fc0fde3 in __dyld__ZN16ImageLoaderMachO11doImageInitERKN11ImageLoader11LinkContextE ()
#2  0x00007fff5fc0fa5b in __dyld__ZN16ImageLoaderMachO16doInitializationERKN11ImageLoader11LinkContextE ()
#3  0x00007fff5fc0d258 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE ()
#4  0x00007fff5fc0d1f1 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE ()
#5  0x00007fff5fc0d1f1 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE ()
#6  0x00007fff5fc0e02b in __dyld__ZN11ImageLoader15runInitializersERKNS_11LinkContextERNS_21InitializerTimingListE ()
#7  0x00007fff5fc03189 in __dyld__ZN4dyld15runInitializersEP11ImageLoader ()
#8  0x00007fff5fc095cb in __dyld_dlopen ()
#9  0x00007fff8aeed95b in dlopen ()
#10 0x00000001004fa7da in _PyImport_GetDynLoadFunc ()
#11 0x00000001004eaea2 in _PyImport_LoadDynamicModule ()
#12 0x00000001004e9652 in PyImport_ReloadModule ()
#13 0x00000001004e9860 in PyImport_ReloadModule ()
#14 0x00000001004ea60d in PyImport_ImportModuleLevel ()
#15 0x00000001004ceb4c in _PyBuiltin_Init ()
#16 0x000000010045c4c0 in PyObject_Call ()
#17 0x00000001004d336b in PyEval_CallObjectWithKeywords ()
#18 0x00000001004d8a33 in PyEval_EvalFrameEx ()
#19 0x00000001004d9da4 in PyEval_EvalCodeEx ()
#20 0x00000001004d9e19 in PyEval_EvalCode ()
#21 0x00000001004e8346 in PyImport_ExecCodeModuleEx ()
#22 0x00000001004e888e in PyImport_ExecCodeModuleEx ()
#23 0x00000001004e9652 in PyImport_ReloadModule ()
#24 0x00000001004e9860 in PyImport_ReloadModule ()
#25 0x00000001004ea60d in PyImport_ImportModuleLevel ()
#26 0x00000001004ceb4c in _PyBuiltin_Init ()
#27 0x000000010045c4c0 in PyObject_Call ()
#28 0x00000001004d336b in PyEval_CallObjectWithKeywords ()
#29 0x00000001004d8a33 in PyEval_EvalFrameEx ()
#30 0x00000001004d9da4 in PyEval_EvalCodeEx ()
#31 0x00000001004d9e19 in PyEval_EvalCode ()
#32 0x00000001004e8346 in PyImport_ExecCodeModuleEx ()
#33 0x00000001004e888e in PyImport_ExecCodeModuleEx ()
#34 0x00000001004e9652 in PyImport_ReloadModule ()
#35 0x00000001004e9860 in PyImport_ReloadModule ()
#36 0x00000001004ea60d in PyImport_ImportModuleLevel ()
#37 0x00000001004ceb4c in _PyBuiltin_Init ()
#38 0x000000010045c4c0 in PyObject_Call ()
#39 0x00000001004d336b in PyEval_CallObjectWithKeywords ()
#40 0x00000001004d8a33 in PyEval_EvalFrameEx ()
#41 0x00000001004d9da4 in PyEval_EvalCodeEx ()
#42 0x00000001004d9e19 in PyEval_EvalCode ()
#43 0x00000001004e8346 in PyImport_ExecCodeModuleEx ()
#44 0x00000001004e888e in PyImport_ExecCodeModuleEx ()
#45 0x00000001004e9652 in PyImport_ReloadModule ()
#46 0x00000001004e9860 in PyImport_ReloadModule ()
#47 0x00000001004ea60d in PyImport_ImportModuleLevel ()
#48 0x00000001004ceb4c in _PyBuiltin_Init ()
#49 0x000000010045c4c0 in PyObject_Call ()
#50 0x00000001004d336b in PyEval_CallObjectWithKeywords ()
#51 0x00000001004d8a33 in PyEval_EvalFrameEx ()
#52 0x00000001004d9da4 in PyEval_EvalCodeEx ()
#53 0x00000001004d9e19 in PyEval_EvalCode ()
#54 0x00000001004f116b in Py_CompileString ()
#55 0x00000001004f122b in PyRun_FileExFlags ()
#56 0x00000001004f234f in PyRun_SimpleFileExFlags ()
#57 0x000000010004aa78 in mesos::internal::master::runMasterWebUI (unnamed_arg=0x1) at webui.cpp:48
#58 0x00007fff92c028bf in _pthread_start ()
#59 0x00007fff92c05b75 in thread_start ()
(gdb) 

> 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

        

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

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164626#comment-13164626 ] 

jiraposter@reviews.apache.org commented on MESOS-32:
----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3061/
-----------------------------------------------------------

(Updated 2011-12-07 19:06:41.983868)


Review request for mesos and John Sirois.


Changes
-------

Added the Python race bug number in here as well since it needed to get fixed in order to get the tests to pass.


Summary
-------

This is my first stab at the updated libprocess and corresponding Mesos changes. I'll probably go through a few iterations here (even without review feedback, just by looking at it myself).


This addresses bugs MESOS-32 and MESOS-36.
    https://issues.apache.org/jira/browse/MESOS-32
    https://issues.apache.org/jira/browse/MESOS-36


Diffs
-----

  include/mesos/mesos.proto 33248ec 
  include/mesos/scheduler.hpp 93dda98 
  src/common/lock.hpp 2958752 
  src/common/lock.cpp 1d2118a 
  src/common/type_utils.hpp c0b5fe9 
  src/exec/exec.cpp b27c241 
  src/local/local.cpp 1e2273b 
  src/log/log.cpp 7386a9d 
  src/log/network.hpp c88822c 
  src/log/replica.cpp e60f4df 
  src/master/frameworks_manager.hpp bf97d5f 
  src/master/frameworks_manager.cpp 30fa325 
  src/master/http.cpp 47caf48 
  src/master/master.hpp fdacf36 
  src/master/master.cpp b6cfde7 
  src/master/slaves_manager.cpp 3f67aa1 
  src/python/native/mesos_executor_driver_impl.cpp ed4aaa5 
  src/python/native/mesos_scheduler_driver_impl.cpp 4bde768 
  src/python/native/proxy_scheduler.cpp 934820a 
  src/sched/sched.cpp 7f4e980 
  src/slave/http.cpp 18efd8c 
  src/slave/reaper.hpp 63b1f5d 
  src/slave/reaper.cpp 4193692 
  src/slave/slave.hpp 37bbd8c 
  src/slave/slave.cpp de5716c 
  src/tests/exception_tests.cpp 62f4fb6 
  src/tests/fault_tolerance_tests.cpp ebb7709 
  src/tests/log_tests.cpp c6bbdd1 
  src/tests/master_tests.cpp 2438114 
  src/tests/utils.hpp 02772f7 
  src/zookeeper/zookeeper.cpp c1aa827 
  third_party/libprocess/Makefile.in 6b9a095 
  third_party/libprocess/include/process/async.hpp 9886c3e 
  third_party/libprocess/include/process/dispatch.hpp 9e69896 
  third_party/libprocess/include/process/event.hpp PRE-CREATION 
  third_party/libprocess/include/process/future.hpp 52d1679 
  third_party/libprocess/include/process/gc.hpp d9ccb35 
  third_party/libprocess/include/process/latch.hpp 1f04da4 
  third_party/libprocess/include/process/message.hpp PRE-CREATION 
  third_party/libprocess/include/process/process.hpp b7d1a86 
  third_party/libprocess/include/process/protobuf.hpp 7636822 
  third_party/libprocess/include/process/run.hpp 6787f6d 
  third_party/libprocess/include/process/timeout.hpp 96905a8 
  third_party/libprocess/include/process/timer.hpp a9706aa 
  third_party/libprocess/src/encoder.hpp 1432aec 
  third_party/libprocess/src/foreach.hpp ae17f58 
  third_party/libprocess/src/latch.cpp 1d53246 
  third_party/libprocess/src/process.cpp d77b156 
  third_party/libprocess/src/tests.cpp b3521f3 
  third_party/libprocess/src/timer.cpp e9a081a 

Diff: https://reviews.apache.org/r/3061/diff


Testing
-------

./bin/tests/all-tests


Thanks,

Benjamin


                
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Bill Zhao (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150146#comment-13150146 ] 

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


############################# New Issue ###################################

(gdb) run
Starting program: /Users/billz/mesos/bin/mesos-master 
Reading symbols for shared libraries +++++................................ done
I1114 17:07:40.351624 1980725600 logging.cpp:70] Logging to /Users/billz/mesos/logs
I1114 17:07:40.354549 1980725600 main.cpp:95] Build: 2011-11-14 17:02:44 by billz
I1114 17:07:40.354590 1980725600 main.cpp:96] Starting Mesos master
I1114 17:07:40.356147 18759680 master.cpp:264] Master started at mesos://master@128.32.44.213:5050
I1114 17:07:40.356173 1980725600 webui.cpp:81] Starting master web server on port 8080
I1114 17:07:40.356220 18759680 master.cpp:279] Master ID: 201111141707-0
I1114 17:07:40.356305 23687168 webui.cpp:47] Master web server thread started
I1114 17:07:40.356657 18759680 master.cpp:462] Elected as master!
F1114 17:07:40.356766 18759680 process.cpp:2028] Check failed: process->state == ProcessBase::READY 
*** Check failure stack trace: ***

Program received signal SIGABRT, Aborted.
[Switching to process 38956 thread 0x1a03]
0x00007fff907dbce2 in __pthread_kill ()
(gdb) bt
#0  0x00007fff907dbce2 in __pthread_kill ()
#1  0x00007fff8df747d2 in pthread_kill ()
#2  0x00007fff8df65a7a in abort ()
#3  0x000000010022b86b in google::DumpStackTraceAndExit ()
#4  0x000000010022660e in google::LogMessage::SendToLog ()
#5  0x0000000100225bd5 in google::LogMessage::Flush ()
#6  0x0000000100226b51 in google::LogMessageFatal::~LogMessageFatal ()
#7  0x0000000100243f96 in process::ProcessManager::serve (this=<value temporarily unavailable, due to optimizations>, process=0x1011f5ba0, secs=<value temporarily unavailable, due to optimizations>) at src/process.cpp:2028
#8  0x0000000100244bd9 in process::ProcessBase::serve (this=0x101816e38, secs=<value temporarily unavailable, due to optimizations>, once=<value temporarily unavailable, due to optimizations>) at src/process.cpp:2993
#9  0x0000000100256d85 in std::string::_M_rep () at /opt/local/include/gcc44/c++/bits/basic_string.h:31
#10 0x0000000100256d85 in process::GarbageCollector::operator() (this=0x101816e00) at basic_string.h:503
#11 0x000000010023bfff in process::ProcessManager::run (this=0x10120f2e0, process=0x101816e38) at src/process.cpp:2356
#12 0x000000010023c164 in process::trampoline (stack0=18767872, stack1=1, process0=<value temporarily unavailable, due to optimizations>, process1=<value temporarily unavailable, due to optimizations>) at src/process.cpp:937
                
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Benjamin Hindman (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Hindman resolved MESOS-32.
-----------------------------------

    Resolution: Fixed
      Assignee: Benjamin Hindman
    
> 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
>            Assignee: Benjamin Hindman
>   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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Bill Zhao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069279#comment-13069279 ] 

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

I found a few forms discussing Mac OS X Lion's Python version (2.7) that cause some compatibility issue with application.

http://help.couchpotatoapp.com/discussions/problems/222-couchpotato-and-osx-lion-problem

http://www.google.com/search?aq=f&sourceid=chrome&ie=UTF-8&q=lion+python#sclient=psy&hl=en&source=hp&q=mac+os+x+lion+python&pbx=1&oq=mac+os+x+lion+python&aq=f&aqi=g1&aql=1&gs_sm=e&gs_upl=399l3051l1l3289l7l6l0l4l4l0l202l446l1.1.1l3&bav=on.2,or.r_gc.r_pw.&fp=6738bf4e4a8a45f4&biw=1280&bih=839

> 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

        

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

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197978#comment-13197978 ] 

jiraposter@reviews.apache.org commented on MESOS-32:
----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3720/
-----------------------------------------------------------

Review request for mesos and John Sirois.


Summary
-------

To deal with compilation erros on Mac OS X 10.7:

java/jni/org_apache_mesos_MesosSchedulerDriver.cpp: In function 'void Java_org_apache_mesos_MesosSchedulerDriver_finalize(JNIEnv*, __jobject*)':
java/jni/org_apache_mesos_MesosSchedulerDriver.cpp:493: error: invalid conversion from '__jobject*' to '__jweak*'
java/jni/org_apache_mesos_MesosSchedulerDriver.cpp:493: error:   initializing argument 1 of 'void _Jv_JNIEnv::DeleteWeakGlobalRef(__jweak*)'


This addresses bug MESOS-32.
    https://issues.apache.org/jira/browse/MESOS-32


Diffs
-----

  src/java/jni/org_apache_mesos_MesosExecutorDriver.cpp 3ea1131 
  src/java/jni/org_apache_mesos_MesosSchedulerDriver.cpp 8704663 

Diff: https://reviews.apache.org/r/3720/diff


Testing
-------


Thanks,

Benjamin


                
> 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
>            Assignee: Benjamin Hindman
>   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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Bill Zhao (JIRA)" <ji...@apache.org>.
    [ 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

       

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

Posted by "Bill Zhao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069264#comment-13069264 ] 

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

Is this the trace you want?



billz@dhcp-44-175: ~/mesos$ gdb bin/mesos-master
GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul  1 10:50:06 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .... done

(gdb) run
Starting program: /Users/billz/mesos/bin/mesos-master 
Reading symbols for shared libraries +++......................... done
I0721 15:44:41.192394 2064075104 logging.cpp:40] Logging to /Users/billz/mesos/logs
I0721 15:44:41.215212 2064075104 main.cpp:75] Build: 2011-07-21 15:17:31 by billz
I0721 15:44:41.215262 2064075104 main.cpp:76] Starting Mesos master
I0721 15:44:41.216474 2064075104 webui.cpp:66] Starting master web UI on port 8080
I0721 15:44:41.216446 8056832 master.cpp:379] Master started at mesos://master@128.32.44.175:5050
I0721 15:44:41.216610 8056832 master.cpp:394] Master ID: 201107211544-0
I0721 15:44:41.216681 8056832 master.cpp:403] Creating "simple" allocator
I0721 15:44:41.216789 19939328 webui.cpp:34] Web UI thread started
I0721 15:44:41.519947 19939328 webui.cpp:46] Loading webui/master/webui.py
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries ........ done

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to process 88548 thread 0x1803]
0x00007fff9106ebff in __CFInitialize ()
(gdb) bt
#0  0x00007fff9106ebff in __CFInitialize ()
#1  0x00007fff5fc0fde3 in __dyld__ZN16ImageLoaderMachO11doImageInitERKN11ImageLoader11LinkContextE ()
#2  0x00007fff5fc0fa5b in __dyld__ZN16ImageLoaderMachO16doInitializationERKN11ImageLoader11LinkContextE ()
#3  0x00007fff5fc0d258 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE ()
#4  0x00007fff5fc0d1f1 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE ()
#5  0x00007fff5fc0d1f1 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListE ()
#6  0x00007fff5fc0e02b in __dyld__ZN11ImageLoader15runInitializersERKNS_11LinkContextERNS_21InitializerTimingListE ()
#7  0x00007fff5fc03189 in __dyld__ZN4dyld15runInitializersEP11ImageLoader ()
#8  0x00007fff5fc095cb in __dyld_dlopen ()
#9  0x00007fff8aeed95b in dlopen ()
#10 0x00000001004fa7da in _PyImport_GetDynLoadFunc ()
#11 0x00000001004eaea2 in _PyImport_LoadDynamicModule ()
#12 0x00000001004e9652 in PyImport_ReloadModule ()
#13 0x00000001004e9860 in PyImport_ReloadModule ()
#14 0x00000001004ea60d in PyImport_ImportModuleLevel ()
#15 0x00000001004ceb4c in _PyBuiltin_Init ()
#16 0x000000010045c4c0 in PyObject_Call ()
#17 0x00000001004d336b in PyEval_CallObjectWithKeywords ()
#18 0x00000001004d8a33 in PyEval_EvalFrameEx ()
#19 0x00000001004d9da4 in PyEval_EvalCodeEx ()
#20 0x00000001004d9e19 in PyEval_EvalCode ()
#21 0x00000001004e8346 in PyImport_ExecCodeModuleEx ()
#22 0x00000001004e888e in PyImport_ExecCodeModuleEx ()
#23 0x00000001004e9652 in PyImport_ReloadModule ()
#24 0x00000001004e9860 in PyImport_ReloadModule ()
#25 0x00000001004ea60d in PyImport_ImportModuleLevel ()
#26 0x00000001004ceb4c in _PyBuiltin_Init ()
#27 0x000000010045c4c0 in PyObject_Call ()
#28 0x00000001004d336b in PyEval_CallObjectWithKeywords ()
#29 0x00000001004d8a33 in PyEval_EvalFrameEx ()
#30 0x00000001004d9da4 in PyEval_EvalCodeEx ()
#31 0x00000001004d9e19 in PyEval_EvalCode ()
#32 0x00000001004e8346 in PyImport_ExecCodeModuleEx ()
#33 0x00000001004e888e in PyImport_ExecCodeModuleEx ()
#34 0x00000001004e9652 in PyImport_ReloadModule ()
#35 0x00000001004e9860 in PyImport_ReloadModule ()
#36 0x00000001004ea60d in PyImport_ImportModuleLevel ()
#37 0x00000001004ceb4c in _PyBuiltin_Init ()
#38 0x000000010045c4c0 in PyObject_Call ()
#39 0x00000001004d336b in PyEval_CallObjectWithKeywords ()
#40 0x00000001004d8a33 in PyEval_EvalFrameEx ()
#41 0x00000001004d9da4 in PyEval_EvalCodeEx ()
#42 0x00000001004d9e19 in PyEval_EvalCode ()
#43 0x00000001004e8346 in PyImport_ExecCodeModuleEx ()
#44 0x00000001004e888e in PyImport_ExecCodeModuleEx ()
#45 0x00000001004e9652 in PyImport_ReloadModule ()
#46 0x00000001004e9860 in PyImport_ReloadModule ()
#47 0x00000001004ea60d in PyImport_ImportModuleLevel ()
#48 0x00000001004ceb4c in _PyBuiltin_Init ()
#49 0x000000010045c4c0 in PyObject_Call ()
#50 0x00000001004d336b in PyEval_CallObjectWithKeywords ()
#51 0x00000001004d8a33 in PyEval_EvalFrameEx ()
#52 0x00000001004d9da4 in PyEval_EvalCodeEx ()
#53 0x00000001004d9e19 in PyEval_EvalCode ()
#54 0x00000001004f116b in Py_CompileString ()
#55 0x00000001004f122b in PyRun_FileExFlags ()
#56 0x00000001004f234f in PyRun_SimpleFileExFlags ()
#57 0x000000010004aa78 in mesos::internal::master::runMasterWebUI (unnamed_arg=0x1) at webui.cpp:48
#58 0x00007fff92c028bf in _pthread_start ()
#59 0x00007fff92c05b75 in thread_start ()
(gdb) 

> 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

        

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

Posted by "Benjamin Hindman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069266#comment-13069266 ] 

Benjamin Hindman commented on MESOS-32:
---------------------------------------

That's great, but just for completeness can you provide back traces for the other threads too?

> 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

        

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

Posted by "Bill Zhao (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150148#comment-13150148 ] 

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

Program received signal SIGABRT, Aborted.
[Switching to process 38989 thread 0x1a03]
0x00007fff907dbce2 in __pthread_kill ()
(gdb) info threads
  5                         0x0000000100e2f0e6 in PyType_Ready ()
  4                         0x00007fff907dbbca in __psynch_cvwait ()
  3                         0x00007fff907dbdf2 in select$DARWIN_EXTSN ()
* 2                         0x00007fff907dbce2 in __pthread_kill ()
  1 "com.apple.main-thread" 0x00007fff907dbbca in __psynch_cvwait ()
(gdb) thread 3    
[Switching to thread 3 (process 38989)]
0x00007fff907dbdf2 in select$DARWIN_EXTSN ()
(gdb) bt
#0  0x00007fff907dbdf2 in select$DARWIN_EXTSN ()
#1  0x000000010025d263 in select_poll ()
#2  0x000000010025e4ff in ev_loop ()
#3  0x000000010023137b in process::serve (arg=<value temporarily unavailable, due to optimizations>) at src/process.cpp:890
#4  0x00007fff8df728bf in _pthread_start ()
#5  0x00007fff8df75b75 in thread_start ()
                
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169877#comment-13169877 ] 

jiraposter@reviews.apache.org commented on MESOS-32:
----------------------------------------------------



bq.  On 2011-12-07 21:44:53, Charles Reiss wrote:
bq.  > third_party/libprocess/src/process.cpp, line 1451
bq.  > <https://reviews.apache.org/r/3061/diff/1/?file=62982#file62982line1451>
bq.  >
bq.  >     pthread_create doesn't set errno.

Thanks Charles, I'll be updating the diff with this change (amongst a lot others) soon.


- Benjamin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3061/#review3713
-----------------------------------------------------------


On 2011-12-07 19:06:41, Benjamin Hindman wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/3061/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2011-12-07 19:06:41)
bq.  
bq.  
bq.  Review request for mesos and John Sirois.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  This is my first stab at the updated libprocess and corresponding Mesos changes. I'll probably go through a few iterations here (even without review feedback, just by looking at it myself).
bq.  
bq.  
bq.  This addresses bugs MESOS-32 and MESOS-36.
bq.      https://issues.apache.org/jira/browse/MESOS-32
bq.      https://issues.apache.org/jira/browse/MESOS-36
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    include/mesos/mesos.proto 33248ec 
bq.    include/mesos/scheduler.hpp 93dda98 
bq.    src/common/lock.hpp 2958752 
bq.    src/common/lock.cpp 1d2118a 
bq.    src/common/type_utils.hpp c0b5fe9 
bq.    src/exec/exec.cpp b27c241 
bq.    src/local/local.cpp 1e2273b 
bq.    src/log/log.cpp 7386a9d 
bq.    src/log/network.hpp c88822c 
bq.    src/log/replica.cpp e60f4df 
bq.    src/master/frameworks_manager.hpp bf97d5f 
bq.    src/master/frameworks_manager.cpp 30fa325 
bq.    src/master/http.cpp 47caf48 
bq.    src/master/master.hpp fdacf36 
bq.    src/master/master.cpp b6cfde7 
bq.    src/master/slaves_manager.cpp 3f67aa1 
bq.    src/python/native/mesos_executor_driver_impl.cpp ed4aaa5 
bq.    src/python/native/mesos_scheduler_driver_impl.cpp 4bde768 
bq.    src/python/native/proxy_scheduler.cpp 934820a 
bq.    src/sched/sched.cpp 7f4e980 
bq.    src/slave/http.cpp 18efd8c 
bq.    src/slave/reaper.hpp 63b1f5d 
bq.    src/slave/reaper.cpp 4193692 
bq.    src/slave/slave.hpp 37bbd8c 
bq.    src/slave/slave.cpp de5716c 
bq.    src/tests/exception_tests.cpp 62f4fb6 
bq.    src/tests/fault_tolerance_tests.cpp ebb7709 
bq.    src/tests/log_tests.cpp c6bbdd1 
bq.    src/tests/master_tests.cpp 2438114 
bq.    src/tests/utils.hpp 02772f7 
bq.    src/zookeeper/zookeeper.cpp c1aa827 
bq.    third_party/libprocess/Makefile.in 6b9a095 
bq.    third_party/libprocess/include/process/async.hpp 9886c3e 
bq.    third_party/libprocess/include/process/dispatch.hpp 9e69896 
bq.    third_party/libprocess/include/process/event.hpp PRE-CREATION 
bq.    third_party/libprocess/include/process/future.hpp 52d1679 
bq.    third_party/libprocess/include/process/gc.hpp d9ccb35 
bq.    third_party/libprocess/include/process/latch.hpp 1f04da4 
bq.    third_party/libprocess/include/process/message.hpp PRE-CREATION 
bq.    third_party/libprocess/include/process/process.hpp b7d1a86 
bq.    third_party/libprocess/include/process/protobuf.hpp 7636822 
bq.    third_party/libprocess/include/process/run.hpp 6787f6d 
bq.    third_party/libprocess/include/process/timeout.hpp 96905a8 
bq.    third_party/libprocess/include/process/timer.hpp a9706aa 
bq.    third_party/libprocess/src/encoder.hpp 1432aec 
bq.    third_party/libprocess/src/foreach.hpp ae17f58 
bq.    third_party/libprocess/src/latch.cpp 1d53246 
bq.    third_party/libprocess/src/process.cpp d77b156 
bq.    third_party/libprocess/src/tests.cpp b3521f3 
bq.    third_party/libprocess/src/timer.cpp e9a081a 
bq.  
bq.  Diff: https://reviews.apache.org/r/3061/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  ./bin/tests/all-tests
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Benjamin
bq.  
bq.


                
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Bill Zhao (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150145#comment-13150145 ] 

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

The Python issue seem to be fixed.  However, a new issue has came up.  
                
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197980#comment-13197980 ] 

jiraposter@reviews.apache.org commented on MESOS-32:
----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3720/#review4748
-----------------------------------------------------------

Ship it!


- John


On 2012-02-01 17:31:12, Benjamin Hindman wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/3720/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-02-01 17:31:12)
bq.  
bq.  
bq.  Review request for mesos and John Sirois.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  To deal with compilation erros on Mac OS X 10.7:
bq.  
bq.  java/jni/org_apache_mesos_MesosSchedulerDriver.cpp: In function 'void Java_org_apache_mesos_MesosSchedulerDriver_finalize(JNIEnv*, __jobject*)':
bq.  java/jni/org_apache_mesos_MesosSchedulerDriver.cpp:493: error: invalid conversion from '__jobject*' to '__jweak*'
bq.  java/jni/org_apache_mesos_MesosSchedulerDriver.cpp:493: error:   initializing argument 1 of 'void _Jv_JNIEnv::DeleteWeakGlobalRef(__jweak*)'
bq.  
bq.  
bq.  This addresses bug MESOS-32.
bq.      https://issues.apache.org/jira/browse/MESOS-32
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    src/java/jni/org_apache_mesos_MesosExecutorDriver.cpp 3ea1131 
bq.    src/java/jni/org_apache_mesos_MesosSchedulerDriver.cpp 8704663 
bq.  
bq.  Diff: https://reviews.apache.org/r/3720/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Benjamin
bq.  
bq.


                
> 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
>            Assignee: Benjamin Hindman
>   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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Benjamin Hindman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069272#comment-13069272 ] 

Benjamin Hindman commented on MESOS-32:
---------------------------------------

Great, thanks. My best guess reading this stuff is that Python is having some problems loading. Have you read about anything like this on developer.apple.com regarding Lion?

> 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

        

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

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197983#comment-13197983 ] 

jiraposter@reviews.apache.org commented on MESOS-32:
----------------------------------------------------



bq.  On 2012-02-01 17:33:31, John Sirois wrote:
bq.  >

Cool, thanks John. Submitting.


- Benjamin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3720/#review4748
-----------------------------------------------------------


On 2012-02-01 17:31:12, Benjamin Hindman wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/3720/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-02-01 17:31:12)
bq.  
bq.  
bq.  Review request for mesos and John Sirois.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  To deal with compilation erros on Mac OS X 10.7:
bq.  
bq.  java/jni/org_apache_mesos_MesosSchedulerDriver.cpp: In function 'void Java_org_apache_mesos_MesosSchedulerDriver_finalize(JNIEnv*, __jobject*)':
bq.  java/jni/org_apache_mesos_MesosSchedulerDriver.cpp:493: error: invalid conversion from '__jobject*' to '__jweak*'
bq.  java/jni/org_apache_mesos_MesosSchedulerDriver.cpp:493: error:   initializing argument 1 of 'void _Jv_JNIEnv::DeleteWeakGlobalRef(__jweak*)'
bq.  
bq.  
bq.  This addresses bug MESOS-32.
bq.      https://issues.apache.org/jira/browse/MESOS-32
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    src/java/jni/org_apache_mesos_MesosExecutorDriver.cpp 3ea1131 
bq.    src/java/jni/org_apache_mesos_MesosSchedulerDriver.cpp 8704663 
bq.  
bq.  Diff: https://reviews.apache.org/r/3720/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Benjamin
bq.  
bq.


                
> 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
>            Assignee: Benjamin Hindman
>   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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Bill Zhao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071309#comment-13071309 ] 

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

I made some changes to the "configure" file.

In ~/mesos/configure:
line 1799: changed the python2.6 to python2.7

In ~/mesos/configure.template.macosx:
line 12: changed this 
  --with-python-headers=/usr/include/python2.6 
to 
  --with-python-headers=/usr/include/python2.7 


Getting these errors during compilation:

g++ -c -O2 -fno-strict-aliasing -fPIC  -D_XOPEN_SOURCE -g -I. -I. -I../include -I../include -I../third_party/boost-1.37.0 -I../third_party/protobuf-2.3.0/src -I../third_party/glog-0.3.1/src -I../third_party/glog-0.3.1/src -I../third_party/libprocess/include -I../third_party/zookeeper-3.3.1/src/c/include -I../third_party/zookeeper-3.3.1/src/c/generated -MMD -MP -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -o webui/slave/swig/slave_wrap.o webui/slave/swig/slave_wrap.cpp
webui/slave/swig/slave_wrap.cpp: In function ‘std::vector<mesos::internal::slave::state::Framework*, std::allocator<mesos::internal::slave::state::Framework*> >* std_vector_Sl_mesos_internal_slave_state_Framework_Sm__Sg____getitem____SWIG_0(std::vector<mesos::internal::slave::state::Framework*, std::allocator<mesos::internal::slave::state::Framework*> >*, PySliceObject*)’:
webui/slave/swig/slave_wrap.cpp:4883: error: ‘SWIGPY_SLICE_ARG’ was not declared in this scope
webui/slave/swig/slave_wrap.cpp: In function ‘void std_vector_Sl_mesos_internal_slave_state_Framework_Sm__Sg____setitem____SWIG_0(std::vector<mesos::internal::slave::state::Framework*, std::allocator<mesos::internal::slave::state::Framework*> >*, PySliceObject*, const std::vector<mesos::internal::slave::state::Framework*, std::allocator<mesos::internal::slave::state::Framework*> >&)’:
webui/slave/swig/slave_wrap.cpp:4892: error: ‘SWIGPY_SLICE_ARG’ was not declared in this scope
webui/slave/swig/slave_wrap.cpp: In function ‘void std_vector_Sl_mesos_internal_slave_state_Framework_Sm__Sg____setitem____SWIG_1(std::vector<mesos::internal::slave::state::Framework*, std::allocator<mesos::internal::slave::state::Framework*> >*, PySliceObject*)’:
webui/slave/swig/slave_wrap.cpp:4901: error: ‘SWIGPY_SLICE_ARG’ was not declared in this scope
webui/slave/swig/slave_wrap.cpp: In function ‘void std_vector_Sl_mesos_internal_slave_state_Framework_Sm__Sg____delitem____SWIG_1(std::vector<mesos::internal::slave::state::Framework*, std::allocator<mesos::internal::slave::state::Framework*> >*, PySliceObject*)’:
webui/slave/swig/slave_wrap.cpp:4910: error: ‘SWIGPY_SLICE_ARG’ was not declared in this scope
webui/slave/swig/slave_wrap.cpp: In function ‘std::vector<mesos::internal::slave::state::Task*, std::allocator<mesos::internal::slave::state::Task*> >* std_vector_Sl_mesos_internal_slave_state_Task_Sm__Sg____getitem____SWIG_0(std::vector<mesos::internal::slave::state::Task*, std::allocator<mesos::internal::slave::state::Task*> >*, PySliceObject*)’:
webui/slave/swig/slave_wrap.cpp:5031: error: ‘SWIGPY_SLICE_ARG’ was not declared in this scope
webui/slave/swig/slave_wrap.cpp: In function ‘void std_vector_Sl_mesos_internal_slave_state_Task_Sm__Sg____setitem____SWIG_0(std::vector<mesos::internal::slave::state::Task*, std::allocator<mesos::internal::slave::state::Task*> >*, PySliceObject*, const std::vector<mesos::internal::slave::state::Task*, std::allocator<mesos::internal::slave::state::Task*> >&)’:
webui/slave/swig/slave_wrap.cpp:5040: error: ‘SWIGPY_SLICE_ARG’ was not declared in this scope
webui/slave/swig/slave_wrap.cpp: In function ‘void std_vector_Sl_mesos_internal_slave_state_Task_Sm__Sg____setitem____SWIG_1(std::vector<mesos::internal::slave::state::Task*, std::allocator<mesos::internal::slave::state::Task*> >*, PySliceObject*)’:
webui/slave/swig/slave_wrap.cpp:5049: error: ‘SWIGPY_SLICE_ARG’ was not declared in this scope
webui/slave/swig/slave_wrap.cpp: In function ‘void std_vector_Sl_mesos_internal_slave_state_Task_Sm__Sg____delitem____SWIG_1(std::vector<mesos::internal::slave::state::Task*, std::allocator<mesos::internal::slave::state::Task*> >*, PySliceObject*)’:
webui/slave/swig/slave_wrap.cpp:5058: error: ‘SWIGPY_SLICE_ARG’ was not declared in this scope
make[1]: *** [webui/slave/swig/slave_wrap.o] Error 1
make: *** [src] Error 2

> 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