Lua_Edu_Tools_1.2beta8.zip and Celestia-Gnome
Posted: 17.02.2011, 20:24
I have installed Celestia Gnome 1.6.0 in my Linux Distribution Ubuntu 10.04 LTS - the Lucid Lynx.
The program runs fine.
I installed the add ons Lua_Edu_Tools_1.2beta8 and Celstia is raising the error "Segmentation Fault".
I read in http://www.celestiaproject.net/forum/viewtopic ... 11&t=13162 that this version of Lua_Edu_Tools needs Celestia 1.6.1; is it true?
Should I download SVN version ?
This is a part the output of strace that shows a possible problem with EAGAIN error when accessing the luahookinit.lua file
open("luahookinit.lua", O_RDONLY|O_LARGEFILE) = 16
read(3, 0xa03b310, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}], 7, 0) = 0 (Timeout)
read(3, 0xa03b310, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}], 7, 0) = 0 (Timeout)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"5 \4\0O\0@\3\4\0@\3R\2\366\0\225\4\5\0P\0@\3O\0@\3%\0\0\0"..., 200}, {NULL, 0}, {"", 0}], 3) = 200
poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\1\2N\1\0\0\0\0\4\0@\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096) = 32
read(3, 0xa03b310, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"\225\10\t\0\3\0@\3E\0@\3F\0@\3Q\0@\3\0\0\0\0\0\0\0\0\377\1\0\0"..., 256}, {NULL, 0}, {"", 0}], 3) = 256
poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\1\2V\1\0\0\0\0\4\0@\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096) = 32
read(3, 0xa03b310, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"\225\10\t\0\3\0@\3E\0@\3F\0@\3Q\0@\3\0\0\0\0\0\0\0\0\377\377\300\0"..., 1540}, {NULL, 0}, {"", 0}], 3) = 1540
read(3, 0xa03b310, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(3, 0xa03b310, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}], 7, 0) = 0 (Timeout)
read(16, "-- luahookinit.lua\n\nrequire \"lua"..., 8191) = 82
read(16, "", 8191) = 0
close(16) = 0
gettimeofday({1297842387, 175343}, NULL) = 0
gettimeofday({1297842387, 176693}, NULL) = 0
open("lua_edu_tools.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("celxx/lua_edu_tools.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("extras/lua_edu_tools/tools/lua_edu_tools.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("extras/lua_edu_tools/lua_edu_tools.lua", O_RDONLY) = 16
close(16) = 0
open("extras/lua_edu_tools/lua_edu_tools.lua", O_RDONLY) = 16
fstat64(16, {st_mode=S_IFREG|0644, st_size=10025, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb73f3000
read(16, "-- lua_edu_tools.lua\n\nrequire \"c"..., 4096) = 4096
read(16, "l.Disable(gl.LINE_SMOOTH);\n g"..., 4096) = 4096
read(16, "elf,ch,cmods)\n ch = strin"..., 8192) = 1833
read(16, "", 4096) = 0
close(16) = 0
munmap(0xb73f3000, 4096) = 0
open("celutil.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("celxx/celutil.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
The program runs fine.
I installed the add ons Lua_Edu_Tools_1.2beta8 and Celstia is raising the error "Segmentation Fault".
I read in http://www.celestiaproject.net/forum/viewtopic ... 11&t=13162 that this version of Lua_Edu_Tools needs Celestia 1.6.1; is it true?
Should I download SVN version ?
This is a part the output of strace that shows a possible problem with EAGAIN error when accessing the luahookinit.lua file
open("luahookinit.lua", O_RDONLY|O_LARGEFILE) = 16
read(3, 0xa03b310, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}], 7, 0) = 0 (Timeout)
read(3, 0xa03b310, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}], 7, 0) = 0 (Timeout)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"5 \4\0O\0@\3\4\0@\3R\2\366\0\225\4\5\0P\0@\3O\0@\3%\0\0\0"..., 200}, {NULL, 0}, {"", 0}], 3) = 200
poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\1\2N\1\0\0\0\0\4\0@\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096) = 32
read(3, 0xa03b310, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"\225\10\t\0\3\0@\3E\0@\3F\0@\3Q\0@\3\0\0\0\0\0\0\0\0\377\1\0\0"..., 256}, {NULL, 0}, {"", 0}], 3) = 256
poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\1\2V\1\0\0\0\0\4\0@\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096) = 32
read(3, 0xa03b310, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"\225\10\t\0\3\0@\3E\0@\3F\0@\3Q\0@\3\0\0\0\0\0\0\0\0\377\377\300\0"..., 1540}, {NULL, 0}, {"", 0}], 3) = 1540
read(3, 0xa03b310, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(3, 0xa03b310, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=14, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}], 7, 0) = 0 (Timeout)
read(16, "-- luahookinit.lua\n\nrequire \"lua"..., 8191) = 82
read(16, "", 8191) = 0
close(16) = 0
gettimeofday({1297842387, 175343}, NULL) = 0
gettimeofday({1297842387, 176693}, NULL) = 0
open("lua_edu_tools.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("celxx/lua_edu_tools.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("extras/lua_edu_tools/tools/lua_edu_tools.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("extras/lua_edu_tools/lua_edu_tools.lua", O_RDONLY) = 16
close(16) = 0
open("extras/lua_edu_tools/lua_edu_tools.lua", O_RDONLY) = 16
fstat64(16, {st_mode=S_IFREG|0644, st_size=10025, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb73f3000
read(16, "-- lua_edu_tools.lua\n\nrequire \"c"..., 4096) = 4096
read(16, "l.Disable(gl.LINE_SMOOTH);\n g"..., 4096) = 4096
read(16, "elf,ch,cmods)\n ch = strin"..., 8192) = 1833
read(16, "", 4096) = 0
close(16) = 0
munmap(0xb73f3000, 4096) = 0
open("celutil.lua", O_RDONLY) = -1 ENOENT (No such file or directory)
open("celxx/celutil.lua", O_RDONLY) = -1 ENOENT (No such file or directory)