This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/19792] MIPS: backtrace yields infinite backtrace with makecontext
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 09 Mar 2016 18:51:18 +0000
- Subject: [Bug libc/19792] MIPS: backtrace yields infinite backtrace with makecontext
- Auto-submitted: auto-generated
- References: <bug-19792-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19792
--- 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, release/2.23/master has been updated
via 63ed4db4b45cab21cf6f68aac7b9fce2f770fe74 (commit)
from 9d1399e89d431b34a5a6e5e48ee40721c22815b8 (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=63ed4db4b45cab21cf6f68aac7b9fce2f770fe74
commit 63ed4db4b45cab21cf6f68aac7b9fce2f770fe74
Author: Aurelien Jarno <aurelien@aurel32.net>
Date: Wed Mar 9 00:25:00 2016 +0100
mips: terminate the FDE before the return trampoline in makecontext
In makecontext the FDE needs to be terminated before the return
trampoline otherwise backtrace called within a context created by
makecontext yields infinite backtrace.
This bug has been present for a long time, stdlib/tst-makecontext did
not fail until recent commit e535ce25. Tested on mips-linux-gnu and
mips64el-linux-gnuabi64 and mips-linux-gnu, no regression.
This fixes stdlib/tst-makecontext on MIPS.
Changelog:
[BZ #19792]
* sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
Terminate FDE before return label.
(cherry picked from commit f8e9c4d30c28b8815e65a391416e8b15d2e7cbb8)
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
NEWS | 1 +
sysdeps/unix/sysv/linux/mips/makecontext.S | 7 +++++++
3 files changed, 14 insertions(+), 0 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.