[Touch-packages] [Bug 1645501] Re: corefiles not created in armhf chroot on arm64 porter

2017-04-17 Thread Launchpad Bug Tracker
This bug was fixed in the package gdb - 7.11.90.20161005-0ubuntu2 --- gdb (7.11.90.20161005-0ubuntu2) yakkety; urgency=medium * Add debian/patches/armhf-fpregset.patch. LP: #1645501. -- Brian Murray Wed, 18 Jan 2017 12:41:08 -0800 ** Changed in: gdb (Ubuntu

[Touch-packages] [Bug 1645501] Re: corefiles not created in armhf chroot on arm64 porter

2017-04-17 Thread Brian Murray
Setting up gdb (7.11.90.20161005-0ubuntu2) ... (yakkety-armhf)brian@rugby:~$ gdb --args cat GNU gdb (Ubuntu 7.11.90.20161005-0ubuntu2) 7.11.90.20161005-git Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free

[Touch-packages] [Bug 1645501] Re: corefiles not created in armhf chroot on arm64 porter

2017-02-02 Thread Brian Murray
Hello Brian, or anyone else affected, Accepted gdb into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gdb/7.11.90.20161005-0ubuntu2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Touch-packages] [Bug 1645501] Re: corefiles not created in armhf chroot on arm64 porter

2017-01-27 Thread Brian Murray
This was merged upstream: https://sourceware.org/git/gitweb.cgi?p=binutils- gdb.git;a=commit;h=4bd2e1b2aee122b46e335d932f7833f9c86610d0 ** Description changed: Impact -- Its not possible to create a corefile in an armhf chroot on an arm64 system. Test Case - - On an

[Touch-packages] [Bug 1645501] Re: corefiles not created in armhf chroot on arm64 porter

2016-12-12 Thread Brian Murray
There is some discussion going on upstream regarding how to solve this, after that's sorted I'll redo the zesty patch and upload SRUs for this. ** Changed in: gdb (Ubuntu Trusty) Assignee: (unassigned) => Brian Murray (brian-murray) ** Changed in: gdb (Ubuntu Xenial) Assignee:

[Touch-packages] [Bug 1645501] Re: corefiles not created in armhf chroot on arm64 porter

2016-12-06 Thread Launchpad Bug Tracker
This bug was fixed in the package gdb - 7.12-0ubuntu3 --- gdb (7.12-0ubuntu3) zesty; urgency=medium * Add debian/patches/armhf-fpregset.patch. LP: #1645501. -- Kees Cook Tue, 29 Nov 2016 15:30:20 -0800 ** Changed in: gdb (Ubuntu) Status: Triaged => Fix

[Touch-packages] [Bug 1645501] Re: corefiles not created in armhf chroot on arm64 porter

2016-12-02 Thread Brian Murray
** Changed in: gdb (Ubuntu Precise) Status: Triaged => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gdb in Ubuntu. https://bugs.launchpad.net/bugs/1645501 Title: corefiles not created in armhf chroot on

[Touch-packages] [Bug 1645501] Re: corefiles not created in armhf chroot on arm64 porter

2016-12-02 Thread Brian Murray
** Description changed: - I'm filing this about gdb per Steve's suggestion, although this could be - an issue somewhere else. + Impact + -- + Its not possible to create a corefile in an armhf chroot on an arm64 system. + + Test Case + - + On an arm64 system enter an armhf chroot,

[Touch-packages] [Bug 1645501] Re: corefiles not created in armhf chroot on arm64 porter

2016-12-02 Thread Brian Murray
** Changed in: gdb (Ubuntu) Assignee: (unassigned) => Brian Murray (brian-murray) ** Also affects: gdb (Ubuntu Yakkety) Importance: Undecided Status: New ** Also affects: gdb (Ubuntu Precise) Importance: Undecided Status: New ** Also affects: gdb (Ubuntu Trusty)

[Touch-packages] [Bug 1645501] Re: corefiles not created in armhf chroot on arm64 porter

2016-11-30 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gdb in Ubuntu. https://bugs.launchpad.net/bugs/1645501 Title: corefiles not created in armhf chroot on arm64 porter Status in gdb package in Ubuntu:

[Touch-packages] [Bug 1645501] Re: corefiles not created in armhf chroot on arm64 porter

2016-11-30 Thread Brian Murray
Kees provided me the following debdiffs for testing on zesty and yakkety armhf chroots. ** Patch added: "gdb_7.12-0ubuntu3.debdiff" https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1645501/+attachment/4785470/+files/gdb_7.12-0ubuntu3.debdiff -- You received this bug notification because

[Touch-packages] [Bug 1645501] Re: corefiles not created in armhf chroot on arm64 porter

2016-11-30 Thread Brian Murray
** Patch added: "gdb_7.11.90.20161005-0ubuntu1.1.debdiff" https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1645501/+attachment/4785471/+files/gdb_7.11.90.20161005-0ubuntu1.1.debdiff -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is

[Touch-packages] [Bug 1645501] Re: corefiles not created in armhf chroot on arm64 porter

2016-11-30 Thread Brian Murray
I couldn't build the zesty debdiff on the arm64 porter box due to not being able to install the dependencies to build it. I did get the yakkety one to build and then extracted the package contents and used gdb from there. I was then able to create core files with this new gdb. GNU gdb (Ubuntu

[Touch-packages] [Bug 1645501] Re: corefiles not created in armhf chroot on arm64 porter

2016-11-29 Thread Kees Cook
ptrace(PTRACE_GETREGSET, 27642, NT_FPREGSET, 0xffcc67f0) = -1 EINVAL (Invalid argument) NT_FPREGSET is "2", which the kernel calls NT_PRFPREG. arm64 kernels don't implement this for compat processes, they only support NT_ARM_VFP. If I understand correctly, VFP is hard float, so it seems like

[Touch-packages] [Bug 1645501] Re: corefiles not created in armhf chroot on arm64 porter

2016-11-29 Thread Brian Murray
The issue also occurs in a zesty chroot: brian@rugby:~$ schroot -c zesty-armhf (zesty-armhf)brian@rugby:~$ sudo apt-get install screen sudo: main: unable to allocate memory (zesty-armhf)brian@rugby:~$ gdb GNU gdb (Ubuntu 7.12-0ubuntu2) 7.12 Copyright (C) 2016 Free Software Foundation, Inc.

[Touch-packages] [Bug 1645501] Re: corefiles not created in armhf chroot on arm64 porter

2016-11-29 Thread Brian Murray
Manually running cat in gdb and executing the same commands as found in generate-sigsegv-crash.py had the following results: (yakkety-armhf)brian@rugby:~$ gdb --args cat GNU gdb (Ubuntu 7.11.90.20161005-0ubuntu1) 7.11.90.20161005-git Copyright (C) 2016 Free Software Foundation, Inc. License

[Touch-packages] [Bug 1645501] Re: corefiles not created in armhf chroot on arm64 porter

2016-11-29 Thread Brian Murray
I thought this might be https://bugzilla.redhat.com/show_bug.cgi?id=1196181 but we seem to have the related patches in yakkety. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gdb in Ubuntu.

[Touch-packages] [Bug 1645501] Re: corefiles not created in armhf chroot on arm64 porter

2016-11-29 Thread Brian Murray
I was using the following version of gdb in both chroots: GNU gdb (Ubuntu 7.11.90.20161005-0ubuntu1) 7.11.90.20161005-git -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gdb in Ubuntu. https://bugs.launchpad.net/bugs/1645501