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

test_tcp_style_v6 failed with setsockopt (11): Invalid argument #39

Open
Mingli-Yu opened this issue Oct 26, 2020 · 3 comments
Open

test_tcp_style_v6 failed with setsockopt (11): Invalid argument #39

Mingli-Yu opened this issue Oct 26, 2020 · 3 comments

Comments

@Mingli-Yu
Copy link

$ ./test_tcp_style_v6
test_tcp_style.c 1 PASS : accept on non-listening socket
test_tcp_style.c 2 PASS : connect to non-listening socket
test_tcp_style.c 3 PASS : connect to listening socket
test_tcp_style.c 4 PASS : connect after max backlog
test_tcp_style.c 5 PASS : accept from listening socket
test_tcp_style.c 6 PASS : connect on an established socket
test_tcp_style.c 7 PASS : accept on an established socket
test_tcp_style.c 8 PASS : client sockets -> accepted sockets
test_tcp_style.c 9 PASS : accepted sockets -> client sockets
test_tcp_style.c 10 PASS : send on a listening socket
test_tcp_style.c 11 PASS : recv on a listening socket
test_tcp_style.c 12 BROK : setsockopt(11): Invalid argument
DUMP_CORE ./sctputil.h: 257
[ 1277.011612] test_tcp_style_[1528]: segfault at 0 ip 0000560f4f6f8e4b sp 00007ffd578aded0 error 6 in test_tcp_style_v6[560f4f6f6000+4000]
[ 1277.013442] Code: ff bf 0a 00 00 00 e8 24 d2 ff ff b9 01 01 00 00 bf 01 00 00 00 31 c0 48 8d 15 5b 1b 00 00 48 8d 35 f3 11 00 00 e8 25 d31
Segmentation fault

@marceloleitner
Copy link
Contributor

marceloleitner commented Oct 26, 2020 via email

@Mingli-Yu
Copy link
Author

The kernel version in my env is 5.4.69.

@marceloleitner
Copy link
Contributor

marceloleitner commented Oct 27, 2020 via email

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