Subbu, It can still be a serious problem as performance can suffer. In fact, in this case, I am talking about Shared Libraries, not plugins. There is no fallback code; one succeeds in loading the library or the game is over.
strace might do the job, but what is wrong with having the vm log what it is trying to do? Bill ________________________________________ From: K. K. Subramaniam [[email protected]] Sent: Monday, August 23, 2010 2:33 AM To: [email protected] Cc: Schwab,Wilhelm K; [email protected] Subject: Re: [Vm-dev] RE: Linux vm On Sunday 22 Aug 2010 8:09:22 am Schwab,Wilhelm K wrote: > Is there a way to get such diagnostic information without hacking the vm > source? If not, please consider the following as a proposed patch. I > have tried to strike a balance between seeing enough to make sense of > errant plugin paths and giving detailed information about failures when > given an absolute path In your place, I would have tried ldd(1) or strace(1) to detect path load errors. In general, failing to load a plugin module is not a fatal error. Sometimes, a primtive can fallback to using internal routines if the plugin is not available. Subbu _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
