This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: goops bug?
- To: Eric Moore <moore at chem dot cmu dot edu>
- Subject: Re: goops bug?
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 05 Oct 1999 12:37:03 +0200
- Cc: guile at sourceware dot cygnus dot com
- Cc: djurfeldt at nada dot kth dot se
- References: <14329.29094.99111.985669@lovecraft.chem.cmu.edu>
Eric Moore <moore@chem.cmu.edu> writes:
> So i'm happily working with goops (which is, btw, for those
> responsible) very nice, but occasionally I've started getting random
> erros that spit out something like:
>
> ERROR: In procedure vector-length:
> ERROR: Wrong type argument in position 1: #f
> ABORT: (wrong-type-arg)
>
> In places none of my code is calling vector-length, and it seems to
> happen in the function dispatching itself. I'm still trying to pare
> it down to a reasonably small example, but it's proving elusive...
>
> Does anyone with more knowledge of goops internals have any hint?
This surely sounds like a bug in the generic function dispatch
mechanism. It is difficult to make the bug reproducible since method
code is cached in the generic function. The only way to make it
reproducible is to redefine the generic functions for every try.
If you can isolate the bug, that would be very good.