CNMAT / CNMAT-Externs

CNMAT Max/MSP externals
Other
96 stars 11 forks source link

bpf crashes when encapsulated (sometimes) #80

Open equilet opened 6 years ago

equilet commented 6 years ago

I found that bpf can crash when encapsulated. I'm not sure that this behavior is 100% reproducible, but including crash report here for future eval.

https://gist.github.com/equilet/17dc38ad5448090326489267f860564c

equilet commented 6 years ago

Upon further investigation, this seems to happen frequently with the bpf in our help patcher. I'd imagine that it is possible the instance of this object holds stale/corrupt data... Attaching zip of the offending file.

Steps to reproduce:

  1. open file
  2. select all
  3. edit -> encapsulate

bpf.maxhelp.zip

equilet commented 6 years ago

also happens when attempting to delete / free()

equilet commented 6 years ago

I narrowed this down to corrupt legacy data in the patch. Closing for now, as I was able to update the help patch and move on

wagne342 commented 2 years ago

This error persists in the latest build. Delete / free on close of patcher produces repeatable crash. Notably, this only happens when the bpf object has data entered. Crash log here:

https://gist.github.com/wagne342/2b0014dce4c1d77d3135a2ed02bb0cb3