Error with BOINC client as a service

Message boards : Questions and problems : Error with BOINC client as a service
Message board moderation

To post messages, you must log in.

AuthorMessage
AES256

Send message
Joined: 12 Jun 09
Posts: 7
France
Message 25367 - Posted: 12 Jun 2009, 13:37:06 UTC

Hi,

I'm trying to run BOINC with the "protected application execution" option checked. The installation goes fine but the service won't start, even with a fresh install :(

BOINC works fine without this option checked.

If i try to manually start the service i get an "error 1067".

Here some of the content of stderrdae.txt :

Unhandled Exception Detected...

- Unhandled Exception Record -
Reason: Access Violation (0xc0000005) at address 0x00443C30 read attempt to address 0x00000100

Engaging BOINC Windows Runtime Debugger...



********************


BOINC Windows Runtime Debugger Version 6.6.36


Dump Timestamp    : 06/12/09 14:46:39
Loaded Library    : dbghelp.dll
Loaded Library    : symsrv.dll
Loaded Library    : srcsrv.dll
Loaded Library    : version.dll
Debugger Engine   : 4.0.5.0
Symbol Search Path: D:\BOINC;C:\Prog\BOINC;srv*D:\BOINC\symbols*http://msdl.microsoft.com/download/symbols;srv*D:\BOINC\symbols*http://boinc.berkeley.edu/symstore


ModLoad: 00400000 000c3000 C:\Prog\BOINC\boinc.exe (6.6.36.0) (-nosymbols- Symbols Loaded)
    Linked PDB Filename   : c:\Src\BOINCSVN\branches\boinc_core_release_6_6a\win_build\Build\Win32\Release\boinc_exe.pdb
    File Version          : 6.6.36
    Company Name          : Space Sciences Laboratory
    Product Name          : BOINC client
    Product Version       : 6.6.36

[...]

ModLoad: 77bd0000 00008000 C:\WINDOWS\system32\version.dll (5.1.2600.5512) (-exported- Symbols Loaded)
    Linked PDB Filename   : version.pdb
    File Version          : 5.1.2600.5512 (xpsp.080413-2105)
    Company Name          : Microsoft Corporation
    Product Name          : Microsoft® Windows® Operating System
    Product Version       : 5.1.2600.5512



*** Dump of the Process Statistics: ***

- I/O Operations Counters -
Read: 114, Write: 0, Other 236

- I/O Transfers Counters -
Read: 0, Write: 861, Other 0

- Paged Pool Usage -
QuotaPagedPoolUsage: 23528, QuotaPeakPagedPoolUsage: 23672
QuotaNonPagedPoolUsage: 33936, QuotaPeakNonPagedPoolUsage: 34824

- Virtual Memory Usage -
VirtualSize: 23654400, PeakVirtualSize: 23658496

- Pagefile Usage -
PagefileUsage: 2813952, PeakPagefileUsage: 2813952

- Working Set Size -
WorkingSetSize: 5885952, PeakWorkingSetSize: 5885952, PageFaultCount: 1517

*** Dump of thread ID 1760 (state: Ready): ***

- Information -
Status: Base Priority: Unknown, Priority: Unknown, , Kernel Time: 156250.000000, User Time: 625000.000000, Wait Time: 2508.000000

- Unhandled Exception Record -
Reason: Access Violation (0xc0000005) at address 0x00443C30 read attempt to address 0x00000100

- Registers -
eax=00a7fc74 ebx=7c813879 ecx=da52d18c edx=7fa6faff esi=00000000 edi=00000000
eip=00443c30 esp=00a7fb04 ebp=00000000
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010282

- Callstack -
ChildEBP RetAddr  Args to Child
00000000 00000000 00000000 00000000 00000000 00000000 boinc!+0x0 

*** Dump of thread ID 1708 (state: Waiting): ***

- Information -
Status: Wait Reason: Executive, , Kernel Time: 0.000000, User Time: 0.000000, Wait Time: 2406.000000

- Registers -
eax=00157c8c ebx=00000000 ecx=0043df60 edx=00000000 esi=00000000 edi=000000bc
eip=7c91e514 esp=0012fb18 ebp=0012fb80
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000246

- Callstack -
ChildEBP RetAddr  Args to Child
0012fb80 77dc348b 000000bc 0012fc44 00000216 0012fba8 ntdll!KiFastSystemCallRet+0x0 
0012fbac 77dc331f 000000bc 0012fc44 00000216 0012fbe8 ADVAPI32!SetServiceStatus+0x0 
0012fc20 77e07f9c 000000bc 0012fc44 00000216 00000000 ADVAPI32!SetServiceStatus+0x0 
0012fe60 00433d25 0012fe84 0047b094 00000001 0012ffc0 ADVAPI32!StartServiceCtrlDispatcherA+0x0 
0012fe90 78136d6c da402f58 005e3140 005e3120 7c91d80a boinc!+0x0 
00000000 00000000 00000000 00000000 00000000 00000000 MSVCR80!_msize+0x0 


*** Debug Message Dump ****


*** Foreground Window Data ***
    Window Name      : 
    Window Class     : 
    Window Process ID: 0
    Window Thread ID : 0

Exiting...



Thanks.


ID: 25367 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15481
Netherlands
Message 25370 - Posted: 12 Jun 2009, 14:43:22 UTC - in response to Message 25367.  

Did you try a reboot of the computer?
Have you checked in Event Viewer what it gives for further information about the Error 1067?

What if you just manually start BOINC Manager? Will that start the boinc.exe (and thus the service)?
Which Windows is this with?
What's your computer?

The Access Violation can have many plenty of reasons.
ID: 25370 · Report as offensive
AES256

Send message
Joined: 12 Jun 09
Posts: 7
France
Message 25374 - Posted: 12 Jun 2009, 15:26:00 UTC - in response to Message 25370.  

Did you try a reboot of the computer?


Yes.


Have you checked in Event Viewer what it gives for further information about the Error 1067?


Yes, nothing interesting.


What if you just manually start BOINC Manager? Will that start the boinc.exe (and thus the service)?


It doesn't start boinc.exe and it says that BOINC manager is not able to connect to a BOINC client.
If I start boinc.exe manually, it works fine.


Which Windows is this with?


XP Pro 32-bit SP3


What's your computer?


ABIT NF7-M / AMD Barton 2500+ (not overclocked)


The Access Violation can have many plenty of reasons.


I know :( All the drivers (motherboard, graphics) and directx are up to date. Memtest ok. I tried to uninstall and then delete all BOINC files... same result :(
ID: 25374 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15481
Netherlands
Message 25376 - Posted: 12 Jun 2009, 16:00:43 UTC - in response to Message 25374.  

Try an uninstall and reinstall of BOINC. Perhaps that its password got corrupted.
Do NOT make a password for the service yourself. That is possible to do, but takes quite a bit of work.
ID: 25376 · Report as offensive
AES256

Send message
Joined: 12 Jun 09
Posts: 7
France
Message 25378 - Posted: 12 Jun 2009, 16:30:15 UTC

I tried to reinstall the versions 6.6.36, 6.4.7, 6.2.28... same error with the option "service".
ID: 25378 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15481
Netherlands
Message 25379 - Posted: 12 Jun 2009, 16:50:16 UTC - in response to Message 25378.  
Last modified: 12 Jun 2009, 16:54:16 UTC

Then it must be something on your computer. Can you tell me what it says in Event Viewer for that error and perhaps any other errors in the neighborhood? It may not be "interesting" to you, but it may help me. Please check the Application log and System log.

Also, are you running anything else on TCP port 31416, 80 or 443?
ID: 25379 · Report as offensive
AES256

Send message
Joined: 12 Jun 09
Posts: 7
France
Message 25380 - Posted: 12 Jun 2009, 17:23:11 UTC - in response to Message 25379.  
Last modified: 12 Jun 2009, 17:56:07 UTC

Can you tell me what it says in Event Viewer for that error and perhaps any other errors in the neighborhood?


It's in french ;)

Type de l'événement :	Erreur
Source de l'événement :	Service Control Manager
Catégorie de l'événement :	Aucun
ID de l'événement :	7034
Date :		12/06/2009
Heure :		19:16:26
Utilisateur :	N/A
Ordinateur :	blahblah
Description :
Le service BOINC s'est terminé de façon inattendue pour la 4ème fois.

Pour plus d'informations, consultez le centre Aide et support à l'adresse http://go.microsoft.com/fwlink/events.asp.


Type de l'événement :	Informations
Source de l'événement :	BOINC
Catégorie de l'événement :	Aucun
ID de l'événement :	1
Date :		12/06/2009
Heure :		19:16:26
Utilisateur :	N/A
Ordinateur :	blahblah
Description :
La description pour l'ID d'événement ( 1 ) dans la source (BOINC) est introuvable. L'ordinateur local n'a peut-être pas les informations de Registre ou les librairies requises pour afficher les messages émanant d'un ordinateur distant. Vous pourrez peut-être utiliser l'option /AUXSOURCE= pour récupérer cette description. Reportez-vous aux rubriques Aide et support pour plus de détails. Les informations suivantes font partie de l'événement : BOINC service is initializing...
; .


Not any other error.


Also, are you running anything else on TCP port 31416, 80 or 443?


No.
ID: 25380 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15481
Netherlands
Message 25383 - Posted: 12 Jun 2009, 18:33:39 UTC - in response to Message 25380.  

More questions:

. Your Remote Procedure Call service is running?
. Is the Alerter serviced running?
. What entries are used on the BOINC Service, Login tab?
. Which account did you install BOINC with?
ID: 25383 · Report as offensive
Rom Walton
Project developer
Avatar

Send message
Joined: 26 Aug 05
Posts: 164
Message 25385 - Posted: 12 Jun 2009, 18:47:42 UTC

Is your computer connected to the Internet when the BOINC service crashes?

----- Rom
BOINC Development Team, U.C. Berkeley
My Blog
ID: 25385 · Report as offensive
AES256

Send message
Joined: 12 Jun 09
Posts: 7
France
Message 25386 - Posted: 12 Jun 2009, 18:53:04 UTC - in response to Message 25383.  
Last modified: 12 Jun 2009, 18:54:41 UTC


. Your Remote Procedure Call service is running?


RpcSs ? Yes.


. Is the Alerter serviced running?


No.


. What entries are used on the BOINC Service, Login tab?


Account .\boinc_master and passwords.


. Which account did you install BOINC with?


An administrator one.


Is your computer connected to the Internet when the BOINC service crashes?


It crashes even if i'm not connected.
ID: 25386 · Report as offensive
Rom Walton
Project developer
Avatar

Send message
Joined: 26 Aug 05
Posts: 164
Message 25390 - Posted: 12 Jun 2009, 20:46:45 UTC - in response to Message 25386.  
Last modified: 12 Jun 2009, 20:47:08 UTC



Is your computer connected to the Internet when the BOINC service crashes?


It crashes even if i'm not connected.


I understand that, it is just that the stack trace you have posted, is posted without any symbols. That normally happens when the computer is off the Internet. During a crash the software goes out to the BOINC website and Microsoft website to download some files it needs to determine what caused the crash.

It would be helpful if the computer was connected to the Internet at the time of the crash so that it can give us an idea why it is crashing.
----- Rom
BOINC Development Team, U.C. Berkeley
My Blog
ID: 25390 · Report as offensive
AES256

Send message
Joined: 12 Jun 09
Posts: 7
France
Message 25391 - Posted: 12 Jun 2009, 20:49:01 UTC
Last modified: 12 Jun 2009, 20:59:18 UTC

Ok, the computer was connected to the internet ;)

I don't know if it's relevant but i posted only a partial content of stderrdae.txt. I put [...] where there are in fact lots of "ModLoad:".
ID: 25391 · Report as offensive
AES256

Send message
Joined: 12 Jun 09
Posts: 7
France
Message 25395 - Posted: 12 Jun 2009, 22:56:34 UTC
Last modified: 12 Jun 2009, 23:30:24 UTC

I reinstalled BOINC with the data directory on the same partition than the Program directory (previously the data directory was on D: and the program directory on C:) and it works, the BOINC service starts :-O

The problem seems to be that before the installation of BOINC, only one account has access to D: (the account with which i do the install). After the install, the BOINC directories have the correct accesses but it doesn't seem enough. If i give full access to the partition to the boinc accounts then it works.
ID: 25395 · Report as offensive
rvp_lan
Avatar

Send message
Joined: 30 Dec 08
Posts: 24
France
Message 25755 - Posted: 28 Jun 2009, 10:01:32 UTC - in response to Message 25395.  

Exact same problem here with 6.6.36 client on Windows XP Pro SP3.

There is something completely buggy with the new way of slicing who's doing what with different parts of Boinc...

I understand the security matter but, there is something strange with the Boinc's groups creation: I'm not able, even as THE administrator, to manually add simple users to the group Boinc's users. Boinc's users group is already filled with group "everybody" (as asked during the installation). So, it should authorized every user of the system to launch and watch Boinc. But it doesn't. I think remember that, sometimes, including groups in groups under Windows doesn't work that much...

So, as I'm not able to manipulate Boinc's groups to add my simple users (with no administrative rights), I did act on the filesystem authorizations. As it has been described earlier in this thread: once permissions on both Boinc binaries and data folders have been authorized for everybody, everything works correctly.

And, last but not least, even with differents uninstallations and reinstallations, I wasn't able to have a proper Boinc service installed and running. I guess that this comes with the way the groups are handled during and after installation. Actually Boinc starts and works only through the command boincmgr /a /s in the run global registry key.

I really need a simple installation process, and Boinc working as a service, so that it could start without anybody logged in.

Debug please?
Regards
ID: 25755 · Report as offensive

Message boards : Questions and problems : Error with BOINC client as a service

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.