Re: Is this supposed to crash?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Is this supposed to crash?
- From: Philippe Lhoste <PhiLho@...>
- Date: 2003年5月10日 10:40:22 +0200 (MEST)
> > 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!