[b32] Walk down stairs -> crash to desktop (now w/backtrace)

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
evouga
Wyrmic
Posts: 231
Joined: Tue Jul 06, 2010 1:03 am

[b32] Walk down stairs -> crash to desktop (now w/backtrace)

#1 Post by evouga »

Hitting '>' to enter the 3rd lever of Murgol Layer crashed the game to the desktop. No error appeared -- the game just quit.

Here's the last of te4_log:
[LOG] #YELLOW_GREEN#There is a next level here (press '<', '>' or right click to use).
[COROUTINE] registering savefilepipe thread: 0x09ce2018
Make wait background texture 167 : 1680x1000 (2048, 1024)
[SAVEFILE PIPE] new save running in the pipe: Jim Darkmagic level :: level-murgol-lair-2.teal :: table: 0x099fde70 => table: 0x0bc025a0 (174)
[LOG] Saving done.
Wait finished, counted 146, 244 ticks
Make wait background texture 319 : 1680x1000 (2048, 1024)
C Map size 45:29 :: 1305
C Map seens texture: 222 (50x50)
Loading tile object/shot_iron.png
Loading tile object/mace_iron.png
Loading savefile Jim Darkmagic level engine.Savefile with id 67fea960-3f6d-41ce-b423-b90834604e46 but current game does not know this token => ignoring
Wait finished, counted 255, 527 ticks
Last edited by evouga on Thu Sep 08, 2011 3:08 am, edited 1 time in total.

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

Re: [b32] Walk down stairs -> crash to desktop

#2 Post by darkgod »

try to run under gdb if this keeps on happenning
[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 ;)

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

Re: [b32] Walk down stairs -> crash to desktop

#3 Post by evouga »

When I run it in GDB, the crash doesn't occur. But then I tried b33 without GDB, and sure enough going down the stairs from Murgol 2 to Murgol 3 crashed to desktop.

Someone with an OS X or Linux build should try running the game under Valgrind and going down stairs... dollars to donuts there's an uninitialized memory bug there somewhere.

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

Re: [b32] Walk down stairs -> crash to desktop

#4 Post by darkgod »

Continue to run it under gdb jsut in case
[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 ;)

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

Re: [b32] Walk down stairs -> crash to desktop (now w/backtr

#5 Post by evouga »

Yep, you were right... it did happen again, this time in gdb. Here's a backtrace.

Code: Select all

#0  0x00437c4e in display_map_quad (L=0x2b001c0) at ../src/map.c:1132
#1  map_to_screen (L=0x2b001c0) at ../src/map.c:1314
#2  0x00472017 in lj_BC_FUNCC ()
#3  0x0046707c in lua_pcall (L=0x2b001c0, nargs=2, nresults=0, errfunc=1)
    at ../src/luajit2/src/lj_api.c:1028
#4  0x0042e004 in docall (L=0x2b001c0, narg=2, nret=0) at ../src/main.c:188
#5  0x0042ec8d in call_draw (nb_keyframes=1) at ../src/main.c:447
#6  0x0042f019 in on_redraw () at ../src/main.c:532
#7  0x00407940 in sdl_redraw_screen (L=0x2b001c0) at ../src/core_lua.c:1675
#8  0x00472017 in lj_BC_FUNCC ()
#9  0x0046707c in lua_pcall (L=0x2b001c0, nargs=9, nresults=0, errfunc=3)
    at ../src/luajit2/src/lj_api.c:1028
#10 0x0042e004 in docall (L=0x2b001c0, narg=9, nret=0) at ../src/main.c:188
#11 0x0042e440 in on_event (event=0x27fe00) at ../src/main.c:301
#12 0x00430621 in SDL_main (argc=1, argv=0x301998) at ../src/main.c:1076
#13 0x00506071 in console_main ()
#14 0x00506131 in WinMain@16 ()
#15 0x00505bf6 in main ()

Post Reply