[Rivet] Segfault 11 for a fresh install of rivet 2.5.4

Kunnawalkam Raghav kunnawalkamraghav at gmail.com
Thu Jan 18 18:26:57 GMT 2018


Ahh thanks Andy. Ok here is the full output from the backtrace

This is from the grid here at WSU since on my laptop im doing a fresh install of herwig (from our other thread) and rivet. 

[gp1574 at commodore ANALYSIS]$ gdb --args $(which python) $(which rivet) --pwd -a LUND_JETIMAGE Job_jewel_PPYQ_pp_1.hepmc -H test.yoda
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-47.el6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python...(no debugging symbols found)...done.
Missing separate debuginfos, use: debuginfo-install python-2.6.6-66.el6_8.x86_64
(gdb) run
Starting program: /usr/bin/python /nfs/rhi/STAR/software/rivet/local/bin/rivet --pwd -a LUND_JETIMAGE Job_jewel_PPYQ_pp_1.hepmc -H test.yoda
warning: the debug information found in "/usr/lib/debug//lib64/ld-2.12.so.debug" does not match "/lib64/ld-linux-x86-64.so.2" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug/lib64/ld-2.12.so.debug" does not match "/lib64/ld-linux-x86-64.so.2" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug//lib64/libpthread-2.12.so.debug" does not match "/lib64/libpthread.so.0" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug/lib64/libpthread-2.12.so.debug" does not match "/lib64/libpthread.so.0" (CRC mismatch).

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
warning: the debug information found in "/usr/lib/debug//lib64/libdl-2.12.so.debug" does not match "/lib64/libdl.so.2" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug/lib64/libdl-2.12.so.debug" does not match "/lib64/libdl.so.2" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug//lib64/libutil-2.12.so.debug" does not match "/lib64/libutil.so.1" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug/lib64/libutil-2.12.so.debug" does not match "/lib64/libutil.so.1" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug//lib64/libm-2.12.so.debug" does not match "/lib64/libm.so.6" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug/lib64/libm-2.12.so.debug" does not match "/lib64/libm.so.6" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug//lib64/libc-2.12.so.debug" does not match "/lib64/libc.so.6" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug/lib64/libc-2.12.so.debug" does not match "/lib64/libc.so.6" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug//lib64/libresolv-2.12.so.debug" does not match "/lib64/libresolv.so.2" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug/lib64/libresolv-2.12.so.debug" does not match "/lib64/libresolv.so.2" (CRC mismatch).


Program received signal SIGSEGV, Segmentation fault.
0x00002aaab2117250 in Rivet::AnalysisHandler::setIgnoreBeams(bool) () from /nfs/rhi/STAR/software/rivet/local/lib/libRivet.so
(gdb) backtrace
#0  0x00002aaab2117250 in Rivet::AnalysisHandler::setIgnoreBeams(bool) () from /nfs/rhi/STAR/software/rivet/local/lib/libRivet.so
#1  0x00002aaab7bad2bc in Rivet::AnalysisBuilder<Rivet::LUND_JETIMAGE>::mkAnalysis() const () from /wsu/home/gp/gp15/gp1574/WORK/MC/ANALYSIS/RivetLUND_JETIMAGE.so
#2  0x00002aaab2108f4e in Rivet::AnalysisLoader::_registerBuilder(Rivet::AnalysisBuilderBase const*) () from /nfs/rhi/STAR/software/rivet/local/lib/libRivet.so
#3  0x00002aaab7ba9e18 in _GLOBAL__sub_I_LUND_JETIMAGE.cc () from /wsu/home/gp/gp15/gp1574/WORK/MC/ANALYSIS/RivetLUND_JETIMAGE.so
#4  0x00000036a0c0e9cf in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
#5  0x00000036a0c131f5 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#6  0x00000036a0c0e5e6 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#7  0x00000036a0c1299a in _dl_open () from /lib64/ld-linux-x86-64.so.2
#8  0x00000036a1800f66 in dlopen_doit () from /lib64/libdl.so.2
#9  0x00000036a0c0e5e6 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#10 0x00000036a180129c in _dlerror_run () from /lib64/libdl.so.2
#11 0x00000036a1800ee1 in dlopen@@GLIBC_2.2.5 () from /lib64/libdl.so.2
#12 0x00002aaab21087ed in Rivet::AnalysisLoader::_loadAnalysisPlugins() () from /nfs/rhi/STAR/software/rivet/local/lib/libRivet.so
#13 0x00002aaab2108b0c in Rivet::AnalysisLoader::analysisNames() () from /nfs/rhi/STAR/software/rivet/local/lib/libRivet.so
#14 0x00002aaab12b2641 in __pyx_pf_5rivet_4core_14AnalysisLoader_analysisNames () at rivet/core.cpp:3663
#15 __pyx_pw_5rivet_4core_14AnalysisLoader_1analysisNames (__pyx_self=<optimized out>, __pyx_args=<optimized out>, __pyx_kwds=<optimized out>) at rivet/core.cpp:3642
#16 0x00000036b6ad59d4 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.6.so.1.0
#17 0x00000036b6ad7647 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.6.so.1.0
#18 0x00000036b6ad7722 in PyEval_EvalCode () from /usr/lib64/libpython2.6.so.1.0
#19 0x00000036b6af1b9c in ?? () from /usr/lib64/libpython2.6.so.1.0
#20 0x00000036b6af1c70 in PyRun_FileExFlags () from /usr/lib64/libpython2.6.so.1.0
#21 0x00000036b6af315c in PyRun_SimpleFileExFlags () from /usr/lib64/libpython2.6.so.1.0
#22 0x00000036b6aff892 in Py_Main () from /usr/lib64/libpython2.6.so.1.0
#23 0x00000036a101ed1d in __libc_start_main () from /lib64/libc.so.6
#24 0x0000000000400649 in _start ()
(gdb) 


Cheers
Raghav 


**************************************
Raghav Kunnawalkam Elayavalli
email: raghavke at wayne.edu 

Post Doctoral Fellow 
Wayne State University
666 W Hancock St. RM 314 
Detroit MI. 48201
**************************************



> On Jan 18, 2018, at 1:13 PM, Andy Buckley <andy.buckley at cern.ch> wrote:
> 
> Hi Raghav,
> 
> "rivet" is a Python script rather than a binary executable, which makes gdb unhappy. Replace "rivet" with "$(which python) $(which rivet)" in that command and I think it should work -- I use something like that. You will need a little gdb familiarity as well, but the most useful thing is probably just to send us the output you get from executing the "bt" command after the crash.
> 
> Andy
> 
> Dr Andy Buckley, Lecturer / Royal Society University Research Fellow
> Particle Physics Experiment Group, University of Glasgow
> 
> On Jan 18 2018, at 6:08 pm, Kunnawalkam Raghav <kunnawalkamraghav at gmail.com> wrote: 
> Hi David, 
> 
> I tried the first one and it still gave me a segmentation fault 11.
> 
> For the second one, im not familiar with gdb but it doesn’t look like its running? 
> Raghavs-MacBook-Pro:Analysis raghavke$ gdb --args rivet -a LUND_JETIMAGE Job_jewel_PPYQ_pp_1.hepmc -H test.yoda 
> GNU gdb (GDB) 8.0.1
> Copyright (C) 2017 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html <http://gnu.org/licenses/gpl.html>>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-apple-darwin17.0.0".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/ <http://www.gnu.org/software/gdb/bugs/>>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/ <http://www.gnu.org/software/gdb/documentation/>>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> "/Users/raghavke/WORK/UTILS/local/bin/rivet": not in executable format: File format not recognized
> (gdb) run
> Starting program:  -a LUND_JETIMAGE Job_jewel_PPYQ_pp_1.hepmc -H test.yoda
> No executable file specified.
> Use the "file" or "exec-file" command.
> (gdb) 
> 
> It doesn’t like to run rivet? 
> 
> Cheers
> Raghav 
> 
> 
> **************************************
> Raghav Kunnawalkam Elayavalli
> email: raghavke at wayne.edu <mailto:raghavke at wayne.edu> 
> 
> Post Doctoral Fellow 
> Wayne State University
> 666 W Hancock St. RM 314 
> Detroit MI. 48201
> **************************************
> 
> 
> 
>> On Jan 18, 2018, at 12:41 PM, David Grellscheid <david.grellscheid at durham.ac.uk <mailto:david.grellscheid at durham.ac.uk>> wrote:
>> 
>> Hi,
>> 
>> two things to try:
>> 
>> (1)
>> 
>> First, unset RIVET_ANALYSIS_PATH, then copy the .so file with your
>> analysis into the working directory with the hepmc file. Then do sth like
>> 
>> rivet --pwd -a LUND_IMAGE something.hepmc
>> 
>> Please let me know if this works or not
>> 
>> (2)
>> 
>> In a setup where you get the segfault, run
>> 
>> gdb --args rivet -a ....the usual command line...
>> 
>> Inside gdb, type 'run'. When the segfault hits, type 'backtrace' and
>> send the output
>> 
>> Thanks,
>> 
>>  David
>> 
>> 
>> 
>> On 18/01/2018 15:33, Kunnawalkam Raghav wrote:
>>> Hi David, 
>>> 
>>> Yeah I recompiled all of my analyses and essentially im starting from the beginning in a new computer. I think the issue might be with python or the different versions of python that I have going around. Take a look at the setup below 
>>> 
>>> Raghavs-MacBook-Pro:~ raghavke$ which rivet
>>> /Users/raghavke/WORK/UTILS/local/bin/rivet
>>> Raghavs-MacBook-Pro:~ raghavke$ rivet --version
>>> rivet v2.5.4
>>> Raghavs-MacBook-Pro:~ raghavke$ rivet --list-analyses
>>> Segmentation fault: 11
>>> Raghavs-MacBook-Pro:~ raghavke$ echo $PYTHONPATH
>>> /Users/raghavke/WORK/UTILS/local/lib/python2.7/site-packages:/Users/raghavke/WORK/UTILS/local/lib/python2.7/site-packages:/usr/local/Cellar/root/6.10.08/lib/root
>>> Raghavs-MacBook-Pro:~ raghavke$ python 
>>> Python 2.7.14 |Anaconda custom (64-bit)| (default, Oct  5 2017, 02:28:52) 
>>> [GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
>>> Type "help", "copyright", "credits" or "license" for more information.
>>>>>> import rivet
>>>>>> 
>>> Raghavs-MacBook-Pro:~ raghavke$ echo $RIVET_ANALYSIS_PATH 
>>> /Users/raghavke/WORK/MC/Analysis/
>>> Raghavs-MacBook-Pro:~ raghavke$ cd $RIVET_ANALYSIS_PATH 
>>> Raghavs-MacBook-Pro:Analysis raghavke$ rivet-buildplugin RivetLUND_JETIMAGE.so LUND_JETIMAGE.cc <http://lund_jetimage.cc/> 
>>> /usr/bin/g++ -std=c++11 -o "RivetLUND_JETIMAGE.so" -undefined dynamic_lookup -bundle -I/Users/raghavke/WORK/UTILS/local/include -I/Users/raghavke/WORK/UTILS/local/include -I/Users/raghavke/WORK/UTILS/local/include -I/Users/raghavke/WORK/UTILS/local/include -I/Users/raghavke/WORK/UTILS/local/include -Dunix -pedantic -Wall -Wno-long-long -Wno-format -Werror=uninitialized -Werror=delete-non-virtual-dtor -O2 -L/Users/raghavke/WORK/UTILS/local/lib -L/Users/raghavke/WORK/UTILS/local/lib -L/Users/raghavke/WORK/UTILS/local/lib -Wl,-rpath,/Users/raghavke/WORK/UTILS/local/lib -lm -L/Users/raghavke/WORK/UTILS/local/lib -lfastjettools -lfastjet -lfastjetplugins -lsiscone_spherical -lsiscone LUND_JETIMAGE.cc <http://lund_jetimage.cc/> -lRivet
>>> Raghavs-MacBook-Pro:Analysis raghavke$ rivet -a LUND_IMAGE #(tab complete doesnt work)
>>> Raghavs-MacBook-Pro:Analysis raghavke$ rivet -a LUND_IMAGE /Volumes/Storage/cernbox/JEWEL/PPYQ_2760/Job_jewel_PPYQ_pp_1.hepmc -H test.yoda
>>> Segmentation fault: 11
>>> Raghavs-MacBook-Pro:Analysis raghavke$ rivet -a LUND_IMAGE --pwd /Volumes/Storage/cernbox/JEWEL/PPYQ_2760/Job_jewel_PPYQ_pp_1.hepmc -H test.yoda
>>> Segmentation fault: 11
>>> Raghavs-MacBook-Pro:Analysis raghavke$ 
>>> 
>>> Even the list analyses doesn’t seem to work. But now if I unset the rivet analysis path variable then that command works but the analysis doesn’t even run. Like it doesn’t even show the beginning setup etc.. very weird! 
>>> 
>>> Raghavs-MacBook-Pro:~ raghavke$ which rivet
>>> /Users/raghavke/WORK/UTILS/local/bin/rivet
>>> Raghavs-MacBook-Pro:~ raghavke$ rivet --version
>>> rivet v2.5.4
>>> Raghavs-MacBook-Pro:~ raghavke$ rivet --list-analyses
>>> ALEPH_1991_S2435284         Hadronic Z decay charged multiplicity measurement
>>> ALEPH_1995_I382179          Inclusive pi+-, K+- and (p, anti-p) differential cross-sections at the Z resonance
>>> ALEPH_1996_S3196992         Measurement of the quark to photon fragmentation function
>>> ALEPH_1996_S3486095         Studies of QCD with the ALEPH detector.
>>> ALEPH_1999_S4193598         Scaled energy distribution of D* at LEP
>>> ALEPH_2001_S4656318         Study of the fragmentation of b quarks into B mesons at the Z peak
>>> ALEPH_2002_S4823664         η and ω Production in Hadronic Z⁰ Decays
>>>>>> Raghavs-MacBook-Pro:Analysis raghavke$  rivet --pwd -a LUND_IMAGE  /Volumes/Storage/cernbox/JEWEL/PPYQ_2760/Job_jewel_PPYQ_pp_1.hepmc -H test.yoda
>>> Segmentation fault: 11
>>> Raghavs-MacBook-Pro:Analysis raghavke$ 
>>> 
>>> 
>>> Cheers
>>> Raghav 
>>> 
>>> 
>>> **************************************
>>> Raghav Kunnawalkam Elayavalli
>>> email: raghavke at wayne.edu <mailto:raghavke at wayne.edu> 
>>> 
>>> Post Doctoral Fellow 
>>> Wayne State University
>>> 666 W Hancock St. RM 314 
>>> Detroit MI. 48201
>>> **************************************
>>> 
>>> 
>>> 
>>>> On Jan 18, 2018, at 10:22 AM, David Grellscheid <david.grellscheid at durham.ac.uk <mailto:david.grellscheid at durham.ac.uk>> wrote:
>>>> 
>>>> Hi Raghav,
>>>> 
>>>> Please check that you have recompiled all of your analyses in the
>>>> ANALYSIS_PATH with the new version of rivet-buildplugin. This is
>>>> necessary whenever a major Rivet version change happens.
>>>> 
>>>> Thanks,
>>>> 
>>>> David
>>>> 
>>>> On 17/01/2018 18:49, Kunnawalkam Raghav wrote:
>>>>> So if I unset my RIVET_ANALYSIS_PATH, rivet —list-analyses works fine. Then when I try to run my own analysis with the —pwd, I get the same error Segmentation Fault 11, without any additional information. 
>>>>> 
>>>>> Cheers
>>>>> Raghav 
>>>>> 
>>>>> 
>>>>> **************************************
>>>>> Raghav Kunnawalkam Elayavalli
>>>>> email: raghavke at wayne.edu <mailto:raghavke at wayne.edu> 
>>>>> 
>>>>> Post Doctoral Fellow 
>>>>> Wayne State University
>>>>> 666 W Hancock St. RM 314 
>>>>> Detroit MI. 48201
>>>>> **************************************
>>>>> 
>>>>> 
>>>>> 
>>>>>> On Jan 17, 2018, at 1:42 PM, Kunnawalkam Raghav <kunnawalkamraghav at gmail.com <mailto:kunnawalkamraghav at gmail.com>> wrote:
>>>>>> 
>>>>>> So upon a bit of googling, I see that this seems to have been addressed in this thread 
>>>>>> https://www.hepforge.org/lists-archive/rivet/2016-July/007033.html <https://www.hepforge.org/lists-archive/rivet/2016-July/007033.html> <https://www.hepforge.org/lists-archive/rivet/2016-July/007033.html <https://www.hepforge.org/lists-archive/rivet/2016-July/007033.html>> but im not sure I understand the solution here. 
>>>>>> 
>>>>>> And the issue being connected to the $RIVET_ANALYSIS_PATH. 
>>>>>> So what is the current acceptable procedure? Usually I have one directly where I have all my analysis and include that to my RIVET_ANALYSIS_PATH and things worked fine. 
>>>>>> 
>>>>>> 
>>>>>> Cheers
>>>>>> Raghav 
>>>>>> 
>>>>>> 
>>>>>> **************************************
>>>>>> Raghav Kunnawalkam Elayavalli
>>>>>> email: raghavke at wayne.edu <mailto:raghavke at wayne.edu> <mailto:raghavke at wayne.edu <mailto:raghavke at wayne.edu>> 
>>>>>> 
>>>>>> Post Doctoral Fellow 
>>>>>> Wayne State University
>>>>>> 666 W Hancock St. RM 314 
>>>>>> Detroit MI. 48201
>>>>>> **************************************
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>>> On Jan 17, 2018, at 1:36 PM, Kunnawalkam Raghav <kunnawalkamraghav at gmail.com <mailto:kunnawalkamraghav at gmail.com> <mailto:kunnawalkamraghav at gmail.com <mailto:kunnawalkamraghav at gmail.com>>> wrote:
>>>>>>> 
>>>>>>> Hi Rivet Experts, 
>>>>>>> 
>>>>>>> I just tried a couple of fresh rivet install on my MacBook Pro, ubuntu machine and on our local grid here at WSU and in all places, it looks like the bootstrap script worked but when I try to run any analysis or even ask for the list of analysis, I just get a segmentation fault! 
>>>>>>> I understand this is not much to go on but im not even sure where to search for errors about this issue? Any help would be much appreciated. Thanks a lot! 
>>>>>>> 
>>>>>>> Raghavs-MacBook-Pro:Analysis raghavke$ rivet --list-analyses
>>>>>>> Segmentation fault: 11
>>>>>>> 
>>>>>>> 
>>>>>>> Cheers
>>>>>>> Raghav 
>>>>>>> 
>>>>>>> 
>>>>>>> **************************************
>>>>>>> Raghav Kunnawalkam Elayavalli
>>>>>>> email: raghavke at wayne.edu <mailto:raghavke at wayne.edu> <mailto:raghavke at wayne.edu <mailto:raghavke at wayne.edu>> 
>>>>>>> 
>>>>>>> Post Doctoral Fellow 
>>>>>>> Wayne State University
>>>>>>> 666 W Hancock St. RM 314 
>>>>>>> Detroit MI. 48201
>>>>>>> **************************************
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Rivet mailing list
>>>>> Rivet at projects.hepforge.org <mailto:Rivet at projects.hepforge.org>
>>>>> https://www.hepforge.org/lists/listinfo/rivet
>>>>> 
>>> 
>>> 
> 
> _______________________________________________ 
> Rivet mailing list 
> Rivet at projects.hepforge.org 
> https://www.hepforge.org/lists/listinfo/rivet

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20180118/f847bd8e/attachment.html>


More information about the Rivet mailing list