Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fluid.transientslice~: audio thread crashes at higher order #270

Open
weefuzzy opened this issue Jul 3, 2024 · 1 comment
Open

fluid.transientslice~: audio thread crashes at higher order #270

weefuzzy opened this issue Jul 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@weefuzzy
Copy link
Member

weefuzzy commented Jul 3, 2024

Please tell us what you were doing! You can include code and files by drag and dropping them into the text area.

report via a user: sporadic crashes with transient slice, stack trace indicated that these were in the detection function.

Can reproduce with @order 196 simply by turning audio on in the following patch.


----------begin_max5_patcher----------
441.3ocsT1rSDCBDG+b6SAgil5lB8y0S9dXLFjhJltPCP0UMtO6VFZ0UypV0
5EZloCy+4Gy.OEGguTuUXwnSPmghhdJNJBb4cDMZGg2v1xaYVHLr3wFFeGNI
7KU+FopU3f+QGc1wb7ajpquvH3tPtyKnqRSPzpZ+m7hoUz4ukHcuaJSoidkM
fl5Ku83Zr20yww9kjYVrJw8C6cpXchsP4f800NT5phChQ1miAcc8phDDoL2C
PQIvD8SwfL5M3x8PmHjFrUdsh0heca6wY0Bx4Q+39DsFZPTRncs1S6BCX4uA
PKW2I90zrFngjk95m4O2ksf8C9C7VwNDIM8GSRUXvKqxiP4+wfGcAA8p1dYy
JmgorRgxYak7AtOUaZDFDYc4Awm78Mxb.eR3Ujufe52veBBevy.x9mAP.3Vo
5iOPBEn2+6OXr5dCeRnP1RPuUgMBqSpXNoVsWLYgXN3Q+b0obF5PV.cplgN9
Zg7G0gNScdOOg1Eqq6NgwNFLHwvD6sZi2rNALkpfYAXZD2ImhGlavLyv7maX
3q2.kEdaYNNrU8v.rpWBiqwd3FjDtMnXaD1NVfC3RS7ywuvVYaKm
-----------end_max5_patcher-----------

Need to narrow down why. Possibilities include, in order of likelihood:

  • buffer overrun because we've messed up the allocation needed to account for blocksize vs order vs padding
  • screw up in the autocorrelation fn
  • badness due to Eigen's solver deciding to allocate behind the scenes

What was the expected result?

Not crashing

What was the actual result?

crashing

What operating system were you using?

Mac

Operating system version

13.5.2

FluCoMa Version

1.0.6

@weefuzzy weefuzzy added the bug Something isn't working label Jul 3, 2024
@weefuzzy
Copy link
Member Author

weefuzzy commented Jul 3, 2024

Pretty sure it's a blocksize vs padding vs order issue, specifically that object bombs if order > blocksize - padding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant