Skip to main content

Notifications

Microsoft Dynamics AX forum
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

AX2012 R3 frequent AOS crashes

Posted on by Microsoft Employee

Hello,

We have had crashing AOS servers for over 2 years now, our supplier has worked on finding the problem and Microsoft has been involved as well but with no solution thus far so I’m trying it here and hope some of you can bring us closer to a solution.

We have 5 AOS servers, 3 for customer contact users, 1 for finance and one as a dedicated batch server. Only the ones with customer contact users crash, typically once every 2 days per AOS. We have not been able to find a single action which causes the service to crash. What we did find out is that if the underlying host server is very busy (nearly max cpu usage) i.e. when all servers run on one host, the crashing is more frequent but running an AOS on a dedicated physical server did not stop the crashes.

We have a lot of customizations, especially around the salesorder process, we process about 2500 sales orders per day. So no doubt that the crash has something to do with some of our customizations. The only search direction I have is what I’ve got from Microsoft that it is “Some kind of loop”.

The error itself is a Stack overflow: Unhandled exception at 0x00007FF6446097EC (Ax32Serv.exe) in Ax32Serv__PID__2772__Date__06_25_2020__Time_01_49_10PM__878__Second_Chance_Exception_C00000FD.dmp: 0xC00000FD: Stack overflow (parameters: 0x0000000000000001, 0x000000001B705FA0).

Dynamics AX version: 6.3.6000.7213

The crash dumps are very similar and when looking at the details it always crashes after going through 1440 lines of this:

Ax32Serv!binNode::SqlWhereClauseInternal+961 

Ax32Serv!binNode::sqlwhereclause+3e 

I have attached the output of 2 crashdumps.

Is there any more information to gain from these dumps than what I already know? What kind of code/loop is causing this? Is there any way to trace which user caused the crash? I found guides on the internet for getting user info from dumps in AX2009 but none for 2012 unfortunately.

Thanks in advance!

2161.dump2.txt5241.dump1.txt

Helpful resources

Quick Links

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,807 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,135 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans