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


   This bug is also recurrent on 
[2.0.0](https://github.com/apache/incubator-pegasus/tree/v2.0):
   Core Stack:
   ```
   #0  0x00007f56c1ae61d7 in raise () from /lib64/libc.so.6
   (gdb) bt
   #0  0x00007f56c1ae61d7 in raise () from /lib64/libc.so.6
   #1  0x00007f56c1ae78c8 in abort () from /lib64/libc.so.6
   #2  0x00007f56c5b48b1e in dsn_coredump () at 
/home/wutao1/pegasus-release/rdsn/src/core/core/service_api_c.cpp:77
   #3  0x00007f56c5b9379d in dsn::disk_file::on_write_completed 
(this=<optimized out>, wk=wk@entry=0xa429360d, ctx=ctx@entry=0x7f56bef5effc, 
err=..., size=size@entry=2147479552)
       at /home/wutao1/pegasus-release/rdsn/src/core/core/disk_engine.cpp:111
   #4  0x00007f56c5b93fd2 in dsn::disk_engine::complete_io (this=0x2139280, 
aio=0xa429360d, err=..., bytes=bytes@entry=2147479552, 
delay_milliseconds=delay_milliseconds@entry=0)
       at /home/wutao1/pegasus-release/rdsn/src/core/core/disk_engine.cpp:338
   #5  0x00007f56c5beac6e in dsn::aio_provider::complete_io (this=<optimized 
out>, aio=<optimized out>, err=..., bytes=bytes@entry=2147479552, 
delay_milliseconds=delay_milliseconds@entry=0)
       at /home/wutao1/pegasus-release/rdsn/src/core/core/aio_provider.cpp:50
   #6  0x00007f56c5be3209 in 
dsn::tools::native_linux_aio_provider::complete_aio (this=this@entry=0x21b5dd0, 
io=0xedb09c20, bytes=2147479552, err=<optimized out>)
       at 
/home/wutao1/pegasus-release/rdsn/src/core/tools/common/native_aio_provider.linux.cpp:146
   #7  0x00007f56c5be3361 in dsn::tools::native_linux_aio_provider::get_event 
(this=0x21b5dd0) at 
/home/wutao1/pegasus-release/rdsn/src/core/tools/common/native_aio_provider.linux.cpp:124
   #8  0x00007f56c243e600 in std::(anonymous 
namespace)::execute_native_thread_routine (__p=<optimized out>) at 
/home/qinzuoyan/git.xiaomi/pegasus/toolchain/objdir/../gcc-4.8.2/libstdc++-v3/src/c++11/thread.cc:84
   #9  0x00007f56c2f50dc5 in start_thread () from /lib64/libpthread.so.0
   #10 0x00007f56c1ba873d in clone () from /lib64/libc.so.6
   ```
   
   Erro Log:
   ```
   F2021-03-23 10:35:04.156 (1616466904156438374 171b) replica.io-thrd.05915: 
disk_engine.cpp:114:on_write_completed(): assertion expression: size >= 
this_size
   F2021-03-23 10:35:04.156 (1616466904156486739 171b) replica.io-thrd.05915: 
disk_engine.cpp:114:on_write_completed(): written buffer size does not equal to 
input buffer's size: 2147479552 vs -1576887796
   ```


-- 
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to