Crashing in Halfling ruins

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
mrdvant
Yeek
Posts: 10
Joined: Mon Dec 13, 2010 10:34 pm

Crashing in Halfling ruins

#1 Post by mrdvant »

So, I went in once at level 10. Got my ass handed to me a few times, then went back out. I'm going in from the Yeek side, by the way. So now, at level 11 I go in and if I do anything at all(move, use an ability, etc) the game instantly crashes. Any ideas?

yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Re: Crashing in Halfling ruins

#2 Post by yufra »

If the problem is reproducible and you are not getting any Lua errors in the stdout log (not sure which OS you are using) then you can have a look at this page: http://te4.org/wiki/tome4-running-tome-gdb

Basically we need more information. :)
<DarkGod> lets say it's intended

mrdvant
Yeek
Posts: 10
Joined: Mon Dec 13, 2010 10:34 pm

Re: Crashing in Halfling ruins

#3 Post by mrdvant »

I'm using Vista 32 bit. I'll look into the gdb thing and get back.

evouga
Wyrmic
Posts: 231
Joined: Tue Jul 06, 2010 1:03 am

Re: Crashing in Halfling ruins

#4 Post by evouga »

Is the Windows build compiled with -g? I remember trying to debug a crash a few days ago in MSVC and there didn't appear to be any debugging symbols in the stack trace.

mrdvant
Yeek
Posts: 10
Joined: Mon Dec 13, 2010 10:34 pm

Re: Crashing in Halfling ruins (UPDATED with log)

#5 Post by mrdvant »

From stdout...

AI took for target 3139 Subject Z :: 674 Gleek 10 < 0
============================== TACTICAL AI Subject Z
Subject Z 3139 tactical ai talents can use Infusion: Wild T_INFUSION:_WILD_2 defend
Tactical ai report for Subject Z
============================== TACTICAL AI armoured skeleton warrior
armoured skeleton warrior 2794 tactical ai talents can use Rune: Shielding T_RUNE:_SHIELDING_1 defend
Tactical ai report for armoured skeleton warrior
============================== TACTICAL AI armoured skeleton warrior
armoured skeleton warrior 3095 tactical ai talents can use Rune: Shielding T_RUNE:_SHIELDING_1 defend
Tactical ai report for armoured skeleton warrior
============================== TACTICAL AI armoured skeleton warrior
armoured skeleton warrior 2780 tactical ai talents can use Rune: Manasurge T_RUNE:_MANASURGE_1 mana
Tactical ai report for armoured skeleton warrior
Lua Error: /data/talents/cursed/darkness.lua:70: attempt to index upvalue 'target' (a nil value)
At [C]:-1
At /data/talents/cursed/darkness.lua:70 act
At /engine/GameEnergyBased.lua:73 tick
At /engine/GameTurnBased.lua:44 tick
At /mod/class/Game.lua:635
---------------- Stack Dump ----------------
--------------- Stack Dump Finished ---------------
---------------- Stack Dump ----------------

So it seems to be some problem with Subject Z?

yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Re: Crashing in Halfling ruins

#6 Post by yufra »

Found the bug, and attached a patch, thanks.
Attachments
creeping_darkness_upvalue.txt
(1.02 KiB) Downloaded 100 times
<DarkGod> lets say it's intended

mrdvant
Yeek
Posts: 10
Joined: Mon Dec 13, 2010 10:34 pm

Re: Crashing in Halfling ruins

#7 Post by mrdvant »

Er..thank you? I have no idea what to do with this though. :p

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Crashing in Halfling ruins

#8 Post by darkgod »

it's for me, not you ;)
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

mrdvant
Yeek
Posts: 10
Joined: Mon Dec 13, 2010 10:34 pm

Re: Crashing in Halfling ruins

#9 Post by mrdvant »

ohh, good good. I was feeling a bit dumb there for a bit, like everyone knew how to do this but me. :p

yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Re: Crashing in Halfling ruins

#10 Post by yufra »

Hehe, no worries mrdvant. I can tell you how to apply the patch, but generally speaking you don't want to since it will stop ToME from uploading your character to the website (it just detects that files have changed, so you could be cheating, etc). The bug will be fixed in the next beta, though.
<DarkGod> lets say it's intended

mrdvant
Yeek
Posts: 10
Joined: Mon Dec 13, 2010 10:34 pm

Re: Crashing in Halfling ruins

#11 Post by mrdvant »

So...is this a sometimes bug or all the time? I don't want to go through the effort of getting another yeek strong enough to get there if it's going to happen every time until it's fixed.

Post Reply