Assertion failed in Angband 4.1.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • teleray
    Rookie
    • Nov 2017
    • 5

    Assertion failed in Angband 4.1.0

    ---------------------------
    Microsoft Visual C++ Runtime Library
    ---------------------------
    Assertion failed!

    Program: ...
    File: obj-knowledge.c
    Line: 876

    Expression: known_obj == obj->known

    For information on how your program can cause an assertion
    failure, see the Visual C++ documentation on asserts

    (Press Retry to debug the application - JIT must be enabled)
    ---------------------------
    Abbrechen Wiederholen Ignorieren
    ---------------------------


    ---------------------------
    Microsoft Visual C++ Runtime Library
    ---------------------------
    Assertion failed!

    Program: ...
    File: cave-square.c
    Line: 931

    Expression: c->objects[obj->oidx]

    For information on how your program can cause an assertion
    failure, see the Visual C++ documentation on asserts

    (Press Retry to debug the application - JIT must be enabled)
    ---------------------------
    Abbrechen Wiederholen Ignorieren
    ---------------------------
  • Gwarl
    Administrator
    • Jan 2017
    • 1025

    #2
    Just a guess but maybe the problem is that you're using a C++ compiler while angband is written in C?

    Comment

    • teleray
      Rookie
      • Nov 2017
      • 5

      #3
      It happens with the version downloaded from http://rephial.org/downloads/4.1/angband-4.1.0-win.zip

      Can be reproduced with the save file in the attachment and commands:
      m d c
      m e e
      m e d
      m h a
      >
      M a d
      Attached Files

      Comment

      • Nick
        Vanilla maintainer
        • Apr 2007
        • 9634

        #4
        I can't reproduce this in either 4.1.0 or latest master (assuming you meant "m a d" for the last line).

        Those asserts failing would indicate something odd about one or more objects - but it seems strange to happen right after going downstairs. Is there any other info you think might be relevant?
        One for the Dark Lord on his dark throne
        In the Land of Mordor where the Shadows lie.

        Comment

        • teleray
          Rookie
          • Nov 2017
          • 5

          #5
          I just tried it again. Just making light does not help.
          But instead of making light, killing all the hounds with bolts (4) from the initial place and some 1's or making light (m a d) does it.

          Comment

          Working...
          😀
          😂
          🥰
          😘
          🤢
          😎
          😞
          😡
          👍
          👎