### Environment: (where does this bug occur, have you tried other environments) - branch (master for latest released): develop - revision (HEAD for most recent): https://github.com/JeffersonLab/remoll/commit/165211881dd7e21272c45f0d2adab5dc43452ae0 - 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
Environment: (where does this bug occur, have you tried other environments)
Steps to reproduce: (give a step by step account of how to trigger the bug)
/work/halla/moller12gev/ciprian/moller/remoll/map_directory/V2U.1a.50cm.txt)build/remoll macros/runexample.macExpected 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)
As far as I can tell the crash happens on line: https://github.com/JeffersonLab/remoll/blob/develop/src/remollSearchPath.cc#L49