PyROOT and numpy 1.15

ROOT Version: 6.08.06
Platform: sl6
Compiler: gcc4.9.3

Hi all,

I have updated numpy to 1.15.4 and now see a clash with ROOT. If I do

import numpy
import ROOT

everything works fine. If I do

import ROOT
import numpy

I get a segmentation error:

*** Break *** segmentation violation


There was a crash.

This is the entire stack trace of all threads:


#0 0x00007fd7da00389e in waitpid () from /lib64/

#1 0x00007fd7d9f954e9 in do_system () from /lib64/

#2 0x00007fd7d224b5ba in TUnixSystem::StackTrace() () from /cvmfs/

#3 0x00007fd7d224dabc in TUnixSystem::DispatchSignals(ESignals) () from /cvmfs/

#4 <signal handler called>

#5 0x00007fd7da07f716 in __strcmp_sse42 () from /lib64/

#6 0x00007fd7d18cd2aa in ?? () from /usr/lib64/

#7 0x00007fd7d18cd5f6 in lh_insert () from /usr/lib64/

#8 0x00007fd7d185512b in OBJ_NAME_add () from /usr/lib64/

#9 0x00007fd7baf7e89d in openssl_add_all_ciphers_int () from /home/bjoern/anaconda2/lib/python2.7/lib-dynload/

#10 0x00007fd7baf2d87a in ossl_init_add_all_ciphers_ossl_ () from /home/bjoern/anaconda2/lib/python2.7/lib-dynload/

#11 0x00007fd7da982e03 in pthread_once () from /lib64/

#12 0x00007fd7baf4184a in CRYPTO_THREAD_run_once () from /home/bjoern/anaconda2/lib/python2.7/lib-dynload/

#13 0x00007fd7baf2dedc in OPENSSL_init_crypto () from /home/bjoern/anaconda2/lib/python2.7/lib-dynload/

#14 0x00007fd7baf26de2 in init_hashlib () from /home/bjoern/anaconda2/lib/python2.7/lib-dynload/

#15 0x00007fd7dacf518e in _PyImport_LoadDynamicModule () from /home/bjoern/anaconda2/bin/../lib/

#16 0x00007fd7dacf3323 in import_submodule () from /home/bjoern/anaconda2/bin/../lib/


#176 0x00007fd7dad1016c in Py_Main () from /home/bjoern/anaconda2/bin/../lib/

#177 0x00007fd7d9f75d20 in __libc_start_main () from /lib64/

#178 0x000055f2f147707f in _start () at ../sysdeps/x86_64/elf/start.S:103


Any ideas as to what is causing this?

Hi @mikkel

I cannot reproduce on lxplus, using LCG 94 on SLC6 gcc62 with ROOT 6.14, python2, numpy 1.15.4.

My guess is that this is a problem with your anaconda installation. I see in the stack trace that you are using the anaconda Python. ROOT’s interplay with anaconda is tricky: ROOT needs to be compiled with the same compiler that is shipped with anaconda.


Hi - thanks for getting back - I will try and get rid of my anaconda dependence!


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.