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/03/17 09:08:10 UTC

[GitHub] [incubator-pegasus] Shuo-Jia commented on issue #659: disk engine buffer size coredump in 2.0.0-write-optim

Shuo-Jia commented on issue #659:
URL: https://github.com/apache/incubator-pegasus/issues/659#issuecomment-800919853


   This bug is also happen on [2.1.1](https://github.com/apache/incubator-pegasus/tree/v2.1.1)  when load-balance with learning.
   
   libaio has been replced by `pwrite` and `pread`, so the bug shouldn't be caused by libaio.  
   ```
   #0  0x00000031b08328a5 in raise () from /lib64/libc.so.6
   (gdb) bt
   #0  0x00000031b08328a5 in raise () from /lib64/libc.so.6
   #1  0x00000031b0834085 in abort () from /lib64/libc.so.6
   #2  0x00007f66fe68014e in dsn_coredump () at /home/jiashuo1/work/pegasus/rdsn/src/runtime/service_api_c.cpp:94
   #3  0x00007f66fe788458 in dsn::disk_file::on_write_completed (this=<optimized out>, wk=wk@entry=0x705e140, ctx=ctx@entry=0x7f668bbb6b6c, err=..., size=size@entry=2147479552)
       at /home/jiashuo1/work/pegasus/rdsn/src/aio/disk_engine.cpp:127
   #4  0x00007f66fe788980 in dsn::disk_engine::complete_io (this=0x7f66feb321f0 <dsn::utils::singleton<dsn::disk_engine>::instance()::_instance>, aio=aio@entry=0x705e140, err=..., bytes=2147479552)
       at /home/jiashuo1/work/pegasus/rdsn/src/aio/disk_engine.cpp:276
   #5  0x00007f66fe78fb7e in dsn::aio_provider::complete_io (this=this@entry=0x19081c0, aio=aio@entry=0x705e140, err=..., err@entry=..., bytes=<optimized out>) at /home/jiashuo1/work/pegasus/rdsn/src/aio/aio_provider.cpp:36
   #6  0x00007f66fe78d660 in dsn::native_linux_aio_provider::aio_internal (this=0x19081c0, aio_tsk=0x705e140, async=async@entry=true, pbytes=pbytes@entry=0x0)
       at /home/jiashuo1/work/pegasus/rdsn/src/aio/native_linux_aio_provider.cpp:128
   #7  0x00007f66fe78d75a in operator() (__closure=<optimized out>) at /home/jiashuo1/work/pegasus/rdsn/src/aio/native_linux_aio_provider.cpp:101
   #8  std::_Function_handler<void(), dsn::native_linux_aio_provider::submit_aio_task(dsn::aio_task*)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...)
       at /home/jiashuo1/app/toolchain/gcc540/output/include/c++/5.4.0/functional:1871
   #9  0x00007f66fe6d7c61 in dsn::task::exec_internal (this=this@entry=0x2f68cfb30) at /home/jiashuo1/work/pegasus/rdsn/src/runtime/task/task.cpp:176
   #10 0x00007f66fe6f1bda in dsn::task_worker::loop (this=0x20ec540) at /home/jiashuo1/work/pegasus/rdsn/src/runtime/task/task_worker.cpp:211
   #11 0x00007f66fe6f1ddd in dsn::task_worker::run_internal (this=0x20ec540) at /home/jiashuo1/work/pegasus/rdsn/src/runtime/task/task_worker.cpp:191
   #12 0x00007f66facc2fd0 in std::execute_native_thread_routine (__p=<optimized out>) at /home/jiashuo1/app/toolchain/gcc540/objdir/../gcc-5.4.0/libstdc++-v3/src/c++11/thread.cc:84
   #13 0x00000031b0c07851 in start_thread () from /lib64/libpthread.so.0
   #14 0x00000031b08e811d 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