hycdong opened a new issue #659:
URL: https://github.com/apache/incubator-pegasus/issues/659
## Bug Report
### Pegasus version
Pegasus 2.0.0-write-optim(984936de68188dc9cccccfa6a17f3ad798fe0364)
### Coredump Stack
```
#0 0x00000036a70328a5 in raise () from /lib64/libc.so.6
#1 0x00000036a7034085 in abort () from /lib64/libc.so.6
#2 0x00007f394626010e in dsn_coredump() () at
/home/wutao1/pegasus-release/rdsn/src/core/core/service_api_c.cpp:77
#3 0x00007f39462aad8d in dsn::disk_file::on_write_completed(dsn::aio_task*,
void*, dsn::error_code, unsigned long) ()
at /home/wutao1/pegasus-release/rdsn/src/core/core/disk_engine.cpp:111
#4 0x00007f39462ab5c2 in dsn::disk_engine::complete_io(dsn::aio_task*,
dsn::error_code, unsigned int, int) ()
at /home/wutao1/pegasus-release/rdsn/src/core/core/disk_engine.cpp:338
#5 0x00007f39462fa7f9 in
dsn::tools::native_linux_aio_provider::complete_aio(iocb*, int, int) ()
at
/home/wutao1/pegasus-release/rdsn/src/core/tools/common/native_aio_provider.linux.cpp:146
#6 0x00007f39462fa951 in dsn::tools::native_linux_aio_provider::get_event()
()
at
/home/wutao1/pegasus-release/rdsn/src/core/tools/common/native_aio_provider.linux.cpp:124
#7 0x00007f3943376600 in execute_native_thread_routine ()
at
/home/qinzuoyan/git.xiaomi/pegasus/toolchain/objdir/../gcc-4.8.2/libstdc++-v3/src/c++11/thread.cc:84
#8 0x00000036a7807851 in start_thread () from /lib64/libpthread.so.0
#9 0x00000036a70e811d in clone () from /lib64/libc.so.6
```
### Related log
```
F2020-12-16 11:46:04.969 (1608090364969361715 10ec4) replica.io-thrd.69316:
disk_engine.cpp:114:on_write_completed(): assertion expression: size >=
this_size
F2020-12-16 11:46:04.969 (1608090364969382372 10ec4) replica.io-thrd.69316:
disk_engine.cpp:114:on_write_completed(): written buffer size does not equal to
input buffer's size: 3627 vs 3766
```
----------------------------------------------------------------
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]