segment fault at dns.c
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mtr |
New
|
Undecided
|
Unassigned |
Bug Description
Hi, there.
I was using mtr 0.83 on archlinux and met segment fault. The following is what i got through gdb.
Program received signal SIGSEGV, Segmentation fault. Packets Pings
0x000000000040928a in dorequest (s=0x8978c0 <tempstring> "1.0.0.
id=11508) at dns.c:941
941 if (NSSOCKADDR6(
(gdb) where
#0 0x000000000040928a in dorequest (s=0x8978c0 <tempstring> "1.0.0.
12, id=11508) at dns.c:941
#1 0x000000000040947b in resendrequest (rp=0x9346a8, type=12) at dns.c:976
#2 0x0000000000409572 in sendrequest (rp=0x9346a8, type=12) at dns.c:993
#3 0x000000000040ab9b in dns_lookup2 (ip=0x6114e0 <host>) at dns.c:1459
#4 0x000000000040abd0 in dns_lookup (ip=0x6114e0 <host>) at dns.c:1469
#5 0x00000000004031b1 in mtr_curses_hosts (startstat=99) at curses.c:355
#6 0x000000000040406c in mtr_curses_redraw () at curses.c:614
#7 0x000000000040b1b8 in display_redraw () at display.c:141
#8 0x000000000040c51b in select_loop () at select.c:103
#9 0x000000000040b2f7 in display_loop () at display.c:217
#10 0x0000000000404cd0 in main (argc=1, argv=0x7fffffff
so if i use option --no-dns, everything would work fine.
I have ipv6 enabled and connected.
cheers,
And another strange thing is that i also installed same version of mtr in my laptop, which also have the same updated archlinux, but everything works fine there.