Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./rpcping tcp 127.0.0.1 failed in ntirpc@4.0 on centos8_aarch64 #250

Open
Tom-python0121 opened this issue Dec 28, 2021 · 2 comments
Open

Comments

@Tom-python0121
Copy link

Hello, I meet a problem :./rpcping tcp 127.0.0.1 failed in ntirpc@4.0 on centos8_aarch64 when I want to test it.

Steps to reproduce the issue

[root@localhost tests]# ls
CMakeFiles  Makefile  cmake_install.cmake  rpcping
[root@localhost tests]# ./rpcping
Usage: rpcping <raw|rdma|tcp|udp> <host> [--rpcbind] [--count=<n>] [--threads=<n>] [--workers=<n>] [--port=<n>] [--program=<n>] [--version=<n>] [--procedure=<n>]
[root@localhost tests]# ./rpcping raw 127.0.0.1
Segmentation fault (core dumped)
[root@localhost tests]# ./rpcping rdma 127.0.0.1
Segmentation fault (core dumped)
[root@localhost tests]# ./rpcping tcp 127.0.0.1
Segmentation fault (core dumped)
[root@localhost tests]# ./rpcping udp 127.0.0.1
Segmentation fault (core dumped)

Why did this error occur, and how did you fix it to make it work?

@Tom-python0121
Copy link
Author

The same error is reported on the x86_64 system. However, in ntirpc@3.2, both aarch64 and x86_64 tests are normal, as shown in the following figure: [root@localhost tests]# ./rpcping tcp 127.0.0.1
rpcping tcp 127.0.0.1 count=500 threads=1 workers=5 (port=2049 program=100003 version=3 procedure=0): failures 0 timeouts 500 mean 16.3974, total 16.3974

@Tom-python0121
Copy link
Author

Does the problem that memory leak occurs when source codes of other functions are added to ntirpc@3.3 or later? Segmentation fault (core dump)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant