Bug#1030627: debootstrap: Causes dpkg segfault in "chroot /… dpkg --force-depends --install /var/cache/apt/archives/base-passwd_3.5.26_amd64.deb" when trying to bootstrap Wheezy or earlier
Control: tag -1 + moreinfo
Hi,
I think, I found the cause:
Axel Beckert wrote:
> 9440 open("/var/log/dpkg.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 6
> 9440 fstat(6, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> 9440 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbf38160000
> 9440 fstat(6, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> 9440 lseek(6, 0, SEEK_SET) = 0
> 9440 fcntl(6, F_GETFD) = 0
> 9440 fcntl(6, F_SETFD, FD_CLOEXEC) = 0
> 9440 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xffffffffff600400} ---
> 9440 +++ killed by SIGSEGV (core dumped) +++
>
> I must admit, I currently don't see which system call caused the
> segfault. Full strace log attached.
I currently suspect it's none of them, but I was testing on a new host
which doesn't have the setting vsyscall=emulate mentioned by myself
(and since then have todally forgotton about) in
https://github.com/xen-tools/xen-tools/blob/master/debian/NEWS
Please don't react on this bug report until I've verified if that's
really the cause.
If it's the cause, I will close this bug report and write down the
hint in a more prominent place. If it's not the cause, I'll remove the
"moreinfo" tag.
And sorry for the potential noise.
Regards, Axel
--
,''`. | Axel Beckert <abe@debian.org>, https://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
Reply to: