Page 1 of 1

[1.0.5,Mac] crash report

Posted: Fri Jan 03, 2014 9:29 pm
by snoop
I've had crashes similar to this happen a few times. I always send the error report in, wherever "in" is, but have never seen any other mention of it, so for the hell of it here it is again! What I think happens is that some spellcaster tries to hit me with something, then the crash occurs and error report 1 comes up. When I try to go back to the game my sprite is gone and all actions that require graphical changes on the map fail; I can heal, check inventory, etc, but everything else doesn't work and pops another error (2). The only way out is to force quit. Maybe this is fixed in newer versions, I dunno... been trying to finish this run before I upgrade!

error 1)

error = "Lua Error: /engine/interface/ActorTalents.lua:174: /engine/interface/ActorTalents.lua:152: /engine/utils.lua:1747: bad argument #1 to 'line_base' (number expected, got nil)\
stack traceback:\
\9[C]: in function 'line_base'\
\9/engine/utils.lua:1747: in function 'lineFOV'\
\9/engine/interface/ActorProject.lua:232: in function 'canProject'\
\9/data/talents/misc/npcs.lua:1358: in function </data/talents/misc/npcs.lua:1354>\
\9[C]: in function 'xpcall'\
\9/engine/interface/ActorTalents.lua:147: in function </engine/interface/ActorTalents.lua:134>\
At [C]:-1 \
At [C]:-1 error\
At /engine/interface/ActorTalents.lua:174 useTalent\
At /engine/interface/ActorTalents.lua:284 forceUseTalent\
At /mod/class/Actor.lua:4145 \
At /data/damage_types.lua:461 defaultProjector\
At /data/damage_types.lua:590 projector\
At /data/damage_types.lua:585 projector\
At /engine/interface/ActorProject.lua:376 projectDoAct\
At /engine/interface/ActorProject.lua:462 projectDoStop\
At /engine/Projectile.lua:247 check\
At [string \"return function(self, x, y, what, ...) local ...\"]:1 checkAllEntities\
At /engine/Actor.lua:205 move\
At /mod/class/Actor.lua:1022 move\
At /mod/class/interface/Combat.lua:64 bumpInto\
At /mod/class/Actor.lua:2813 attack\
At /engine/interface/ActorLife.lua:41 check\
At [string \"return function(self, x, y, what, ...) local ...\"]:1 checkAllEntities\
At /engine/Actor.lua:184 move\
At /mod/class/Actor.lua:1022 move\
At /mod/class/Player.lua:267 moveDir\
At /mod/class/Game.lua:1541 \
At /engine/KeyBind.lua:229 "
seen = true
reported = true

error 2)


error = "Lua Error: /engine/Actor.lua:229: attempt to perform arithmetic on field 'x' (a nil value)\
At [C]:-1 __add\
At /engine/Actor.lua:229 moveDir\
At /mod/class/Game.lua:1538 \
At /engine/KeyBind.lua:229 "
seen = true
reported = true

Re: [1.0.5,Mac] crash report

Posted: Sat Jan 04, 2014 6:03 pm
by Max
As far as I can see, this issue is fixed in ToME 1.1.3. To suppress it in 1.0.5 I disabled all OpenGL video options. Issue didn't reproduced after this.

Re: [1.0.5,Mac] crash report

Posted: Sat Jan 04, 2014 8:50 pm
by snoop
Just disabled all OpenGL stuff and still had the same error pop up. Will try and disable all video options next time. I do agree it's related to graphics somehow, only seems to happen in late game when lots of spells are flying around etc. Will be great if it's all fixed in the new version, hope I can get lucky and finish this run first!