Arx Libertatis Bug Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Bug report #43  -  Crash on exit via Alt+F4
Posted Jun 01, 2011 - updated Feb 17, 2012   Shortlink: http://arx.vg/43
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Fixed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Bug report
  • Status
     
    Fixed
  • Assigned to
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     Daniel Scharrer
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Time spent
    369294 hours
  • Category
    Not determined
  • Resolution
    RESOLVED
  • Priority
    Not determined
  • Reproducability
    Not determined
  • Severity
    Normal
  • Targetted for
    icon_milestones.png Not determined
  • OS
    icon_customdatatype.png Not determined
  • Architecture
    icon_customdatatype.png Not determined
  • Fixed in
    icon_customdatatype.png Not determined
Issue description
Exiting through the main menu "Quit" option doesn't produce a crash.

Crash log is at http://pastebin.com/nhbEXMMQ

This seems to be caused by an unfortunate order of global variable destructor calls.
Steps to reproduce this issue
Nothing entered.

#2
icon_reply.pngReply
Comment posted by
 SebastienLussier
Jun 02, 04:31
Alt+F4 doesn't crash under Windows, so I won't be able to help much on this one.

I had a look at the code, and it seems Alt+F4 is the only way to exit the main().

The "Quit" button will perform some cleanup and then call exit(0)... *sigh*
#3
icon_reply.pngReply
Comment posted by
 Daniel Scharrer
Jun 02, 14:20
Interestingly, I can't reproduce this in mingw builds either, only in winegcc builds.
#4
icon_reply.pngReply
Comment posted by
 Daniel Scharrer
Jun 02, 23:10
Fixed in commit ac3d096f3ca9a573c7072d50351d6105181ea8ee