Angband Forums

Angband Forums (http://angband.oook.cz/forum/index.php)
-   Development (http://angband.oook.cz/forum/forumdisplay.php?f=10)
-   -   Assertion failed in Angband 4.1.0 (http://angband.oook.cz/forum/showthread.php?t=8693)

teleray November 12, 2017 12:53

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 November 12, 2017 19:03

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

teleray November 12, 2017 19:48

1 Attachment(s)
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

Nick November 12, 2017 20:22

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?

teleray November 12, 2017 21:02

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.


All times are GMT +1. The time now is 05:26.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.