Open rconstanzo opened 2 years ago
Following the crash through, it looks like it doesn't like the idea of 0-size, empty containers
"classifier" : {
"labels" : {
"cols" : 1
},
"tree" : {
"cols" : 0,
"data" : null,
"ids" : [ ],
"rows" : 0,
"tree" : null
}
}
So, I'll toughen up against this pathological case, but in the meanwhile, this data wouldn't have done anything useful anyway.
So I've created a
.json
file with the wrong info in it (I crossed my wires for afluid.dataset~
andfluid.knnclassifier~
state save) and when Iread
this intofluid.knnclassifier~
I get a 100% reproducible (on beta7) insta crash.Steps to reproduce. Read the
.json
file below into the patch below. Instacrash.This is the patch:
And this is the file you read into it: clustersnare.json.zip
Here is a crash report: flucoma crash.txt
The relevant bit, I believe, is: