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 00000000 fd:01 58216      /usr/bin/xsltproc
8008a000-8008b000 r--p 00004000 fd:01 58216      /usr/bin/xsltproc
8008b000-8008c000 rw-p 00005000 fd:01 58216      /usr/bin/xsltproc
81432000-9176b000 rw-p 00000000 00:00 0          [heap]
b56e7000-b5747000 rw-p 00000000 00:00 0 
b57a8000-b58df000 rw-p 00000000 00:00 0 
b58df000-b58fb000 r-xp 00000000 fd:01 2095       
/lib/i386-linux-gnu/libgcc_s.so.1
[...etc...]
b771c000-b771d000 rw-p 00043000 fd:01 67414      
/usr/lib/i386-linux-gnu/libxslt.so.1.1.28
b7726000-b7728000 rw-p 00000000 00:00 0 
b7728000-b772a000 r--p 00000000 00:00 0          [vvar]
b772a000-b772b000 r-xp 00000000 00:00 0          [vdso]
b772b000-b774d000 r-xp 00000000 fd:01 2083       /lib/i386-linux-gnu/ld-2.21.so
b774d000-b774e000 r--p 00021000 fd:01 2083       /lib/i386-linux-gnu/ld-2.21.so
b774e000-b774f000 rw-p 00022000 fd:01 2083       /lib/i386-linux-gnu/ld-2.21.so
bfe18000-bff04000 rw-p 00000000 00:00 0          [stack]

I am suspicious of fs/binfmt_elf.c, and in particular  [upstream
a87938b2e/ ubuntu b51621abb] "fs/binfmt_elf.c: fix bug in loading of PIE
binaries" , but I have no proof yet.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471029

Title:
  ELF programs with R_386_RELATIVE blocks are badly mapped into memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1471029/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to