STXXL vector sort still crashing

2011-03-10
2013-04-25
  • Hello all,
    At some point in the past I have reported a problem with vector sorting. The code crashed because "Bus error". Recently, I am having a similar problem with just one data set (all others finished correctly). I tried many many times even after updating to the latest revision and it always crashes while sorting, reporting this message : "terminate called recursively". sometimes I get: "terminate called after throwing an instance…", unfortunately it never succeeded to complete this sentence (it doesn't tell which instance).
    Any hints are extremely appreciated.
    Many thanks in advance,

     
  • Looks like this was in fact "bad_alloc", i. e. too much memory assigned to sort.

    Johannes