lua-users home
lua-l archive

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


I'm trying to run the following script:

  require"profiler"
  profiler.start()
  local co = coroutine.create(function() end)
  coroutine.resume(co) --> crash here
  profiler.stop()

On the line with coroutine.resume the program crashes:
"lua.exe has encountered a problem and needs to close."

(LuaProfiler 2.0.1, Windows XP SP2).

--
Shmuel