Hello,
I tried to play with the new features of ROOT 5.30, in particular the asynchronous prefetch.
Basically I just adedd
myTree->SetParallelUnzip(true) to my analysis code.
With this activated, it ends up crashing when accessing the first entry of the TChain.
I must confess that my code is quite complicated (TChain, with a friend that is filled when the main tree is read, and some TTreeFormulas in the middle), and that I could not find a minimal example that triggers the crash.
But I put the backtrace here in case you have some ideas about where the problem comes from.
Cheers,
Nicolas
===========================================================
There was a crash.
This is the entire stack trace of all threads:
Thread 3 (Thread 0x415d5940 (LWP 1133)):
#0 0x0000003b9280ae00 in pthread_cond_timedwait
GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
#1 0x00002b10e32d0be1 in TPosixCondition::TimedWait ()
from /home/manip/mnt/atlas/software/root_v5.30.00//lib/libThread.so
#2 0x00002b10e32cc057 in TCondition::TimedWait ()
from /home/manip/mnt/atlas/software/root_v5.30.00//lib/libThread.so
#3 0x00002b10e32cc192 in TCondition::TimedWaitRelative ()
from /home/manip/mnt/atlas/software/root_v5.30.00//lib/libThread.so
#4 0x00002b10e18684d3 in TTreeCacheUnzip::UnzipLoop ()
from /home/manip/mnt/atlas/software/root_v5.30.00//lib/libTree.so
#5 0x00002b10e32ce1b6 in TThread::Function ()
from /home/manip/mnt/atlas/software/root_v5.30.00//lib/libThread.so
#6 0x0000003b928064a7 in start_thread () from /lib64/libpthread.so.0
#7 0x0000003b91cd3c2d in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x4267a940 (LWP 1134)):
#0 0x0000003b9280ae00 in pthread_cond_timedwait
GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
#1 0x00002b10e32d0be1 in TPosixCondition::TimedWait ()
from /home/manip/mnt/atlas/software/root_v5.30.00//lib/libThread.so
#2 0x00002b10e32cc057 in TCondition::TimedWait ()
from /home/manip/mnt/atlas/software/root_v5.30.00//lib/libThread.so
#3 0x00002b10e32cc192 in TCondition::TimedWaitRelative ()
from /home/manip/mnt/atlas/software/root_v5.30.00//lib/libThread.so
#4 0x00002b10e18684d3 in TTreeCacheUnzip::UnzipLoop ()
from /home/manip/mnt/atlas/software/root_v5.30.00//lib/libTree.so
#5 0x00002b10e32ce1b6 in TThread::Function ()
from /home/manip/mnt/atlas/software/root_v5.30.00//lib/libThread.so
#6 0x0000003b928064a7 in start_thread () from /lib64/libpthread.so.0
#7 0x0000003b91cd3c2d in clone () from /lib64/libc.so.6