D
D
Denis2021-11-07 15:01:17
C++ / C#
Denis, 2021-11-07 15:01:17

Do you get an error when starting a SFML project?

---------------------------
Microsoft Visual C++ Runtime Library
------------------ ---------
Debug Assertion Failed!

Program: ...rs\gegez\source\repos\SFML TRUE\SFML TRUE\sfml-system-d-2.dll
File: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools \MSVC\14.15.26726\include\xmemory0
Line: 122

Expression: invalid argument

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

(Press Retry to debug the application)

---------------------------
Abort Retry Skip
------------ ---------------

When I run the project in Release I get this error. In debug everything works fine.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
Wataru, 2021-11-07
@wataru

Looks like some sort of memory bug.
You are doing something wrong somewhere: either you are crawling out of the array boundaries, or you are doing use after free, or some other mistake.
If your code is not large, then bring it (in code tags!).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question