[4218] in Athena Bugs

home help back first fref pref prev next nref lref last post

Saber msg: v2.1.2 (DECstation Beta 3) (2/7/90 hodge.MIT.EDU decstation Ultrix 3.x 0 0)

daemon@ATHENA.MIT.EDU (John T Kohl)
Tue Feb 13 19:10:22 1990

Date: Tue, 13 Feb 90 19:09:55 EST
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU, mrh%saber@HARVARD.HARVARD.EDU
Cc: jtkohl@ATHENA.MIT.EDU
[bugs: this is cc'ed to an engineer at Saber who asked for more details
directly; I have boiled down my previous bug report to this case]

This is 100% reproducible:

[{1}hodge.MIT.EDU:/tmp]
% cat foo.c
struct foo {
    int (*foo_func)(int, int);
    int bar;
};

int
barfunc(ff, quux)
struct foo *ff;
int quux;
{
    return (*ff->foo_func)(quux, 1);
}
[{1}hodge.MIT.EDU:/tmp]
% saber

             Saber-C - Version 2.1.2 (DECstation Beta 3)
           Copyright (C) 1986, 1990 by Saber Software, Inc.

setopt ansi
load 1.23 1.05 0.64, pid 2679, %cpu 0.00, 524k of 1680k, waiting
Saber-C licensed for: MIT
For customer service, use the 'email' command.

Attaching: /lib/libc.a
1 -> setopt ansi
2 -> load foo.c
Loading: foo.c
Saber internal (parsing) error (signal 11, Segmentation fault).
 (internal location 0x45c668, 0x0)
Trying to recover...
Resetting to top level.
3 ->

home help back first fref pref prev next nref lref last post