View Single Post
Old February 21, 2019, 17:22   #1
Join Date: Dec 2007
Posts: 299
kandrc is on a distinguished road
Dimension Door bug

Playing from a several-weeks-old git checkout, ga4f08cb. My mage just got Dimension Door. I tried to test it out in town. Game went into an infinite loop:

Program received signal SIGINT, Interrupt.
square_in_bounds_fully (c=0xa6bea8, grid=...) at cave-square.c:883
883             return grid.x > 0 && grid.x < c->width - 1 &&
(gdb) bt
#0  square_in_bounds_fully (c=0xa6bea8, grid=...) at cave-square.c:883
#1  0x000000000041945c in effect_handler_TELEPORT_TO (context=0x7fffffffd870)
    at effects.c:2915
#2  0x000000000041e099 in effect_do (effect=0x849f98, origin=..., obj=0x0, 
    ident=0x9df7f8, aware=true, dir=0, beam=36, boost=0) at effects.c:5251
#3  0x000000000049ab84 in spell_cast (spell_index=23, dir=0)
    at player-spell.c:491
#4  0x00000000004116f8 in do_cmd_cast (cmd=0x764210 <cmd_queue+880>)
    at cmd-obj.c:971
#5  0x000000000040e91e in process_command (ctx=CMD_GAME, 
    cmd=0x764210 <cmd_queue+880>) at cmd-core.c:235
#6  0x000000000040ea1a in cmdq_pop (c=CMD_GAME) at cmd-core.c:264
#7  0x0000000000420896 in process_player () at game-world.c:900
#8  0x0000000000420b6f in run_game_loop () at game-world.c:1004
#9  0x00000000004be6c9 in play_game (new_game=false) at ui-game.c:435
#10 0x00000000004f7a75 in main (argc=1, argv=0x7fffffffdbb8) at main.c:528
I doubt it matters, but I was standing on a shop entrance.
kandrc is offline   Reply With Quote