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

启动时报错egmentation fault (core dumped) #5

Open
tzz1996 opened this issue Jan 3, 2019 · 2 comments
Open

启动时报错egmentation fault (core dumped) #5

tzz1996 opened this issue Jan 3, 2019 · 2 comments

Comments

@tzz1996
Copy link

tzz1996 commented Jan 3, 2019

用gdb调试,进入到commsocket.c的inet_pton(AF_INET, address, &servaddr.sin_addr);这行时报错找不到文件inet_pton.c

@gengcheng2022
Copy link

我也遇到了,报错如下:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff78fb424 in inet_pton4 (dst=0x7fffffffdb54 "", src=0x1 <error: Cannot access memory at address 0x1>) at inet_pton.c:90
90 inet_pton.c: No such file or directory.

@gengcheng2022
Copy link

解决了,ip没有填,需要自己写在tunable.c最后一行

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

2 participants