ROOT6 segfault stack trace

So I’ve implemented some sloppy (must be) ROOT 6 codes and works FINE in OSX Maverick, but always crash in ubuntu 14.04. The code compile fines without any problem. Only notice that memory usage is up to about 20% while running and stay flat, then crash.

Without posting the entire code with sample input files, I thought experienced user might see some problem through the stack trace ?

===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0  0x00007fcfbf4f3b4c in __libc_waitpid (pid=12133, stat_loc=stat_loc
entry=0x7ffc1acca840, options=options
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31
#1  0x00007fcfbf4792e2 in do_system (line=<optimised out>) at ../sysdeps/posix/system.c:148
#2  0x00007fcfc03c6533 in TUnixSystem::StackTrace() () from /home/mr_awesome/.root_v6.00.01/lib/libCore.so
#3  0x00007fcfc03c80ec in TUnixSystem::DispatchSignals(ESignals) () from /home/mr_awesome/.root_v6.00.01/lib/libCore.so
#4  <signal handler called>
#5  0x00007fcfc08e2fd8 in ?? ()
#6  0x00007ffc1acd08b0 in ?? ()
#7  0x00007fcfc08e2407 in ?? ()
#8  0x00007ffc1accfbf0 in ?? ()
#9  0x00007ffc1acccf10 in ?? ()
#10 0x00000000039336b8 in ?? ()
#11 0x00007fcfbcbbef07 in llvm::IRBuilder<false, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter<false> >::CreateInBoundsGEP(llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&) () from /home/mr_awesome/.root_v6.00.01/lib/libCling.so
#12 0x000cda4700000001 in ?? ()
#13 0x4028851eb851eb87 in ?? ()
#14 0xc078875c28f5c28f in ?? ()
#15 0x402d9f42ed8b7ff4 in ?? ()
#16 0x4018ce512340d708 in ?? ()
#17 0x0000000000000000 in ?? ()
===========================================================


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.
===========================================================
#5  0x00007fcfc08e2fd8 in ?? ()
#6  0x00007ffc1acd08b0 in ?? ()
#7  0x00007fcfc08e2407 in ?? ()
#8  0x00007ffc1accfbf0 in ?? ()
#9  0x00007ffc1acccf10 in ?? ()
#10 0x00000000039336b8 in ?? ()
#11 0x00007fcfbcbbef07 in llvm::IRBuilder<false, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter<false> >::CreateInBoundsGEP(llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&) () from /home/mr_awesome/.root_v6.00.01/lib/libCling.so
#12 0x000cda4700000001 in ?? ()
#13 0x4028851eb851eb87 in ?? ()
#14 0xc078875c28f5c28f in ?? ()
#15 0x402d9f42ed8b7ff4 in ?? ()
#16 0x4018ce512340d708 in ?? ()
#17 0x0000000000000000 in ?? ()
===========================================================

Upon further investigation, it seems like its a speed issue. If I print out more diagnostics things during the operation loop then the script crashes less frequent, presumably there is more pause time between successive calculations and hence no crashes. Could it be the case where ROOT cannot write / fill Tree at too fast a speed ?

Hi,

No, TTrees can be written without a speed limit. Is there really no error message before the stack trace?

Axel.