Page 1 of 1

PANIC: unprotected error in call to Lua API

Posted: Thu Feb 07, 2013 1:12 pm
by omero
After eventually getting into possession of the Sher'Tul fortress, I made several return trips to "my" vault in Kor'Pul to rescue all the junk I'd collected so far and drop it on the storage area. After the last trip and everything was lying on the storage room nicely sorted, I "save & exit"ed the game normally.

Later in the evening, I loaded my game, went to one of the teleport portals and, unexpectedly, at the end of the loading of the worldmap zone, the client died abruptly. Since when I first died and couldn't understand what had happened, I start the client with:

$./t-engine --flush-stdout 2>&1|tee ~omero/t-engine4-linux32-1.0.0.out/tenginout.`date -I`.${SECONDS}

I collected the last few lines of output of the client during a few attempts to leave the fortress, either by portals or rod of recall.

As a last desperate attempt, I manually saved and cancelled the 'bunnification' effect earlier (which didn't vanish, btw) and... It worked.
After that I was able to return to the worldmap and resume playing (completed the Ruined Dungeon), albeit now the online character sheet says that my character may have been played while not online.

Full collected client output logs are available upon request...

Code: Select all

[omero@naldvras:~/t-engine4-linux32-1.0.0.out]
$egrep PANIC -A8 -B5 tenginout.2013-0*
tenginout.2013-02-06.127653-Loading tile	terrain/golden_mountain5_5.png
tenginout.2013-02-06.127653-Loading tile	terrain/golden_mountain3i.png
tenginout.2013-02-06.127653-Loading tile	terrain/golden_cave_entrance02.png
tenginout.2013-02-06.127653-Wait finished, counted 3165, 4617 ticks
tenginout.2013-02-06.127653-Loaded zone	World of Eyal	with base_level	1
tenginout.2013-02-06.127653:PANIC: unprotected error in call to Lua API (/data/gfx/particles/starglow.lua:44: attempt to index local 'self' (a number value))
tenginout.2013-02-06.127653-AL lib: ALc.c:1879: exit(): closing 1 Device
tenginout.2013-02-06.127653-AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)
tenginout.2013-02-06.127653-AL lib: ALc.c:1420: alcDestroyContext(): deleting 1 Source(s)
tenginout.2013-02-06.127653-AL lib: ALc.c:1818: alcCloseDevice(): deleting 10 Buffer(s)
--
tenginout.2013-02-07.128106-[COROUTINE] error	cannot resume dead coroutine
tenginout.2013-02-07.128106-[COROUTINE] dead	savefilepipe
tenginout.2013-02-07.128106-[PROFILE] filtering save of 	scores	 to profile 	online
tenginout.2013-02-07.128106-[PROFILE] mounted 	online	on /current-profile
tenginout.2013-02-07.128106-[PROFILE] unmounted 	online	from /current-profile
tenginout.2013-02-07.128106:PANIC: unprotected error in call to Lua API (/data/gfx/particles/starglow.lua:44: attempt to index local 'self' (a number value))
tenginout.2013-02-07.128106-AL lib: ALc.c:1879: exit(): closing 1 Device
tenginout.2013-02-07.128106-AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)
tenginout.2013-02-07.128106-AL lib: ALc.c:1420: alcDestroyContext(): deleting 1 Source(s)
tenginout.2013-02-07.128106-AL lib: ALc.c:1818: alcCloseDevice(): deleting 10 Buffer(s)
--
tenginout.2013-02-07.128287-Adding entity	1576	after	1576
tenginout.2013-02-07.128287-[MUSIC] stoping	Dreaming of Flying.ogg
tenginout.2013-02-07.128287-[MUSIC] loading	Remembrance.ogg	sound "/data/music/Remembrance.ogg" : <static>
tenginout.2013-02-07.128287-[MUSIC] playing	Remembrance.ogg	sound "/data/music/Remembrance.ogg" : <static>
tenginout.2013-02-07.128287-[LOG]	#TEAL#You stride into this area without a second thought, while stifling a yawn. You feel your time might be better spent elsewhere.
tenginout.2013-02-07.128287:PANIC: unprotected error in call to Lua API (/data/gfx/particles/starglow.lua:44: attempt to index local 'self' (a number value))
tenginout.2013-02-07.128287-AL lib: ALc.c:1879: exit(): closing 1 Device
tenginout.2013-02-07.128287-AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)
tenginout.2013-02-07.128287-AL lib: ALc.c:1420: alcDestroyContext(): deleting 1 Source(s)
tenginout.2013-02-07.128287-AL lib: ALc.c:1818: alcCloseDevice(): deleting 2 Buffer(s)

--  here the 'rod' attempt was made

tenginout.2013-02-07.128412-[Identify]	self-loading pouch of steel shots of accuracy	true
tenginout.2013-02-07.128412-[LOG]	There is an item here: #00FF80##UID:1647:0#self-loading pouch of steel shots of accuracy (13/13, 19-22.8 power, 2 apr)#LAST#
tenginout.2013-02-07.128412-Updating zone name	Storage Room (Yiilkgur, the Sher'Tul Fortress)
tenginout.2013-02-07.128412-[LOG]	Ran for 30 turns (stop reason: object seen).
tenginout.2013-02-07.128412-[LOG]	
tenginout.2013-02-07.128412:PANIC: unprotected error in call to Lua API (/data/gfx/particles/dust_trail.lua:52: attempt to index local 'self' (a number value))
tenginout.2013-02-07.128412-AL lib: ALc.c:1879: exit(): closing 1 Device
tenginout.2013-02-07.128412-AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)
tenginout.2013-02-07.128412-AL lib: ALc.c:1420: alcDestroyContext(): deleting 1 Source(s)
tenginout.2013-02-07.128412-AL lib: ALc.c:1818: alcCloseDevice(): deleting 6 Buffer(s)
--
tenginout.2013-02-07.128542-Loading tile	terrain/golden_mountain5_5.png
tenginout.2013-02-07.128542-Loading tile	terrain/golden_mountain3i.png
tenginout.2013-02-07.128542-Loading tile	terrain/golden_cave_entrance02.png
tenginout.2013-02-07.128542-Wait finished, counted 3165, 4919 ticks
tenginout.2013-02-07.128542-Loaded zone	World of Eyal	with base_level	1
tenginout.2013-02-07.128542:PANIC: unprotected error in call to Lua API (/data/gfx/particles/starglow.lua:44: attempt to index local 'self' (a number value))
tenginout.2013-02-07.128542-AL lib: ALc.c:1879: exit(): closing 1 Device
tenginout.2013-02-07.128542-AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)
tenginout.2013-02-07.128542-AL lib: ALc.c:1420: alcDestroyContext(): deleting 1 Source(s)
tenginout.2013-02-07.128542-AL lib: ALc.c:1818: alcCloseDevice(): deleting 8 Buffer(s)