Skip to content

remollSearchPath doesn't allow full path for magnet files #545

Description

@cipriangal

Environment: (where does this bug occur, have you tried other environments)

  • branch (master for latest released): develop
  • revision (HEAD for most recent): 1652118
  • OS or system: ifarm CUE 2.5

Steps to reproduce: (give a step by step account of how to trigger the bug)

  1. add full path to https://github.com/JeffersonLab/remoll/blob/develop/macros/load_magnetic_fieldmaps.mac#L7 (such as /work/halla/moller12gev/ciprian/moller/remoll/map_directory/V2U.1a.50cm.txt )
  2. run build/remoll macros/runexample.mac

Expected Result: (what do you expect when you execute the steps above)

it completes

Actual Result: (what do you get when you execute the steps above)

it crashes mostly (somehow sometimes it has some other errors or directly crashes without an exception)

terminate  called after throwing an instance of 'std::length_error'
    what(): basic_string::_S_create

As far as I can tell the crash happens on line: https://github.com/JeffersonLab/remoll/blob/develop/src/remollSearchPath.cc#L49

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions