public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ports/4353] New: interfaces going away crashes sudo with SIGABRT in ifaddr stuff
@ 2007-04-13  6:24 kduda at arastra dot com
  2007-04-13 18:46 ` [Bug ports/4353] " jakub at redhat dot com
  2007-04-13 20:10 ` kduda at arastra dot com
  0 siblings, 2 replies; 3+ messages in thread
From: kduda at arastra dot com @ 2007-04-13  6:24 UTC (permalink / raw)
  To: glibc-bugs

If you run "sudo true" over and over, while in the background you create and
delete tap interfaces as fast as you can, sudo will crash about 30% of the time
with SIGABRT.  This is on a Linux-x86-fc6 system, glibc 2.5-10.fc6.  I assume it
is crashing somewhere in sysdeps/unix/sysv/linux/ifaddrs.c but it is a little
hard to tell because I can't convince sudo (being setuid) to leave a core file.

Sorry this isn't really very well isolated and the reproduction path isn't
really that specific.

-- 
           Summary: interfaces going away crashes sudo with SIGABRT in
                    ifaddr stuff
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ports
        AssignedTo: roland at gnu dot org
        ReportedBy: kduda at arastra dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=4353

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug ports/4353] interfaces going away crashes sudo with SIGABRT in ifaddr stuff
  2007-04-13  6:24 [Bug ports/4353] New: interfaces going away crashes sudo with SIGABRT in ifaddr stuff kduda at arastra dot com
@ 2007-04-13 18:46 ` jakub at redhat dot com
  2007-04-13 20:10 ` kduda at arastra dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jakub at redhat dot com @ 2007-04-13 18:46 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From jakub at redhat dot com  2007-04-13 19:45 -------
You could:
chmod 4755 /lib/libSegFault.so
SEGFAULT_SIGNALS=all LD_PRELOAD=libSegFault.so sudo true
to get a backtrace, even from a suid program.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4353

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug ports/4353] interfaces going away crashes sudo with SIGABRT in ifaddr stuff
  2007-04-13  6:24 [Bug ports/4353] New: interfaces going away crashes sudo with SIGABRT in ifaddr stuff kduda at arastra dot com
  2007-04-13 18:46 ` [Bug ports/4353] " jakub at redhat dot com
@ 2007-04-13 20:10 ` kduda at arastra dot com
  1 sibling, 0 replies; 3+ messages in thread
