lua-users home
lua-l archive

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


> This is the error message when lua.exe crashes (it's a german XP, but
> you'll get the point):
> 
> lua.exe - Fehler in Anwendung
> Die Anweisung in "0x100098a9" verweist auf Speicher in "0x00448950".
> Der Vorgang "written" konnte nicht auf dem Speicher durchgeführt
> werden.

I did not (unless the point is that this error message has no useful
information ;).


> This is an excerpt from test.lua generating the error (slightly
> modified, last line crashes):
> 
> t = {}
> s = ""
> p = function (s1, i) assert(s == s1); t[#t + 1] = i; return nil end
> s = "hi, this is a test"
> 
> e = ((p - m.P(-1)) + 2)^0
> m.match(e, s)

Did you try to run only this fragment?

-- Roberto