Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • Corryvreckan Corryvreckan
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Corryvreckan
  • CorryvreckanCorryvreckan
  • Issues
  • #153

Closed
Open
Created Oct 12, 2021 by Sejla Hadzic@sehadzicContributor

AnalysisEfficiency: Fatal internal error

Hi,

I tried to determine efficiency of the dut in our setup but was getting the following error:

|17:17:21.095|(FATAL)[R:AnalysisEfficiency:plane118] Fatal internal error
                                                     vector::Mrange_check: __n (which is 18446744071562067968) >= this->size() (which is 768)
                                                     Cannot continue...

Run:

gdb --args corry -c config.conf
$ catch throw
$ run
$ backtrace

and this is the backtrace output I get:

#0  0x00007ffff4ff4dde in cxxabiv1::cxa_throw (obj=obj@entry=0x296eda0, tinfo=0x7ffff510e228 <typeinfo for std::out_of_range>, 
    dest=0x7ffff50092c0 <std::out_of_range::~out_of_range()>) at /build/gcc/WORK/build/contrib/gcc-10.1.0/src/gcc/10.1.0/libstdc++-v3/libsupc++/eh_throw.cc:78
#1  0x00007ffff4fec133 in std::throw_out_of_range_fmt (
    fmt=fmt@entry=0x7ffff7f61238 "vector::Mrange_check: n (which is %zu) >= this->size() (which is %zu)")
    at /build/gcc/WORK/build/contrib/gcc-10.1.0/src/gcc/10.1.0/libstdc++-v3/src/c++11/functexcept.cc:82
#2  0x00007ffff7f551ad in std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >::Mrange_check
    (__n=<optimized out>, this=0x2272b68) at /cvmfs/sft.cern.ch/lcg/releases/gcc/10.1.0-6f386/x86_64-centos7/include/c++/10.1.0/ext/new_allocator.h:89
#3  std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >::at (__n=<optimized out>, 
    this=0x2272b68) at /cvmfs/sft.cern.ch/lcg/releases/gcc/10.1.0-6f386/x86_64-centos7/include/c++/10.1.0/bits/stl_vector.h:1094
#4  corryvreckan::AnalysisEfficiency::run (this=0x2272930, clipboard=...)
    at /afs/cern.ch/work/s/sehadzic/corry_myfork/corryvreckan/src/modules/AnalysisEfficiency/AnalysisEfficiency.cpp:492
#5  0x00007ffff741c6dd in corryvreckan::ModuleManager::run (this=0x2240030)
    at /afs/cern.ch/work/s/sehadzic/corry_myfork/corryvreckan/src/core/clipboard/Clipboard.tpp:145
#6  0x00007ffff73e0c35 in corryvreckan::Corryvreckan::run (this=0x21a4ec0)
    at /cvmfs/sft.cern.ch/lcg/releases/gcc/10.1.0-6f386/x86_64-centos7/include/c++/10.1.0/bits/unique_ptr.h:420
#7  0x0000000000404fa8 in main (argc=3, argv=0x7fffffffb588)
    at /cvmfs/sft.cern.ch/lcg/releases/gcc/10.1.0-6f386/x86_64-centos7/include/c++/10.1.0/bits/unique_ptr.h:420

After commenting the following line out it works fine:

https://gitlab.cern.ch/corryvreckan/corryvreckan/-/blob/master/src/modules/AnalysisEfficiency/AnalysisEfficiency.cpp#L491

I hope this can help to understand why this error occurs. Thanks a lot!

Edited Oct 18, 2021 by Simon Spannagel
Assignee
Assign to
Time tracking