[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] tmaniac:
still getting random System UI FC on the latest update.

logcat shows the error has something to do with the statusbar...

07-25 10:33:22.547 26360 26405 E AndroidRuntime: FATAL EXCEPTION: PhoneStatusBar
07-25 10:33:22.547 26360 26405 E AndroidRuntime: Process: com.android.systemui, PID: 26360
07-25 10:33:22.547 26360 26405 E AndroidRuntime: java.lang.ArrayIndexOutOfBoundsException: length=19; index=19
07-25 10:33:22.547 26360 26405 E AndroidRuntime:	at com.android.systemui.statusbar.policy.TelephonyIcons.updateDataType(TelephonyIcons.java:530)
07-25 10:33:22.547 26360 26405 E AndroidRuntime:	at com.android.systemui.statusbar.policy.MobileSignalController.generateIconGroup(MobileSignalController.java:550)
07-25 10:33:22.547 26360 26405 E AndroidRuntime:	at com.android.systemui.statusbar.policy.MobileSignalController.notifyListeners(MobileSignalController.java:232)
07-25 10:33:22.547 26360 26405 E AndroidRuntime:	at com.android.systemui.statusbar.policy.SignalController.notifyListenersIfNecessary(SignalController.java:160)
07-25 10:33:22.547 26360 26405 E AndroidRuntime:	at com.android.systemui.statusbar.policy.MobileSignalController.setActivity(MobileSignalController.java:725)
07-25 10:33:22.547 26360 26405 E AndroidRuntime:	at com.android.systemui.statusbar.policy.MobileSignalController$MobilePhoneStateListener.onDataActivity(MobileSignalController.java:781)
07-25 10:33:22.547 26360 26405 E AndroidRuntime:	at android.telephony.PhoneStateListener$2.handleMessage(PhoneStateListener.java:302)
07-25 10:33:22.547 26360 26405 E AndroidRuntime:	at android.os.Handler.dispatchMessage(Handler.java:102)
07-25 10:33:22.547 26360 26405 E AndroidRuntime:	at android.os.Looper.loop(Looper.java:148)
07-25 10:33:22.547 26360 26405 E AndroidRuntime:	at android.os.HandlerThread.run(HandlerThread.java:61)
07-25 10:33:22.550 1246 2197 W ActivityManager: Force finishing activity com.android.systemui/.recents.RecentsActivity
07-25 10:33:22.552 1246 1265 E ActivityManager: error name = System UI
07-25 10:33:22.552 1246 1265 E ActivityManager: error name = System UI

And here is the log from the Camera app when you try to bind the shutter function to the power button:

