MegaGlest Forum

MegaGlest => Bug reports => Topic started by: tomreyn on 11 December 2011, 18:35:01

Title: 3.6.0: Unclean shutdown when OpenAL device is unavailable
Post by: tomreyn on 11 December 2011, 18:35:01
On Windows 7 (running on VirtualBox 4.1.2 on Ubuntu 11.10), when I have no sound device, after clicking 'Exit' on the main menu MegaGlest will try to shut dowjn, but do so uncleanly, displaying a (useless) megaglest.exe has stopped working message window and these details:
Code: [Select]
Problem signature:
  Problem Event Name:    APPCRASH
  Application Name:    megaglest.exe
  Application Version:    0.0.0.0
  Application Timestamp:    4eda640c
  Fault Module Name:    megaglest.exe
  Fault Module Version:    0.0.0.0
  Fault Module Timestamp:    4eda640c
  Exception Code:    c0000005
  Exception Offset:    003346b8
  OS Version:    6.1.7601.2.1.0.768.3
  Locale ID:    1033
  Additional Information 1:    9ec8
  Additional Information 2:    9ec8c1eb8347277f9a2275cf4cd712eb
  Additional Information 3:    914e
  Additional Information 4:    914e0fff0c78f8154757540b0f96270f

This is reproducible every time. When run with --verbose, the following log is produced:
http://megaglest.pzt.me/6aze@raw

The line ending in ERROR threadLogger == NULL && SystemFlags::SHUT is indeed the last line in the output (probably due to output buffering?), this was not just cut off while copying + pasting.