jcxue / RDMA-Tutorial

A tutorial on RDMA based programming using code examples
Apache License 2.0
497 stars 146 forks source link

segmentation fault when executing #12

Open liusy58 opened 3 years ago

liusy58 commented 3 years ago

Hi, sir, after I enter the command ./rdma-tutorial lsy 1234, I'll get a segmentation fault error output, any help?

shenben commented 1 year ago

I met the same error segmentation fault when launching the client. Please let me know the solution if the problem had been solved. Thank you @liusy58 in advance!

gcc 7.5.0
ubuntu 20.04
gcc -Wall -Werror -O2  -o rdma-tutorial main.o client.o config.o ib.o server.o setup_ib.o sock.o  -pthread -lrdmacm -libverbs

client: ./rdma-tutorial 10.119.47.139 2337 --> Segmentation fault server: ./rdma-tutorial 2337 --> goes well

And I would appreciate you @jcxue if you could provide me with any useful suggestions.