JohnTheBlindMilkman / SlurmJobMonitor

MIT License
0 stars 0 forks source link

Sometimes an segmentation fault occurs #10

Closed JohnTheBlindMilkman closed 3 months ago

JohnTheBlindMilkman commented 3 months ago

For some files, the program runs into segfault when comparing chars from a file with the "at entry" string.

JohnTheBlindMilkman commented 3 months ago

Changing the type of Job::fileCOntents from string_view to string seems to have done the trick. Issue was the object lifetime apparently, not the file I read.