Skip to content

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

@cipriangal

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions