Closed EdGarrity closed 5 years ago
Running the code in debug mode revealed that the crash was caused by run_individual_program() being called with a very large value for the individual_index parameter (4294967295). Tracing this back through the call stack showed that the large value was produced by a type cast conversion of -1 from int to unsigned int in eval_one_day_of_test_case(). The value of -1 was put in the list of individual indexes provided by generate_status_report() to mark test cases which do not have any solutions.
Changing the collection of individual indexes from unsigned int to int should solve this problem. Also, eval_one_day_of_test_case() needs to be modified to ignore index values of -1.
While testing a fix for issue #38, the code crashed without printing an error message to the output. See attached files: Unexplained crash.txt Report.zip
This could be related to issue #37
This error was encountered while running the released version. Will try to reproduce while running the debug version.