[Beta 16] Random crashes

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Hirumakai
Thalore
Posts: 192
Joined: Wed Aug 11, 2010 2:39 pm

[Beta 16] Random crashes

#1 Post by Hirumakai »

Hi,

I just downloaded beta 16 today. I created a cursed, and made it to level 10, going through Trollmire and Kor'Pul.

However, the game consistently crashes within about 100-300 turns in on the next map that I go to, making it impossible to progress. Doesn't matter the map either. Crashes in the Old Forest, the Captured Merchant quest, etc. Running a trace in gdb shows the same error each time, pasted below. This was running on Microsoft Windows XP, 64 bit edition.

Code: Select all

Starting program: e:\RPG\t-engine4-windows-1.0.0beta16/t-engine.exe 
[New Thread 2680.0x91c]
warning: Could not load shared library symbols for C:\WINDOWS\SysWOW64\ntdll32.dll.
Do you need "set solib-search-path" or "set sysroot"?
[New Thread 2680.0xb6c]
[New Thread 2680.0x3e4]
[New Thread 2680.0x98c]
[New Thread 2680.0x6e8]
[New Thread 2680.0x498]
[New Thread 2680.0xaec]
[New Thread 2680.0xbec]
[New Thread 2680.0x288]
[New Thread 2680.0x358]
[New Thread 2680.0x7ec]
[New Thread 2680.0x724]

Program received signal SIGSEGV, Segmentation fault.
0x0043006a in map_to_screen (L=0x3512188) at src/map.c:664
664	src/map.c: No such file or directory.
	in src/map.c
#0  0x0043006a in map_to_screen (L=0x3512188) at src/map.c:664
#1  0x0046503b in luaD_precall (L=0x3512188, func=0xdb482e0, nresults=0)
    at src/lua/ldo.c:319
#2  0x00460847 in luaV_execute (L=0x3512188, nexeccalls=2)
    at src/lua/lvm.c:587
#3  0x0046526a in luaD_call (L=0x3512188, func=0xdb48240, nResults=0)
    at src/lua/ldo.c:377
#4  0x0045aadc in f_call (L=0x3512188, ud=0x22fd80) at src/lua/lapi.c:800
#5  0x00464692 in luaD_rawrunprotected (L=0x3512188, f=0x45aab2 <f_call>, 
    ud=0x22fd80) at src/lua/ldo.c:116
#6  0x00465585 in luaD_pcall (L=0x3512188, func=0x45aab2 <f_call>, 
    u=0x22fd80, old_top=74336, ef=74320) at src/lua/ldo.c:463
#7  0x0045ab62 in lua_pcall (L=0x3512188, nargs=2, nresults=0, errfunc=4645)
    at src/lua/lapi.c:821
#8  0x0042bc6f in docall (L=0x3512188, narg=2, nret=0) at src/main.c:89
#9  0x0042c628 in call_draw (nb_keyframes=3) at src/main.c:282
#10 0x0042c8ff in on_redraw () at src/main.c:337
#11 0x0042d7c0 in SDL_main (argc=1, argv=0x3f2b30) at src/main.c:794
#12 0x004b36ab in console_main (argc=1, argv=0x3f2b30)
    at ./src/main/win32/SDL_win32_main.c:315
#13 0x004b3768 in WinMain (hInst=0x400000, hPrev=0x0, szCmdLine=0x7b209a "", 
    sw=10) at ./src/main/win32/SDL_win32_main.c:398
#14 0x004b3036 in main ()
#0  0x0043006a in map_to_screen (L=0x3512188) at src/map.c:664
#1  0x0046503b in luaD_precall (L=0x3512188, func=0xdb482e0, nresults=0)
    at src/lua/ldo.c:319
#2  0x00460847 in luaV_execute (L=0x3512188, nexeccalls=2)
    at src/lua/lvm.c:587
#3  0x0046526a in luaD_call (L=0x3512188, func=0xdb48240, nResults=0)
    at src/lua/ldo.c:377
#4  0x0045aadc in f_call (L=0x3512188, ud=0x22fd80) at src/lua/lapi.c:800
#5  0x00464692 in luaD_rawrunprotected (L=0x3512188, f=0x45aab2 <f_call>, 
    ud=0x22fd80) at src/lua/ldo.c:116
#6  0x00465585 in luaD_pcall (L=0x3512188, func=0x45aab2 <f_call>, 
    u=0x22fd80, old_top=74336, ef=74320) at src/lua/ldo.c:463
#7  0x0045ab62 in lua_pcall (L=0x3512188, nargs=2, nresults=0, errfunc=4645)
    at src/lua/lapi.c:821
#8  0x0042bc6f in docall (L=0x3512188, narg=2, nret=0) at src/main.c:89
#9  0x0042c628 in call_draw (nb_keyframes=3) at src/main.c:282
#10 0x0042c8ff in on_redraw () at src/main.c:337
#11 0x0042d7c0 in SDL_main (argc=1, argv=0x3f2b30) at src/main.c:794
#12 0x004b36ab in console_main (argc=1, argv=0x3f2b30)
    at ./src/main/win32/SDL_win32_main.c:315
#13 0x004b3768 in WinMain (hInst=0x400000, hPrev=0x0, szCmdLine=0x7b209a "", 
    sw=10) at ./src/main/win32/SDL_win32_main.c:398
#14 0x004b3036 in main ()

Vee
Thalore
Posts: 127
Joined: Tue Nov 02, 2010 10:27 pm

Re: [Beta 16] Random crashes

