You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 21, 2022. It is now read-only.
I am trying to write and then read a tree with uproot. Writing the tree and reading it again with uproot is no problem but I encounter a segmentation fault, when trying to open Jagged-Array branches of the tree with other root-tools like a TBrowser or the python root_numpy module. I used the awkward-array documentation on how to write the tree.
A minimal Example of how I write and how it fails would be this:
Singularity> python3 scripts/debug_uproot_tree_writing.py
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Version:
uproot: 3.14.1
awkward: 1.0.2
root_numpy: 4.8.0
Creating New root-file with uproot
Trying to load the file with root_numpy
*** Break *** segmentation violation
Generating stack trace...
0x00007f3399a82b7a in TreeChain::GetEntry(long long) at /tmp/pip-install-zh223qts/root-numpy_eee9f47128724527985f005dc6ccceda/root_numpy/src/TreeChain.h:240 from /usr/local/lib/python3.6/dist-packages/root_numpy/_librootnumpy.cpython-36m-x86_64-linux-gnu.so
0x00007f3399a71191 in <unknown> from /usr/local/lib/python3.6/dist-packages/root_numpy/_librootnumpy.cpython-36m-x86_64-linux-gnu.so
0x00007f3399a76f98 in <unknown> from /usr/local/lib/python3.6/dist-packages/root_numpy/_librootnumpy.cpython-36m-x86_64-linux-gnu.so
0x000000000050a4a5 in <unknown> from python3
0x000000000050beb4 in _PyEval_EvalFrameDefault + 0x444 from python3
0x0000000000507be4 in <unknown> from python3
0x0000000000509900 in <unknown> from python3
0x000000000050a2fd in <unknown> from python3
0x000000000050cc96 in _PyEval_EvalFrameDefault + 0x1226 from python3
0x0000000000507be4 in <unknown> from python3
0x000000000050ad03 in PyEval_EvalCode + 0x23 from python3
0x0000000000634e72 in <unknown> from python3
0x0000000000634f27 in PyRun_FileExFlags + 0x97 from python3
0x00000000006386df in PyRun_SimpleFileExFlags + 0x17f from python3
0x0000000000639281 in Py_Main + 0x591 from python3
0x00000000004b0dc0 in main + 0xe0 from python3
0x00007f33c47e2b97 in __libc_start_main + 0xe7 from /lib/x86_64-linux-gnu/libc.so.6
0x00000000005b259a in _start + 0x2a from python3
Hello,
I am trying to write and then read a tree with uproot. Writing the tree and reading it again with uproot is no problem but I encounter a segmentation fault, when trying to open Jagged-Array branches of the tree with other root-tools like a TBrowser or the python root_numpy module. I used the awkward-array documentation on how to write the tree.
A minimal Example of how I write and how it fails would be this:
With the stack-trace:
Further:
using root-version 6.18/04