canonicalize hostname and a gnu-emacs question.

Thomas Russo russo at chaos.utexas.edu
Wed Feb 21 09:52:38 AEST 1990


I'm trying to port gnu emacs to a friend's new 4D/25, running 3.2.1.
I have already gotten it running on our 4D/{80,20,25}s running 3.2.
In trying this I ran into a problem -- the thing drops core inside
XDisplayOpen (actually, well inside --- inside the call to
gethostbyname)

In hunting down the problem we set him up to use remote nameservice.
Now his nameserver returns his domain in uppercase, and the newsserver
complains about security violations.

SO:

A) I remember reading something about using canonicalizehostname to
solve this sort of problem.  What were the fixes

B)  Has anyone gotten emacs 18.55 running under 3.2.1 with X?  It runs
just fine if I use the IP address of the display instead of its
hostname, but crashes with this stack :
>  0 .kill.kill(0x1045c34, 0x0, 0xb, 0x0, 0x7fff990f, 0x486990) ["kill.s":17, 0x
4886b4]
   1 fatal_error_signal(sig = 11) ["emacs.c":143, 0x419fb4]
   2 .index.index(0x100290e4, 0x1002dde0, 0x0, 0x0, 0x7fffc7f1, 0x0) ["in_ntoa.c
":24, 0x47ce1c]
   3 .res_init.res_init(0x0, 0x0, 0x0, 0x0, 0x0, 0x0) ["res_init.c":117, 0x47a4c
0]
   4 res_search(0x0, 0x0, 0x0, 0x0, 0x400, 0x0) ["res_query.c":131, 0x47a83c]
   5 _gethostbyname_named(0x7fffc240, 0x4701bc, 0x0, 0x0, 0x0, 0x470214) ["getho
stnam.c":239, 0x4791dc]
   6 gethostbyname(0x2, 0x0, 0x0, 0x0, 0x0, 0x0) ["gethostwrap.c":18, 0x4786bc]
   7 _XConnectDisplay(0x7fffc7f1, 0x7fffc57c, 0x7fffc47c, 0x7fffc478, 0x7fffc44c
, 0x7fffc448) ["XConnDis.c":579, 0x470210]
   8 XOpenDisplay(0x0, 0x0, 0x0, 0x43b218, 0x0, 0x0) ["XOpenDis.c":178, 0x466338
]
   9 x_term_init() ["x11term.c":1534, 0x4155c8]
  10 init_display() ["dispnew.c":1411, 0x4032e0]
  11 main(argc = 1, argv = 0x7fffc784, envp = 0x7fffc78c) ["emacs.c":354, 0x41a4
40]

Does this mean anything to anybody?


Thomas Russo
Center for Nonlinear Dynamics, University of Texas at Austin          
russo at chaos.utexas.edu or phib421 at utchpc.bitnet
------



More information about the Comp.sys.sgi mailing list