Difference between revisions of "Exit code -1073741510 (0xc000013a)"

From BOINC Wiki
Jump to: navigation, search
(removing broken link to original faq)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
The message exit code -1073741510 (0xc000013a) means that when you log off of Windows the application gets terminated quite abruptly. Apparently BOINC/the science applications don't like that too much. I understand Vista can shut down in 2 seconds... that's not enough time for BOINC to stop.
+
The message exit code -1073741510 (0xc000013a) means that when you log off of Windows the application gets terminated quite abruptly. Apparently BOINC/the science applications don't like that too much. I understand Vista can shut down in 2 seconds... that's not enough time for BOINC to stop.<br>
 
+
<br>
So before you shut down your computer next time, exit BOINC.
+
So before you shut down your computer next time, exit BOINC.<br>
 
* If you run as a normal user install, it's done through Boinc Manager, File-&gt;Exit.
 
* If you run as a normal user install, it's done through Boinc Manager, File-&gt;Exit.
 
* If you run as a service install, you need to stop the service first. Start-&gt;Run, type net stop boinc and hit enter.  
 
* If you run as a service install, you need to stop the service first. Start-&gt;Run, type net stop boinc and hit enter.  
 
+
<br>
Or:
+
Or:<br>
 
+
<br>
 
Copy the following text and paste it into the Notepad window, called WaitToKill.reg  
 
Copy the following text and paste it into the Notepad window, called WaitToKill.reg  
 
+
<br>
 
  Windows Registry Editor Version 5.00
 
  Windows Registry Editor Version 5.00
 
   
 
   
Line 14: Line 14:
 
  &quot;WaitToKillServiceTimeout&quot;=&quot;20000&quot;
 
  &quot;WaitToKillServiceTimeout&quot;=&quot;20000&quot;
  
 
+
<br>
The 20000 is 20 seconds. Increase/decrease to your liking.  
+
The 20000 is 20 seconds. Increase/decrease to your liking.<br>
 
+
<br>
To add this to the registry double-click the file. The UAC will come up, press continue, press Yes on the next window and OK on the one there-after. You need to reboot to make the changes have effect.
+
To add this to the registry double-click the file. The UAC will come up, press continue, press Yes on the next window and OK on the one there-after. You need to reboot to make the changes have effect.<br>
 
+
<br>
 
+
You can also use the following bit of code in a batchfile (.bat).<br>
You can also use the following bit of code in a batchfile (.bat).  
+
Put it in Notepad, save it as Shutdown.bat (make sure the extension is .bat, not .txt)<br>
Put it in Notepad, save it as Shutdown.bat (make sure the extension is .bat, not .txt)  
+
Do change the path between %PROGRAMFILES% if your BOINC lives elsewhere.<br>
Do change the path between %PROGRAMFILES% if your BOINC lives elsewhere.  
 
 
  cd %PROGRAMFILES%\BOINC
 
  cd %PROGRAMFILES%\BOINC
 
  boinccmd --quit
 
  boinccmd --quit
 
  shutdown -s -t 20
 
  shutdown -s -t 20
 
+
<br>
 
+
Updating BOINC past 5.10 will fix this error as well.<br>
Updating to BOINC 5.10.45 can also fix this error. It has special code in for Vista to count this as a non-error.
+
<br>
 
+
<br>
 
+
{| class="wikitable" style="text-align: center;"
 
+
! Original writer
 +
! Original FAQ
 +
! Date
 +
|-
 
  | Jorden
 
  | Jorden
| 3
 
| 1
 
| 11:11:16
 
| 2008-05-22
 
| 183556
 
| 1
 
 
  | 175
 
  | 175
  | 2008-05-22 11:11:16
+
  | 22-05-2008
  | 2008-05-22 11:11:16
+
  |-
|-
+
|}

Latest revision as of 21:39, 16 August 2017

The message exit code -1073741510 (0xc000013a) means that when you log off of Windows the application gets terminated quite abruptly. Apparently BOINC/the science applications don't like that too much. I understand Vista can shut down in 2 seconds... that's not enough time for BOINC to stop.

So before you shut down your computer next time, exit BOINC.

  • If you run as a normal user install, it's done through Boinc Manager, File->Exit.
  • If you run as a service install, you need to stop the service first. Start->Run, type net stop boinc and hit enter.


Or:

Copy the following text and paste it into the Notepad window, called WaitToKill.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control] 
"WaitToKillServiceTimeout"="20000"


The 20000 is 20 seconds. Increase/decrease to your liking.

To add this to the registry double-click the file. The UAC will come up, press continue, press Yes on the next window and OK on the one there-after. You need to reboot to make the changes have effect.

You can also use the following bit of code in a batchfile (.bat).
Put it in Notepad, save it as Shutdown.bat (make sure the extension is .bat, not .txt)
Do change the path between %PROGRAMFILES% if your BOINC lives elsewhere.

cd %PROGRAMFILES%\BOINC
boinccmd --quit
shutdown -s -t 20


Updating BOINC past 5.10 will fix this error as well.


Original writer Original FAQ Date
Jorden 175 22-05-2008