PR# 19866 Program crashes after recompiling
Problem Report Summary
Submitter: mischa
Category: Compiler
Priority: Medium
Date: 2022/05/17
Class: Bug
Severity: Serious
Number: 19866
Release: 21.11; 19.05 has it too
Confidential: No
Status: Analyzed
Responsible:
Environment: win
Synopsis: Program crashes after recompiling
Description
I have three small classes KLEENEAN_ANCESTOR, KLEENEAN_REF, and KLEENEAN, and a test class TEST_KLEENEAN (a copy is attached). When I compile for the first time, it runs just fine. But when I then make a minor change, such as adding an extra print("%N") statement at the beginning, and recompile, then when I try to run, the program crashes. Sometimes it even takes the whole EiffelStudio with it. When I delete the EIFGEN folder and recompile from scratch, then my program works again, as it did initially, and as expected. But I am forced to use "Project/Compile from scratch" (alternatively, quitting EiffelStudio and deleting the EIFGEN folder also works). So no "melting ice technology" for me with these classes (that is to say, when the ice melts, I sink through it and drown.) This happens consistently with these classes/this project. With kind regards, Mischa
To Reproduce
- Compile & run TEST_KLEENEAN. - Add an extra print statement at the beginning of the make feature - Compile (F7) and run (F5) - Observe it print Tests for KLEENEAN not - and then it crashes
Problem Report Interactions
Dear Jocelyn, Thank you for looking into it right away! The 'Freeze' works very well :) (I wouldn't mind if the 'severity' changed to 'non-critical'... and I feel I'm hardly in a position to make any demands for the next release either, without a paid subscription...) Warm regards, Mischa
Dear Mischa, Thank you for your report. Having a way to reproduce this issue is greatly appreciated. We confirm we have been able to reproduce the issue. For now, an alternative to the " recompile from scratch ", would be to "Freeze" the system. We will inform you when we have updated information.
Attachments for problem report #19866