Skip to content

Assertion `s != -1' failed #560

Description

@devkdas

./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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions