bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

segfault in getifaddrs() in glibc 2.3.2-27.9


From: Jeff Moore
Subject: segfault in getifaddrs() in glibc 2.3.2-27.9
Date: Thu, 6 Nov 2003 13:16:30 -0800

sudo seems to segfault when I have more than 41 interfaces (my case uses virtual interfaces)...This only seems to happen under glibc-2.3.2-27.9, it works under glibc-2.3.2-11.9
Relevant part:
Program received signal SIGSEGV, Segmentation fault.
0x40155ecf in getifaddrs () from /lib/i686/libc.so.6

Thank you.


>>>>>>>>>>>>>>>>>>>>>DOESN"T WORK ON 2.3.2-27.9
address@hidden root]# rpm -qv sudo
sudo-1.6.6-3
address@hidden root]# rpm -qv glibc
glibc-2.3.2-27.9
address@hidden root]#

address@hidden root]# gdb sudo
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(no debugging symbols found)...
(gdb) run
Starting program: /usr/local/bin/sudo
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x40155ecf in getifaddrs () from /lib/i686/libc.so.6
(gdb) quit
The program is running.  Exit anyway? (y or n) y
address@hidden root]#

address@hidden root]# ifconfig | grep Link |wc -l
     41
address@hidden root]# sudo
usage: sudo -V | -h | -L | -l | -v | -k | -K | [-H] [-P] [-S] [-b] [-p prompt]
            [-u username/#uid] -s | <command>
address@hidden root]# /etc/sysconfig/network-scripts/ifup eth1:55
address@hidden root]# ifconfig | grep Link | wc -l
     42
address@hidden root]# sudo
Segmentation fault
address@hidden root]#
address@hidden root]# uname -a
Linux gta15.snv.i.mediaplex.com 2.4.18-26.8.0custom #2 SMP Thu Oct 23 14:16:01 PDT 2003 i686 i686 i386 GNU/Linux
You have new mail in /var/spool/mail/root
address@hidden root]#


>>>>>>>>>>>>>>>>>>>>>WORKS ON 2.3.2-11.9
address@hidden root]# rpm -qv glibc
glibc-2.3.2-11.9
address@hidden root]# ifconfig | grep Link | wc -l
    257
address@hidden root]# sudo
usage: sudo -V | -h | -L | -l | -v | -k | -K | [-H] [-P] [-S] [-b] [-p prompt]
            [-u username/#uid] -s | <command>
address@hidden root]#
address@hidden root]# rpm -qv sudo
sudo-1.6.6-3
address@hidden root]#
address@hidden root]# uname -a
Linux gta16.snv.i.mediaplex.com 2.4.18-26.8.0custom #2 SMP Thu Oct 23 15:30:46 PDT 2003 i686 i686 i386 GNU/Linux address@hidden root]#




reply via email to

[Prev in Thread] Current Thread [Next in Thread]