Strange error p

I have a strange error that appears in time of the program.

"…ERROR leaf:chvtxcov, len=1072477551 and max=1000
ERROR leaf:chvtxcov, len=1072090290 and max=1000
ERROR leaf:chvtxcov, len=1072005105 and max=1000
ERROR leaf:chchi2, len=974188661 and max=1000
ERROR leaf:chvtxcov, len=1071968963 and max=1000
ERROR leaf:chvtxcov, len=1071963525 and max=1000
ERROR leaf:chvtxcov, len=1071894864 and max=1000
ERROR leaf:chchi2, len=1047590139 and max=1000
ERROR leaf:chvtxcov, len=1071728123 and max=1000…"
The program does not stop working, but I worry that because of these errors, I can lose data.

Hi,

Yes this is likely to be real problem. Either the TTree is reading uninitialized memory when Filling or the input root file is corrupted.

Cheers,
Philippe.

Hi,

How to debug this error?
How to determine the cause of her appearance?

Cheers,
Zhenya.

Hi,

If the problem is a uninitialized memory read, using ‘valgrind’ should help figure it out.

Cheers,
Philippe.

Hi,

Philippe, could you send me an example of the program in which the following method (valgrind) is used? It could help me to understand and to get used to it much faster.

Cheers,
Zhenya.

Hi,

Please read the documentation at valgrind.org
To run it on root:valgrind root.exe

Cheers,
Philippe.

Philippe, thanks, I’ve got it allready!
Thanks for your help!

Cheers,
Zhenya.

Hi,

I have worked with valgrid and I’ve found out that my mistake is the internal root mistake. And it is impossible to detect it with the help of valgrid.

Now I don’t know what to do?

Cheers,
Zhenya!

[quote]I’ve found out that my mistake is the internal root mistake.[/quote]What did you find out? What is the internal mistake?

[quote]Now I don’t know what to do? [/quote]One option is to send us a complete running example reproducing the problem.

Cheers,
Philippe.

I am sending the code.

Error occurs when the line: ntD->GetEntry(nEvt);
Dplus_select.cxx (21.4 KB)

[quote]One option is to send us a complete running example reproducing the problem. [/quote]I would also need the root file …

Cheers,
Philippe.

I want to send
you input data file, but it is 400 MB.
How can I do this?
Maybe put in a FTP?

Hi,

Yes you could put it in a ftp server or behind a webser or on an afs disk etc …

Atlernately you could try (if possible) to create a shorter file that reproduce the same problem

Cheers,
Philippe.

Hi,

This is the link which points on data root file: www-zeus.desy.de/~mborodin/korol … 56_01.root

Sorry that I didn’t reply! I had a weekend and I didn’t access Internet.

Cheers,
Zhenya!

Hi,

I can not reproduce your problem, which version of ROOT are you using?

Cheers,
Philippe.

Hi,

Version 5.20/00 24 June 2008

Cheers,
Zhenya.

Hi,

With 5.20 I do also see a problem (however in my case it is a segmentation fault without any error messages).

Since I do not see the problem with 5.24, I am guessing the problem you are seeing has been fixed. Are you able to test with v5.24?

Cheers,
Philippe.

Hi, Philippe

Thank you very much! Root 5.24 doesn’t give any mistake. Everything works now.

Cheers
Zhenya