public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/12901] New: Segfault in libnss_db-2.14.90.so when running iftop
@ 2011-06-16 19:29 cryptooctoploid at gmail dot com
  2011-06-17  6:39 ` [Bug libc/12901] " cryptooctoploid at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: cryptooctoploid at gmail dot com @ 2011-06-16 19:29 UTC (permalink / raw)
  To: glibc-bugs

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

           Summary: Segfault in libnss_db-2.14.90.so when running iftop
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: cryptooctoploid@gmail.com


I see the following segfault on my machine every time when I run iftop.


iftop[386]: segfault at 8 ip 00007f78b355e88f sp 00007fff2dab61b0 error 4 in
libnss_db-2.14.90.so[7f78b355d000+6000]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5dc788f in _nss_db_setprotoent (stayopen=0) at
./nss_files/../nss_db/db-XXX.c:78
78        entidx  = (const char *) state.header + state.header->valstroffset;
(gdb) bt
#0  0x00007ffff5dc788f in _nss_db_setprotoent (stayopen=0) at
./nss_files/../nss_db/db-XXX.c:78
#1  0x00007ffff76c3760 in __nss_setent (func_name=0x7ffff7700a49 "setprotoent",
lookup_fct=Unhandled dwarf expression opcode 0xf3
) at getnssent_r.c:79
#2  0x00007ffff76cb21f in setprotoent (stayopen=Unhandled dwarf expression
opcode 0xf3
) at ../nss/getXXent_r.c:127
#3  0x0000000000404597 in ?? ()
#4  0x00000000004065be in ?? ()
#5  0x00000000004035ac in ?? ()
#6  0x00007ffff7600180 in __libc_start_main (main=0x403520, argc=1,
ubp_av=0x7fffffffe738, init=Unhandled dwarf expression opcode 0xf3
) at libc-start.c:226
#7  0x0000000000402169 in ?? ()
#8  0x00007fffffffe728 in ?? ()
#9  0x00000000ffffffff in ?? ()
#10 0x0000000000000001 in ?? ()
#11 0x00007fffffffe9fa in ?? ()
#12 0x0000000000000000 in ?? ()


This is caused by commit 2666d441c2d810:

Author: Ulrich Drepper <drepper@gmail.com>
Date:   Tue Jun 14 22:21:51 2011 -0400

    Reenable nss_db with a completely new implementation

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/12901] Segfault in libnss_db-2.14.90.so when running iftop
  2011-06-16 19:29 [Bug libc/12901] New: Segfault in libnss_db-2.14.90.so when running iftop cryptooctoploid at gmail dot com
@ 2011-06-17  6:39 ` cryptooctoploid at gmail dot com
  2011-06-21 21:11 ` drepper.fsp at gmail dot com
  2014-06-27 13:07 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cryptooctoploid at gmail dot com @ 2011-06-17  6:39 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from Octoploid <cryptooctoploid at gmail dot com> 2011-06-17 06:38:51 UTC ---
Created attachment 5798
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5798
Obvious fix

This patch fixes the problem for me.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/12901] Segfault in libnss_db-2.14.90.so when running iftop
  2011-06-16 19:29 [Bug libc/12901] New: Segfault in libnss_db-2.14.90.so when running iftop cryptooctoploid at gmail dot com
  2011-06-17  6:39 ` [Bug libc/12901] " cryptooctoploid at gmail dot com
@ 2011-06-21 21:11 ` drepper.fsp at gmail dot com
  2014-06-27 13:07 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-06-21 21:11 UTC (permalink / raw)
  To: glibc-bugs

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

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-06-21 21:10:43 UTC ---
This is no code which appeared in any release and therefore this should not be
reported in BZ.  I made the change.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/12901] Segfault in libnss_db-2.14.90.so when running iftop
  2011-06-16 19:29 [Bug libc/12901] New: Segfault in libnss_db-2.14.90.so when running iftop cryptooctoploid at gmail dot com
  2011-06-17  6:39 ` [Bug libc/12901] " cryptooctoploid at gmail dot com
  2011-06-21 21:11 ` drepper.fsp at gmail dot com
@ 2014-06-27 13:07 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 13:07 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

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


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

end of thread, other threads:[~2014-06-27 13:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-16 19:29 [Bug libc/12901] New: Segfault in libnss_db-2.14.90.so when running iftop cryptooctoploid at gmail dot com
2011-06-17  6:39 ` [Bug libc/12901] " cryptooctoploid at gmail dot com
2011-06-21 21:11 ` drepper.fsp at gmail dot com
2014-06-27 13:07 ` fweimer at redhat 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).