lua-users home
lua-l archive

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


I've spotted an easy way to make lua5.1work6 coredump - I'm running a
vanilla, unpatched work6 compiled on vs2003.net
It's not a show stopper because the crash is caused by an error in the
lua file (namely, trying to index a thread)
Sorry if that has already been fixed? Anyway, a simple repro is

function f() end
c=coroutine.create(f)
c.resume() -- I KNOW THIS IS A SYNTAX ERROR BUT... 

whoops it crashes on the last line that should be coroutine.resume(c),
instead of giving an error.
on work4 it correctly gives an error and stack trace as usual; in work 6
this crashes (pointer exception)

cheers
alex