[Touch-packages] [Bug 1471029] Re: ELF programs with R_386_RELATIVE blocks are badly mapped into memory

2015-08-10 Thread Alberto Salvia Novella
** Changed in: libxslt (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to libxslt in Ubuntu. https://bugs.launchpad.net/bugs/1471029 Title: ELF programs with R_386_RELATIVE blocks

[Touch-packages] [Bug 1471029] Re: ELF programs with R_386_RELATIVE blocks are badly mapped into memory

2015-07-23 Thread Douglas Bagnall
hi Colin, I first met on a 3.19.0-20 build: Linux samba-build-i386-32bit 3.19.0-20-generic #20-Ubuntu SMP Fri May 29 10:06:53 UTC 2015 i686 i686 i686 GNU/Linux and as far as I can tell (taking into account Joseph's 3.16 and upstream 4.2rc3), that a87938b/b51621a commit is neither the cure or

[Touch-packages] [Bug 1471029] Re: ELF programs with R_386_RELATIVE blocks are badly mapped into memory

2015-07-23 Thread Douglas Bagnall
I'll try to find out what my VM actually is, beyond openstack. KVM 2.0.0+dfsg-2ubuntu1.11 The processor (per attached files above) is Intel Xeon E312xx (Sandy Bridge). -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1471029] Re: ELF programs with R_386_RELATIVE blocks are badly mapped into memory

2015-07-23 Thread Colin Ian King
Commit a87938b2e was included in 3.19.0-20.20 (see commit b51621abbcb4694b8d2842ce3a66006a60bba6e5), so perhaps trying this would be the first step to see if that commit fixes things. As it stands, I've checked the heap and stack on a VM image using this kernel and there is now plenty of space

[Touch-packages] [Bug 1471029] Re: ELF programs with R_386_RELATIVE blocks are badly mapped into memory

2015-07-22 Thread Joseph Salisbury
** Changed in: linux (Ubuntu) Importance: Undecided = Medium ** Changed in: linux (Ubuntu) Status: Incomplete = Triaged -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to libxslt in Ubuntu.

[Touch-packages] [Bug 1471029] Re: ELF programs with R_386_RELATIVE blocks are badly mapped into memory

2015-07-22 Thread Joseph Salisbury
I build a Utopic test kernel with a revert of commit a87938b2e. Can you test this kernel and see if it resolves this bug. I can also built test kernels for the other Ubuntu releases if this first test kernel does in fact resolve the bug. The test kernel can be downloaded from:

[Touch-packages] [Bug 1471029] Re: ELF programs with R_386_RELATIVE blocks are badly mapped into memory

2015-07-22 Thread Joseph Salisbury
** Tags added: kernel-bug-fixed-upstream kernel-da-key -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to libxslt in Ubuntu. https://bugs.launchpad.net/bugs/1471029 Title: ELF programs with R_386_RELATIVE blocks are badly

[Touch-packages] [Bug 1471029] Re: ELF programs with R_386_RELATIVE blocks are badly mapped into memory

2015-07-22 Thread Joseph Salisbury
I uploaded i386 version of the .deb files. They can be downloaded from: http://kernel.ubuntu.com/~jsalisbury/lp1471029/ -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to libxslt in Ubuntu.

[Touch-packages] [Bug 1471029] Re: ELF programs with R_386_RELATIVE blocks are badly mapped into memory

2015-07-22 Thread Douglas Bagnall
Thanks Joseph! It's no better with 3.16.0-44-generic #59~lp1471029. Perhaps even slightly worse -- in my sample of 2 I've seen the heap at b8d- and b94-, while I think stock Vivid 3.19 was most often in the b7's. $ uname -a Linux samba-build-i386-4-32bit 3.16.0-44-generic #59~lp1471029 SMP Wed

[Touch-packages] [Bug 1471029] Re: ELF programs with R_386_RELATIVE blocks are badly mapped into memory

2015-07-22 Thread Douglas Bagnall
hi Joseph Those packages don't want to install on the i386: dpkg: error processing archive linux-tools-3.16.0-44-generic_3.16.0-44.59~lp1471029_amd64.deb (--install): package architecture (amd64) does not match system (i386) (In compiling the 4.2 upstream kernel for i386, I ended up

[Touch-packages] [Bug 1471029] Re: ELF programs with R_386_RELATIVE blocks are badly mapped into memory

2015-07-21 Thread Douglas Bagnall
apport information ** Tags added: apport-collected ec2-images vivid ** Description changed: Running the Samba autobuild tests on a 15.04 openstack image results in a segfault in this command: /usr/bin/xsltproc --nonet -o default/docs-xml/manpages/smb.conf.5

[Touch-packages] [Bug 1471029] Re: ELF programs with R_386_RELATIVE blocks are badly mapped into memory

2015-07-21 Thread Douglas Bagnall
So, it isn't the ld-linux.so, it is the kernel on 32 bit i386, where exec is loading PIE elf binaries in such a way that the heap and the stack are next to each other and have very little room. About 20% of /usr/bin/* (and others, like /bin/systemd) on the vivid cloud image is affected, though in

[Touch-packages] [Bug 1471029] Re: ELF programs with R_386_RELATIVE blocks are badly mapped into memory

2015-07-21 Thread Douglas Bagnall
Bug is fixed in upstream kernel 4.2.0 rc3, with the heap getting roughly 800Mb to use and the stack 135. 80085000-8008a000 r-xp fd:01 58216 /usr/bin/xsltproc 8008a000-8008b000 r--p 4000 fd:01 58216 /usr/bin/xsltproc 8008b000-8008c000 rw-p 5000 fd:01 58216

[Touch-packages] [Bug 1471029] Re: ELF programs with R_386_RELATIVE blocks are badly mapped into memory

2015-07-12 Thread Douglas Bagnall
It seems like a kernel thing. brk is returning bad addresses. Below, tail is an unaffected process, and xsltproc is affected. brk should be returning a 7 digit hex address, like it does for tail. $ head -2 *.strace == tail.strace == execve(/usr/bin/tail, [tail, xsltproc.strace], [/* 33 vars */])

[Touch-packages] [Bug 1471029] Re: ELF programs with R_386_RELATIVE blocks are badly mapped into memory

2015-07-08 Thread Aron Xu
Let's keep a task for xlstproc to track it. ** Also affects: libxslt (Ubuntu) Importance: Undecided Status: New ** Changed in: libxslt (Ubuntu) Status: New = Triaged -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is