lua-users home
lua-l archive

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


Hello,

 

Here is a script that will cause Scite to crash. Note that the .wlua extension is important (crash won’t occur if extension is .lua).

 

require “bob”

 

When running the script from inside Scite (F5), I get the expected:

 

>wlua "RemoteControl.wlua"

wlua: RemoteControl.wlua:1: module 'bob' not found:

                no field package.preload['bob']

                etc…

stack traceback:

                [C]: in function 'require'

                RemoteControl.wlua:1: in main chunk

                [C]: ?

>Exit code: 1

 

If I attempt to debug the script (Alt+R) and step over the line (Alt+N), I get a crash instead of the stack trace. Attaching Visual Studio then tells me:

 

Unhandled exception at 0x03d83639 in SciTE.exe: 0xC0000005: Access violation writing location 0x03d9d000, which happens inside some spawner-ex.dll

 

Regards,

 

 

Benoit.