[8632] in Athena Bugs
rsaix 7.3M: AFS/rx error
daemon@ATHENA.MIT.EDU (Calvin Clark)
Tue Nov 19 00:49:40 1991
To: bugs@Athena.MIT.EDU
Date: Tue, 19 Nov 91 00:49:46 EST
From: Calvin Clark <ckclark@mit.edu> <ckclark>
System name: rosebud
Type and version: POWER 7.3M (1 update(s) to same version)
Display type:
What were you trying to do?
Run the fantastically expensive program /bin/sh
on rosebud, an AFS server on the sipb cell.
What's wrong:
I got the following error:
Fatal Rx error: multi_Rx: no mem
The relevant section of rx_multi.c producing the error is
as follows:
35 /* multi.c and multi.h, together with some rxgen hooks, provide a way of
making multiple, but similar, rx calls to multiple hosts simultaneously */
36
37 struct multi_handle *multi_Init(conns, nConns)
38 struct rx_connection **conns;
39 register int nConns;
40 {
41 void multi_Ready();
42 register struct rx_call **calls;
43 register short *ready;
44 register struct multi_handle *mh;
45 register int i;
46 /* Note: all structures that are possibly referenced by other proce
sses must be allocated. In some kernels variables allocated on a process stackwill not be accessible to other processes */
47 calls = (struct rx_call **)osi_Alloc(sizeof (struct rx_call *) * nCo
nns);
48 ready = (short *) osi_Alloc(sizeof(short *) * nConns);
49 mh = (struct multi_handle *) malloc(sizeof (struct multi_handle));
50 if (!calls || !ready || !mh) osi_Panic("multi_Rx: no mem\n");
What should have happened:
Obviously, it is only a matter of a failed malloc. I don't
know enough about the context of this routine to determine
if this is a problem or not.
Please describe any relevant documentation references:
/source/third/common/afs/src/rx/rx_multi.c