[jira] [Updated] (MESOS-1356) Uncaught exceptions

2016-03-02 Thread Adam B (JIRA)

 [ 
https://issues.apache.org/jira/browse/MESOS-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam B updated MESOS-1356:
--
Shepherd:   (was: Adam B)

> Uncaught exceptions
> ---
>
> Key: MESOS-1356
> URL: https://issues.apache.org/jira/browse/MESOS-1356
> Project: Mesos
>  Issue Type: Bug
>Reporter: Niklas Quarfot Nielsen
>Assignee: Michael Browning
>  Labels: coverity, newbie
>
> We usually do _not_ use exceptions in Mesos, but some libraries may and we 
> should handle them and perhaps convert them into Try<>/Error.
> 
> *** CID 1213893:  Uncaught exception  (UNCAUGHT_EXCEPT)
> /src/slave/containerizer/linux_launcher.cpp: 148 in 
> mesos::internal::slave::_childMain(const std::tr1::function &, int 
> *)()
> 142   return (*func)();
> 143 }
> 144
> 145
> 146 // Helper that creates a new session then blocks on reading the pipe 
> before
> 147 // calling the supplied function.
> >>> CID 1213893:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "_childMain" an exception of type 
> >>> "std::tr1::bad_function_call" is thrown and never caught.
> 148 static int _childMain(
> 149 const lambda::function& childFunction,
> 150 int pipes[2])
> 151 {
> 152   // In child.
> 153   os::close(pipes[1]);
> 
> *** CID 1213894:  Uncaught exception  (UNCAUGHT_EXCEPT)
> /src/slave/containerizer/linux_launcher.cpp: 137 in 
> mesos::internal::slave::childMain(void *)()
> 131
> 132   return Nothing();
> 133 }
> 134
> 135
> 136 // Helper for clone() which expects an int(void*).
> >>> CID 1213894:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "childMain" an exception of type 
> >>> "std::tr1::bad_function_call" is thrown and never caught.
> 137 static int childMain(void* child)
> 138 {
> 139   const lambda::function* func =
> 140 static_cast*> (child);
> 141
> 142   return (*func)();
> 
> *** CID 1213895:  Uncaught exception  (UNCAUGHT_EXCEPT)
> /src/usage/main.cpp: 72 in main()
> 66<< endl
> 67<< "Supported options:" << endl
> 68<< flags.usage();
> 69 }
> 70
> 71
> >>> CID 1213895:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "main" an exception of type 
> >>> "google::protobuf::FatalException" is thrown and never caught.
> 72 int main(int argc, char** argv)
> 73 {
> 74   GOOGLE_PROTOBUF_VERIFY_VERSION;
> 75
> 76   Flags flags;
> 77
> /src/usage/main.cpp: 72 in main()
> 66<< endl
> 67<< "Supported options:" << endl
> 68<< flags.usage();
> 69 }
> 70
> 71
> >>> CID 1213895:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "main" an exception of type 
> >>> "google::protobuf::FatalException" is thrown and never caught.
> 72 int main(int argc, char** argv)
> 73 {
> 74   GOOGLE_PROTOBUF_VERIFY_VERSION;
> 75
> 76   Flags flags;
> 77
> /src/usage/main.cpp: 72 in main()
> 66<< endl
> 67<< "Supported options:" << endl
> 68<< flags.usage();
> 69 }
> 70
> 71
> >>> CID 1213895:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "main" an exception of type 
> >>> "google::protobuf::FatalException" is thrown and never caught.
> 72 int main(int argc, char** argv)
> 73 {
> 74   GOOGLE_PROTOBUF_VERIFY_VERSION;
> 75
> 76   Flags flags;
> 77
> 
> *** CID 1213896:  Uncaught exception  (UNCAUGHT_EXCEPT)
> /src/launcher/executor.cpp: 423 in main()
> 417 };
> 418
> 419 } // namespace internal {
> 420 } // namespace mesos {
> 421
> 422
> >>> CID 1213896:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "main" an exception of type "std::tr1::bad_function_call" 
> >>> is thrown and never caught.
> 423 int main(int argc, char** argv)
> 424 {
> 425   mesos::internal::CommandExecutor executor;
> 426   mesos::MesosExecutorDriver driver(&executor);
> 427   return driver.run() == mesos::DRIVER_STOPPED ? 0 : 1;



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MESOS-1356) Uncaught exceptions

