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

Assertion `s != -1' failed #560

Open
Karthikdasari0423 opened this issue Oct 5, 2023 · 0 comments
Open

Assertion `s != -1' failed #560

Karthikdasari0423 opened this issue Oct 5, 2023 · 0 comments

Comments

@Karthikdasari0423
Copy link
Contributor

./udpfw -l 5443 127.0.0.1 5443

udpfw: /root/quicly/t/udpfw.c:109: new_socket: Assertion `s != -1' failed.

Program received signal SIGABRT, Aborted.
__pthread_kill_implementation (no_tid=0, signo=6, threadid=140737351530304) at ./nptl/pthread_kill.c:44
44      ./nptl/pthread_kill.c: No such file or directory.
(gdb) bt
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140737351530304) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=140737351530304) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=140737351530304, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007ffff7dc8476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007ffff7dae7f3 in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007ffff7dae71b in __assert_fail_base (fmt=0x7ffff7f63150 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
    assertion=0x55555555701f "s != -1", file=0x555555557004 "/root/quicly/t/udpfw.c", line=109, function=<optimized out>)
    at ./assert/assert.c:92
#6  0x00007ffff7dbfe96 in __GI___assert_fail (assertion=assertion@entry=0x55555555701f "s != -1",
    file=file@entry=0x555555557004 "/root/quicly/t/udpfw.c", line=line@entry=109,
    function=function@entry=0x555555557780 <__PRETTY_FUNCTION__.4> "new_socket") at ./assert/assert.c:101
#7  0x0000555555555b17 in new_socket (sin_family=<optimized out>) at /root/quicly/t/udpfw.c:109
#8  0x0000555555555f73 in find_or_create_connection (salen=<optimized out>, sa=0x7fffffffe0a0) at /root/quicly/t/udpfw.c:146
#9  enqueue (q=q@entry=0x555555559120 <up>, conn=conn@entry=0x0, now=now@entry=1696494679108001) at /root/quicly/t/udpfw.c:206
#10 0x0000555555555965 in main (argc=<optimized out>, argv=<optimized out>) at /root/quicly/t/udpfw.c:409
(gdb)
quit
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