#2 Post by Vee »

Without being an expert on things, my first guess would be: You are missing shared libraries (.dll files) for 32-bit binaries. As I neither use windows nor 64-bit programs, I can't really help you where to get the libs.
greycat wrote:An intervention was required (kill -9)

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

Re: [Beta 16] Random crashes

#3 Post by darkgod »

No it's probably monsters/player casting freeze, is it ?
[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 ;)

Hirumakai
Thalore
Posts: 192
Joined: Wed Aug 11, 2010 2:39 pm

Re: [Beta 16] Random crashes

#4 Post by Hirumakai »

Did the necessary .dlls change since beta 15? That version was running that mostly fine, and was able to get one character up to I think 30-ish before my last character there somehow got a corrupted save file at the end of that timed volcano run and trying to use the far portal in it.

As for being related to freezing quite possibly. I recently acquired an icy iron shield. I have seen some monsters get the frozen ice block graphics and the "Freeze" scroll upwards, although it doesn't necessarily crash at that point.

Edit: I just tried taking the shield off and running through a level. The Merchant quest popped for me and I was able to get all the way through this time with no crash. So it definitely seems to related to the cold shield.

Here's some example snippets from the very ends of the stdout logs from example crashes. Stderr files don't contain anything. Its odd that I can kill 10 or 30 monsters and then randomly decided to die on me. For example, fighting a bunch of m's and j's in an Old Forest Vault, didn't crash until about the second to last one.

Code: Select all

[LOG]	White ooze hits Hida Amoro for #aaaaaa#0.00 physical damage#LAST#.
[PROJECTOR] starting dam	3
[PROJECTOR] after difficulty dam	3
[PROJECTOR] res	-50	1.5	 on dam	3
[PROJECTOR] after resists dam	4.5
[PROJECTOR] final dam	4.5
[LOG]	Hida Amoro hits white ooze for #1133F3#4.50 cold damage#LAST#.
[ATTACK] attacking with innate combat
[COMBAT DAMAGE] power(1.464911) totstat(27.000000) talent_mod(1.000000)
[ATTACK] to 	Hida Amoro	 :: 	26.368399153212	6	22	::	1
checkHit	29	9.3
=> chance to hit	95
[ATTACK] raw dam	26.368399153212	versus	22	with APR	6
[ATTACK] after range	11
[PHYS CRIT %]	1
[ATTACK] after crit	11
[ATTACK] after mult	11
[PROJECTOR] starting dam	11
[PROJECTOR] after difficulty dam	11
[PROJECTOR] res	15	0.85	 on dam	11
[PROJECTOR] after resists dam	9.35
[PROJECTOR] final dam	9.35
[LOG]	Gelatinous cube hits Hida Amoro for #GREEN#9.35 acid damage#LAST#.
[PROJECTOR] starting dam	3
[PROJECTOR] after difficulty dam	3
[PROJECTOR] res	-50	1.5	 on dam	3
[PROJECTOR] after resists dam	4.5
[PROJECTOR] final dam	4.5
[LOG]	Hida Amoro hits gelatinous cube for #1133F3#4.50 cold damage#LAST#.
checkHit	8	3.25
=> chance to hit	66.879202031418
[LOG]	Gelatinous cube resists!
And another one.

Code: Select all

[LOG]	Large brown snake hits Hida Amoro for #aaaaaa#0.00 physical damage#LAST#.
[PROJECTOR] starting dam	3
[PROJECTOR] after difficulty dam	3
[PROJECTOR] res	0	1	 on dam	3
[PROJECTOR] after resists dam	3
[PROJECTOR] final dam	3
[LOG]	Hida Amoro hits large brown snake for #1133F3#3.00 cold damage#LAST#.
AI took for target	111107	hornet swarm	::	12	Hida Amoro	9	<	400
bee swarm	111195	dumb ai talents can use	Poisonous Bite	T_BITE_POISON
dumb ai uses	T_BITE_POISON
[LOG]	Bee swarm bites poison into Hida Amoro.
USING	table: 0A4F8DC8	Poisonous Bite
[ATTACK] attacking with innate combat
[COMBAT DAMAGE] power(0.557771) totstat(13.000000) talent_mod(1.000000)
[ATTACK] to 	Hida Amoro	 :: 	4.834014262133	20	22	::	3
checkHit	23	9.3
=> chance to hit	87.47483460101
[ATTACK] raw dam	4.834014262133	versus	22	with APR	20
[ATTACK] after range	2
[PHYS CRIT %]	1
[ATTACK] after crit	2
[ATTACK] after mult	6
[PROJECTOR] starting dam	1
[PROJECTOR] after difficulty dam	1
[PROJECTOR] res	15	0.85	 on dam	1
[PROJECTOR] after resists dam	0.85
[PROJECTOR] final dam	0.85
[LOG]	Bee swarm hits Hida Amoro for #LIGHT_GREEN#0.85 nature damage#LAST#.
[LOG]	Hida Amoro is poisoned!
[PROJECTOR] starting dam	3
[PROJECTOR] after difficulty dam	3
[PROJECTOR] res	4.1770504774414	0.95822949522559	 on dam	3
[PROJECTOR] after resists dam	2.8746884856768
[PROJECTOR] final dam	2.8746884856768
[LOG]	Hida Amoro hits bee swarm for #1133F3#2.87 cold damage#LAST#.

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

Re: [Beta 16] Random crashes

#5 Post by darkgod »

Ok then it's fixed for next beta, I'll try to get it out soon
[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 ;)

Post Reply