zchuango commented on PR #3290: URL: https://github.com/apache/brpc/pull/3290#issuecomment-4544547752
> @zchuango When I run the ubring demo on Ubuntu, the server crashes. > > ```shell > ./ubring_performance_client -use_ubring=true -echo_attachment=true -attachment_size=1048576 > > ./ubring_performance_server -use_ubring=true > ``` > > ``` > Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1". > Core was generated by `./ubring_performance_server -use_ubring=true'. > --Type <RET> for more, q to quit, c to continue without paging-- > Program terminated with signal SIGBUS, Bus error. > #0 __memset_avx512_unaligned_erms () at ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:228 > > warning: 228 ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: No such file or directory > [Current thread is 1 (Thread 0x7f69dcff96c0 (LWP 19284))] > (gdb) bt > #0 __memset_avx512_unaligned_erms () at ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:228 > #1 0x0000558a87ac463b in memset (__len=<optimized out>, __ch=0, __dest=<optimized out>) > at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:59 > #2 brpc::ubring::ShmLocalCalloc (shm=shm@entry=0x7f68f06f7e90) at /brpc/src/brpc/ubshm/shm/shm_mgr.cpp:117 > #3 0x0000558a879e925c in brpc::ubring::UBRing::UbrAllocateServerShm (this=0x7f69ac058900, remote_trx_shm=remote_trx_shm@entry=0x7f68f06f7e40, > local_trx_shm=local_trx_shm@entry=0x7f68f06f7e90) at /brpc/src/brpc/ubshm/ub_ring.cpp:796 > #4 0x0000558a879e32e5 in brpc::ubring::UBShmEndpoint::AllocateServerResources (this=this@entry=0x7f66c4023a40, > remote_trx_shm=remote_trx_shm@entry=0x7f68f06f7e40, local_trx_shm=local_trx_shm@entry=0x7f68f06f7e90) > at /brpc/src/brpc/ubshm/ub_endpoint.cpp:712 > #5 0x0000558a879e3e6b in brpc::ubring::UBShmEndpoint::ProcessHandshakeAtServer (arg=0x7f66c4023a40) > at /brpc/src/brpc/ubshm/ub_endpoint.cpp:548 > #6 0x0000558a877d11b7 in bthread::TaskGroup::task_runner (skip_remained=<optimized out>) at /brpc/src/bthread/task_group.cpp:388 > #7 0x0000558a8786d6c1 in bthread_make_fcontext () > #8 0x0000000000000000 in ?? () > ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
