Reading symbols from ./musl_getaddrinfo_test... add symbol table from file "/usr/local/share/musl/lib/libc.so" Reading symbols from /usr/local/share/musl/lib/libc.so... Breakpoint 1 at 0x7be: file musl_getaddrinfo_test.c, line 15. Starting program: /usr/local/tmp/crew/musl_getaddrinfo_test.20220215221133.dir/musl_getaddrinfo_test google.com 2>> gdb.out warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. Breakpoint 1, main (argc=2, argv=0x7fffecb4) at musl_getaddrinfo_test.c:15 warning: Source file is more recent than executable. 15 memset(&hints, 0, sizeof(hints)); 16 if (argc > 2) Call took 0.0342 ms 18 hints.ai_socktype = SOCK_DGRAM; Call took 0.0074 ms 20 r = getaddrinfo(argv[1], NULL, &hints, &result); Call took 0.0050 ms 0x77f66414 in __kernel_vsyscall () Call took 0.4002 ms Single stepping until exit from function __kernel_vsyscall, which has no line number information. main (argc=2, argv=0x7fffecb4) at musl_getaddrinfo_test.c:21 21 if (r != 0) { Call took 11.8751 ms 26 for (rp = result; rp != NULL; rp = rp->ai_next) { Call took 0.0070 ms 27 switch (rp->ai_family) { Call took 0.0073 ms 35 *)rp->ai_addr)->sin6_addr, s, INET6_ADDRSTRLEN); Call took 0.0085 ms 34 inet_ntop(AF_INET6, &((struct sockaddr_in6 Call took 0.0057 ms 36 printf("AF_INET6: %s\n", s); Call took 3.1300 ms 0x77f66414 in __kernel_vsyscall () Call took 0.6778 ms Single stepping until exit from function __kernel_vsyscall, which has no line number information. main (argc=2, argv=0x7fffecb4) at musl_getaddrinfo_test.c:37 37 break; Call took 0.1246 ms 26 for (rp = result; rp != NULL; rp = rp->ai_next) { Call took 0.0046 ms 27 switch (rp->ai_family) { Call took 0.0076 ms 30 *)rp->ai_addr)->sin_addr, s, INET6_ADDRSTRLEN); Call took 0.0049 ms 29 inet_ntop(AF_INET, &((struct sockaddr_in Call took 0.0054 ms 31 printf("AF_INET: %s\n", s); Call took 1.3367 ms 0x77f66414 in __kernel_vsyscall () Call took 0.6217 ms Single stepping until exit from function __kernel_vsyscall, which has no line number information. main (argc=2, argv=0x7fffecb4) at musl_getaddrinfo_test.c:32 32 break; Call took 0.1150 ms 26 for (rp = result; rp != NULL; rp = rp->ai_next) { Call took 0.0031 ms 41 freeaddrinfo(result); Call took 0.0067 ms 42 } Call took 0.2755 ms 0x555556e0 in __do_global_dtors_aux () Call took 0.3166 ms Single stepping until exit from function __do_global_dtors_aux, which has no line number information. [Inferior 1 (process 23325) exited normally] Call took 0.0374 ms Starting program: /usr/local/tmp/crew/musl_getaddrinfo_test.20220215221133.dir/musl_getaddrinfo_test google.com 2>> gdb.out warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. Breakpoint 1, main (argc=2, argv=0x7fffecb4) at musl_getaddrinfo_test.c:15 15 memset(&hints, 0, sizeof(hints)); 16 if (argc > 2) Call took 0.0387 ms 18 hints.ai_socktype = SOCK_DGRAM; Call took 0.0063 ms 20 r = getaddrinfo(argv[1], NULL, &hints, &result); Call took 0.0051 ms 0x77f66414 in __kernel_vsyscall () Call took 0.4215 ms Single stepping until exit from function __kernel_vsyscall, which has no line number information. main (argc=2, argv=0x7fffecb4) at musl_getaddrinfo_test.c:21 21 if (r != 0) { Call took 12.0090 ms 26 for (rp = result; rp != NULL; rp = rp->ai_next) { Call took 0.0070 ms 27 switch (rp->ai_family) { Call took 0.0112 ms 35 *)rp->ai_addr)->sin6_addr, s, INET6_ADDRSTRLEN); Call took 0.0071 ms 34 inet_ntop(AF_INET6, &((struct sockaddr_in6 Call took 0.0075 ms 36 printf("AF_INET6: %s\n", s); Call took 3.2155 ms 0x77f66414 in __kernel_vsyscall () Call took 0.6847 ms Single stepping until exit from function __kernel_vsyscall, which has no line number information. main (argc=2, argv=0x7fffecb4) at musl_getaddrinfo_test.c:37 37 break; Call took 0.1380 ms 26 for (rp = result; rp != NULL; rp = rp->ai_next) { Call took 0.0055 ms 27 switch (rp->ai_family) { Call took 0.0109 ms 30 *)rp->ai_addr)->sin_addr, s, INET6_ADDRSTRLEN); Call took 0.0115 ms 29 inet_ntop(AF_INET, &((struct sockaddr_in Call took 0.0078 ms 31 printf("AF_INET: %s\n", s); Call took 1.3403 ms 0x77f66414 in __kernel_vsyscall () Call took 0.6378 ms Single stepping until exit from function __kernel_vsyscall, which has no line number information. main (argc=2, argv=0x7fffecb4) at musl_getaddrinfo_test.c:32 32 break; Call took 0.0897 ms 26 for (rp = result; rp != NULL; rp = rp->ai_next) { Call took 0.0047 ms 41 freeaddrinfo(result); Call took 0.0085 ms 42 } Call took 0.2994 ms 0x555556e0 in __do_global_dtors_aux () Call took 0.3179 ms Single stepping until exit from function __do_global_dtors_aux, which has no line number information. [Inferior 1 (process 23422) exited normally] Call took 0.0414 ms Deleted breakpoint 1 Starting program: /usr/local/tmp/crew/musl_getaddrinfo_test.20220215221133.dir/musl_getaddrinfo_test google.com 2>> gdb.out warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. getaddrinfo: Try again [Inferior 1 (process 23511) exited with code 01]