JANA ERROR>> didn't sleep full 0.5 seconds! =========================================================== There was a crash. This is the entire stack trace of all threads: =========================================================== Thread 6 (Thread 0x2ac958d64700 (LWP 464506)): #0 0x00002ac95424469d in waitpid () from /lib64/libc.so.6 #1 0x00002ac9541d6609 in do_system () from /lib64/libc.so.6 #2 0x00002ac9541d6940 in system () from /lib64/libc.so.6 #3 0x00002ac94e51ad28 in TUnixSystem::StackTrace (this=0x19ab6f0) at /nfs/cern.ch/asis/root_v5.34.32/src/core/unix/src/TUnixSystem.cxx:2419 #4 0x00002ac94e519ba3 in TUnixSystem::DispatchSignals (this=0x19ab6f0, sig=kSigSegmentationViolation) at /nfs/cern.ch/asis/root_v5.34.32/src/core/unix/src/TUnixSystem.cxx:1294 #5 #6 0x00002ac954221a44 in memcpy () from /lib64/libc.so.6 #7 0x0000000000c4059c in HDEVIO::swap_bank (this=0x2ac95c003eb0, outbuff=0x2ac983ae3d7c, inbuff=0x2ac95c012d6c, len=) at libraries/DAQ/HDEVIO.cc:692 #8 0x0000000000c40407 in HDEVIO::swap_bank (this=0x2ac95c003eb0, outbuff=0x2ac983ad9010, inbuff=0x2ac95c008000, len=) at libraries/DAQ/HDEVIO.cc:713 #9 0x0000000000c436fe in HDEVIO::read (this=0x2ac95c003eb0, user_buff=0x2ac983ad9010, user_buff_len=, allow_swap=true) at libraries/DAQ/HDEVIO.cc:336 #10 0x0000000000c18a00 in JEventSource_EVIO::ReadEVIOEvent (this=0x2ac95c000f70, buff= 0x2ac958d62278) at libraries/DAQ/JEventSource_EVIO.cc:1008 #11 0x0000000000c25c75 in JEventSource_EVIO::GetEvent (this=0x2ac95c000f70, event=...) at libraries/DAQ/JEventSource_EVIO.cc:645 #12 0x0000000000d195c3 in jana::JEventSource::GetEvent (this=0x2ac95c000f70, event=...) at src/JANA/JEventSource.cc:54 #13 0x0000000000cf5a82 in jana::JApplication::ReadEvent (this=0x7fff00a07ab0, event=...) at src/JANA/JApplication.cc:742 #14 0x0000000000cfc436 in jana::JApplication::EventBufferThread (this=0x7fff00a07ab0) at src/JANA/JApplication.cc:671 #15 0x0000000000cfc6a9 in LaunchEventBufferThread (arg=0x7fff00a07ab0) at src/JANA/JApplication.cc:584 #16 0x00002ac953f82aa1 in start_thread () from /lib64/libpthread.so.0 #17 0x00002ac95428093d in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x2ac958f65700 (LWP 464511)): #0 0x00002ac954244a7d in nanosleep () from /lib64/libc.so.6 #1 0x00002ac954279c24 in usleep () from /lib64/libc.so.6 #2 0x0000000000cf435a in jana::JApplication::NextEvent (this=0x7fff00a07ab0, event=...) at src/JANA/JApplication.cc:532 #3 0x0000000000d17ffb in jana::JEventLoop::OneEvent (this=0x2ac9600008c0) at src/JANA/JEventLoop.cc:523 #4 0x0000000000d18d74 in jana::JEventLoop::Loop (this=0x2ac9600008c0) at src/JANA/JEventLoop.cc:484 #5 0x0000000000cf680d in LaunchThread (arg=0x7fff00a07ab0) at src/JANA/JApplication.cc:1295 #6 0x00002ac953f82aa1 in start_thread () from /lib64/libpthread.so.0 #7 0x00002ac95428093d in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x2ac959166700 (LWP 464512)): #0 0x00002ac954244a7d in nanosleep () from /lib64/libc.so.6 #1 0x00002ac954279c24 in usleep () from /lib64/libc.so.6 #2 0x0000000000cf435a in jana::JApplication::NextEvent (this=0x7fff00a07ab0, event=...) at src/JANA/JApplication.cc:532 #3 0x0000000000d17ffb in jana::JEventLoop::OneEvent (this=0x2ac9680008c0) at src/JANA/JEventLoop.cc:523 #4 0x0000000000d18d74 in jana::JEventLoop::Loop (this=0x2ac9680008c0) at src/JANA/JEventLoop.cc:484 #5 0x0000000000cf680d in LaunchThread (arg=0x7fff00a07ab0) at src/JANA/JApplication.cc:1295 #6 0x00002ac953f82aa1 in start_thread () from /lib64/libpthread.so.0 #7 0x00002ac95428093d in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x2ac959367700 (LWP 464513)): #0 0x00002ac954244a7d in nanosleep () from /lib64/libc.so.6 #1 0x00002ac954279c24 in usleep () from /lib64/libc.so.6 #2 0x0000000000cf435a in jana::JApplication::NextEvent (this=0x7fff00a07ab0, event=...) at src/JANA/JApplication.cc:532 #3 0x0000000000d17ffb in jana::JEventLoop::OneEvent (this=0x2ac96c0008c0) at src/JANA/JEventLoop.cc:523 #4 0x0000000000d18d74 in jana::JEventLoop::Loop (this=0x2ac96c0008c0) at src/JANA/JEventLoop.cc:484 #5 0x0000000000cf680d in LaunchThread (arg=0x7fff00a07ab0) at src/JANA/JApplication.cc:1295 #6 0x00002ac953f82aa1 in start_thread () from /lib64/libpthread.so.0 #7 0x00002ac95428093d in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x2ac964200700 (LWP 464514)): #0 0x00002ac954244a7d in nanosleep () from /lib64/libc.so.6 #1 0x00002ac954279c24 in usleep () from /lib64/libc.so.6 #2 0x0000000000cf435a in jana::JApplication::NextEvent (this=0x7fff00a07ab0, event=...) at src/JANA/JApplication.cc:532 #3 0x0000000000d17ffb in jana::JEventLoop::OneEvent (this=0x2ac9700008c0) at src/JANA/JEventLoop.cc:523 #4 0x0000000000d18d74 in jana::JEventLoop::Loop (this=0x2ac9700008c0) at src/JANA/JEventLoop.cc:484 #5 0x0000000000cf680d in LaunchThread (arg=0x7fff00a07ab0) at src/JANA/JApplication.cc:1295 #6 0x00002ac953f82aa1 in start_thread () from /lib64/libpthread.so.0 #7 0x00002ac95428093d in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x2ac956ff51c0 (LWP 464502)): #0 0x00002ac953f8a00d in nanosleep () from /lib64/libpthread.so.0 #1 0x0000000000d01d46 in jana::JApplication::Run (this=0x7fff00a07ab0, proc=, Nthreads=) at src/JANA/JApplication.cc:1526 #2 0x000000000058a6f7 in main (narg=6, argv=0x7fff00a08118) at programs/Analysis/hd_root/hd_root.cc:45 =========================================================== The lines below might hint at the cause of the crash. If they do not help you then please submit a bug report at http://root.cern.ch/bugs. Please post the ENTIRE stack trace from above as an attachment in addition to anything else that might help us fixing this issue. =========================================================== #6 0x00002ac954221a44 in memcpy () from /lib64/libc.so.6 #7 0x0000000000c4059c in HDEVIO::swap_bank (this=0x2ac95c003eb0, outbuff=0x2ac983ae3d7c, inbuff=0x2ac95c012d6c, len=) at libraries/DAQ/HDEVIO.cc:692 #8 0x0000000000c40407 in HDEVIO::swap_bank (this=0x2ac95c003eb0, outbuff=0x2ac983ad9010, inbuff=0x2ac95c008000, len=) at libraries/DAQ/HDEVIO.cc:713 #9 0x0000000000c436fe in HDEVIO::read (this=0x2ac95c003eb0, user_buff=0x2ac983ad9010, user_buff_len=, allow_swap=true) at libraries/DAQ/HDEVIO.cc:336 #10 0x0000000000c18a00 in JEventSource_EVIO::ReadEVIOEvent (this=0x2ac95c000f70, buff= 0x2ac958d62278) at libraries/DAQ/JEventSource_EVIO.cc:1008 #11 0x0000000000c25c75 in JEventSource_EVIO::GetEvent (this=0x2ac95c000f70, event=...) at libraries/DAQ/JEventSource_EVIO.cc:645 #12 0x0000000000d195c3 in jana::JEventSource::GetEvent (this=0x2ac95c000f70, event=...) at src/JANA/JEventSource.cc:54 #13 0x0000000000cf5a82 in jana::JApplication::ReadEvent (this=0x7fff00a07ab0, event=...) at src/JANA/JApplication.cc:742 #14 0x0000000000cfc436 in jana::JApplication::EventBufferThread (this=0x7fff00a07ab0) at src/JANA/JApplication.cc:671 #15 0x0000000000cfc6a9 in LaunchEventBufferThread (arg=0x7fff00a07ab0) at src/JANA/JApplication.cc:584 #16 0x00002ac953f82aa1 in start_thread () from /lib64/libpthread.so.0 #17 0x00002ac95428093d in clone () from /lib64/libc.so.6 =========================================================== JANA ERROR>> didn't sleep full 0.5 seconds! ./hd_root_evio.sh: line 46: 464502 Segmentation fault (core dumped) ${command[@]}