Page 1 of 1
Save failures
Posted: Fri Oct 29, 2010 7:54 pm
by greycat
My character killed Old Man Willow, teleported back to Angolwen, ran around and shopped and stuff, then used Ctrl-X to save and exit. Later, I ran the game again, and I was back at the first level of Old Forest. And 2 experience levels lower. All the progress from my session was gone.
OK, so, killed Old Man Willow again, got another escortee killed in the process, and teleported to Angolwen. The yellow "Saving..." never turned off, in the left pane. Walked through the wilderness to Trollshaws and entered it. It still says "Saving...". Ran around, killed stuff... still says "Saving...". Now I'm worried.
Code: Select all
wooledg@wooledg:~/.t-engine/4.0/tome/save$ ls -lart Tim
total 17896
-rw------- 1 wooledg wooledg 1318910 2010-10-28 15:13 zone-trollshaws.teaz
-rw------- 1 wooledg wooledg 1567296 2010-10-29 12:02 zone-town-bree.teaz
-rw------- 1 wooledg wooledg 6672060 2010-10-29 13:26 zone-old-forest.teaz
-rw------- 1 wooledg wooledg 651921 2010-10-29 13:29 zone-town-angolwen.teaz
-rw------- 1 wooledg wooledg 7531609 2010-10-29 13:29 game.teag
-rw------- 1 wooledg wooledg 180 2010-10-29 13:29 desc.lua
drwx------ 2 wooledg wooledg 4096 2010-10-29 13:49 .
drwx------ 4 wooledg wooledg 4096 2010-10-29 15:28 ..
-rw------- 1 wooledg wooledg 521104 2010-10-29 15:44 zone-old-forest.teaz.tmp
wooledg@wooledg:~/.t-engine/4.0/tome/save$ date
Fri Oct 29 15:52:36 EDT 2010
Very bad sign! Looks like it's never finishing the save of the Old Forest, leaving this save directory in some sort of corrupted half-done state.
Re: Save failures
Posted: Fri Oct 29, 2010 7:56 pm
by greycat
Code: Select all
Not gone east, no backup guardian
[MUSIC] playing Swashing the buck.ogg userdata: 0x93a68b4 :: current ?
true
[COROUTINE] registering savefilepipe thread: 0x140b2e68
92 frames in 11.293 seconds = 8.14664 FPS
[SAVEFILE PIPE] new save running in the pipe: Tim zone :: zone-old
-forest.teaz :: table: 0x95433d8 => table: 0xcb756a8
[COROUTINE] registering savefilepipe thread: 0x15f2c3c8
[SAVEFILE PIPE] new save running in the pipe: Tim zone :: zone-old
-forest.teaz :: table: 0x95433d8 => table: 0xcb756a8
[LOG] Saving game...
stack traceback:
/engine/Savefile.lua:103: in function 'saveObject'
/engine/Savefile.lua:236: in function '?'
/engine/SavefilePipe.lua:85: in function </engine/SavefilePipe.lua:71>
(tail call): ?
[COROUTINE] error cannot resume dead coroutine
[COROUTINE] dead savefilepipe
Re: Save failures
Posted: Fri Oct 29, 2010 8:12 pm
by greycat
Removed the .tmp file by hand, then tried Ctrl-S in game. Got the same error in the log file again. Went to the bathroom. Came back, and noticed that my browser was even slower than before...
Code: Select all
top - 16:09:04 up 4 days, 7:38, 1 user, load average: 1.55, 1.51, 1.27
Tasks: 119 total, 2 running, 117 sleeping, 0 stopped, 0 zombie
Cpu(s): 58.6%us, 2.3%sy, 0.0%ni, 22.0%id, 17.1%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2003772k total, 1953888k used, 49884k free, 832k buffers
Swap: 409648k total, 162312k used, 247336k free, 21280k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2649 root 20 0 145m 43m 1472 R 99 2.2 661:08.56 Xorg
21117 wooledg 20 0 1826m 1.7g 1088 S 21 86.6 8:31.84 t-engine
Re: Save failures
Posted: Fri Oct 29, 2010 8:47 pm
by Mushroomhermit
I'm having the same issue. Also getting ridiculous slowdowns that seems to be related to very high TPS (ticks per second whatever that means)
Code: Select all
[COROUTINE] registering savefilepipe thread: 0xc5dc898
152 frames in 12.841 seconds = 11.8371 FPS
[SAVEFILE PIPE] new save running in the pipe: Jehrak game :: game.teag :: table: 0x8d51378 => table: 0xb192ac8
[COROUTINE] registering savefilepipe thread: 0x1b2afb38
[SAVEFILE PIPE] new save running in the pipe: Jehrak game :: game.teag :: table: 0x8d51378 => table: 0xb192ac8
[LOG] Saving game...
stack traceback:
/engine/Savefile.lua:103: in function 'saveObject'
/engine/Savefile.lua:198: in function '?'
/engine/SavefilePipe.lua:85: in function </engine/SavefilePipe.lua:71>
(tail call): ?
[COROUTINE] error cannot resume dead coroutine
[COROUTINE] dead savefilepipe
307381 ticks in 27.914 seconds = 11011.7 TPS
762428 ticks in 10 seconds = 76242.8 TPS
[LOG] Today is the 29th Tuilë of the 122th year of the Fourth Age of Middle-earth.
The time is 01:13.
[LOG] Today is the 30th Tuilë of the 122th year of the Fourth Age of Middle-earth.
The time is 02:28.
722429 ticks in 10 seconds = 72242.9 TPS
711069 ticks in 10 seconds = 71106.9 TPS
[LOG] Today is the 31th Tuilë of the 122th year of the Fourth Age of Middle-earth.
The time is 00:55.
696781 ticks in 10 seconds = 69678.1 TPS
70000 ticks per second seems... excessive
Re: Save failures
Posted: Sun Oct 31, 2010 12:42 am
by PowerWyrm
Same problem when leaving Old Forest by teleporting to Angolwen.
stack traceback:
[C]: in function 'error'
/engine/class.lua:211: in function 'serialize_data'
/engine/class.lua:205: in function 'serialize_data'
/engine/class.lua:218: in function 'serialize'
/engine/class.lua:236: in function 'save'
/engine/Savefile.lua:103: in function 'saveObject'
/engine/Savefile.lua:236: in function '?'
/engine/SavefilePipe.lua:85: in function </engine/SavefilePipe.lua:71>
[COROUTINE] error /engine/class.lua:211: cannot save a userdata (data["tex"])
[COROUTINE] dead savefilepipe
Re: Save failures
Posted: Sun Oct 31, 2010 12:49 am
by PowerWyrm
NOW I'm pissed!!!
Game over...
Game simply closed itself... had just time to see something about signal SIGSEV being raised in luajit, with the following in stdout.txt:
[LOG] Bones casts Identify.
USING table: 24221EA0 Identify
132 frames in 10.611 seconds = 12.4399 FPS
[Identify] Phial of Galadriel true
Lua Error: /mod/class/interface/PlayerLore.lua:68: attempt to index field 'additional_lore' (a nil value)
At [C]:-1
At /mod/class/interface/PlayerLore.lua:68 additionalLore
At /mod/class/Object.lua:490 check
At /engine/in
*** CROAK ***
Re: Save failures
Posted: Sun Oct 31, 2010 12:54 am
by Mushroomhermit
This has been addressed in a separate post and has been fixed. To circumvent the bug, press "5" to wait until you recall/teleport to angolwen instead of resting.
Re: Save failures
Posted: Sun Oct 31, 2010 12:56 am
by PowerWyrm
Not the fatal crash when identifying the Phial though...