2014-11-07 Thread Adam B (JIRA)

 [ 
https://issues.apache.org/jira/browse/MESOS-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam B updated MESOS-1356:
--
Shepherd: Adam B

> Uncaught exceptions
> ---
>
> Key: MESOS-1356
> URL: https://issues.apache.org/jira/browse/MESOS-1356
> Project: Mesos
>  Issue Type: Bug
>Reporter: Niklas Quarfot Nielsen
>  Labels: coverity, newbie
>
> We usually do _not_ use exceptions in Mesos, but some libraries may and we 
> should handle them and perhaps convert them into Try<>/Error.
> 
> *** CID 1213893:  Uncaught exception  (UNCAUGHT_EXCEPT)
> /src/slave/containerizer/linux_launcher.cpp: 148 in 
> mesos::internal::slave::_childMain(const std::tr1::function &, int 
> *)()
> 142   return (*func)();
> 143 }
> 144
> 145
> 146 // Helper that creates a new session then blocks on reading the pipe 
> before
> 147 // calling the supplied function.
> >>> CID 1213893:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "_childMain" an exception of type 
> >>> "std::tr1::bad_function_call" is thrown and never caught.
> 148 static int _childMain(
> 149 const lambda::function& childFunction,
> 150 int pipes[2])
> 151 {
> 152   // In child.
> 153   os::close(pipes[1]);
> 
> *** CID 1213894:  Uncaught exception  (UNCAUGHT_EXCEPT)
> /src/slave/containerizer/linux_launcher.cpp: 137 in 
> mesos::internal::slave::childMain(void *)()
> 131
> 132   return Nothing();
> 133 }
> 134
> 135
> 136 // Helper for clone() which expects an int(void*).
> >>> CID 1213894:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "childMain" an exception of type 
> >>> "std::tr1::bad_function_call" is thrown and never caught.
> 137 static int childMain(void* child)
> 138 {
> 139   const lambda::function* func =
> 140 static_cast*> (child);
> 141
> 142   return (*func)();
> 
> *** CID 1213895:  Uncaught exception  (UNCAUGHT_EXCEPT)
> /src/usage/main.cpp: 72 in main()
> 66<< endl
> 67<< "Supported options:" << endl
> 68<< flags.usage();
> 69 }
> 70
> 71
> >>> CID 1213895:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "main" an exception of type 
> >>> "google::protobuf::FatalException" is thrown and never caught.
> 72 int main(int argc, char** argv)
> 73 {
> 74   GOOGLE_PROTOBUF_VERIFY_VERSION;
> 75
> 76   Flags flags;
> 77
> /src/usage/main.cpp: 72 in main()
> 66<< endl
> 67<< "Supported options:" << endl
> 68<< flags.usage();
> 69 }
> 70
> 71
> >>> CID 1213895:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "main" an exception of type 
> >>> "google::protobuf::FatalException" is thrown and never caught.
> 72 int main(int argc, char** argv)
> 73 {
> 74   GOOGLE_PROTOBUF_VERIFY_VERSION;
> 75
> 76   Flags flags;
> 77
> /src/usage/main.cpp: 72 in main()
> 66<< endl
> 67<< "Supported options:" << endl
> 68<< flags.usage();
> 69 }
> 70
> 71
> >>> CID 1213895:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "main" an exception of type 
> >>> "google::protobuf::FatalException" is thrown and never caught.
> 72 int main(int argc, char** argv)
> 73 {
> 74   GOOGLE_PROTOBUF_VERIFY_VERSION;
> 75
> 76   Flags flags;
> 77
> 
> *** CID 1213896:  Uncaught exception  (UNCAUGHT_EXCEPT)
> /src/launcher/executor.cpp: 423 in main()
> 417 };
> 418
> 419 } // namespace internal {
> 420 } // namespace mesos {
> 421
> 422
> >>> CID 1213896:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "main" an exception of type "std::tr1::bad_function_call" 
> >>> is thrown and never caught.
> 423 int main(int argc, char** argv)
> 424 {
> 425   mesos::internal::CommandExecutor executor;
> 426   mesos::MesosExecutorDriver driver(&executor);
> 427   return driver.run() == mesos::DRIVER_STOPPED ? 0 : 1;



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MESOS-1356) Uncaught exceptions

