unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Hans van den Bogert <hansbogert@gmail.com>
Cc: 42140-done@debbugs.gnu.org
Subject: bug#42140: 26.3; sigsegv when using nss-docker
Date: Tue, 7 Jul 2020 10:49:03 +0200	[thread overview]
Message-ID: <f07981ce-ecca-b2fe-846e-7f44a2db7c43@gmail.com> (raw)
In-Reply-To: <83pn98sizu.fsf@gnu.org>


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,





      reply	other threads:[~2020-07-07  8:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-30 10:13 bug#42140: 26.3; sigsegv when using nss-docker Hans van den Bogert
2020-06-30 15:40 ` Eli Zaretskii
2020-06-30 20:15   ` Hans van den Bogert
2020-07-01 12:39   ` Hans van den Bogert
2020-07-06  6:50   ` Hans van den Bogert
2020-07-06 16:31     ` Eli Zaretskii
2020-07-07  8:49       ` Hans van den Bogert [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f07981ce-ecca-b2fe-846e-7f44a2db7c43@gmail.com \
    --to=hansbogert@gmail.com \
    --cc=42140-done@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).