climateprediction.net home page
C++ error continually occurs
C++ error continually occurs
log in

Advanced search

Questions and Answers : Windows : C++ error continually occurs

Author Message
Profile clif9710
Send message
Joined: 18 Feb 11
Posts: 30
Credit: 6,249,742
RAC: 12,815
Message 46736 - Posted: 12 Aug 2013, 21:10:43 UTC

I routinely get a window opening with C++ in the title bar that tells me the runtime was exited in an uncommon way and the BOINC folder is referenced. I posted a question about this at the BOINC forum and they told me it is a climateprediction problem. Climateprediction is the only project I run. This started happening about 2-3 weeks ago.

This error window is appearing on all my machines running BOINC/Climate Prediction (I run four) and it interrupts whatever else I may be doing, a real annoyance. The window closes shortly after it appears and my CP tasks appear to be proceeding without trouble.

Profile clif9710
Send message
Joined: 18 Feb 11
Posts: 30
Credit: 6,249,742
RAC: 12,815
Message 46738 - Posted: 13 Aug 2013, 6:18:55 UTC - in response to Message 46736.

Here is what the window tells me:

"this application has requested the runtime to terminate in an unusual way. Please contact the application's support team for further information"

Les Bayliss
Volunteer moderator
Send message
Joined: 5 Sep 04
Posts: 6408
Credit: 16,340,531
RAC: 19,391
Message 46739 - Posted: 13 Aug 2013, 8:17:49 UTC

I remember this from a couple of years ago on the beta test site, but I don't remember any details. I also think that I had this on one of my test models.
Unfortunately, that site isn't running at the moment to read through the messages, so the only 2 things that I can think of are:

1) Suspend BOINC, wait until everything stops, and then exit from BOINC.
Then Restart BOINC, Unsuspend it, and see what happens.

2) Click the Show graphics button for each model, and look at the data in the bottom left corner.
Watch to see if the time/date is constantly increasing, and that it doesn't jump back a bit every now and then. i.e. that the model isn't in a loop.
This may take a while, and for several models it's BORING!

Profile clif9710
Send message
Joined: 18 Feb 11
Posts: 30
Credit: 6,249,742
RAC: 12,815
Message 46753 - Posted: 13 Aug 2013, 20:55:34 UTC - in response to Message 46739.

Thanks for your response, Les.

I can suspend the project, but the window keeps right on popping up. The only way I can get it to stop is to uninstall BOINC. With re-install of BOINC the window starts popping up again.

Here's another curious thing - one of the four machines I run has an AMD uP. It doesn't have the problem. The three others, all running Intel uP's, have it.

Les Bayliss
Volunteer moderator
Send message
Joined: 5 Sep 04
Posts: 6408
Credit: 16,340,531
RAC: 19,391
Message 46757 - Posted: 13 Aug 2013, 22:00:47 UTC - in response to Message 46753.

It's an application problem, so uninstalling/reinstalling BOINC won't change anything.

Profile clif9710
Send message
Joined: 18 Feb 11
Posts: 30
Credit: 6,249,742
RAC: 12,815
Message 46769 - Posted: 14 Aug 2013, 23:48:55 UTC - in response to Message 46757.

It's an application problem, so uninstalling/reinstalling BOINC won't change anything.



Actually it does - it stops the problem - the only way I've found to do so, but at the cost of stopping my fastest machine from helping out with CP. :(

So I guess this is another live-with-it thing...alas.

Profile Ron Crouch
Avatar
Send message
Joined: 24 Feb 05
Posts: 45
Credit: 11,292,939
RAC: 0
Message 46771 - Posted: 15 Aug 2013, 4:44:50 UTC - in response to Message 46769.

Les Bayliss
Volunteer moderator
Send message
Joined: 5 Sep 04
Posts: 6408
Credit: 16,340,531
RAC: 19,391
Message 46903 - Posted: 28 Aug 2013, 9:14:42 UTC

OK, the beta site is back up, and I eventually found where we were talking about the "terminate in an unusual way" problem, but nothing came of it.
The testing was for version 6.07 of hadcm3n, the same version that is being run now.

For what it's worth it may be a memory problem. The following is part of one of the posts from October 2011:

My task also failed at the trickle point. Memory use exploded very quickly during post-processing, with all of the physical and virtual memory being used. The following dialog box appearing when XP decided it had had enough:

This is the point where Windows puts the error message onto the screen.


Charlie
Send message
Joined: 16 Oct 13
Posts: 1
Credit: 6,661
RAC: 0
Message 47575 - Posted: 14 Nov 2013, 12:23:41 UTC

So was there any definitive fix for this problem? I've got it too.

Ingleside
Send message
Joined: 5 Aug 04
Posts: 95
Credit: 9,596,251
RAC: 0
Message 47581 - Posted: 14 Nov 2013, 23:13:21 UTC - in response to Message 47575.

So was there any definitive fix for this problem? I've got it too.

In my experience running BOINC as a service will "fix" the problem, atleast as far as a dialogue popping-up and a cpu-core sits idle until you click on the message goes. Models can still crash with C++ error, and it's also possible a crash will just leave model running even after hitting 100%, but atleast you'll not get the popup-message any longer.

If you're also using your GPU for crunching on other projects, service-installation will unfortunately not be an option.

Les Bayliss
Volunteer moderator
Send message
Joined: 5 Sep 04
Posts: 6408
Credit: 16,340,531
RAC: 19,391
Message 47582 - Posted: 15 Nov 2013, 3:16:16 UTC - in response to Message 47575.

So was there any definitive fix for this problem? I've got it too.

No, there was no fix. I think that the testing stopped before anything could be discovered. It wasn't something that happened a lot, and I haven't seen it on my machines since then.

As I said earlier, it may be to do with memory, because that's what was getting used up fast when this happened. Some process in a loop?

Profile clif9710
Send message
Joined: 18 Feb 11
Posts: 30
Credit: 6,249,742
RAC: 12,815
Message 47914 - Posted: 2 Jan 2014, 5:39:43 UTC

I've "fixed" the problem. I discovered that I had suspended two tasks (the project was not suspended). As soon as I resumed the tasks, the annoying pop-up never returned.

I've resolved to check my tasks more frequently. I had inadvertently left these two tasks suspended for so long that their deadlines passed. (slaps forehead)

Questions and Answers : Windows : C++ error continually occurs


Main page · Your account · Message boards


Copyright © 2017 climateprediction.net