lua-users home
lua-l archive

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


I'm running into a crash in "luac -s". File a.lua with smallest example I could set up:
	local x
	function f() local t=x end

$ ../lua-5.0/bin/luac a.lua
$ ../lua-5.0/bin/luac -s a.lua
Segmentation fault
$

This happens on Linux, gcc 3.2.2, settings:
	NUMBER= -DLUA_USER_H='"../etc/luser_number.h"' -DUSE_INT
	MYCFLAGS= -O2 -fomit-frame-pointer
Removing both of the above did not fix things, so I don't think it matters.

It's a stock build from yesterday's download.

Similar on MacOSX, gcc 3.1 (10.2.4) - bus error, so I hope you can reproduce it.

-jcw