lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Thanks for using your time to reproduce the problem.

> > It is the result. The last call to collectgarbage("step",0) never returns.
> > I waited 40 minutes and it doesn't respond.
> >
> >    
> >> collectgarbage("setpause",100)
> >> collectgarbage("setstepmul",2000)
> >> collectgarbage("stop")
> >> collectgarbage("step",0)
> >>      
> Same results here on Gentoo (5.1.1 compiled from source), and Windows 
> with 5.1.3 from LuaBinaries.  However, Windows x64 5.1.3 LuaBinaries 
> completes.

So, the problem is not alone on my machine ;-)
I don't have Windows 64bit box to test, but it is interesting.

> I'm not sure if this is really a bug, as I'm not familiar with the 
> internals of the garbage collection system and it does indeed say the 
> behavior is 'non-specified', but I can say that I don't think Lua should 
> ever enter an infinite loop.

I agree.

Makoto Hamanaka <>