[Fire Original Android Development] black.kahder:
I am seeing occasional crashes of AudioFX. Easy to reproduce with the NewPipe app by playing a video, hitting back button, and playing again. I am fairly sure my AudioFX configuration is default but I might have changed it unintentionally while exploring.

Logcat here

05-29 03:20:53.437 D/AMZ-MtkOmxVdec( 180): [0xb5aca000] # Got general command (OMX_CommandPortEnable)
05-29 03:20:53.439 E/OMXNodeInstance( 180): setParameter(44:MTK.DECODER.AVC, ParamPortDefinition(0x2000001)) ERROR: BadParameter(0x80001005)
05-29 03:20:53.439 W/ACodec (31213): [OMX.MTK.VIDEO.DECODER.AVC] setting nBufferCountActual to 10 failed: -2147483648
05-29 03:20:53.439 E/OMXNodeInstance( 180): setParameter(44:MTK.DECODER.AVC, ParamPortDefinition(0x2000001)) ERROR: BadParameter(0x80001005)
05-29 03:20:53.440 W/ACodec (31213): [OMX.MTK.VIDEO.DECODER.AVC] setting nBufferCountActual to 9 failed: -2147483648
05-29 03:20:53.449 I/[MALI][Gralloc]( 167): usage0: 0x2900, format7: 7f000001 stride2: 864 vertical_stride6: 480 size: 623376
05-29 03:20:53.449 D/AMZ-MtkOmxVdec( 180): [0xb5aca000] MtkOmxVdecDecodeThread cannot decode when port re-config is in progress
05-29 03:20:53.453 I/[MALI][Gralloc]( 167): usage0: 0x2900, format7: 7f000001 stride2: 864 vertical_stride6: 480 size: 623376
05-29 03:20:53.458 E/OMXMaster(31213): A component of name 'OMX.ffmpeg.wmv.decoder' already exists, ignoring this one.
05-29 03:20:53.470 I/ACodec (31213): sampleRate=44100 channels=2 bits=16
05-29 03:20:53.475 I/SoftAAC2(31213): limiting to stereo output
05-29 03:20:53.477 I/SoftAAC2(31213): Reconfiguring decoder: 0->44100 Hz, 0->2 channels
05-29 03:20:53.495 I/[MALI][Gralloc]( 167): usage0: 0x2900, format7: 7f000001 stride2: 864 vertical_stride6: 480 size: 623376
05-29 03:20:53.502 E/AudioTrack(31213): AudioTrack::set : Exit
05-29 03:20:53.508 I/HeadsetService(24757): New audio session: 446
05-29 03:20:53.509 W/AudioPolicyManager( 180): registerEffect() memory limit exceeded for Fx Equalizer, Memory 25 KB
05-29 03:20:53.509 E/AudioEffect(24757): set(): AudioFlinger could not create effect, status: -38
05-29 03:20:53.510 E/AudioEffects-JNI(24757): AudioEffect initCheck failed -5
05-29 03:20:53.512 E/AudioEffect-JAVA(24757): Error code -5 when initializing AudioEffect.
05-29 03:20:53.518 I/art (31213): Background sticky concurrent mark sweep GC freed 67091(3MB) AllocSpace objects, 108(7MB) LOS objects, 23% free, 26MB/34MB, paused 5.623ms total 209.062ms
05-29 03:20:53.522 D/AndroidRuntime(24757): Shutting down VM
05-29 03:20:53.528 E/AndroidRuntime(24757): FATAL EXCEPTION: main
05-29 03:20:53.528 E/AndroidRuntime(24757): Process: org.cyanogenmod.audiofx, PID: 24757
05-29 03:20:53.528 E/AndroidRuntime(24757): java.lang.RuntimeException: Error receiving broadcast Intent { act=android.media.action.OPEN_AUDIO_EFFECT_CONTROL_SESSION flg=0x10 (has extras) } in org.cyanogenmod.audiofx.HeadsetService$1@11930ff3
05-29 03:20:53.528 E/AndroidRuntime(24757): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:877)
05-29 03:20:53.528 E/AndroidRuntime(24757): at android.os.Handler.handleCallback(Handler.java:739)
05-29 03:20:53.528 E/AndroidRuntime(24757): at android.os.Handler.dispatchMessage(Handler.java:95)
05-29 03:20:53.528 E/AndroidRuntime(24757): at android.os.Looper.loop(Looper.java:135)
05-29 03:20:53.528 E/AndroidRuntime(24757): at android.app.ActivityThread.main(ActivityThread.java:5294)
05-29 03:20:53.528 E/AndroidRuntime(24757): at java.lang.reflect.Method.invoke(Native Method)
05-29 03:20:53.528 E/AndroidRuntime(24757): at java.lang.reflect.Method.invoke(Method.java:372)
05-29 03:20:53.528 E/AndroidRuntime(24757): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
05-29 03:20:53.528 E/AndroidRuntime(24757): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
05-29 03:20:53.528 E/AndroidRuntime(24757): Caused by: java.lang.UnsupportedOperationException: Effect library not loaded
05-29 03:20:53.528 E/AndroidRuntime(24757): at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:407)
05-29 03:20:53.528 E/AndroidRuntime(24757): at android.media.audiofx.Equalizer.<init>(Equalizer.java:139)
05-29 03:20:53.528 E/AndroidRuntime(24757): at org.cyanogenmod.audiofx.HeadsetService$EffectSet.<init>(HeadsetService.java:87)
05-29 03:20:53.528 E/AndroidRuntime(24757): at org.cyanogenmod.audiofx.HeadsetService$1.onReceive(HeadsetService.java:237)
05-29 03:20:53.528 E/AndroidRuntime(24757): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:867)
05-29 03:20:53.528 E/AndroidRuntime(24757): ... 8 more