This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: goops bug?


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]