Handling 0xc0000142 on Vista

Message boards : BOINC client : Handling 0xc0000142 on Vista
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Ananas

Send message
Joined: 27 Jun 06
Posts: 305
Germany
Message 15378 - Posted: 13 Feb 2008, 9:22:35 UTC
Last modified: 13 Feb 2008, 9:32:11 UTC

Lately I see tons of 0xc0000142 errors on Vista boxes across all projects.

I think it's about time to come up with a solution for that, many are afraid to edit the registry in order to fix that bug on Vista side, so I have a proposal :

Treat especially this error just like "process exited with zero but no finished file" (or so), i.e. just give it another try.

The easiest way to do that would be, check for 0xc0000142, issue a message but then replace it with 0, so it runs into the same routine as the one with "no finished file".


It would need to be tested of course, wether it can restart on the last checkpoint after such a problem or not - but I think it is worth it, as too many results go down the drain caused by this stupid Vista bug.


p.s.: Just to make it clear, it is definitely not a bug in BOINC, lots of other programs have their trouble with this Vista bug as well.
ID: 15378 · Report as offensive
Profile Ananas

Send message
Joined: 27 Jun 06
Posts: 305
Germany
Message 15380 - Posted: 13 Feb 2008, 9:49:28 UTC
Last modified: 13 Feb 2008, 9:55:02 UTC

I don't use Vista (not even XP, if I can avoid it).

I have seen those errors mostly on 5.10.28 and 5.10.30, but now I checked the release notes (should have done that before posting, sorry) and Rom seems to have fixed it lately :

Rom 5 Nov 2007
- CC: Treat the return code 0xC0000142 as though it is a temporary
error. 0xC0000142 means STATUS_DLL_INIT_FAILED which can happen
when an application attempts to create a new process while the OS
is shutting down, and when the desktop heap is fully utilized.

This will keep an app from erroring out during Vista's shutdown
sequence. Only a reboot can fix the desktop heap.


So I guess there is hope :-)
ID: 15380 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 15382 - Posted: 13 Feb 2008, 12:03:42 UTC

5.10.30 had the code already on board that would restart the tasks on this error. All previous versions of BOINC will abort the tasks.

And no need to edit the registry, it's not the Vista fast shutdown that causes this. On the contrary even as it can happen on Windows 2000 and XP as well.
You get the error when you return after shutting down/rebooting the PC while it was busy starting a new task. Or in Windows terms: "an application attempts to create a new process while the OS is shutting down, and when the desktop heap is fully utilized."
ID: 15382 · Report as offensive
Profile Ananas

Send message
Joined: 27 Jun 06
Posts: 305
Germany
Message 15396 - Posted: 13 Feb 2008, 20:48:32 UTC
Last modified: 13 Feb 2008, 20:52:31 UTC

http://qah.uni-muenster.de/forum_thread.php?id=663 has been one of the threads where it has been reported for 5.10.30 but it seems that upgrading to 5.10.35 fixed the problem in this case, the box returned only successful results since then.

(um ... sorry ... what does "going bonkers" mean?)

I'm usually running Win2k but that doesn't mean that I do not notice the problems that others have :-)

Thinking about quad core - then I will be forced to say "bye" to Win2k :ยด(
ID: 15396 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 15403 - Posted: 13 Feb 2008, 22:26:59 UTC - in response to Message 15396.  

(um ... sorry ... what does "going bonkers" mean?)

Going crazy. Out of your mind. Losing your marbles.
ID: 15403 · Report as offensive
mo.v
Avatar

Send message
Joined: 13 Aug 06
Posts: 778
United Kingdom
Message 15405 - Posted: 13 Feb 2008, 22:30:42 UTC

The acronym 'BOINC' has in the past very unkindly been compared with 'bonkers'.
ID: 15405 · Report as offensive
Profile Ananas

Send message
Joined: 27 Jun 06
Posts: 305
Germany
Message 15417 - Posted: 14 Feb 2008, 8:08:21 UTC
Last modified: 14 Feb 2008, 8:08:57 UTC

Bionic bonkers?

Would sure be a funny name for a team *g
ID: 15417 · Report as offensive

Message boards : BOINC client : Handling 0xc0000142 on Vista

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.