[rfk-dev] Commit thaw
Tim Allen
screwtape at froup.com
Sat Oct 27 14:35:14 PDT 2012
On Sat, Oct 27, 2012 at 01:07:35PM -0700, Peter A. H. Peterson wrote:
> I think before we commit to a public/stable release, we should all
> pound on it quite a bit, especially since this is a "new" codebase
> (for certain values of new).
So, I just cloned and built RFK from the new git repo (thanks, Eric!)
and because I've had bad experiences with 'make install' in the past,
I just ran 'make' and tried to run the program direct from the source
tree to see what would happen.
Turns out, what happens is:
$ ./robotfindskitten
Floating point exception
Running it in GDB, I see:
Program received signal SIGFPE, Arithmetic exception.
0x00000000004019c6 in randomize_messages () at robotfindskitten.c:263
263j = i + ( random() % ( state.num_messages - i ) );
(gdb) print state.num_messages
$1 = 0
(gdb) bt
#0 0x00000000004019c6 in randomize_messages () at
robotfindskitten.c:263
#1 0x000000000040140d in main (argc=1, argv=0x7fffffffe848)
at robotfindskitten.c:723
..so I'm guessing that this is actually a fancy way to say "couldn't
find a list of NKIs". Could we perhaps have a friendlier error-message?
Tim.
More information about the rfk-dev
mailing list