UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #5701 Program crashes after mission is finished on windows
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "NOT AN ISSUE".
Issue basics
  • Type of issue
    Bug report
  • Category
    Battlescape
  • Targetted for
    Not determined
  • Status
    Closed
  • Progress
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (1)
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    NOT AN ISSUE
  • Reproducability
    Can't reproduce
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Windows
  • Architecture
    Not determined
Attachments (2)
  • /bugs/files/show/636
    fclose_write_cpp.png uploaded Feb 13, 2019 by unknown user
  • /bugs/files/show/635
    fclose_assertion.png uploaded Feb 13, 2019 by unknown user
Duplicate issues (0)
This issue does not have any duplicates
Description
When you finish a mission on windows system the program crashes before the result screen has been shown.

I could determine line 289 in g_main.cpp to cause the problem: fclose(logstatsfile)
The problem is, that maybe the dll is not allowed to write to file, but I am not sure.

The only way I found to fix the error is to comment line 288 and 289 out:
//if (logstatsfile)
// fclose(logstatsfile);

Anyway the stats.log file is empty - there is never written anything into the file.

My system:
Windows 10 x64
Visual Studio 2017 (compiling for x64)
Steps to reproduce this issue
1. Start campaign
2. Shoot down ufo
3. Start mission
4. Wait until you are able to move your soldiers
5. Abort mission
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif