You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Typical case: someone declared it a global and forgets to create a task on it. Bela_scheduleAuxiliaryTask() is passed a nullptr and segfaults. Can be handled better, e.g.: print an error message and return. I would not necessarily go as far as looking up the pointer in the list of current tasks to see if it's valid, as that could have some undesirable overhead (would it though?).
Typical case: someone declared it a global and forgets to create a task on it.
Bela_scheduleAuxiliaryTask()
is passed a nullptr and segfaults. Can be handled better, e.g.: print an error message and return. I would not necessarily go as far as looking up the pointer in the list of current tasks to see if it's valid, as that could have some undesirable overhead (would it though?).E.g.: https://forum.bela.io/d/5155-segmentation-fault-error-139-custom-render-mpr121/2
The text was updated successfully, but these errors were encountered: