* New IP address problem
[not found] <none>
@ 1991-01-08 20:23 ` Andrew Ted Duchowski
1991-02-26 20:01 ` Bus error, help! Andrew Ted Duchowski
1 sibling, 0 replies; 2+ messages in thread
From: Andrew Ted Duchowski @ 1991-01-08 20:23 UTC (permalink / raw)
Greetings,
I've got a DECstation 3100 running Ultrix (sematech) connected
to tamu.edu (hence sematech.tamu.edu). Recently Computing Services
went and changed the network to allow subnetting. I followed
instructions on how to change sematech's IP address, and how
to update the /etc/hosts and /etc/rc.local files. Everything
went fine w.r.t. our campus network. Sematech knows about
all the machines on our network, and vice versa, but it (sematech)
doesn't know anything about the outside world. For example,
I used to be able to ping uunet.uu.net, and now I can't because
"network is unreachable". The entry in my rc.local file
looks like this:
/etc/ifconfig ln0 `/bin/hostname` broadcast 128.194.3.255 \
netmask 255.255.255.0
My /etc/hosts file is up to date. What am I doing wrong?
Is it something to do with BIND/Hesiod (I'm pretty sure I'm sup-
posed to be a client machine - not a server, not a gateway).
I think that when I ping uunet.uu.net, this should get translated
somehow by my domain server, but it doesn't. Note that I can
rlogin to a machine elsewhere on tamu.edu, and *it* knows about
uunet.uu.net.
Any suggestions/comments/help is greatly appreciated.
Thanks in advance. Please email at andrewd@cs.tamu.edu.
^ permalink raw reply [flat|nested] 2+ messages in thread* Bus error, help!
[not found] <none>
1991-01-08 20:23 ` New IP address problem Andrew Ted Duchowski
@ 1991-02-26 20:01 ` Andrew Ted Duchowski
1 sibling, 0 replies; 2+ messages in thread
From: Andrew Ted Duchowski @ 1991-02-26 20:01 UTC (permalink / raw)
Greetings,
Could someone help me with the following problem:
In the following function, the line delimitted by
/* problem line */ gives me:
Bus error [malloc:445, 0x....]
but *only* on the first call from a paritular function.
Let's call that function ftn1. To sate the symptoms
clearly, the program dumps when I click first on a button
that executes ftn1 which calls create_value. If however,
I click on a different button such that ftn2 calls create_value
first, and then I click a button so that ftn1 calls create_value, no
dump. Only when I click on the button so that ftn1 calls
create_value first do I get the dump.
I've checked args, and they look ok, so I don't think that's
the faulty parameter. Can anyone give me any clues why
create_value dumps where and when it does? I've been looking
at this for about a week, read the DEC manuals for both relevant
Dwt (DEC widgets) and XUI Toolkit widgets, and create_value
appears fine, straight out of the textbook. What am I doing wrong?
I'm on a DECstation3100 running Ultrix 4.1.
Thanks a bunch in advance, please reply to andrewd@cs.tamu.edu
Andrew
andrewd@cs.tamu.edu
------------------------------------------------
Widget create_value(parent,str)
Widget parent;
char *str;
{
int i=0;
Arg args[4];
Widget box,value;
XtSetArg(args[0],DwtNresize,DwtResizeShrinkWrap);
box = DwtDialogBoxCreate(parent,"textbox",args,1);
XtManageChild(box);
XtSetArg(args[i],DwtNinsertionPointVisible,False); i++;
XtSetArg(args[i],DwtNborderWidth,0); i++;
XtSetArg(args[i],DwtNhalfBorder,False); i++;
XtSetArg(args[i],DwtNvalue,str); i++;
/* problem line */
value = DwtSTextCreate(box,"textvalue",args,i);
/* problem line */
XtAddCallback(value,DwtNfocusCallback,gainfocus,0);
XtAddCallback(value,DwtNlostFocusCallback,losefocus,0);
XtManageChild(value);
return value;
}
--
-------------- Not an Official Texas A&M University Document --------------
^ permalink raw reply [flat|nested] 2+ messages in thread