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
Prior to updating to Android 8.1, on Android 8.0 I had an issue with stream disconnected error not sent when unplugging the headphones for the first time (as mentioned by Don here #41). In other cases when I was receiving the stream disconnected error, the application would stop on assert(stream == mAAudioStream.load());in void AudioStreamAAudio::onErrorInThread(). Both of the issues I could reproduce in HelloOboe, as well as in my simple test app and Roli Noise app.
Following the suggestion I updated to Android 8.1, build OPM1.171019.012. The issues went away completely on HelloOboe and my simple test app, although the latter would occasionally start crash on startup. The Noise app on the other hand started crashing almost all the time and I narrowed it down it only crash after an oboe stream was started (simply commenting out the code starting a stream would make the app run as usual, though without sound naturally). The places where it would crash were quite various, so it has been quite difficult to figure out the cause of the crash. Below I present a few crash logs that hopefully will shed some light.
One of the recent crash happened in HeapTaskDaemon, the full app log below:
As you can see, a place of a crash can be quite different. On Android 8.0 I would get a crash when processing error stream disconnected callback, running on 8.1 introduced all these fairly random crashes. I tried all sailfish 8.1 images:
8.1.0 (OPM1.171019.011, Dec 2017)
8.1.0 (OPM1.171019.012, Jan 2018)
8.1.0 (OPM1.171019.014, Jan 2018, O2/UK only)
with same results.
The text was updated successfully, but these errors were encountered:
Hi,
Prior to updating to Android 8.1, on Android 8.0 I had an issue with stream disconnected error not sent when unplugging the headphones for the first time (as mentioned by Don here #41). In other cases when I was receiving the stream disconnected error, the application would stop on
assert(stream == mAAudioStream.load());
invoid AudioStreamAAudio::onErrorInThread()
. Both of the issues I could reproduce in HelloOboe, as well as in my simple test app and Roli Noise app.Following the suggestion I updated to Android 8.1, build OPM1.171019.012. The issues went away completely on HelloOboe and my simple test app, although the latter would occasionally start crash on startup. The Noise app on the other hand started crashing almost all the time and I narrowed it down it only crash after an oboe stream was started (simply commenting out the code starting a stream would make the app run as usual, though without sound naturally). The places where it would crash were quite various, so it has been quite difficult to figure out the cause of the crash. Below I present a few crash logs that hopefully will shed some light.
One of the recent crash happened in HeapTaskDaemon, the full app log below:
Another way I get can a consistent crash is when plugging headphones, below the log from the moment I plugged in the headphones:
The call stack for the above log at the moment of the crash can be seen here: https://drive.google.com/file/d/1NnhIiNQ9gYIECIqjolGaEUoW_BAYAU5_/view?usp=sharing
here an example of SIGSERV in AsyncTask #2:
and yet another report:
As you can see, a place of a crash can be quite different. On Android 8.0 I would get a crash when processing error stream disconnected callback, running on 8.1 introduced all these fairly random crashes. I tried all sailfish 8.1 images:
with same results.
The text was updated successfully, but these errors were encountered: