public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/17371] New: libc segfaults inside getifaddrs_internal
@ 2014-09-10 20:19 simongmzlj at gmail dot com
  2014-09-10 20:23 ` [Bug libc/17371] " simongmzlj at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: simongmzlj at gmail dot com @ 2014-09-10 20:19 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17371

            Bug ID: 17371
           Summary: libc segfaults inside getifaddrs_internal
           Product: glibc
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: simongmzlj at gmail dot com
                CC: drepper.fsp at gmail dot com

libc segfaults inside getifaddrs_internal. Noticed it in sudo and wireshark. A
quick backtrace produces this:

#0  0x00007faf8133fabc in getifaddrs_internal () from /usr/lib/libc.so.6
#1  0x00007faf8133fcc0 in getifaddrs () from /usr/lib/libc.so.6
#2  0x00007faf81c1534f in get_net_ifs (addrinfo=0x7fffa3b0de20) at
./net_ifs.c:124
#3  0x00007faf81c1672d in parse_args (argc=1, argv=0x7fffa3b0f128,
nargc=0x7fffa3b0df7c, nargv=0x7fffa3b0df70, settingsp=0x7fffa3b0df68,
env_addp=0x7fffa3b0df60) at ./parse_args.c:198
#4  0x00007faf81c19190 in main (argc=<optimized out>, argv=0x7fffa3b0f128,
envp=0x7fffa3b0f138) at ./sudo.c:191

I do have a an interesting network setup:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp8s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master
bridge0 state UP mode DEFAULT group default qlen 1000
    link/ether 74:d0:2b:c5:99:28 brd ff:ff:ff:ff:ff:ff
3: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP
mode DEFAULT group default qlen 1000
    link/ether 74:d0:2b:c5:95:ef brd ff:ff:ff:ff:ff:ff
4: tap2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master
bridge0 state DOWN mode DEFAULT group default qlen 500
    link/ether a2:2e:cd:67:79:48 brd ff:ff:ff:ff:ff:ff
5: tap1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master
bridge0 state UP mode DEFAULT group default qlen 500
    link/ether de:9c:71:d7:30:1b brd ff:ff:ff:ff:ff:ff
6: tap0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master
bridge0 state DOWN mode DEFAULT group default qlen 500
    link/ether b6:ff:4a:7f:4e:4a brd ff:ff:ff:ff:ff:ff
7: bridge0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
mode DEFAULT group default 
    link/ether c2:18:88:08:41:a6 brd ff:ff:ff:ff:ff:ff

Not sure what else exactly you need, feel free to ask.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-09-15 23:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-10 20:19 [Bug libc/17371] New: libc segfaults inside getifaddrs_internal simongmzlj at gmail dot com
2014-09-10 20:23 ` [Bug libc/17371] " simongmzlj at gmail dot com
2014-09-10 23:55 ` allan at archlinux dot org
2014-09-11  6:46 ` simongmzlj at gmail dot com
2014-09-11  6:46 ` simongmzlj at gmail dot com
2014-09-15 17:01 ` cvs-commit at gcc dot gnu.org
2014-09-15 17:02 ` schwab@linux-m68k.org
2014-09-15 23:06 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).