# TBasket Problem in root

**URL:** <https://root-forum.cern.ch/t/tbasket-problem-in-root/28313>\
**Category:** ROOT\
**Created:** [March 14, 2018, 12:19pm UTC](https://root-forum.cern.ch/t/tbasket-problem-in-root/28313 "2018-03-14T12:19:31Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pcanal](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pcanal/32/12439_2.png) [@pcanal](https://root-forum.cern.ch/u/pcanal)\
**Post date:** [March 15, 2018, 2:27pm UTC](https://root-forum.cern.ch/t/tbasket-problem-in-root/28313/4 "2018-03-15T14:27:15Z")

</div>

> While the code is running, It is giving this error.

It still could be a corrupted file. To exclude this possibility, just write a small example that ‘just’ loop over the entries and call GetEntry, if that works then the file is fine.

> What is going wrong in this process. I was suspecting, there is some memory issue.

You could run your failing example under valgrind with the option --suppressions=$ROOTSYS/etc/valgrind-root.supp and it might give you more information if the problem is ‘memory corruption’.

Cheers,  
Philippe.

---

_[View the full topic](https://root-forum.cern.ch/t/tbasket-problem-in-root/28313)._
