public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/18635] New: .stdlib/tst-makecontext fails on i686
@ 2015-07-07 17:46 hjl.tools at gmail dot com
  2015-07-07 19:04 ` [Bug libc/18635] " hjl.tools at gmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: hjl.tools at gmail dot com @ 2015-07-07 17:46 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 18635
           Summary: .stdlib/tst-makecontext fails on i686
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

On i686, I got

Program received signal SIGSEGV, Segmentation fault.
uw_frame_state_for (context=context@entry=0x8050120 <st1+15968>, 
    fs=fs@entry=0x80501a0 <st1+16096>)
    at /export/gnu/import/git/sources/gcc/libgcc/unwind-dw2.c:1249
1249          return MD_FALLBACK_FRAME_STATE_FOR (context, fs);
(gdb) bt
#0  uw_frame_state_for (context=context@entry=0x8050120 <st1+15968>, 
    fs=fs@entry=0x80501a0 <st1+16096>)
    at /export/gnu/import/git/sources/gcc/libgcc/unwind-dw2.c:1249
#1  0xf7e102a8 in _Unwind_Backtrace (trace=0x8049420 <backtrace_helper>, 
    trace_argument=0x8050298 <st1+16344>)
    at /export/gnu/import/git/sources/gcc/libgcc/unwind.inc:290
#2  0x080494a6 in cf (i=-78) at tst-makecontext.c:72
#3  0xf7e55d1b in makecontext ()
    at ../sysdeps/unix/sysv/linux/i386/makecontext.S:87
#4  0xffffffb2 in ?? ()
#5  0x00000000 in ?? ()
(gdb) p *context
$4 = {reg = {0x0, 0x0, 0x0, 0x80502a8 <st1+16360>, 0x0, 0x8050278 <st1+16312>, 
    0x8050270 <st1+16304>, 0x8050274 <st1+16308>, 0x80502b0 <st1+16368>, 0x0, 
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, cfa = 0x80502b4 <st1+16372>, 
  ra = 0xffffffb2, lsda = 0x0, bases = {tbase = 0x0, dbase = 0xf7fcc000, 
    func = 0xf7e55cd0 <makecontext>}, flags = 1073741824, version = 0, 
  args_size = 0, by_value = '\000' <repeats 17 times>}
(gdb) 

context->ra (0xffffffb2) is bogus.

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


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

* [Bug libc/18635] .stdlib/tst-makecontext fails on i686
  2015-07-07 17:46 [Bug libc/18635] New: .stdlib/tst-makecontext fails on i686 hjl.tools at gmail dot com
@ 2015-07-07 19:04 ` hjl.tools at gmail dot com
  2015-07-08 14:33 ` [Bug libc/18635] stdlib/tst-makecontext " hjl.tools at gmail dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hjl.tools at gmail dot com @ 2015-07-07 19:04 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Somehow the unwind info on i686 was corrupted.

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


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

* [Bug libc/18635] stdlib/tst-makecontext fails on i686
  2015-07-07 17:46 [Bug libc/18635] New: .stdlib/tst-makecontext fails on i686 hjl.tools at gmail dot com
  2015-07-07 19:04 ` [Bug libc/18635] " hjl.tools at gmail dot com
@ 2015-07-08 14:33 ` hjl.tools at gmail dot com
  2015-07-15  7:35 ` cvs-commit at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hjl.tools at gmail dot com @ 2015-07-08 14:33 UTC (permalink / raw)
  To: glibc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|.stdlib/tst-makecontext     |stdlib/tst-makecontext
                   |fails on i686               |fails on i686

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


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

* [Bug libc/18635] stdlib/tst-makecontext fails on i686
  2015-07-07 17:46 [Bug libc/18635] New: .stdlib/tst-makecontext fails on i686 hjl.tools at gmail dot com
  2015-07-07 19:04 ` [Bug libc/18635] " hjl.tools at gmail dot com
  2015-07-08 14:33 ` [Bug libc/18635] stdlib/tst-makecontext " hjl.tools at gmail dot com
