# Impossible var type! [was: I love the new server...]

Richard Connamacher (phantom@baymoo.sfsu.edu)
Fri, 26 Jan 1996 21:22:27 PST

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    Nice verb!  So I decided to try it...

    @functions
    disassemble(OBJ, ANY)
    tochar(NUM)
    uudecode(STR)
    call_function(STR, ...)
    [...]
    filewrite(STR, STR, LIST, [NUM, NUM])
    function_info([STR])
    value_bytes(ANY)
    #2:@function*s, line 25:  Range error
    (End of traceback)

    So I looked into it...

    ;function_info()
    => {{"disassemble", 2, 2, {1, -1}}, {"tochar", 1, 1, {0}}, {"uudecode", 1, 1,
    [...]
    {"value_bytes", 1, 1, {-1}}, {"decode_binary", 1, 2, {2, 99286}},
                                                             ^^^^^
    Now something tells me that 99286 is not a possible Var type.  Hmm, this is the
    first time I've stumbled on to one of those without panicking the server.  I shut
    off BayWeb, which is the only thing that uses decode_binary, in hopes that the
    server doesn't notice...

    Perhaps unrelatedly, earlier today, it crashed right after a successful
    checkpoint, because of an impossible Var type:

    Jan 26 21:05:22: CHECKPOINTING on MOO.db.new.#26# ...
    Jan 26 21:05:23: CHECKPOINTING: Writing 219 objects...
    Jan 26 21:06:48: CHECKPOINTING: Done writing 219 objects...
    Jan 26 21:06:48: CHECKPOINTING: Writing 1740 MOO verb programs...
    Jan 26 21:10:37: CHECKPOINTING: Done writing 1740 verb programs...
    Jan 26 21:10:37: CHECKPOINTING: Writing forked and suspended tasks...
    Jan 26 21:10:38: CHECKPOINTING: Writing list of formerly active connections...
    Jan 26 21:10:38: CHECKPOINTING on MOO.db.new.#26# finished
    Jan 26 23:04:59: *** FREE_VAR: Impossible var type: 286212
    Jan 26 23:04:59: *** FREE_VAR: Impossible var type: 262616
    [end of log file]

    It was 1.8.0alpha5.  After that I upgraded to alpha6, and that's what it's running
    now.  So far it hasn't crashed or anything, so if there are any checks that I
    should do on it while it's still running, I can.

    Phantom