Crash in v3.0.1: Error in <TBufferFile::CheckCount>: buffer offset too large (larger than 1073741822)

Dear all,
I am using v3.0.1 to simulate an irradiated pixel detector.
The command I run is the following:

allpix -c standalone_main.conf -l log.log -j 24

Here are all the needed files.

standalone_main.conf (1.9 KB)
planar_detector.conf (116 Bytes)
weighting_potential.init

Here is the regular log file:
log.log

and this is the log for errors (truncated):
log.err

As said in the title the simulation crashes like this:

|13:51:57.248|  (STATUS) Buffered 179, finished 820 of 1000 eventsError in <TBufferFile::CheckCount>: buffer offset too large (larger than 1073741822)

 *** Break *** segmentation violation
free(): invalid size
malloc(): unaligned tcache chunk detected
malloc(): unaligned tcache chunk detected
malloc(): unaligned tcache chunk detected
malloc(): unaligned tcache chunk detected
malloc(): unaligned tcache chunk detected
malloc(): unaligned tcache chunk detected
malloc(): unaligned tcache chunk detected
malloc(): unaligned tcache chunk detected
malloc(): unaligned tcache chunk detected
malloc(): unaligned tcache chunk detected
[...]

Any help will be greatly appreciated.

Many thanks in advance and best regards,
Marco Bomben

Hi @mbomben

as far as I can see you might really have run into a limitation of your file system. How large is you trees_250.root output file?

Looking at your config, I would recommend not storing DepositedCharge and PropagatedCharge objects unless really needed. Even just one of them might be enough if you really need per-charge information in your analysis.

Please note that the MCParticle object contains the information on the total deposited charge, so for this information it is not necessary to store all of them individually and sum them.

Best,
Simon

Hello @simonspa ,
avoiding storing DepositedCharge and PropagatedCharge indeed solved the problem.

Thanks a lot,
Marco

Hi @mbomben

the next version will have a warning about this.

Best,
Simon

Thanks a lot @simonspa !

Best regards,
Marco