[6268] in Athena Bugs
Saber msg: v2.1 (4/24/89 lycus vax Unix 4042 0)
daemon@ATHENA.MIT.EDU (jtkohl@ATHENA.MIT.EDU)
Tue Oct 23 14:34:49 1990
From: jtkohl@ATHENA.MIT.EDU
Date: Tue, 23 Oct 90 14:34:30 -0400
To: bugs@ATHENA.MIT.EDU
Cc: jtkohl@ATHENA.MIT.EDU
Saber severely barfed on me this afternoon. Enclosed is a trace from the
terminal, as well as the /tmp/saber.0<pid> file
Saber-C - Version 2.1
Copyright (C) 1986, 1989 by Saber Software, Inc.
For customer service, call 1-800-669-9165 or use the 'email' command.
This software is licensed for use only at the
Massachusetts Institute of Technology
Attaching: /lib/libc.a
1 -> make SRCS=rnd_confoun.c saber
load -I../.././include -I../.././include/stdc-incl -DBITS32 -I/mit/gnu/vaxlib/gcc-include -Dconst= -DBITS32 rnd_confoun.c
Loading: -I../.././include -I../.././include/stdc-incl -DBITS32 -I/mit/gnu/vaxlib/gcc-include -Dconst= -DBITS32 rnd_confoun.c
----------------
"/afs/athena.mit.edu/astaff/project/krb5/src/include/krb5/error_def.h":19, Cannot read file (Error #200)
18:
* 19: #include "../../error_tables/krb5_err.h"
20: #include "../../error_tables/kdb5_err.h"
Cannot open '../../error_tables/krb5_err.h' for input.
Unloading: rnd_confoun.c
setopt load_flags -I../.././include -I../.././include/stdc-incl -DBITS32 -I/mit/gnu/vaxlib/gcc-include -Dconst= -DBITS32
2 -> cd /mit/krb5/build/@sys/lib/os
#1
wd now: '/afs/athena.mit.edu/astaff/project/krb5/build/vax_bsd43/lib/os'
3 -> make SRCS=rnd_confoun.c saber
load -I../.././include -I../.././include/stdc-incl -DBITS32 -I/mit/gnu/vaxlib/gcc-include -Dconst= -DBITS32 rnd_confoun.c
Loading: -I../.././include -I../.././include/stdc-incl -DBITS32 -I/mit/gnu/vaxlib/gcc-include -Dconst= -DBITS32 rnd_confoun.c
setopt load_flags -I../.././include -I../.././include/stdc-incl -DBITS32 -I/mit/gnu/vaxlib/gcc-include -Dconst= -DBITS32
4 -> krb5_random_confounder;
(int (/* int, char * */)) 0x151404 < 'krb5_random_confounder' file "rnd_confoun.c" line 25 >
5 -> krb5_pointer quux;
6 -> unsigned char frob[8];
7 -> frob;
(unsigned char [8]) 0xa9de0 /* 0xa9de8 */ =
{
[0] = (unsigned char) 0x0,
...
[7] = (unsigned char) 0x0,
}
8 -> quux = &frob[0];
Warning #261: Questionable argument type:
(char *) = (unsigned char *)
(char *) 0xa9de0 ""
9 -> stop in krb5_random
krb5_random_confounder krb5_random_key
9 -> stop in krb5_random_confounder
stop (1) set at "rnd_confoun.c":43, krb5_random_confounder().
10 -> krb5_random_key;
Error #238: The '(' is missing after macro 'krb5_random_key'.
11 -> load -lcom_err
include Attaching: /usr/athena/lib/libcom_err.a
12 -> #include <com_err.h>
setopt13 -> setopt print_string 72
14 -> error_message(krb5_random_confounder(1, quux));
Linking from '/usr/athena/lib/libcom_err.a' ... Linking completed.
Linking from '/lib/libc.a' ... Linking completed.
Linking from '/lib/libc.a' ....... Linking completed.
Stopped in krb5_random_confounder(size = (int) 1, fillin = (char *) 0xa9de0 "")at "rnd_confoun.c":43
42: /* assume Berkeley srandom...after all, this is libos! */
B* 43: if (!seeded) {
44: srandom(time(0));
(break 1) 15 -> step
Stopped in krb5_random_confounder() at "rnd_confoun.c":44
* 44: srandom(time(0));
(break 1) 16 ->
(break 1) 16 -> step
Stopped in krb5_random_confounder() at "rnd_confoun.c":45
* 45: seeded = 1;
(break 1) 17 -> step
Stopped in krb5_random_confounder() at "rnd_confoun.c":48
* 48: real_fill = (krb5_octet *)fillin;
(break 1) 18 -> step
Stopped in krb5_random_confounder() at "rnd_confoun.c":49
* 49: while (size > 0) {
(break 1) 19 -> step
Stopped in krb5_random_confounder() at "rnd_confoun.c":58
* 58: rval = random();
(break 1) 20 -> size;
(int) 1
(break 1) 21 -> step
Stopped in krb5_random_confounder() at "rnd_confoun.c":62
* 62: *real_fill = rval & 0xff;
(break 1) 22 -> rval;
(int) 2137656775
(break 1) 23 -> real_fill;
(unsigned char *) 0xa9de0 /* frob[0] */
(break 1) 24 -> step
Stopped in krb5_random_confounder() at "rnd_confoun.c":63
* 63: real_fill++;
(break 1) 25 -> step
Stopped in krb5_random_confounder() at "rnd_confoun.c":64
* 64: size--;
(break 1) 26 -> real_fill;
(unsigned char *) 0xa9de1 /* frob[1] */
(break 1) 27 -> step
Stopped in krb5_random_confounder() at "rnd_confoun.c":65
* 65: if (size) {
(break 1) 28 -> step
Stopped in krb5_random_confounder() at "rnd_confoun.c":49
* 49: while (size > 0) {
(break 1) 29 -> step
Stopped in krb5_random_confounder() at "rnd_confoun.c":71
* 71: return 0;
(break 1) 30 -> step
Warning #33: Calling function () with 1 arguments, expecting 0.
(break 1) 31 -> where
error #33 (Too many function arguments)
(break 1) 32 -> step
Saber internal (builtin function) error (signal 11, Segmentation fault).
(internal location 0x28030, 0x7fffe870)
Trying to abort.
Aborting.
[at this point I had to SIGKILL the saber process, as it had consumed
infinite CPU]
saber_make("SRCS=rnd_confoun.c saber");
saber_cd("/mit/krb5/build/@sys/lib/os");
saber_make("SRCS=rnd_confoun.c saber");
krb5_random_confounder;
krb5_pointer quux;
unsigned char frob[8];
frob;
quux = &frob[0];
saber_stop("krb5_random_confounder");
krb5_random_key;
saber_load("-lcom_err");
#include <com_err.h>
saber_setopt("print_string 72");
error_message(krb5_random_confounder(1, quux));
saber_step("");
saber_step("");
saber_step("");
saber_step("");
saber_step("");
size;
saber_step("");
rval;
real_fill;
saber_step("");
saber_step("");
real_fill;
saber_step("");
saber_step("");
saber_step("");
saber_step("");
saber_where("");
saber_step("");