> what happens with smobs that are defined in a dynamically loaded
> module when it gets unlinked? do their mark- and sweep-routines
> dissappear? And when the gc meets one of the smob objects, will
> guile crash or screw?
Yes, that's a problem.
> How can one prevent that?
Don't do it.
Well, ok, the real solution would probably be some kind of GC for
shared objects. I'm not sure if it is worthwhile, tho.