[Rivet] Rivet segfaults (Mac OS X)

Chris Pollard cpollard at cern.ch
Mon Mar 7 15:04:24 GMT 2016


Hi Stefan,

Are you able to run one of the analyses included with the rivet
release---MC_GENERIC, for instance?

Chris

On Mon, Mar 7, 2016 at 1:03 PM, Stefan Richter <stefan.richter at cern.ch>
wrote:

> Dear Rivet authors,
> can you help me with the below problem? Rivet segfaults when I’m trying to
> run analyses.
>
> Thank you very much,
> Stefan
>
>
>
> If I don’t attach any analyses to the run, it works:
>
> ---------------------------
> > rivet  ./original_run/original.hepmc
> Rivet 2.4.0 running on machine pb-d-128-141-166-175.cern.ch (x86_64) at
> 2016-03-07 13:54:48
> Reading events from './original_run/original.hepmc'
> Finished event loop at 2016-03-07 13:54:48
> Cross-section = 6.087660e+00 pb
>
> Rivet.Analysis.Handler: INFO  Finalising analyses
> Rivet.Analysis.Handler: INFO  Processed 50 events
>
> The MCnet usage guidelines apply to Rivet: see
> http://www.montecarlonet.org/GUIDELINES
> Please acknowledge plots made with Rivet analyses, and cite
> arXiv:1003.0694 (http://arxiv.org/abs/1003.0694)
>
> Rivet run completed at 2016-03-07 13:54:48, time elapsed = 0:00:00
> ---------------------------
>
>
>
> With an analysis, it segfaults:
>
> ---------------------------
> > rivet ./original_run/original.hepmc -a MC_ZZJETS
> Rivet 2.4.0 running on machine pb-d-128-141-166-175.cern.ch (x86_64) at
> 2016-03-07 13:57:57
> Segmentation fault: 11
> ---------------------------
>
>
>
> The DYLD_LIBRARY_PATH and PYTHONPATH seem to be fine, they include the
> relevant locations.
>
>
>
> GDB output:
>
> ---------------------------
> Rivet 2.4.0 running on machine pb-d-128-141-166-74.cern.ch (x86_64) at
> 2016-03-03 20:14:54
> Rivet.Analysis.Handler: WARN  Analysis 'MC_ZZJETS_CUSTOMIZED' is
> unvalidated: be careful, it may be broken!
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007fff8cdd4774 in
> __cxxabiv1::__si_class_type_info::has_unambiguous_public_base(__cxxabiv1::__dynamic_cast_info*,
> void*, int) const () from /usr/lib/libc++abi.dylib
> (gdb) backtrace
> #0  0x00007fff8cdd4774 in
> __cxxabiv1::__si_class_type_info::has_unambiguous_public_base(__cxxabiv1::__dynamic_cast_info*,
> void*, int) const () from /usr/lib/libc++abi.dylib
> #1  0x000000010221e6f9 in __dynamic_cast () from
> /sw/lib/gcc5/lib/libstdc++.6.dylib
> #2  0x0000000104619457 in Rivet::MC_ZZJETS_CUSTOMIZED::init() () from
> /Users/stefanrichter/Code/workspace/Rivet/analyses/RivetMC_ZZJETS_CUSTOMIZED.so
> #3  0x00000001031c556a in Rivet::AnalysisHandler::init(HepMC::GenEvent
> const&) () from /Users/stefanrichter/Software/local/lib/libRivet.dylib
> #4  0x00000001031850c9 in
> Rivet::Run::init(std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&, double) ()
>    from /Users/stefanrichter/Software/local/lib/libRivet.dylib
> #5  0x0000000102202060 in __pyx_pw_5rivet_4core_3Run_9init(_object*,
> _object*, _object*) () from
> /Users/stefanrichter/Software/local/lib/python2.7/site-packages/rivet/core.so
> #6  0x00000001000b26af in PyEval_EvalFrameEx () from
> /sw/lib/python2.7/config/libpython2.7.dylib
> #7  0x00000001000aac22 in PyEval_EvalCodeEx () from
> /sw/lib/python2.7/config/libpython2.7.dylib
> #8  0x00000001000aa616 in PyEval_EvalCode () from
> /sw/lib/python2.7/config/libpython2.7.dylib
> #9  0x00000001000d96c4 in PyRun_FileExFlags () from
> /sw/lib/python2.7/config/libpython2.7.dylib
> #10 0x00000001000d9241 in PyRun_SimpleFileExFlags () from
> /sw/lib/python2.7/config/libpython2.7.dylib
> #11 0x00000001000ecfb8 in Py_Main () from
> /sw/lib/python2.7/config/libpython2.7.dylib
> #12 0x00007fff8e5605fd in start () from /usr/lib/system/libdyld.dylib
> #13 0x00007fff8e5605fd in start () from /usr/lib/system/libdyld.dylib
> #14 0x0000000000000000 in ?? ()
> ---------------------------
>
> Looks like a problem in dynamic linking? Should I run 'otool -L' on the
> Rivet libraries?
>
> _______________________________________________
> 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/20160307/5ef0b0e1/attachment.html>


More information about the Rivet mailing list