public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug network/17125] New: posix/bug-ga2 fails
@ 2014-07-08 11:57 siddhesh at redhat dot com
  2014-07-08 17:28 ` [Bug network/17125] posix/bug-ga2 fails when there is no ipv6 interface siddhesh at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: siddhesh at redhat dot com @ 2014-07-08 11:57 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 17125
           Summary: posix/bug-ga2 fails
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: network
          Assignee: siddhesh at redhat dot com
          Reporter: siddhesh at redhat dot com

The test posix/bug-ga2 fails with the following error:

*** Error in `/root/src/upstream/glibc/build/posix/bug-ga2': free(): invalid
pointer: 0x00007fe7ab1bc370 ***

This is because we try to free noai6ai_cached on exit, which is allocated
statically.

Patch coming up.

-- 
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 network/17125] posix/bug-ga2 fails when there is no ipv6 interface
  2014-07-08 11:57 [Bug network/17125] New: posix/bug-ga2 fails siddhesh at redhat dot com
@ 2014-07-08 17:28 ` siddhesh at redhat dot com
  2014-07-10  9:02 ` cvs-commit at gcc dot gnu.org
  2014-07-10  9:13 ` siddhesh at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: siddhesh at redhat dot com @ 2014-07-08 17:28 UTC (permalink / raw)
  To: glibc-bugs

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

Siddhesh Poyarekar <siddhesh at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|posix/bug-ga2 fails         |posix/bug-ga2 fails when
                   |                            |there is no ipv6 interface

-- 
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 network/17125] posix/bug-ga2 fails when there is no ipv6 interface
  2014-07-08 11:57 [Bug network/17125] New: posix/bug-ga2 fails siddhesh at redhat dot com
  2014-07-08 17:28 ` [Bug network/17125] posix/bug-ga2 fails when there is no ipv6 interface siddhesh at redhat dot com
@ 2014-07-10  9:02 ` cvs-commit at gcc dot gnu.org
  2014-07-10  9:13 ` siddhesh at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2014-07-10  9:02 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  888c679ba406e89d86bdfbde033e307f5af5198f (commit)
       via  180e0e4b29e4950cd411144c7b9dab1f850853d9 (commit)
       via  d22f1fe2f369a273533e50d757c4590adf147ef1 (commit)
       via  12f2254b815056bb897a25a0c6dee0122aef52ac (commit)
       via  c3c7c3604fdf934d7a8ec70d79915cd8c8984ad1 (commit)
       via  d62aa75af1941fca6f07e107afc447b7b248e340 (commit)
      from  7000d82e01dc04344eaa1772698c9b0c304a892f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=888c679ba406e89d86bdfbde033e307f5af5198f

commit 888c679ba406e89d86bdfbde033e307f5af5198f
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Thu Jul 10 14:24:30 2014 +0530

    Sync up error.c with gnulib

    Summary of changes:

    - Use of !_LIBC instead of HAVE_CONFIG_H
    - Code changes in [!_LIBC] that don't affect us
    - Minor formatting changes
    - Use __builtin_expect in shared code
    - Define some macros in [_LIBC] that are used in gnulib but never
      defined in glibc
    - Flip macro check for STRERROR_R_CHAR_P so that it does not throw a
      warning

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=180e0e4b29e4950cd411144c7b9dab1f850853d9

commit 180e0e4b29e4950cd411144c7b9dab1f850853d9
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Thu Jul 10 14:21:27 2014 +0530

    Fix -Wundef warning for HAVE_LOCALTIME_R

    Define it to 0.  There is a gnulib copy for this, but it is out of
    sync with our copy.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d22f1fe2f369a273533e50d757c4590adf147ef1

commit d22f1fe2f369a273533e50d757c4590adf147ef1
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Thu Jul 10 14:20:42 2014 +0530

    Fix Wundef warning for HAVE_STRFTIME

    Define it to 0

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=12f2254b815056bb897a25a0c6dee0122aef52ac

commit 12f2254b815056bb897a25a0c6dee0122aef52ac
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Thu Jul 10 14:19:21 2014 +0530

    Fix -Wundef warning for HAVE_SYS_PARAM_H

    Include sys/param.h unconditionally

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c3c7c3604fdf934d7a8ec70d79915cd8c8984ad1

commit c3c7c3604fdf934d7a8ec70d79915cd8c8984ad1
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Thu Jul 10 14:18:13 2014 +0530

    Fix -Wundef warning for HAVE_OBSTACK

    Remove the HAVE_OBSTACK macro check and include obstack check in
    include path order since we don't have a copy of obstack.h in the
    current directory.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d62aa75af1941fca6f07e107afc447b7b248e340

commit d62aa75af1941fca6f07e107afc447b7b248e340
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Thu Jul 10 14:15:16 2014 +0530

    Fix crash when system has no ipv6 address [BZ #17125]

    Here's an updated patch to fix the crash in bug-ga2 when the system
    has no configured ipv6 address.  I have taken a different approach of
    using libc_freeres_fn instead of the libc_freeres_ptr since the former
    gives better control over what is freed; we need that since cache may
    or may not be allocated using malloc.

    Verified that bug-ga2 works correctly in both cases and does not have
    memory leaks in either of them.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                          |   30 +++++++++++
 NEWS                               |    2 +-
 io/ftw.c                           |    4 +-
 locale/programs/simple-hash.c      |    6 +--
 misc/error.c                       |   96 ++++++++++++++++++++++++++++++++----
 sysdeps/unix/sysv/linux/check_pf.c |    8 +++-
 time/strftime_l.c                  |    1 +
 time/strptime_l.c                  |    1 +
 8 files changed, 128 insertions(+), 20 deletions(-)

-- 
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 network/17125] posix/bug-ga2 fails when there is no ipv6 interface
  2014-07-08 11:57 [Bug network/17125] New: posix/bug-ga2 fails siddhesh at redhat dot com
  2014-07-08 17:28 ` [Bug network/17125] posix/bug-ga2 fails when there is no ipv6 interface siddhesh at redhat dot com
  2014-07-10  9:02 ` cvs-commit at gcc dot gnu.org
@ 2014-07-10  9:13 ` siddhesh at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: siddhesh at redhat dot com @ 2014-07-10  9:13 UTC (permalink / raw)
  To: glibc-bugs

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

Siddhesh Poyarekar <siddhesh at redhat dot com> changed:

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

--- Comment #2 from Siddhesh Poyarekar <siddhesh at redhat dot com> ---
Fixed in master.

-- 
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-07-10  9:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-08 11:57 [Bug network/17125] New: posix/bug-ga2 fails siddhesh at redhat dot com
2014-07-08 17:28 ` [Bug network/17125] posix/bug-ga2 fails when there is no ipv6 interface siddhesh at redhat dot com
2014-07-10  9:02 ` cvs-commit at gcc dot gnu.org
2014-07-10  9:13 ` siddhesh 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).