In UI terminal, when typing 'ls' command, then std::out_of_range exception is raised, showing the following message: PreInit> ls terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::substr Aborted Traceback indicates some problem within the Geant4 terminal code: #7 0x00007ffff68bed18 in G4VBasicShell::ModifyPath(G4String const&) const () at /...../gcc/gcc-4.8.5/include/c++/4.8.5/bits/basic_string.h:324 #8 0x00007ffff68bf0a2 in G4VBasicShell::FindDirectory(char const*) const () at /..../geant4/geant4.10.03.p02/source/interfaces/common/src/G4VBasicShell.cc:92 #9 0x00007ffff68c17bd in G4VBasicShell::ListDirectory(G4String const&) const () at /..../geant4/geant4.10.03.p02/source/interfaces/common/src/G4VBasicShell.cc:344 #10 0x00007ffff68b1828 in G4UIterminal::GetCommand(char const*) () at /.../geant4/geant4.10.03.p02/source/interfaces/basic/src/G4UIterminal.cc:229 #11 0x00007ffff68b26df in G4UIterminal::SessionStart() () at /.../geant4/geant4.10.03.p02/source/interfaces/basic/src/G4UIterminal.cc:139
Created attachment 469 [details] Fixed version of G4VBasicShell.cc The fixed source file for /sources/interfaces/common/src/G4VBasicShell.cc
The fix was included in interfaces-V10-03-01.
*** This problem has been marked as a duplicate of problem 1989 ***