FET Forum

FET Development => Report a Bug => Topic started by: Wizard on April 27, 2016, 08:09:00 AM

Title: Crash: MinGW Runtime Assertion
Post by: Wizard on April 27, 2016, 08:09:00 AM
Hi!
I'm using Fet 5.29.1 with Windows 7 x64 SP1 and each time I delete a "teacher not available constraint" I get a windows that says ---------------------------
MinGW Runtime Assertion
---------------------------
Assertion failed!

Program: C:\Users\temp1\Desktop\fet-5.29.1\fet.exe
File: engine\rules.cpp, Line 3517

Expression: cs.contains(c)


Title: Re: Crash: MinGW Runtime Assertion
Post by: Wizard on April 27, 2016, 09:33:26 AM
Meh! I was editing a file that had been created with fet 5.23 and now that I have deleted all "teacher not available" constraints, every time I add a new one, I can delete it without the "assertion failed" message. So, I guess all is well...  ::)
Title: Re: Crash: MinGW Runtime Assertion
Post by: Liviu Lalescu on April 27, 2016, 10:14:29 AM
Thank you for your bug report!

Unfortunately, I cannot replicate it.

Even if you say that the problem seems solved, I would like to investigate further the problem, since it shouldn't have happened. Could you describe me what you were doing with FET-5.23 and how you were modifying the file, before opening it with FET-5.29.1? Were you editing the file with a text editor? Give all the details you can.
Title: Re: Crash: MinGW Runtime Assertion
Post by: Wizard on April 28, 2016, 07:28:13 AM
I'm really sorry, but I can't replicate it any more too. I wasn't editing the file with a text editor. The last time that this file had been edited was with 5.23.3. I downloaded 5.29.1 and while I was doing some editing, the error window popped up. I'll do some more tests and If ut happend again, I'll let you know!
Title: Re: Crash: MinGW Runtime Assertion
Post by: Liviu Lalescu on April 28, 2016, 09:33:28 AM
I can replicate it :(

Rename the teacher, then remove his constraint (without saving and opening the file on the disk).

I will correct this asap.

Title: Re: Crash: MinGW Runtime Assertion
Post by: Wizard on April 28, 2016, 01:29:04 PM
Oh, you're so right! Among a lot of things, I had renamed some teachers!   :-\