GNU bug report logs - #42140
26.3; sigsegv when using nss-docker

Previous Next

Package: emacs;

Reported by: Hans van den Bogert <hansbogert <at> gmail.com>

Date: Tue, 30 Jun 2020 15:11:07 UTC

Severity: normal

Found in version 26.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Hans van den Bogert <hansbogert <at> gmail.com>
Cc: 42140-done <at> debbugs.gnu.org
Subject: bug#42140: 26.3; sigsegv when using nss-docker
Date: Tue, 7 Jul 2020 10:49:03 +0200
On 7/6/20 6:31 PM, Eli Zaretskii wrote:
> Thanks for telling us.  Could this be a bug with your kernel or the
> standard C library?

The kernel seems unlikely, the only difference I can see is that 
nss_docker's _nss_docker_gethostbynameX_r seem 'off' on assembly level 
compared to for example, the equivalent functions of `nss_mdns_minimal` 
and libc's `nss_dns`.

The offsets when referencing stack locations on function entry are large 
(0xNNNNN), compared  to the straightforward function entry assembly I 
see in nss_mdns and nss_dns, with 'normal' offsets of 0xNNN. I've 
compared compiler flags and all, but I can't explain it. The weird 
things remains of course, why does the shared library work fine when 
it's called through the non async variant, `gethostbyname`.

But I think the discussion is out of scope for this list/tracker, though 
any pointers are welcome of course.

Regards,




This bug report was last modified 4 years and 322 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.