chenBright commented on PR #3290:
URL: https://github.com/apache/brpc/pull/3290#issuecomment-4545628596

   Another crash:
   
   ```shell
   ./ubring_performance_client -use_ubring=true -echo_attachment=true 
-attachment_size=6291456
   I0526 23:17:51.313918 98707     0 /brpc/src/brpc/server.cpp:1232 
StartInternal] Server[DummyServerOf(./ubring_performance_client)] is serving on 
port=8001.
   I0526 23:17:51.314074 98707     0 /brpc/src/brpc/server.cpp:1235 
StartInternal] Check out http://k8s-al-sh-gpu-rdma-h20-0032:8001 in web browser.
   [Threads: 1, Depth: 1, Attachment: 6291456B, UBRING: yes, Echo: yes]
   I0526 23:17:51.321939 98707     0 /brpc/src/brpc/ubshm/shm/shm_mgr.cpp:72 
ShmMgrInit] shm mgr init success, shm type=1
   I0526 23:17:51.332043 98719     0 /brpc/src/brpc/ubshm/ub_ring.cpp:269 
UbrTrxHBCallback] Heartbeat cannot be started, wait connected state.
   Avg-Latency: 0, 90th-Latency: 0, 99th-Latency: 0, 99.9th-Latency: 0, 
Throughput: 64.0254MB/s, QPS: 0k, Server CPU-utilization: 0%, Client 
CPU-utilization: 102%
   [Threads: 2, Depth: 1, Attachment: 6291456B, UBRING: yes, Echo: yes]
   [1]    98707 bus error (core dumped)  ./ubring_performance_client 
-use_ubring=true -echo_attachment=true
   ```
   
   ```shell
   ./ubring_performance_server -use_ubring=true
   I0526 23:17:49.302722 98508     0 /brpc/src/brpc/ubshm/shm/shm_mgr.cpp:72 
ShmMgrInit] shm mgr init success, shm type=1
   I0526 23:17:49.318155 98508     0 /brpc/src/brpc/server.cpp:1232 
StartInternal] Server[test::PerfTestServiceImpl] is serving on port=8002.
   I0526 23:17:49.318282 98508     0 /brpc/src/brpc/server.cpp:1235 
StartInternal] Check out http://k8s-al-sh-gpu-rdma-h20-0032:8002 in web browser.
   W0526 23:18:15.647572 98668 8589934810 
/brpc/src/brpc/ubshm/ub_endpoint.cpp:480 ProcessHandshakeAtServer] Fail to read 
Hello Message from client:brpc::Socket{id=234 fd=11 addr=127.0.0.1:51360:8002} 
(0x7f2c24025030) 127.0.0.1:51360: Got EOF
   I0526 23:18:16.331656 98520     0 /brpc/src/brpc/ubshm/ub_ring.cpp:269 
UbrTrxHBCallback] Heartbeat cannot be started, wait connected state.
   E0526 23:18:20.648439 98660 8589934772 
/brpc/src/brpc/ubshm/common/common.h:173 HasTimedOut] task time out 5 seconds.
   W0526 23:18:20.648472 98660 8589934772 /brpc/src/brpc/ubshm/ub_ring.cpp:85 
UbrTrxClose] Local shm UBRING_127.0.0.1:36514_S wait for the peer to close 
timed out, force cleanup.
   I0526 23:18:21.332054 98660 8589934772 
/brpc/src/brpc/ubshm/shm/shm_ipc.cpp:185 IpcShmRemoteFree] IPC free remote 
shm=UBRING_127.0.0.1:36514_C success.
   I0526 23:18:21.332468 98660 8589934772 
/brpc/src/brpc/ubshm/shm/shm_ipc.cpp:78 IpcShmMunmap] IPC unmap 
shm=UBRING_127.0.0.1:36514_S length=4194304 success.
   I0526 23:18:21.332848 98660 8589934772 
/brpc/src/brpc/ubshm/shm/shm_ipc.cpp:185 IpcShmRemoteFree] IPC free remote 
shm=UBRING_127.0.0.1:36514_C success.
   ```
   
   ```shell
   warning: 228 ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: No 
such file or directory
   [Current thread is 1 (Thread 0x7f7db0ff96c0 (LWP 98717))]
   (gdb)
   (gdb) bt
   #0  __memset_avx512_unaligned_erms () at 
../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:228
   #1  0x000055df0fec824b 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=0x7f7d91af4e00) at 
/brpc/src/brpc/ubshm/shm/shm_mgr.cpp:117
   #3  0x000055df0fea20de in brpc::ubring::UBRing::ApplyAndMapLocalShm 
(this=this@entry=0x7f7d8c031a00,
       localTrxShm=localTrxShm@entry=0x7f7d91af4e00, 
localName=localName@entry=0x7f7d91af4e50 "127.0.0.1:51360")
       at /brpc/src/brpc/ubshm/ub_ring.cpp:911
   #4  0x000055df0fea25a2 in brpc::ubring::UBRing::UbrAllocateLocalShm 
(this=0x7f7d8c031a00,
       local_trx_shm=local_trx_shm@entry=0x7f7d91af4e00, 
shm_name=shm_name@entry=0x7f7d91af4e50 "127.0.0.1:51360")
       at /brpc/src/brpc/ubshm/ub_ring.cpp:827
   #5  0x000055df0fe9aa35 in 
brpc::ubring::UBShmEndpoint::AllocateClientResources 
(this=this@entry=0x55df11984ee0,
       local_trx_shm=local_trx_shm@entry=0x7f7d91af4e00, 
shm_name=shm_name@entry=0x7f7d91af4e50 "127.0.0.1:51360")
       at /brpc/src/brpc/ubshm/ub_endpoint.cpp:687
   #6  0x000055df0fe9ae6a in 
brpc::ubring::UBShmEndpoint::ProcessHandshakeAtClient (arg=0x55df11984ee0)
       at /brpc/src/brpc/ubshm/ub_endpoint.cpp:356
   #7  0x000055df0fc09c97 in bthread::TaskGroup::task_runner 
(skip_remained=<optimized out>)
       at /brpc/src/bthread/task_group.cpp:388
   #8  0x000055df0fde1571 in bthread_make_fcontext ()
   #9  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]

Reply via email to