Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'fail: bad light userdata pointer' when trying to get lit using get-lit.sh #199

Open
Nik-mmzd opened this issue Jan 27, 2017 · 1 comment

Comments

@Nik-mmzd
Copy link

Nik-mmzd commented Jan 27, 2017

Copypaste from console: https://gist.github.com/Nik-mmzd/98c970a1952a610f63c2c14b49c781b4
Device: RaspberryPi 3

I run test.lua from https://github.com/luvit/lpeg and got this:

Uncaught exception:
bad light userdata pointer
stack traceback:
	[C]: in function 'match'
	/home/mcmodder/bots/lit/try9000/test.lua:61: in function 'fn'
	[string "bundle:deps/require.lua"]:309: in function 'require'
	[string "bundle:main.lua"]:118: in function 'main'
	[string "bundle:init.lua"]:49: in function <[string "bundle:init.lua"]:47>
	[C]: in function 'xpcall'
	[string "bundle:init.lua"]:47: in function 'fn'
	[string "bundle:deps/require.lua"]:309: in function <[string "bundle:deps/require.lua"]:265>

Maybe anyone knows a way to fix this error?

UPD:
I also tried to compile luvi, lit and luvit from source (and used make regular in luvi), nothing changed

@creationix
Copy link
Member

See also torch/torch7#1035

Seems to be a problem with luajit itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants