Load path infinite loop
Jaroslav Hajek
highegg at gmail.com
Fri May 22 06:55:46 CDT 2009
On Fri, May 22, 2009 at 12:02 AM, Joel LeBlanc <jwleblan at gmail.com> wrote:
> Bug report for Octave 3.0.5 configured for i386-apple-darwin
> Description:
> -----------
> When a function is executed and then another, different function, of the
> same name takes precedence on the path, attempts to execute the 2nd function
> causes octave to hang with a CPU load of 100%. I suspect an infinite loop.
> Repeat-By:
> ---------
> 1) Place two copies of the following function in 2 different folders not
> already on your path.
>
> function nullFun
> end
>
> 2) cd to the first directory and execute nullFun. Then cd to the 2nd
> directory, and try to execute the 2nd instance of nullFun. This will case a
> hang with CPU load of 100%.
> NOTE: The trivial nature of nullFun is not a factor.
>
Doesn't seem to happen with development sources.
cheers
--
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz
More information about the Bug-octave
mailing list