We have discovered a bug in AudioTrack that was introduced in 2012.
It can cause an intermittent crash in a data callback due to accessing memory after it has been freed.
It is described in detail in this Tech Note:
https://github.com/google/oboe/wiki/CrashUAF_ObtainReleaseBuffer
It can be reproduced using this new "Routing Stress" test. #1760
We have discovered a bug in AudioTrack that was introduced in 2012.
It can cause an intermittent crash in a data callback due to accessing memory after it has been freed.
It is described in detail in this Tech Note:
https://github.com/google/oboe/wiki/CrashUAF_ObtainReleaseBuffer
It can be reproduced using this new "Routing Stress" test. #1760