2014-11-07 Thread Adam B (JIRA)

 [ 
https://issues.apache.org/jira/browse/MESOS-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam B updated MESOS-1356:
--
Labels: coverity newbie  (was: coverity)

> Uncaught exceptions
> ---
>
> Key: MESOS-1356
> URL: https://issues.apache.org/jira/browse/MESOS-1356
> Project: Mesos
>  Issue Type: Bug
>Reporter: Niklas Quarfot Nielsen
>  Labels: coverity, newbie
>
> We usually do _not_ use exceptions in Mesos, but some libraries may and we 
> should handle them and perhaps convert them into Try<>/Error.
> 
> *** CID 1213893:  Uncaught exception  (UNCAUGHT_EXCEPT)
> /src/slave/containerizer/linux_launcher.cpp: 148 in 
> mesos::internal::slave::_childMain(const std::tr1::function &, int 
> *)()
> 142   return (*func)();
> 143 }
> 144
> 145
> 146 // Helper that creates a new session then blocks on reading the pipe 
> before
> 147 // calling the supplied function.
> >>> CID 1213893:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "_childMain" an exception of type 
> >>> "std::tr1::bad_function_call" is thrown and never caught.
> 148 static int _childMain(
> 149 const lambda::function& childFunction,
> 150 int pipes[2])
> 151 {
> 152   // In child.
> 153   os::close(pipes[1]);
> 
> *** CID 1213894:  Uncaught exception  (UNCAUGHT_EXCEPT)
> /src/slave/containerizer/linux_launcher.cpp: 137 in 
> mesos::internal::slave::childMain(void *)()
> 131
> 132   return Nothing();
> 133 }
> 134
> 135
> 136 // Helper for clone() which expects an int(void*).
> >>> CID 1213894:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "childMain" an exception of type 
> >>> "std::tr1::bad_function_call" is thrown and never caught.
> 137 static int childMain(void* child)
> 138 {
> 139   const lambda::function* func =
> 140 static_cast*> (child);
> 141
> 142   return (*func)();
> 
> *** CID 1213895:  Uncaught exception  (UNCAUGHT_EXCEPT)
> /src/usage/main.cpp: 72 in main()
> 66<< endl
> 67<< "Supported options:" << endl
> 68<< flags.usage();
> 69 }
> 70
> 71
> >>> CID 1213895:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "main" an exception of type 
> >>> "google::protobuf::FatalException" is thrown and never caught.
> 72 int main(int argc, char** argv)
> 73 {
> 74   GOOGLE_PROTOBUF_VERIFY_VERSION;
> 75
> 76   Flags flags;
> 77
> /src/usage/main.cpp: 72 in main()
> 66<< endl
> 67<< "Supported options:" << endl
> 68<< flags.usage();
> 69 }
> 70
> 71
> >>> CID 1213895:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "main" an exception of type 
> >>> "google::protobuf::FatalException" is thrown and never caught.
> 72 int main(int argc, char** argv)
> 73 {
> 74   GOOGLE_PROTOBUF_VERIFY_VERSION;
> 75
> 76   Flags flags;
> 77
> /src/usage/main.cpp: 72 in main()
> 66<< endl
> 67<< "Supported options:" << endl
> 68<< flags.usage();
> 69 }
> 70
> 71
> >>> CID 1213895:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "main" an exception of type 
> >>> "google::protobuf::FatalException" is thrown and never caught.
> 72 int main(int argc, char** argv)
> 73 {
> 74   GOOGLE_PROTOBUF_VERIFY_VERSION;
> 75
> 76   Flags flags;
> 77
> 
> *** CID 1213896:  Uncaught exception  (UNCAUGHT_EXCEPT)
> /src/launcher/executor.cpp: 423 in main()
> 417 };
> 418
> 419 } // namespace internal {
> 420 } // namespace mesos {
> 421
> 422
> >>> CID 1213896:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "main" an exception of type "std::tr1::bad_function_call" 
> >>> is thrown and never caught.
> 423 int main(int argc, char** argv)
> 424 {
> 425   mesos::internal::CommandExecutor executor;
> 426   mesos::MesosExecutorDriver driver(&executor);
> 427   return driver.run() == mesos::DRIVER_STOPPED ? 0 : 1;



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MESOS-1356) Uncaught exceptions