@ 2015-07-15  7:35 ` cvs-commit at gcc dot gnu.org
  2015-08-04 10:11 ` [Bug libc/18635] stdlib/tst-makecontext fails on ix86 schwab@linux-m68k.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-07-15  7:35 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #2 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  f6267fd880a3c93a05e731c4ae6d661bc91aaf25 (commit)
       via  ed95ec72fbe2ca35063dc80e6fd2931348439fc4 (commit)
      from  c01ae97eb8986600488332f4db98f4b6d6ebedbc (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=f6267fd880a3c93a05e731c4ae6d661bc91aaf25

commit f6267fd880a3c93a05e731c4ae6d661bc91aaf25
Author: Stefan Liebler <stli@linux.vnet.ibm.com>
Date:   Wed Jul 15 09:33:15 2015 +0200

    i686: Mark stdlib/tst-makecontext as XFAIL.

    The testcase stdlib/tst-makecontext fails on i686 because
    _Unwind_Backtrace from libgcc produces a segmentation fault if it was
    called within a context created by makecontext. See Bug 18635.

    ChangeLog:

        * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
        New variable.

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

commit ed95ec72fbe2ca35063dc80e6fd2931348439fc4
Author: Stefan Liebler <stli@linux.vnet.ibm.com>
Date:   Wed Jul 15 09:33:14 2015 +0200

    S390: Regenerate ULPs

    I've regenerated the ulps for s390 from scratch.

    ChangeLog:

        * sysdeps/s390/fpu/libm-test-ulps: Regenerated.

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

Summary of changes:
 ChangeLog                       |    9 ++++++
 sysdeps/i386/i686/Makefile      |    6 ++++
 sysdeps/s390/fpu/libm-test-ulps |   56 +++++++++++++++++++-------------------
 3 files changed, 43 insertions(+), 28 deletions(-)

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


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

* [Bug libc/18635] stdlib/tst-makecontext fails on ix86
  2015-07-07 17:46 [Bug libc/18635] New: .stdlib/tst-makecontext fails on i686 hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2015-07-15  7:35 ` cvs-commit at gcc dot gnu.org
@ 2015-08-04 10:11 ` schwab@linux-m68k.org
  2015-08-04 15:49 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: schwab@linux-m68k.org @ 2015-08-04 10:11 UTC (permalink / raw)
  To: glibc-bugs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|stdlib/tst-makecontext      |stdlib/tst-makecontext
                   |fails on i686               |fails on ix86

--- Comment #3 from Andreas Schwab <schwab@linux-m68k.org> ---
It also fails on i586.

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


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

* [Bug libc/18635] stdlib/tst-makecontext fails on ix86
  2015-07-07 17:46 [Bug libc/18635] New: .stdlib/tst-makecontext fails on i686 hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2015-08-04 10:11 ` [Bug libc/18635] stdlib/tst-makecontext fails on ix86 schwab@linux-m68k.org
@ 2015-08-04 15:49 ` cvs-commit at gcc dot gnu.org
  2015-08-04 15:50 ` schwab@linux-m68k.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-08-04 15:49 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #4 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  bbab82c25da9b504c0804119840de7aeab0eeeba (commit)
      from  8cf0ac959d318cf113feb1a9ca5d325010bb2124 (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=bbab82c25da9b504c0804119840de7aeab0eeeba

commit bbab82c25da9b504c0804119840de7aeab0eeeba
Author: Andreas Schwab <schwab@suse.de>
Date:   Tue Aug 4 12:35:50 2015 +0200

    Properly terminate FDE in makecontext for ix86 (bug 18635)

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

Summary of changes:
 ChangeLog                                  |    7 +++++++
 NEWS                                       |    4 ++--
 sysdeps/i386/i686/Makefile                 |    6 ------
 sysdeps/unix/sysv/linux/i386/makecontext.S |    5 ++++-
 4 files changed, 13 insertions(+), 9 deletions(-)

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


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

* [Bug libc/18635] stdlib/tst-makecontext fails on ix86
  2015-07-07 17:46 [Bug libc/18635] New: .stdlib/tst-makecontext fails on i686 hjl.tools at gmail dot com
                   ` (4 preceding siblings ...)
  2015-08-04 15:49 ` cvs-commit at gcc dot gnu.org
@ 2015-08-04 15:50 ` schwab@linux-m68k.org
  2015-08-05 21:37 ` cvs-commit at gcc dot gnu.org
  2015-09-04 19:07 ` cvs-commit at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: schwab@linux-m68k.org @ 2015-08-04 15:50 UTC (permalink / raw)
  To: glibc-bugs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.22

--- Comment #5 from Andreas Schwab <schwab@linux-m68k.org> ---
Fixed for 2.22.

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


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

* [Bug libc/18635] stdlib/tst-makecontext fails on ix86
  2015-07-07 17:46 [Bug libc/18635] New: .stdlib/tst-makecontext fails on i686 hjl.tools at gmail dot com
                   ` (5 preceding siblings ...)
  2015-08-04 15:50 ` schwab@linux-m68k.org
@ 2015-08-05 21:37 ` cvs-commit at gcc dot gnu.org
  2015-09-04 19:07 ` cvs-commit at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-08-05 21:37 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #7 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  bb1d31d06e400a42da4435e8649bb7a1451ef682 (commit)
      from  72354ab5e1d61dec7606a8851f0eb1bb016f7af7 (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=bb1d31d06e400a42da4435e8649bb7a1451ef682

commit bb1d31d06e400a42da4435e8649bb7a1451ef682
Author: Andreas Schwab <schwab@linux-m68k.org>
Date:   Wed Aug 5 23:20:49 2015 +0200

    Properly terminate FDE in makecontext for m68k (bug 18635)

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

Summary of changes:
 ChangeLog                                         |    6 ++++++
 sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S |    5 ++++-
 2 files changed, 10 insertions(+), 1 deletions(-)

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


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

* [Bug libc/18635] stdlib/tst-makecontext fails on ix86
  2015-07-07 17:46 [Bug libc/18635] New: .stdlib/tst-makecontext fails on i686 hjl.tools at gmail dot com
                   ` (6 preceding siblings ...)
  2015-08-05 21:37 ` cvs-commit at gcc dot gnu.org
@ 2015-09-04 19:07 ` cvs-commit at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-09-04 19:07 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #8 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  b4b522f6108e2116fb806e4f29b25542062dd84b (commit)
      from  41a4f0d493e98199d147be93431e74a932fd2b69 (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=b4b522f6108e2116fb806e4f29b25542062dd84b

commit b4b522f6108e2116fb806e4f29b25542062dd84b
Author: Andreas Schwab <schwab@suse.de>
Date:   Thu Aug 20 15:25:18 2015 +0200

    Terminate FDE before return trampoline in makecontext for powerpc (bug
18635)

    This fixes tst-makecontext for PowerPC.

        [BZ #18635]
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
        (__makecontext): Terminate FDE before return label.
        (__novec_makecontext): Likewise.

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

Summary of changes:
 ChangeLog                                          |    7 +++++++
 .../sysv/linux/powerpc/powerpc32/makecontext.S     |    6 ++++++
 2 files changed, 13 insertions(+), 0 deletions(-)

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


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

end of thread, other threads:[~2015-09-04 19:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-07 17:46 [Bug libc/18635] New: .stdlib/tst-makecontext fails on i686 hjl.tools at gmail dot com
2015-07-07 19:04 ` [Bug libc/18635] " hjl.tools at gmail dot com
2015-07-08 14:33 ` [Bug libc/18635] stdlib/tst-makecontext " hjl.tools at gmail dot com
2015-07-15  7:35 ` cvs-commit at gcc dot gnu.org
2015-08-04 10:11 ` [Bug libc/18635] stdlib/tst-makecontext fails on ix86 schwab@linux-m68k.org
2015-08-04 15:49 ` cvs-commit at gcc dot gnu.org
2015-08-04 15:50 ` schwab@linux-m68k.org
2015-08-05 21:37 ` cvs-commit at gcc dot gnu.org
2015-09-04 19:07 ` 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).