billthefarmer / scope

Android Oscilloscope

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Often crashes when switching to the frequency domain (spectrum) view

Olf0 opened this issue · comments

commented

Oscilloscope 1.14 crashes often (but not always), when switching to the frequency domain (spectrum) view.
Logs of one such crash (under AOSP 4.1.2):

The section of code that crashed was donated as an enhancement to close the audio system down cleanly when pausing. I don't think there is anything wrong with it, I think this crash is due to an occasional overlap or race between the scope shutting down the audio and the spectrum starting it up again. It doesn't happen on later versions of android, I think. I will update the code to trap the exception so it doesn't cause a crash.

commented

Thanks for commit #d289f39.

I will report, if this has fixed the issue on my device, when I can get hold of an updated version of "Oscilloscope" to install and test it.
Side note: Hopefully so, because it takes approximately four tries to successfully enter the spectrum view once on my device / software stack with "Oscilloscope" v1.14.

commented

Fixed in Oscilloscope 1.1.5 (obtained from F-Droid).
Thank you, @billthefarmer, this was a nice, little Christmas present.
All the best and an excellent start into the new year!