Clicking "Find Internet Game" occasionally crashes Aleph One Windows. Has happened twice today, several times in the past. Usually happens trying to rejoin the metaserver after a game. Crash report attached.
The cause appears to be a compiler bug. This crash happens when unwinding exceptions thrown when connecting to the metaserver (this can happen when login fails due to bad password, account already logged in, etc.). The same exceptions work fine on all other platforms, so I'm guessing there's something broken with the way mingw does these exceptions.
The only fix may be to rewrite all that code not to use exceptions, but that's undesirable. They make things much cleaner.
FWIW I haven't been able to reproduce this here lately, although I did see it before 0.21.1, and moved some things around in an attempt to fix it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Crash Report
New Crash Report Using Debug Build
Finally got it to crash again, using the debug build. Report attached.
Another Crash Report. Any updates?
This is starting to happen more often. Did you ever find the cause?
The cause appears to be a compiler bug. This crash happens when unwinding exceptions thrown when connecting to the metaserver (this can happen when login fails due to bad password, account already logged in, etc.). The same exceptions work fine on all other platforms, so I'm guessing there's something broken with the way mingw does these exceptions.
The only fix may be to rewrite all that code not to use exceptions, but that's undesirable. They make things much cleaner.
FWIW I haven't been able to reproduce this here lately, although I did see it before 0.21.1, and moved some things around in an attempt to fix it.
We use a much newer compiler now, with better support for exceptions. Please re-open if this happens again with the next release.