lua-users home
lua-l archive

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


> > The following script crashes lua.exe under Win2K/VC.NET. 
> > 
> > -----------------------------------------------
> > function co_func (current_co)
> >    coroutine.resume(current_co)
> > end
> > 
> > local co = coroutine.create(co_func)
> > coroutine.resume(co, co)
> > -----------------------------------------------
> 
> The above script runs OK on my machine, Linux 2.4.20-386, Debian
> testing.  However, if I repeat the last line, I get a seg fault!

Same here, on Win98SE/VC6: no crash on the program as is, crash if the last
line is repeated.

Regards.

-- 
--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--
Philippe Lhoste (Paris -- France)
Professional programmer and amateur artist
http://jove.prohosting.com/~philho/
--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--

+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!