Bug #1856
InputCppRootData overflows the ref counter
100%
Description
The module InputCppRootData can cause an error due to an overflow in the maximum number of reference counts if it is used to import a data file of significant size. Output:
TRANSFORM/MERGE/OUTPUT: Processed 97 events so far, 1 events in buffer. terminate called after throwing an instance of 'MAUS::Exception' what(): Too many data references at Data::IncreaseRefCount Aborted
This arises from the IncreaseRefCount method of the Data datastructure class. Looks like a buffer needs flushing somewhere.
Files
Related issues
Updated by Rogers, Chris over 7 years ago
I could not reproduce the bug. I attempted to load 1000 spills successfully. Download attached tarball, untar then do
bash run.bash
Any clues?
Updated by Rogers, Chris over 7 years ago
I am waiting for a response - I can't reproduce the bug, so can't fix it! A little help please?
Updated by Greis, Jan over 7 years ago
- File TSRefBugScripts.tar.gz TSRefBugScripts.tar.gz added
Hi Chris, sorry, somehow didn't receive an email notification from post #1.
I've attached a set of scripts that reproduce the error. Adjust the paths, then run dstest.sh
Updated by Rogers, Chris over 7 years ago
This gives me the TRefArray bug #1858 but not this one...
Updated by Greis, Jan over 7 years ago
Oh, I do apologize, I mixed up issues there. Yes, this is #1858, I personally haven't seen this one.
Updated by Rogers, Chris over 7 years ago
Great. I will reject this one unless someone can demonstrate the problem...
Updated by Dobbs, Adam over 7 years ago
I found this issue while investigating #1858, hang on let me see if I can whip something up to reproduce...
Updated by Dobbs, Adam over 7 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
OK, I have not been able to reproduce yet (spiteful things computers). I will close, and resurrect if need be... thanks Chris.