07-25 10:41:06.201 476 2000 I mm-camera-CORE: af_haf_focus_converge AF_HAF_CONVERGE_SUCCESS: is_scene_panning:0 gyro_panning_stable:1
07-25 10:41:06.201 476 2000 I mm-camera-CORE: af_haf_fine_srch_start SETUP: cur 379, start 323, end 297, Step 10. spotlight:0 lowlight:0
07-25 10:41:06.202 476 2000 I : af_actuator_move_focus curr_step_pos:323, curr_len_pos(dac):425, num_steps:56, direction:0
07-25 10:41:06.234 476 2000 I mm-camera-CORE: af_process_parse_stats lens_pos: 323, fv: 90996536, fv_norm: 14437 fv_scale: 84853832 fv_scale_norm: 13240, state:16 haf_state:3 cur_luma: 65 frame id: 222 exp_index:273 cur_real_gain:1.94 preview_fps:30 gyro:0.152112
07-25 10:41:06.235 476 2000 I : af_actuator_move_focus curr_step_pos:310, curr_len_pos(dac):437, num_steps:13, direction:0
07-25 10:41:06.268 476 2000 I mm-camera-CORE: af_process_parse_stats lens_pos: 310, fv: 88911040, fv_norm: 14288 fv_scale: 82973480 fv_scale_norm: 13093, state:16 haf_state:3 cur_luma: 65 frame id: 223 exp_index:273 cur_real_gain:1.94 preview_fps:30 gyro:0.124055
07-25 10:41:06.269 476 2000 I : af_actuator_move_focus curr_step_pos:297, curr_len_pos(dac):449, num_steps:13, direction:0
07-25 10:41:06.302 476 2000 I mm-camera-CORE: af_process_parse_stats lens_pos: 297, fv: 85697712, fv_norm: 13795 fv_scale: 79174600 fv_scale_norm: 12516, state:16 haf_state:3 cur_luma: 65 frame id: 224 exp_index:273 cur_real_gain:1.94 preview_fps:30 gyro:0.027034
07-25 10:41:06.304 476 2000 I : af_actuator_move_focus curr_step_pos:323, curr_len_pos(dac):425, num_steps:26, direction:1
07-25 10:41:06.335 476 2000 I mm-camera-CORE: af_haf_util_end_search ALGO Complete finalpos 323 totaltime: 666 fine_search_time 134 focus_converge_time 532
07-25 10:41:06.335 476 2000 I mm-camera-CORE: af_util_done final lens pos 323, status=1, frame id :225
07-25 10:41:06.336 476 2000 I mm-camera-CORE: af_port_update_af_state Af State changed new_state=2, old_state=2!, cause=2, af_mode=7
07-25 10:41:07.181 476 1999 E mm-camera: <STATS_AEC ><ERROR> aec_process_calc_current_hist_metered_luma: 1767: error: out of range, exit
07-25 10:41:07.215 476 1999 E mm-camera: <STATS_AEC ><ERROR> aec_process_calc_current_hist_metered_luma: 1767: error: out of range, exit
07-25 10:41:07.519 476 1999 E mm-camera: <STATS_AEC ><ERROR> aec_process_calc_current_hist_metered_luma: 1767: error: out of range, exit
07-25 10:41:07.686 476 1999 E mm-camera: <STATS_AEC ><ERROR> aec_process_calc_current_hist_metered_luma: 1767: error: out of range, exit
07-25 10:41:07.715 476 1999 E mm-camera: <STATS_AEC ><ERROR> aec_process_calc_current_hist_metered_luma: 1767: error: out of range, exit
07-25 10:41:07.756 476 1999 E mm-camera: <STATS_AEC ><ERROR> aec_process_calc_current_hist_metered_luma: 1767: error: out of range, exit
07-25 10:41:07.786 476 1999 E mm-camera: <STATS_AEC ><ERROR> aec_process_calc_current_hist_metered_luma: 1767: error: out of range, exit
07-25 10:41:07.817 476 1999 E mm-camera: <STATS_AEC ><ERROR> aec_process_calc_current_hist_metered_luma: 1767: error: out of range, exit
07-25 10:41:07.852 476 1999 E mm-camera: <STATS_AEC ><ERROR> aec_process_calc_current_hist_metered_luma: 1767: error: out of range, exit
07-25 10:41:07.886 476 1999 E mm-camera: <STATS_AEC ><ERROR> aec_process_calc_current_hist_metered_luma: 1767: error: out of range, exit
07-25 10:41:07.916 476 1999 E mm-camera: <STATS_AEC ><ERROR> aec_process_calc_current_hist_metered_luma: 1767: error: out of range, exit
07-25 10:41:07.950 476 1999 E mm-camera: <STATS_AEC ><ERROR> aec_process_calc_current_hist_metered_luma: 1767: error: out of range, exit
07-25 10:41:07.981 476 1999 E mm-camera: <STATS_AEC ><ERROR> aec_process_calc_current_hist_metered_luma: 1767: error: out of range, exit
07-25 10:41:08.015 476 1999 E mm-camera: <STATS_AEC ><ERROR> aec_process_calc_current_hist_metered_luma: 1767: error: out of range, exit
07-25 10:41:08.058 476 1999 E mm-camera: <STATS_AEC ><ERROR> aec_process_calc_current_hist_metered_luma: 1767: error: out of range, exit
07-25 10:41:08.083 476 1999 E mm-camera: <STATS_AEC ><ERROR> aec_process_calc_current_hist_metered_luma: 1767: error: out of range, exit