Skip to content

Instantly share code, notes, and snippets.

Created November 28, 2012 21:58
Show Gist options
  • Save anonymous/4164952 to your computer and use it in GitHub Desktop.
Save anonymous/4164952 to your computer and use it in GitHub Desktop.
rootpy segfault in auto dictionary load with ROOT 5.30.05
> make
rm -rf build
find rootpy -name "*.pyc" | xargs rm -f
find rootpy -name "*.so" | xargs rm -f
rm -f tags
rm -f AutoDict_*
/cluster/data10/software/python-2.7.2-64/bin/python setup.py build_ext -i
_
_ __ ___ ___ | |_ _ __ _ _
| '__/ _ \ / _ \| __| '_ \| | | |
| | | (_) | (_) | |_| |_) | |_| |
|_| \___/ \___/ \__| .__/ \__, |
|_| |___/
dev
running build_ext
building 'rootpy.root2array.root_numpy._librootnumpy' extension
creating build
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/rootpy
creating build/temp.linux-x86_64-2.7/rootpy/root2array
creating build/temp.linux-x86_64-2.7/rootpy/root2array/root_numpy
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/cluster/data10/software/python-2.7.2-64/lib/python2.7/site-packages/numpy-1.6.1-py2.7-linux-x86_64.egg/numpy/core/include -I/cluster/data10/software/root-5.30.05-64/include -Irootpy/root2array/root_numpy/ -I/cluster/data10/software/python-2.7.2-64/include/python2.7 -c rootpy/root2array/root_numpy/_librootnumpy.cxx -o build/temp.linux-x86_64-2.7/rootpy/root2array/root_numpy/_librootnumpy.o -pthread -m64 -I/cluster/data10/software/root-5.30.05-64/include
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/rootpy
creating build/lib.linux-x86_64-2.7/rootpy/root2array
creating build/lib.linux-x86_64-2.7/rootpy/root2array/root_numpy
g++ -pthread -shared build/temp.linux-x86_64-2.7/rootpy/root2array/root_numpy/_librootnumpy.o -L/cluster/data03/endw/analysis/analytau/grid/python/lib -lpython2.7 -o build/lib.linux-x86_64-2.7/rootpy/root2array/root_numpy/_librootnumpy.so -L/cluster/data10/software/root-5.30.05-64/lib -lGpad -lHist -lGraf -lGraf3d -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lRIO -lNet -lThread -lCore -lCint -pthread -lm -ldl -rdynamic -m64 -L/cluster/data10/software/python-2.7.2-64/lib
building 'rootpy.plotting._libnumpyhist' extension
creating build/temp.linux-x86_64-2.7/rootpy/plotting
creating build/temp.linux-x86_64-2.7/rootpy/plotting/src
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/cluster/data10/software/python-2.7.2-64/lib/python2.7/site-packages/numpy-1.6.1-py2.7-linux-x86_64.egg/numpy/core/include -I/cluster/data10/software/root-5.30.05-64/include -Irootpy/plotting/src -I/cluster/data10/software/python-2.7.2-64/include/python2.7 -c rootpy/plotting/src/_libnumpyhist.cxx -o build/temp.linux-x86_64-2.7/rootpy/plotting/src/_libnumpyhist.o -pthread -m64 -I/cluster/data10/software/root-5.30.05-64/include
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
creating build/lib.linux-x86_64-2.7/rootpy/plotting
g++ -pthread -shared build/temp.linux-x86_64-2.7/rootpy/plotting/src/_libnumpyhist.o -L/cluster/data03/endw/analysis/analytau/grid/python/lib -lpython2.7 -o build/lib.linux-x86_64-2.7/rootpy/plotting/_libnumpyhist.so -L/cluster/data10/software/root-5.30.05-64/lib -lGpad -lHist -lGraf -lGraf3d -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lRIO -lNet -lThread -lCore -lCint -pthread -lm -ldl -rdynamic -m64 -L/cluster/data10/software/python-2.7.2-64/lib
building 'rootpy.interactive._pydispatcher_processed_event' extension
creating build/temp.linux-x86_64-2.7/rootpy/interactive
creating build/temp.linux-x86_64-2.7/rootpy/interactive/src
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/cluster/data10/software/root-5.30.05-64/include -I/cluster/data10/software/python-2.7.2-64/include/python2.7 -c rootpy/interactive/src/_pydispatcher.cxx -o build/temp.linux-x86_64-2.7/rootpy/interactive/src/_pydispatcher.o -pthread -m64 -I/cluster/data10/software/root-5.30.05-64/include
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
creating build/lib.linux-x86_64-2.7/rootpy/interactive
g++ -pthread -shared build/temp.linux-x86_64-2.7/rootpy/interactive/src/_pydispatcher.o -L/cluster/data03/endw/analysis/analytau/grid/python/lib -lpython2.7 -o build/lib.linux-x86_64-2.7/rootpy/interactive/_pydispatcher_processed_event.so -L/cluster/data10/software/root-5.30.05-64/lib -lGpad -lHist -lGraf -lGraf3d -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lRIO -lNet -lThread -lCore -lCint -pthread -lm -ldl -rdynamic -m64 -L/cluster/data10/software/python-2.7.2-64/lib
copying build/lib.linux-x86_64-2.7/rootpy/root2array/root_numpy/_librootnumpy.so -> rootpy/root2array/root_numpy
copying build/lib.linux-x86_64-2.7/rootpy/plotting/_libnumpyhist.so -> rootpy/plotting
copying build/lib.linux-x86_64-2.7/rootpy/interactive/_pydispatcher_processed_event.so -> rootpy/interactive
nosetests -a '!slow' -s rootpy
........................................Note: Link requested for already precompiled class vector<float,allocator<float> > (ignore this message) :0:
Note: Link requested for already precompiled class vector<float,allocator<float> >::iterator (ignore this message) :0:
...Note: (file "(tmpfile)", line 2) File "vector" already loaded
make: *** [test-code] Segmentation fault
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment