02-26-2014 02:10 PM
I received the error at the end of Thermal Testing, I was entering a Post ESS Test. I had run the same code the day before, but only 1 Loop, today I performed 6 Loops of the Sequence. The error says that TestStand or the User Interface has stopped working.
This error, or a similar error has periodically appeared while we were developing/testing in Test Stand 2012 SP1. Suggestions?
I am in a release cycle of the code, so need to resolve quickly.
02-27-2014 08:45 AM
Which TestExec are you using? The LabVIEW one? I would try the C++ or C# one. They tend to be less buggy in my opinion. We had an issue where the LabVIEW one wouldn't print the report correctly but the others did just fine. Turns out it was a bad dll somewhere deep in the bowels of the executive. It actually was a different program we were installing that was corrupting the dll. But I have seen other cases where the LabVIEW one would throw a bad variables pane error but the others wouldn't. Can't remember what was causing that issue.
Can you send a screenshot of the error?
Thanks,
02-27-2014 09:15 AM
I am using the LabWindows/CVI User Interface. Error Screen shot attached.
02-27-2014 09:48 AM
Does it exhibit the same behavior in the sequence editor?
This might help us narrow it down to a testexec vs sequence file issue.
Regards,
02-27-2014 10:00 AM
It is intermittent. I have seen the Sequence Editor also Crash, it was not always at this location or time. It happens radomly.
02-27-2014 10:30 AM
Ugh. Those are the worst.
So is it easily reproduceable with Test Exec? Looking through your code I only see a couple things. Is this a cusom test exec? Because I see that you are posting UI Messages to it. If you are using the native Test Execs it shouldn't be an issue. It can handle custom UI Messages no problem.
The other one, and most likely what is causing the issue, is that your custom dlls could be tromping on the Test Exec's or Engine's memory space.
I noticed that you are passing things by reference to those dlls.
One thing you can do to narrow it down is process of elimination. Basically we need to isolate the issue. Remove steps until you find out which one is causing the issue. Then hone in on that. In your comments you said it is more likely when you loop. This leads me to believe that something isn't getting released in an early loop and then a later one expects it to be in a certain state?
Anyhow, these are my thoughts based on what I have.
Regards,
11-28-2017 03:21 PM
Hi All,
We are currently using Teststand 2010 and we have been using it for over 3years now and recently we have been experiencing the same error "Test Executive (Release x86) has stopped working" that usually happens during or in the middle of the test. We are using CVI test Exec and we don't know root cause of this error. Currently we stop using the simple interface and trying to use the editor mode and Hopefully we will get a different result. Any help on this would be greatly appreciated. Please see the attached picture.
Thanks
Will
11-29-2017 12:39 PM
Will,
I noticed this thread is from 3 years ago. I would recommend creating a new post and linking this one to your new post. This will help it get seen by more people.
Some questions I have though are:
The best thing to do though is create a new post to get more traffic and ideas.
Thanks
11-29-2017 01:17 PM
Hi Jacob,
I just created a new post.
Answers to your Some questions: