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

David Grellscheid david.grellscheid at durham.ac.uk
Thu Jan 18 17:41:52 GMT 2018


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 
> /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 -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 
> 
> 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> 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 
>>>
>>> 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> 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> 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> 
>>>>
>>>> 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>> 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> 
>>>>>
>>>>> Post Doctoral Fellow 
>>>>> Wayne State University
>>>>> 666 W Hancock St. RM 314 
>>>>> Detroit MI. 48201
>>>>> **************************************
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Rivet mailing list
>>> Rivet at projects.hepforge.org
>>> https://www.hepforge.org/lists/listinfo/rivet
>>>
> 
> 


More information about the Rivet mailing list