There are reports of crashes related to the allegro audio addon. We are currently not able to reproduce it, but it happens to different people in similar situations (lot of sounds probably). Some of the people can reproduce the error quite easily.
It has been only reported by people with windows 8 and windows 10 so far, so it might by system related.
Stack trace:
The bug thread on our forums: http://www.factorioforums.com/forum/viewtopic.php?t=13832
I would be thankful for any hint.
Could you paste line 185 from kcm_mixer_helpers.inc from your Allegro copy? Our sources diverged a little bit.
Hello, we finally managed to find out what is the cause of these issues.
The problem is, that we called al_set_sample_instance_position with negative value. It was caused by error in our call, but it went undetected and it just caused these weird problems later on. And on top of that, these problems only crashed the program in specific systems.
I believe that some check that the value is reasonable might help future developers
There's an assert there for that, looks like. Perhaps it might be worthwhile for your game to compile allegro with the asserts in place and register an assert handler (via al_register_assert_handler) where you can log something in your internal logs.