[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#759042: glibc getcontext/setcontext not restoring registers correctly on arm64



Package: glibc
Version: 2.19-9
Severity: important
Tags: upstream

Investigation (By Edmun Grimley-Evans) for #759040 discovered that a patch for
getcontext/setcontext is in the Debian glibc package but was not being
applied.

He said:
------
"It seems that registers d8, d10, d12, d14 are restored correctly, but d9, d11, d13, d15 are not.

I believe this is the bug that is preventing gnupg2 from working, because I have observed pth_select_ev
corrupting those odd-numbered registers, and libpth20 does use getcontext, setcontext, ...

This bug may have been fixed by Will Newton's patch in April, which is mentioned in Debian's changelog:

http://metadata.ftp-master.debian.org/changelogs//main/g/glibc/glibc_2.19-9_changelog

If I've understood correctly (please help!) this patch is in Debian's source package
(debian/patches/arm64/submitted-setcontext.diff) but is only applied in "experimental"."
------

This is now fixed in http://anonscm.debian.org/viewvc/pkg-glibc?view=revision&revision=6245
(thanks adam).

This bug filed to track the issue for affected packages, until a fixed version is in the archive.

Wookey


Reply to: