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

Re: segfaults on amd64

> Uhm that might be explained by ld.so being allocated in 0x0.  Sounds like a
> repetition of #336496.  Was this a problem in kernel, libc, binutils...?
> rmh@orthanc:/tmp$ /lib/ld-kfreebsd-x86-64.so.1 --list /tmp//////////h
>         libc.so.0.1 => /gnu/lib/libc.so.0.1 (0x0000000800117000)
>         /lib64/ld-kfreebsd-x86-64.so.1 => /lib/ld-kfreebsd-x86-64.so.1 (0x0000000000000000)

The bug is fixed only partially, it is still in kernel,
now it affect only DYN object,
EXEC are (on kfreebsd-i386) mapped correctly.

Can you, please, test also following:

#include <unistd.h>
#include <fcntl.h>

char buf[4096];

int main()
  int fd, cnt;
  fd = open("/proc/self/maps", O_RDONLY);
  cnt = read(fd, buf, 4096);
  write(1, buf, cnt);

Thanks for your work on amd64.


Reply to: