I wouldn't worry about that, it looks like it is complaining about a statically 
defined variable.

In any case, you should be compiling release builds of components instead of 
debug builds, it becomes really important if you are planning on this being a 
public project.

----- Rom

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Jai
Sent: Wednesday, April 14, 2010 1:28 PM
To: BOINC Projects; BOINC Developers Mailing List
Subject: [boinc_projects] validator development and wrapper memory-leaking

Hi all,
I just deployed a application on BOINC, it's about protein structure 
prediction, because there are a lot of template files which input protein 
refers to and a lot of output files, I applied the compress function boinc_zip 
(Thank Carl Christensen for his information) and slightly modified the wrapper 
to meet the damand of the application very well. I ran into three problems:
Firstly, when I used the utility sample_bitwise_validator as validator, server 
could get a lot of successful results but the validator always gave 
inconclusive information until successful results exceeded the set value (the 
quorum was 2, target_nresults was 3, max_error_results was 2, max_total_results 
was 20, max_success_results was 10). Was it  brought about by compressing of 
output files? 
Secondly, to slove the above problem, I just want to use the validator 
developed by myself. My idea is directly to modify sample_bitwise_validator.cpp 
and then recompile boinc. Is there another more simple methond to do that? If 
there is, hopefully you guys can tell me the details, like which file and in 
the file where should be modified. 
lastly, it is about the wrapper, it seems that memory-leaking problem arises, I 
promise that it wasn't brought about by my modifcation, because I ran into that 
problem when I used the  primary wrapper and woker program provided by BOINC, 
the content of stderr.txt was like this:
wrapper: starting
00:01:08 (7216): wrapper: running 
../../projects/casathome.ihep.ac.cn/wscthread_5.10_windows_intelx86.exe (20)
worker starting
00:01:31 (7216): called boinc_finish
**********
**********

Memory Leaks Detected!!!

Memory Statistics:
0 bytes in 0 Free Blocks.
344 bytes in 3 Normal Blocks.
592 bytes in 3 CRT Blocks.
0 bytes in 0 Ignore Blocks.
0 bytes in 0 Client Blocks.
Largest number used: 5971 bytes.
Total allocations: 32372 bytes.

Dumping objects ->
{124} normal block at 0x003E51B8, 336 bytes long.
 Data: <        worker  > 00 00 00 00 CD CD CD CD 77 6F 72 6B 65 72 00 CD 
e:\ѧϰ\cas\boinc\api\boinc_api.cpp(196) : {120} normal block at 0x003E5188, 4 
bytes long.
 Data: <  ? > 00 00 3F 00 
{114} normal block at 0x003E5110, 4 bytes long.
 Data: < U> > 90 55 3E 00 
Object dump complete.
  Thank you for your reading!    
Regards,
    Jai
_______________________________________________
boinc_projects mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_projects
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to