*** Error in `python': double free or corruption (!prev): 0x0000000004066f00 ***

Hello everyone:
I wrote a program to process the data and save the results to root file。But it cannot be written to root file 。
When I run fewer events,but when you run a lot of event。
There is a crash:
writing file:state0616.root
*** Error in `python’: double free or corruption (!prev)0x0000000004066f00 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x81299)[0x7ff416c88299]
/lib64/libz.so.1(deflateEnd+0x81)[0x7ff40acae7b1]
So What causes it? How do I solve that !

Thank you!

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


Hello @Kane_Jay,

There is some information missing on your post. The only thing I can deduce looking at the backtrace is that the problem occurs while compressing data.

What are you trying to do? Could you please attach a small program that reproduces that behavior and provide the ROOT version that you are using?

Cheers,
J.