2014-08-01 Thread Dominic Hamon (JIRA)

 [ 
https://issues.apache.org/jira/browse/MESOS-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dominic Hamon updated MESOS-1356:
-

Issue Type: Bug  (was: Technical task)
Parent: (was: MESOS-1351)

> Uncaught exceptions
> ---
>
> Key: MESOS-1356
> URL: https://issues.apache.org/jira/browse/MESOS-1356
> Project: Mesos
>  Issue Type: Bug
>Reporter: Niklas Quarfot Nielsen
>  Labels: coverity
>
> We usually do _not_ use exceptions in Mesos, but some libraries may and we 
> should handle them and perhaps convert them into Try<>/Error.
> 
> *** CID 1213893:  Uncaught exception  (UNCAUGHT_EXCEPT)
> /src/slave/containerizer/linux_launcher.cpp: 148 in 
> mesos::internal::slave::_childMain(const std::tr1::function &, int 
> *)()
> 142   return (*func)();
> 143 }
> 144
> 145
> 146 // Helper that creates a new session then blocks on reading the pipe 
> before
> 147 // calling the supplied function.
> >>> CID 1213893:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "_childMain" an exception of type 
> >>> "std::tr1::bad_function_call" is thrown and never caught.
> 148 static int _childMain(
> 149 const lambda::function& childFunction,
> 150 int pipes[2])
> 151 {
> 152   // In child.
> 153   os::close(pipes[1]);
> 
> *** CID 1213894:  Uncaught exception  (UNCAUGHT_EXCEPT)
> /src/slave/containerizer/linux_launcher.cpp: 137 in 
> mesos::internal::slave::childMain(void *)()
> 131
> 132   return Nothing();
> 133 }
> 134
> 135
> 136 // Helper for clone() which expects an int(void*).
> >>> CID 1213894:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "childMain" an exception of type 
> >>> "std::tr1::bad_function_call" is thrown and never caught.
> 137 static int childMain(void* child)
> 138 {
> 139   const lambda::function* func =
> 140 static_cast*> (child);
> 141
> 142   return (*func)();
> 
> *** CID 1213895:  Uncaught exception  (UNCAUGHT_EXCEPT)
> /src/usage/main.cpp: 72 in main()
> 66<< endl
> 67<< "Supported options:" << endl
> 68<< flags.usage();
> 69 }
> 70
> 71
> >>> CID 1213895:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "main" an exception of type 
> >>> "google::protobuf::FatalException" is thrown and never caught.
> 72 int main(int argc, char** argv)
> 73 {
> 74   GOOGLE_PROTOBUF_VERIFY_VERSION;
> 75
> 76   Flags flags;
> 77
> /src/usage/main.cpp: 72 in main()
> 66<< endl
> 67<< "Supported options:" << endl
> 68<< flags.usage();
> 69 }
> 70
> 71
> >>> CID 1213895:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "main" an exception of type 
> >>> "google::protobuf::FatalException" is thrown and never caught.
> 72 int main(int argc, char** argv)
> 73 {
> 74   GOOGLE_PROTOBUF_VERIFY_VERSION;
> 75
> 76   Flags flags;
> 77
> /src/usage/main.cpp: 72 in main()
> 66<< endl
> 67<< "Supported options:" << endl
> 68<< flags.usage();
> 69 }
> 70
> 71
> >>> CID 1213895:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "main" an exception of type 
> >>> "google::protobuf::FatalException" is thrown and never caught.
> 72 int main(int argc, char** argv)
> 73 {
> 74   GOOGLE_PROTOBUF_VERIFY_VERSION;
> 75
> 76   Flags flags;
> 77
> 
> *** CID 1213896:  Uncaught exception  (UNCAUGHT_EXCEPT)
> /src/launcher/executor.cpp: 423 in main()
> 417 };
> 418
> 419 } // namespace internal {
> 420 } // namespace mesos {
> 421
> 422
> >>> CID 1213896:  Uncaught exception  (UNCAUGHT_EXCEPT)
> >>> In function "main" an exception of type "std::tr1::bad_function_call" 
> >>> is thrown and never caught.
> 423 int main(int argc, char** argv)
> 424 {
> 425   mesos::internal::CommandExecutor executor;
> 426   mesos::MesosExecutorDriver driver(&executor);
> 427   return driver.run() == mesos::DRIVER_STOPPED ? 0 : 1;



--
This message was sent by Atlassian JIRA
(v6.2#6252)