[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
nss problems
From: |
Marco Gerards |
Subject: |
nss problems |
Date: |
Wed, 03 Mar 2004 22:19:01 +0100 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Hi,
Ognyan Kulev reported a problem with the stack size of glibc. This is
the mail he sent:
http://mail.gnu.org/archive/html/bug-hurd/2003-06/msg00050.html
--------------------------------------------------------------------------------
Trying to use reportbug I found that some libc routines may require
larger stack sizes[1]. In this particular case,
resolv/nss_dns/dns-host.c wants 64k buffer for its operation and
reportbug crashes. Unfortunately, we have small stacks[2].
[1] http://www.cygwin.com/ml/libc-hacker/2002-10/msg00038.html
[2] http://mail.gnu.org/archive/html/bug-hurd/2002-09/msg00143.html
It would be good to make __libc_alloca_cutoff smaller. For example,
vm_page_size.
--------------------------------------------------------------------------------
As Ognyan says, this can cause some dns problems. Perhaps this
explains why I am having some problems with DNS related calls:
- ftpfs segfaults when calling gethostbyname_r. According to Alfred
that does not happen in his test program. I guess that test program
did not use the stack that much...
- Emacs hangs if it cannot find /etc/hosts to lookup `localhost'. (I
found that out when crosshurd did not copy my /etc/hosts.
And there were some other places where I noticed some weird
behavior. I will report it when I find some more problems. And I am
not sure if the small stack causes the problems I encountered, but it
is a good place to start when someone wants to fix these bugs.
Thanks,
Marco
- nss problems,
Marco Gerards <=