For the last couple of weeks we have been experiencing what appeared to be random AOS crashes on AX 2012 R2 6.2.158.0 (RTM). At Microsoft's request we updated a testing environment to the latest kernel hotfix 6.2.1000.8728, but the crashing continued. We have submitted crash dumps and had previously discovered one process that 100% reproduced the AOS crash on demand, which is fortunate.
After considerable trial and error with various combinations of hotfixes, we have identified KB2976627 MS14-051: Cumulative security update for Internet Explorer: August 12, 2014 as responsible for this issue. Removing this hotfix has resolved the crashing in our testing environment and we will know by tomorrow if it does the same in our production environment.
We believe that instancing the #HTMLDocumentClassName component (found in the #Help macro file) in the server tier causes the crashing during subsequent garbage collection. That component is used to send HTML based alerts from the server tier, and we used it in custom code to import HTML based data into AX tables (also on the server tier).
In our case, the "random" crashed turned out to correlate nearly perfectly with e-mail alerts, for which records in the SysOutgoingEmailTable can provide historical record to be compared with the 1000 event errors in the application event log.