From: kduda at arastra dot com @ 2007-04-13 20:10 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From kduda at arastra dot com  2007-04-13 21:10 -------
(In reply to comment #1)

Thanks for the suggestion.  I tried this and I still could not get it to create
a core file, but I did get this lovely backtrace that pins the problem to
getifaddrs as suspected.

   -Ken

*** Aborted
Register dump:

 EAX: 00000000   EBX: 00002af7   ECX: 00002af7   EDX: 00000006
 ESI: bfda9fac   EDI: 00394ff4   EBP: bfda9f0c   ESP: bfda9f00

 EIP: 006e3402   EFLAGS: 00200246

 CS: 0073   DS: 007b   ES: 007b   FS: 0000   GS: 0033   SS: 007b

 Trap: 00000000   Error: 00000000   OldMask: 00000000
 ESP/signal: bfda9f00   CR2: 00000000

Backtrace:
/lib/libSegFault.so[0x9c912f]
[0x6e3420]
/lib/libc.so.6(abort+0x101)[0x286591]
/lib/libc.so.6(getifaddrs+0xa25)[0x349245]
sudo[0x804d1cf]
sudo[0x8050692]
/lib/libc.so.6(__libc_start_main+0xdc)[0x271f2c]
sudo[0x804ab21]

Memory map:

00110000-0013a000 r-xp 00000000 08:01 725709     /usr/lib/libgssapi_krb5.so.2.2
0013a000-0013b000 rwxp 00029000 08:01 725709     /usr/lib/libgssapi_krb5.so.2.2
0013b000-0013d000 r-xp 00000000 08:01 920753     /lib/libcom_err.so.2.1
0013d000-0013e000 rwxp 00001000 08:01 920753     /lib/libcom_err.so.2.1
0013e000-00163000 r-xp 00000000 08:01 729206     /usr/lib/libk5crypto.so.3.0
00163000-00164000 rwxp 00025000 08:01 729206     /usr/lib/libk5crypto.so.3.0
00166000-00173000 r-xp 00000000 08:01 729564     /usr/lib/liblber-2.3.so.0.2.15
00173000-00174000 rwxp 0000c000 08:01 729564     /usr/lib/liblber-2.3.so.0.2.15
00174000-001fa000 r-xp 00000000 08:01 729451     /usr/lib/libkrb5.so.3.2
001fa000-001fc000 rwxp 00086000 08:01 729451     /usr/lib/libkrb5.so.3.2
001fc000-0020e000 r-xp 00000000 08:01 732219     /usr/lib/libz.so.1.2.3
0020e000-0020f000 rwxp 00011000 08:01 732219     /usr/lib/libz.so.1.2.3
0020f000-00218000 r-xp 00000000 08:01 915753     /lib/libnss_files-2.5.so
00218000-00219000 r-xp 00008000 08:01 915753     /lib/libnss_files-2.5.so
00219000-0021a000 rwxp 00009000 08:01 915753     /lib/libnss_files-2.5.so
0021a000-00225000 r-xp 00000000 08:01 920751     /lib/libgcc_s-4.1.1-20070105.so.1
00225000-00226000 rwxp 0000a000 08:01 920751     /lib/libgcc_s-4.1.1-20070105.so.1
0025c000-00393000 r-xp 00000000 08:01 920763     /lib/libc-2.5.so
00393000-00395000 r-xp 00137000 08:01 920763     /lib/libc-2.5.so
00395000-00396000 rwxp 00139000 08:01 920763     /lib/libc-2.5.so
00396000-00399000 rwxp 00396000 00:00 0
003f2000-0042b000 r-xp 00000000 08:01 727113     /usr/lib/libldap-2.3.so.0.2.15
0042b000-0042c000 rwxp 00039000 08:01 727113     /usr/lib/libldap-2.3.so.0.2.15
00508000-00517000 r-xp 00000000 08:01 920700     /lib/libresolv-2.5.so
00517000-00518000 r-xp 0000e000 08:01 920700     /lib/libresolv-2.5.so
00518000-00519000 rwxp 0000f000 08:01 920700     /lib/libresolv-2.5.so
00519000-0051b000 rwxp 00519000 00:00 0
005c2000-005d4000 r-xp 00000000 08:01 920794     /lib/libaudit.so.0.0.0
005d4000-005d6000 rwxp 00011000 08:01 920794     /lib/libaudit.so.0.0.0
006e3000-006e4000 r-xp 006e3000 00:00 0          [vdso]
0076c000-00888000 r-xp 00000000 08:01 920772     /lib/libcrypto.so.0.9.8b
00888000-0089a000 rwxp 0011c000 08:01 920772     /lib/libcrypto.so.0.9.8b
0089a000-0089e000 rwxp 0089a000 00:00 0
0090e000-00910000 r-xp 00000000 08:01 920757     /lib/libdl-2.5.so
00910000-00911000 r-xp 00001000 08:01 920757     /lib/libdl-2.5.so
00911000-00912000 rwxp 00002000 08:01 920757     /lib/libdl-2.5.so
00964000-0097c000 r-xp 00000000 08:01 725941     /usr/lib/libsasl2.so.2.0.22
0097c000-0097d000 rwxp 00017000 08:01 725941     /usr/lib/libsasl2.so.2.0.22
009c7000-009ca000 r-xp 00000000 08:01 915734     /lib/libSegFault.so
009ca000-009cb000 r-xp 00002000 08:01 915734     /lib/libSegFault.so
009cb000-009cc000 rwxp 00003000 08:01 915734     /lib/libSegFault.so
009e4000-009e9000 r-xp 00000000 08:01 920732     /lib/libcrypt-2.5.so
009e9000-009ea000 r-xp 00004000 08:01 920732     /lib/libcrypt-2.5.so
009ea000-009eb000 rwxp 00005000 08:01 920732     /lib/libcrypt-2.5.so
009eb000-00a12000 rwxp 009eb000 00:00 0
00ad8000-00af1000 r-xp 00000000 08:01 920758     /lib/ld-2.5.so
00af1000-00af2000 r-xp 00018000 08:01 920758     /lib/ld-2.5.so
00af2000-00af3000 rwxp 00019000 08:01 920758     /lib/ld-2.5.so
00bf2000-00bf9000 r-xp 00000000 08:01 729453     /usr/lib/libkrb5support.so.0.1
00bf9000-00bfa000 rwxp 00006000 08:01 729453     /usr/lib/libkrb5support.so.0.1
00c06000-00c47000 r-xp 00000000 08:01 920767     /lib/libssl.so.0.9.8b
00c47000-00c4b000 rwxp 00040000 08:01 920767     /lib/libssl.so.0.9.8b
00e1d000-00e27000 r-xp 00000000 08:01 920698     /lib/libpam.so.0.81.5
00e27000-00e28000 rwxp 00009000 08:01 920698     /lib/libpam.so.0.81.5
08048000-0806d000 r-xp 00000000 08:01 732318     /usr/bin/sudo
0806d000-0806f000 rw-p 00024000 08:01 732318     /usr/bin/sudo
0806f000-08071000 rw-p 0806f000 00:00 0
090fb000-0911c000 rw-p 090fb000 00:00 0
b7f6b000-b7f70000 rw-p b7f6b000 00:00 0
b7f75000-b7f77000 rw-p b7f75000 00:00 0
bfd97000-bfdad000 rw-p bfd97000 00:00 0          [stack]
Aborted

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4353

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2007-04-13 20:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-13  6:24 [Bug ports/4353] New: interfaces going away crashes sudo with SIGABRT in ifaddr stuff kduda at arastra dot com
2007-04-13 18:46 ` [Bug ports/4353] " jakub at redhat dot com
2007-04-13 20:10 ` kduda at arastra dot com

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).