You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pegasus.apache.org by GitBox <gi...@apache.org> on 2021/05/24 07:49:03 UTC

[GitHub] [incubator-pegasus] zhangyifan27 opened a new issue #734: Pegasus process cannot exit gracefully

zhangyifan27 opened a new issue #734:
URL: https://github.com/apache/incubator-pegasus/issues/734


   ## Bug Report
   
   Please answer these questions before submitting your issue. Thanks!
   
   1. What did you do?
   
   Stop/Restart pegasus progress after performing upload files to or download files from HDFS.
   
   2. What did you expect to see?
   Pegasus process exit gracefully.
   
   3. What did you see instead?
   Core was generated when pegasus process exit.
   
   4. What version of Pegasus are you using?
   v2.2.0-mi-beta0, v2.2.0-mi-beta1, v2.2.0-mi-beta2 
   
   A coredump stack related to `task_engine`:
   ```
   (gdb) bt
   #0  0x00007f5dfed6ff5d in dsn::task_worker_pool::enqueue (this=0x6f6973613a3a736c, t=0x2c8efa02) at /home/zhangyifan8/work/pegasus/rdsn/src/runtime/task/task_engine.cpp:129
   #1  0x00007f5dfee08a62 in operator() (__closure=0x7f5de3c03b40, ec=…) at /home/zhangyifan8/work/pegasus/rdsn/src/runtime/task/simple_task_queue.cpp:72
   #2  operator() (this=0x7f5de3c03b40) at /home/zhangyifan8/work/pegasus/rdsn/thirdparty/output/include/boost/asio/detail/bind_handler.hpp:65
   #3  asio_handler_invoke<boost::asio::detail::binder1<dsn::tools::simple_timer_service::add_timer(dsn::task)::<lambda(const boost::system::error_code&)>, boost::system::error_code> >
       (function=…) at /home/zhangyifan8/work/pegasus/rdsn/thirdparty/output/include/boost/asio/handler_invoke_hook.hpp:69
   #4  invoke<boost::asio::detail::binder1<dsn::tools::simple_timer_service::add_timer(dsn::task)::<lambda(const boost::system::error_code&)>, boost::system::error_code>, dsn::tools::simple_timer_service::add_timer(dsn::task)::<lambda(const boost::system::error_code&)> > (context=…, function=…)
       at /home/zhangyifan8/work/pegasus/rdsn/thirdparty/output/include/boost/asio/detail/handler_invoke_helpers.hpp:37
   #5  complete<boost::asio::detail::binder1<dsn::tools::simple_timer_service::add_timer(dsn::task)::<lambda(const boost::system::error_code&)>, boost::system::error_code> > (
       this=<synthetic pointer>, handler=…, function=…) at /home/zhangyifan8/work/pegasus/rdsn/thirdparty/output/include/boost/asio/detail/handler_work.hpp:82
   #6  boost::asio::detail::wait_handler<dsn::tools::simple_timer_service::add_timer(dsn::task*)::<lambda(const boost::system::error_code&)> >::do_complete(void *, boost::asio::detail::operation *, const boost::system::error_code &, std::size_t) (owner=0x2fefb30, base=0x26c3c050)
       at /home/zhangyifan8/work/pegasus/rdsn/thirdparty/output/include/boost/asio/detail/wait_handler.hpp:72
   #7  0x00007f5dfed8d4b4 in complete (bytes_transferred=0, ec=…, owner=0x2fefb30, this=<optimized out>)
       at /home/zhangyifan8/work/pegasus/rdsn/thirdparty/output/include/boost/asio/detail/scheduler_operation.hpp:40
   #8  do_run_one (ec=…, this_thread=…, lock=…, this=0x2fefb30) at /home/zhangyifan8/work/pegasus/rdsn/thirdparty/output/include/boost/asio/detail/impl/scheduler.ipp:401
   #9  boost::asio::detail::scheduler::run (this=0x2fefb30, ec=…) at /home/zhangyifan8/work/pegasus/rdsn/thirdparty/output/include/boost/asio/detail/impl/scheduler.ipp:154
   #10 0x00007f5dfee086a4 in run (this=<optimized out>, ec=…) at /home/zhangyifan8/work/pegasus/rdsn/thirdparty/output/include/boost/asio/impl/io_context.ipp:70
   #11 operator() (__closure=0x37d0208) at /home/zhangyifan8/work/pegasus/rdsn/src/runtime/task/simple_task_queue.cpp:50
   #12 _M_invoke<> (this=0x37d0208) at /home/zhangyifan8/local/gcc-5.4.0/include/c++/5.4.0/functional:1531
   #13 operator() (this=0x37d0208) at /home/zhangyifan8/local/gcc-5.4.0/include/c++/5.4.0/functional:1520
   #14 std::thread::_Impl<std::_Bind_simple<dsn::tools::simple_timer_service::start()::<lambda()>()> >::_M_run(void) (this=0x37d01f0)
       at /home/zhangyifan8/local/gcc-5.4.0/include/c++/5.4.0/thread:115
   #15 0x00007f5dfab67fd0 in std::execute_native_thread_routine (__p=<optimized out>) at ../../../../../libstdc++-v3/src/c++11/thread.cc:84
   #16 0x00007f5dfbe34dc5 in start_thread () from /lib64/libpthread.so.0
   #17 0x00007f5dfa2ca73d in clone () from /lib64/libc.so.6
   
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


[GitHub] [incubator-pegasus] zhangyifan27 closed issue #734: Pegasus process cannot exit gracefully

Posted by GitBox <gi...@apache.org>.
zhangyifan27 closed issue #734:
URL: https://github.com/apache/incubator-pegasus/issues/734


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org