Menu

#215 IWD crash in Shadow Pass

GemRB Main Engine
closed-fixed
nobody
GamePlay (136)
5
2011-03-04
2011-03-01
Mike Chelen
No

Load the save game then try to open the trapped container. This usually results in a Segmentation fault. The crash seems to be related to whether the skeletons around are killed before or after opening container.

Discussion

  • Mike Chelen

    Mike Chelen - 2011-03-01
     
  • Mike Chelen

    Mike Chelen - 2011-03-01
     
  • Mike Chelen

    Mike Chelen - 2011-03-01
     
  • Mike Chelen

    Mike Chelen - 2011-03-01

    stdout

     
  • Mike Chelen

    Mike Chelen - 2011-03-01

    The crash occurrs when the player starts to approach the container, before they actually open it. Probably the crash happens when one of the skeletons sees and attacks the nearby player.

     
  • Mike Chelen

    Mike Chelen - 2011-03-01

    backtrace

     
  • Mike Chelen

    Mike Chelen - 2011-03-01

    Running Getdeb.net package 0.6.3-1~getdeb1 on Ubuntu 10.10 64bit.

     
  • Laszlo Toth

    Laszlo Toth - 2011-03-04

    This is some trap effect fired by the container (script).
    I think it is because of the caster is not an actor and the effect opcode tries to modify a stat in the caster (good case, simple, opcode needs a check)
    Or, the target is not found, in which case the target defaults back to the caster (worst case, more than one bug, targeting needs to be fixed)

     
  • Laszlo Toth

    Laszlo Toth - 2011-03-04
    • labels: --> GamePlay
    • milestone: --> GemRB Main Engine
     
  • Laszlo Toth

    Laszlo Toth - 2011-03-04

    The console log is sadly not usable, the most important part is missing: Searching for SPW....

    SPW... is the trap spell causing the bug :)

     
  • Mike Chelen

    Mike Chelen - 2011-03-04

    Ah, so it is the trap itself. Would it be helpful to log the output again?

     
  • Mike Chelen

    Mike Chelen - 2011-03-04

    second try - copied directly from terminal

     
  • Willem Jan Palenstijn

    <fuzzie> [...] spwi021.spl, TRAP_SLEEP

    <fuzzie> spell has fx_pause_target with FX_TARGET_SELF, which calls STAT_MOD(IE_CASTERHOLD)

     
  • Jaka Kranjc

    Jaka Kranjc - 2011-03-04

    fixed, but you'll have to wait for the next release or build gemrb yourself.

     
  • Jaka Kranjc

    Jaka Kranjc - 2011-03-04
    • status: open --> closed-fixed
     
  • Mike Chelen

    Mike Chelen - 2011-03-05

    Will try building it and test, thanks!

     
  • Mike Chelen

    Mike Chelen - 2011-03-06

    That fixed it, thanks! It is nice to have the scroll of haste from the container :)

     

Log in to post a comment.