spoa icon indicating copy to clipboard operation
spoa copied to clipboard

Segment fault on memory exhaustion. Should error out instead.

Open paoloczi opened this issue 6 years ago • 1 comments

Spoa segment faults if it runs out of memory. Instead, it should throw an exception or return an error code. The attached test program segment faulted on my 32 GB laptop. I realize sequences these long are outside of what spoa can reasonably do, but a segment fault is not an acceptable termination mode, because client code does not get a chance to write a meaningful message for the end user.

testSpoa.cpp.gz

paoloczi avatar Nov 13 '19 23:11 paoloczi

Hi Paolo, I'll fix this as soon as possible.

Best regards, Robert

rvaser avatar Nov 15 '19 08:11 rvaser