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
Use std::shared_ptr in FullDuplexStream.
Explicitly process the samples in the callback instead
of just using memcpy. This will be easier to modify.
Fixes#1113Fixes#852
Use std::shared_ptr in FullDuplexStream.
Explicitly process the samples in the callback instead
of just using memcpy. This will be easier to modify.
Fixes#1113Fixes#852
Android version(s): RQ1A
Android device(s): Pixel 3a
Oboe version: 1.5.0 candidate
App name used for testing: LiveEffect
Short description
LiveEffect has a native crash with a NULL pointer of bad address when exiting.
Steps to reproduce
In a terminal: adb logcat *:F
Launch LiveEffect
Select OpenSL ES (optional)
Tap START
Tap STOP
Tap BACK button
Expected behavior
No crash.
Actual behavior
Crash observed in logcat.
11-25 13:59:22.288 11461 11461 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xc1f9830000000071
11-25 13:59:22.569 11461 11461 F DEBUG : #00 pc 000000000005adc4 /data/app/~~FRTqKF6YenZJ5qAzAEGRgA==/com.google.oboe.samples.liveeffect-xvcrj64_iTK-Y60sIUJSdQ==/lib/arm64/libliveEffect.so (FullDuplexStream::stop()+76) (BuildId: 0958e065dd7daeb4923f76935971a9ba50480c0a)
11-25 13:59:22.569 11461 11461 F DEBUG : #1 pc 0000000000058de0 /data/app/~~FRTqKF6YenZJ5qAzAEGRgA==/com.google.oboe.samples.liveeffect-xvcrj64_iTK-Y60sIUJSdQ==/lib/arm64/libliveEffect.so (LiveEffectEngine::~LiveEffectEngine()+64) (BuildId: 0958e065dd7daeb4923f76935971a9ba50480c0a)
11-25 13:59:22.569 11461 11461 F DEBUG : #2 pc 0000000000058ffc /data/app/~~FRTqKF6YenZJ5qAzAEGRgA==/com.google.oboe.samples.liveeffect-xvcrj64_iTK-Y60sIUJSdQ==/lib/arm64/libliveEffect.so (LiveEffectEngine::~LiveEffectEngine()+36) (BuildId: 0958e065dd7daeb4923f76935971a9ba50480c0a)
11-25 13:59:22.569 11461 11461 F DEBUG : #3 pc 000000000005b1e0 /data/app/~~FRTqKF6YenZJ5qAzAEGRgA==/com.google.oboe.samples.liveeffect-xvcrj64_iTK-Y60sIUJSdQ==/lib/arm64/libliveEffect.so (Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_delete+68) (BuildId: 0958e065dd7daeb4923f76935971a9ba50480c0a)
The text was updated successfully, but these errors were encountered: