segfaults on amd64

Petr Salinger Petr.Salinger at t-systems.cz
Sat Feb 25 19:12:03 UTC 2006


> 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 at 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);
  _exit(123);
}
****************************************

Thanks for your work on amd64.

	Petr




More information about the Glibc-bsd-devel mailing list