sajjadtamimi / embox

Automatically exported from code.google.com/p/embox
0 stars 0 forks source link

Lua 'os' problem #558

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  Add to file system file named "doit.lua":
       os.execute("help")
       os.execute("ls")
2.  make confload-x86/lua-demo
3.  make
4.  ./auto_qemu
5.  embox>lua doit.lua
PANIC: unprotected error in call to Lua API (doit.lua:1: attempt to index 
global 'os' (a nil value))

ASSERTION FAILED at src/kernel/thread/sched_strategy/simple_queue.c : 194,
        in function runq_switch:

next != NULL
kernel debug panicQEMU: Terminated

What is the expected output? What do you see instead?
I prepare this file to execute commands "ls" and "help" consequently,
but error has occurred.

What version of the product are you using? On what operating system?
It was in r9054 , ubuntu, qemu.

Original issue reported on code.google.com by ershpush on 19 Mar 2013 at 2:24

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by sikmir on 14 Sep 2013 at 11:42

GoogleCodeExporter commented 8 years ago

Original comment by sikmir on 14 Sep 2013 at 11:45

GoogleCodeExporter commented 8 years ago
fixed by r14447

Original comment by ki.s...@gmail.com on 29 Jul 2014 at 9:55