1 | GNU gdb 6.1.1 [FreeBSD]
|
---|
2 | Copyright 2004 Free Software Foundation, Inc.
|
---|
3 | GDB is free software, covered by the GNU General Public License, and you are
|
---|
4 | welcome to change it and/or distribute copies of it under certain conditions.
|
---|
5 | Type "show copying" to see the conditions.
|
---|
6 | There is absolutely no warranty for GDB. Type "show warranty" for details.
|
---|
7 | This GDB was configured as "amd64-marcel-freebsd"...
|
---|
8 | (gdb) b getaddrinfo
|
---|
9 | Breakpoint 1 at 0x401fcc
|
---|
10 | (gdb) r
|
---|
11 | Starting program: /tmp/resolv
|
---|
12 | Breakpoint 1 at 0x800c82607: file /usr/src/freebsd-head/lib/libc/net/getaddrinfo.c, line 370.
|
---|
13 | [New LWP 100173]
|
---|
14 | [New Thread 801007300 (LWP 100173)]
|
---|
15 | [Switching to Thread 801007300 (LWP 100173)]
|
---|
16 |
|
---|
17 | Breakpoint 1, getaddrinfo (hostname=0x801015088 "127.0.0.1", servname=0x800955b98 "", hints=0x7fffffffe420,
|
---|
18 | res=0x7fffffffe478) at /usr/src/freebsd-head/lib/libc/net/getaddrinfo.c:370
|
---|
19 | 370 int error = 0;
|
---|
20 | Current language: auto; currently c
|
---|
21 | (gdb) bt
|
---|
22 | #0 getaddrinfo (hostname=0x801015088 "127.0.0.1", servname=0x800955b98 "", hints=0x7fffffffe420, res=0x7fffffffe478)
|
---|
23 | at /usr/src/freebsd-head/lib/libc/net/getaddrinfo.c:370
|
---|
24 | #1 0x0000000000408dba in boost::asio::detail::socket_ops::getaddrinfo (host=0x801015088 "127.0.0.1",
|
---|
25 | service=0x800955b98 "", hints=0x7fffffffe420, result=0x7fffffffe478, ec=@0x7fffffffe590) at socket_ops.hpp:1809
|
---|
26 | #2 0x0000000000409797 in boost::asio::detail::resolver_service<boost::asio::ip::tcp>::resolve (this=0x801010320,
|
---|
27 | query=@0x7fffffffe530, ec=@0x7fffffffe590) at resolver_service.hpp:153
|
---|
28 | #3 0x00000000004098db in boost::asio::ip::resolver_service<boost::asio::ip::tcp>::resolve (this=0x801015040,
|
---|
29 | impl=@0x7fffffffe5a8, query=@0x7fffffffe530, ec=@0x7fffffffe590) at resolver_service.hpp:107
|
---|
30 | #4 0x000000000040992a in boost::asio::ip::basic_resolver<boost::asio::ip::tcp, boost::asio::ip::resolver_service<boost::asio::ip::tcp> >::resolve (this=0x7fffffffe5a0, q=@0x7fffffffe530, ec=@0x7fffffffe590) at basic_resolver.hpp:124
|
---|
31 | #5 0x00000000004028e2 in do_resolv (serv=0x409ba9 "") at resolv.cc:18
|
---|
32 | #6 0x00000000004029ce in main () at resolv.cc:24
|
---|
33 | (gdb) bt full
|
---|
34 | #0 getaddrinfo (hostname=0x801015088 "127.0.0.1", servname=0x800955b98 "", hints=0x7fffffffe420, res=0x7fffffffe478)
|
---|
35 | at /usr/src/freebsd-head/lib/libc/net/getaddrinfo.c:370
|
---|
36 | sentinel = {ai_flags = -6800, ai_family = 32767, ai_socktype = -7232, ai_protocol = 32767, ai_addrlen = 4294960752,
|
---|
37 | ai_canonname = 0x7fffffffe660 "", ai_addr = 0x0, ai_next = 0x80050f76d}
|
---|
38 | cur = (struct addrinfo *) 0x202
|
---|
39 | error = 8
|
---|
40 | ai = {ai_flags = 1, ai_family = 0, ai_socktype = 5330025, ai_protocol = 8, ai_addrlen = 13116896,
|
---|
41 | ai_canonname = 0x800512c14 "H\211ØH\213l$\030H\213\\$\020L\213d$ L\213l$(L\213t$0H\203Ä8ÃH\211èH\003\203è",
|
---|
42 | ai_addr = 0x0, ai_next = 0x80053fa00}
|
---|
43 | ai0 = {ai_flags = -7496, ai_family = 32767, ai_socktype = 5330025, ai_protocol = 8, ai_addrlen = 5503488,
|
---|
44 | ai_canonname = 0x80053f000 "z¸PÕ", ai_addr = 0x50f8c8, ai_next = 0x0}
|
---|
45 | afai = (struct addrinfo *) 0x800756810
|
---|
46 | pai = (struct addrinfo *) 0x7fffffffe420
|
---|
47 | afd = (const struct afd *) 0x7fffffffe478
|
---|
48 | ex = (const struct explore *) 0x800955b98
|
---|
49 | afailist = {0x7fffffffe460, 0x0, 0x0}
|
---|
50 | afai_unspec = (struct addrinfo *) 0x801015088
|
---|
51 | found = 5500928
|
---|
52 | numeric = 32767
|
---|
53 | #1 0x0000000000408dba in boost::asio::detail::socket_ops::getaddrinfo (host=0x801015088 "127.0.0.1",
|
---|
54 | service=0x800955b98 "", hints=0x7fffffffe420, result=0x7fffffffe478, ec=@0x7fffffffe590) at socket_ops.hpp:1809
|
---|
55 | error = 8
|
---|
56 | #2 0x0000000000409797 in boost::asio::detail::resolver_service<boost::asio::ip::tcp>::resolve (this=0x801010320,
|
---|
57 | query=@0x7fffffffe530, ec=@0x7fffffffe590) at resolver_service.hpp:153
|
---|
58 | address_info = (addrinfo_type *) 0x0
|
---|
59 | host_name = {static npos = 18446744073709551615,
|
---|
60 | _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
|
---|
61 | _M_p = 0x801015088 "127.0.0.1"}}
|
---|
62 | service_name = {static npos = 18446744073709551615,
|
---|
63 | _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
|
---|
64 | _M_p = 0x800955b98 ""}}
|
---|
65 | hints = {ai_flags = 1024, ai_family = 0, ai_socktype = 1, ai_protocol = 6, ai_addrlen = 0, ai_canonname = 0x0,
|
---|
66 | ai_addr = 0x0, ai_next = 0x0}
|
---|
67 | auto_address_info = {<boost::noncopyable_::noncopyable> = {<No data fields>}, ai_ = 0x1}
|
---|
68 | #3 0x00000000004098db in boost::asio::ip::resolver_service<boost::asio::ip::tcp>::resolve (this=0x801015040,
|
---|
69 | impl=@0x7fffffffe5a8, query=@0x7fffffffe530, ec=@0x7fffffffe590) at resolver_service.hpp:107
|
---|
70 | No locals.
|
---|
71 | #4 0x000000000040992a in boost::asio::ip::basic_resolver<boost::asio::ip::tcp, boost::asio::ip::resolver_service<boost::asio::ip::tcp> >::resolve (this=0x7fffffffe5a0, q=@0x7fffffffe530, ec=@0x7fffffffe590) at basic_resolver.hpp:124
|
---|
72 | No locals.
|
---|
73 | #5 0x00000000004028e2 in do_resolv (serv=0x409ba9 "") at resolv.cc:18
|
---|
74 | io = {<boost::noncopyable_::noncopyable> = {<No data fields>}, service_registry_ = 0x801012040,
|
---|
75 | impl_ = @0x801013080}
|
---|
76 | resolver = {<boost::asio::basic_io_object<boost::asio::ip::resolver_service<boost::asio::ip::tcp> >> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, service = @0x801015040, implementation = {px = 0x0, pn = {
|
---|
77 | pi_ = 0x801012080}}}, <No data fields>}
|
---|
78 | q = {<boost::asio::ip::resolver_query_base> = {<No data fields>}, hints_ = {ai_flags = 1024, ai_family = 0,
|
---|
79 | ai_socktype = 1, ai_protocol = 6, ai_addrlen = 0, ai_canonname = 0x0, ai_addr = 0x0, ai_next = 0x0}, host_name_ = {
|
---|
80 | ---Type <return> to continue, or q <return> to quit---
|
---|
81 | static npos = 18446744073709551615,
|
---|
82 | _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
|
---|
83 | _M_p = 0x801015088 "127.0.0.1"}}, service_name_ = {static npos = 18446744073709551615,
|
---|
84 | _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
|
---|
85 | _M_p = 0x800955b98 ""}}}
|
---|
86 | ec = {m_val = 0, m_cat = 0x800756810}
|
---|
87 | iter = {<boost::iterator<std::forward_iterator_tag,const boost::asio::ip::basic_resolver_entry<boost::asio::ip::tcp>,long int,const boost::asio::ip::basic_resolver_entry<boost::asio::ip::tcp>*,const boost::asio::ip::basic_resolver_entry<boost::asio::ip::tcp>&>> = {<boost::detail::iterator_base<std::forward_iterator_tag,const boost::asio::ip::basic_resolver_entry<boost::asio::ip::tcp>,long int,const boost::asio::ip::basic_resolver_entry<boost::asio::ip::tcp>*,const boost::asio::ip::basic_resolver_entry<boost::asio::ip::tcp>&>> = {<std::iterator<std::forward_iterator_tag,const boost::asio::ip::basic_resolver_entry<boost::asio::ip::tcp>,long int,const boost::asio::ip::basic_resolver_entry<boost::asio::ip::tcp>*,const boost::asio::ip::basic_resolver_entry<boost::asio::ip::tcp>&>> = {<No data fields>}, <No data fields>}, <No data fields>}, values_ = {
|
---|
88 | px = 0x0, pn = {pi_ = 0x402310}}, index_ = 2}
|
---|
89 | #6 0x00000000004029ce in main () at resolv.cc:24
|
---|
90 | No locals.
|
---|