[Xposed Framework Modules] cognitivedissonance:
Need some help figuring out why Snapchat just started force closing “unfortunately, Snapchat has stopped" as soon as it loads. I can get the legacy version (9.21.1.0) working, but 9.31.1.0 and the most recent version from the play store crash immediately.

I've been troubleshooting for about 2 hours and I'm coming up empty. I've wipe cache, dalvik, app data & cache, uninstalled, reinstalled, uninstalled xposed framework, logged in fresh, and rebooted about 100 times between each step. *I have been using 9.31.1.0 and 2.0.0 together for a couple weeks without issue. Didn't change anything on my end, and it was working earlier today. I don't think it's a Snapprefs issue (I disabled Snapprefs and uninstalled xposed framework and the crashes persist.)

The only time it hasn't crashed is when I installed the older 9.21.1.0 (xposed still uninstalled and snapprefs disabled) and logged in from scratch. I tried with the other versions too, but they crashed. *Can someone look at this logcat (taken with alogcat) and tell me what the problem might be?

E/mm-camera( *291): mctl_divert_socket_recvmsg: Receieved msg_type=0
E/mm--camera_config_v2( *291): config_MSM_V4L2_STREAM_ON, - Inside Stream ON
E/mm-camera( *291): camera_plugin_client_isp_timing_notify_to_plugin: timing event 1
E/mm--camera_config_v2( *291): config_MSM_V4L2_STREAM_ON op_mode = VIDEO User set bundle 0, Stream on 1 for 1
E/mm-camera( *291): ispif_client_set_params, i: 0, InterfaceType: 0
E/mm-camera( *291): ispif_client_set_params: X stream_info ispif_set 1 ispif_client 1
E/mm--camera_config_v2( *291): config_v2_CAMERA_SET_CHANNEL_STREAM rc = 0, status = 1
E/mm--camera_config_v2( *291): config_decide_vfe_outputs: Ports Used 1, Op mode 64
E/mm--camera_config_v2( *291): config_decide_vfe_outputs Current mode 0 Full size streaming : Disabled
E/mm--camera_config_v2( *291): config_decide_vfe_outputs: Primary: 1920x1080, extra_pad: 0x0, Fmt: 1, Type: 1, Path: 1
E/mm--camera_config_v2( *291): config_decide_vfe_outputs: Secondary: 1920x1080, extra_pad: 0x0, Fmt: 0, Type: 0, Path: 0
E/mm--camera_config_v2( *291): config_MSM_V4L2_STREAM_ON pstreamon_bundle_mask 0
E/mm-camera( *291): camera_plugin_client_isp_timing_notify_to_plugin: timing event 3
E/mm--camera_config_v2( *291): config_update_inst_handles Updated the inst handles as 81810081, 0, 81810081, 81810081, 0
E/mm-camera( *291): sensor_client_set_params: cmd type: 12
E/mm-camera( *291): sensor_client_set_params: cmd type: 0
E/mm-camera( *291): camif_client_set_params: camif has associated with obj mask 0x1
E/mm-camera( *291): vfe_process: op_mode : 4
E/mm-camera( *291): vfe_config_mode: VideoCFg config 17ffffff
W/GAv4 ***(23977): CampaignTrackingService is not registered or is disabled. Installation campaign tracking is not possible. See http://goo.gl/8Rd3yj for instructions.
E/mm-camera( *291): vfe_operation_config: format 2
E/mm-camera( *291): vfe_operation_config:vfe_op_mode=4
E/mm-camera( *291): axi_vfe_config: wm0: ub_offset 0 ub_size 239
E/mm-camera( *291): axi_vfe_config: wm1: ub_offset 240 ub_size 119
E/mm-camera( *291): axi_vfe_config: wm2: ub_offset 360 ub_size 319
E/mm-camera( *291): axi_vfe_config: wm3: ub_offset 680 ub_size 119
E/mm-camera( *291): axi_vfe_config: wm4: ub_offset 800 ub_size 159
E/mm-camera( *291): axi_vfe_config: wm5: ub_offset 0 ub_size 0
E/mm-camera( *291): axi_vfe_config: wm6: ub_offset 0 ub_size 0
E/mm-camera( *291): sensor_client_set_params: cmd type: 1
W/GAv4 ***(23977): AnalyticsService not registered in the app manifest. Hits might not be delivered reliably. See http://goo.gl/8Rd3yj for instructions.
I/Finsky *(23950): [1] com.google.android.finsky.l.j.run(208): Loaded library for account: [TBSzzGNRO3YJjA8ZzMpoI7H7XnI]
I/Finsky *(23950): [1] com.google.android.finsky.l.j.run(214): Finished loading 7 libraries.
I/art ****(23882): Background partial concurrent mark sweep GC freed 5323(613KB) AllocSpace objects, 3(67KB) LOS objects, 20% free, 61MB/77MB, paused 7.080ms total 82.885ms
E/mm-camera( *291): sensor_client_set_params: cmd type: 11
E/mm-camera( *291): camera_plugin_client_isp_timing_notify_to_plugin: timing event 5
D/QCameraStream( *305): streamOn: X, mActive = 1, mInit = 1, streamid = 7680, image_mode = 0 rc = 0
I/QCameraHWI( *305): startPreview2: X (success)
E/QCameraHWI_Parm( *305): setGammaMode : cannot open file
I/QCameraHWI( *305): startPreview: X (success)
E/QCameraHWI( *305): processCtrlEvent: MM_CAMERA_CTRL_EVT_HDR_DONE is 5
E/QualcommCamera( *305): Qint android::start_preview(camera_device*): X
I/QCameraHWI( *305): processCtrlEvent: MM_CAMERA_CTRL_EVT_ZOOM_DONE
I/QCameraHWI( *305): zoomEvent: state:2 E
I/QCameraHWI( *305): handleZoomEventForPreview: E
I/QCameraHWI( *305): handleZoomEventForPreview: Fetching crop info
I/QCameraHWI( *305): handleZoomEventForPreview: Crop info received: 0, 0, 0, 0
I/QCameraHWI( *305): handleZoomEventForPreview: Done setting crop
I/QCameraHWI( *305): handleZoomEventForPreview: Currrent zoom :0
I/QCameraHWI( *305): handleZoomEventForPreview: X
E/QCameraHWI( *305): isZSLMode, isZSLMode = 0
I/QCameraHWI( *305): zoomEvent: X
I/QCameraHWI( *305): *App_cb Notify 0x0, datacb=0x0
D/QCameraStream( *305): start MM_CAMERA_PREVIEW Callback
E/mm-camera( *291): sensor_client_set_params: cmd type: 1
E/QCameraHWI_Preview( *305): processPreviewFrameWithDisplay: [JAY] frame_skip_count = 6
D/ConnectivityManager.CallbackHandler(23977): CM callback handler got msg 524296
E/QCameraHWI_Preview( *305): processPreviewFrameWithDisplay: [JAY] frame_skip_count = 5
E/mm-camera( *291): sensor_client_set_params: cmd type: 1
E/QCameraHWI_Preview( *305): processPreviewFrameWithDisplay: [JAY] frame_skip_count = 4
E/mm-camera( *291): sensor_client_set_params: cmd type: 1
I/Finsky *(23950): [1] com.google.android.finsky.wear.WearSupportService.a(6396): Dropping command=send_installed_apps due to Gms not connected
I/Finsky *(23950): [1] com.google.android.finsky.services.bd.a(1075): Restore complete with 0 success and 0 failed.
I/Finsky *(23950): [1700] com.google.android.finsky.billing.iab.r.a(5175): com.snapchat.android: Account determined from installer data - [_B6r05Pfeoyl93txJCQQCnto4mM]
E/QCameraHWI_Preview( *305): processPreviewFrameWithDisplay: [JAY] frame_skip_count = 3
E/mm-camera( *291): sensor_client_set_params: cmd type: 1
E/QCameraHWI_Preview( *305): processPreviewFrameWithDisplay: [JAY] frame_skip_count = 2
E/mm-camera( *291): sensor_client_set_params: cmd type: 1
E/QCameraHWI_Preview( *305): processPreviewFrameWithDisplay: [JAY] frame_skip_count = 1
E/mm-camera( *291): sensor_client_set_params: cmd type: 1
E/QCameraHWI_Preview( *305): processPreviewFrameWithDisplay: mMsgEnabled =0xc1d, preview format =1, msgType = 0x10
V/SecCameraCoreManager( *305): __data_cb
E/BufferQueueProducer(23882): [unnamed-23882-1] dequeueBuffer: min undequeued buffer count (2) exceeded (dequeued=13 undequeued=0)
D/SecCameraCoreManager( *305): disableMsgType: 0x10
E/QualcommCamera( *305): Qvoid android::disable_msg_type(camera_device*, int32_t): E
I/QCameraHWI( *305): disableMsgType: E
I/QCameraHWI( *305): disableMsgType: X, msgType =0x10, mMsgEnabled=0xc0d
D/SecCameraCoreManager( *305): getParameters
E/QualcommCamera( *305): Qchar* android::get_parameters(camera_device*): E
I/QualcommCamera( *305): get_parameters: ae-bracket-hdr=Off;ae-bracket-hdr-values=Off,HDR,AE-Bracket;anti-shake=0;antibanding=50hz;antibanding-values=off,50hz,60hz,auto;auto-exposure-lock=false;auto-exposure-lock-supported=true;auto-whitebalance-lock=false;auto-whitebalance-lock-supported=true;cam_mode=0;camera-mode=0;camera-mode-values=0,1;capture-burst-captures-values=2;capture-burst-exposures=;capture-burst-exposures-values=-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,11,12;capture-burst-interval=1;capture-burst-interval-max=10;capture-burst-interval-min=1;capture-burst-interval-supported=true;capture-burst-retroactive=0;capture-burst-retroactive-max=2;contrast=5;denoise=denoise-on;denoise-values=denoise-off,denoise-on;display_mode=landscape;dual_mode=0;dualrecording-hint=-1;effect=none;effect-values=none,mono,negative,sepia,vintage-warm,vintage-cold,washed;exposure-compensation=0;exposure-compensation-step=0.166667;face-detection=off;face-detection-values=off,on;face_position=(-1,-1);fast-fps-mode=0;focal-length
E/QualcommCamera( *305): Qvoid android::put_parameters(camera_device*, char*): E
E/mm-camera( *291): sensor_client_set_params: cmd type: 1
W/ResourcesManager(23882): Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
W/ResourcesManager(23882): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
E/QCameraHWI_Preview( *305): processPreviewFrameWithDisplay: mMsgEnabled =0xc0d, preview format =1, msgType = 0x0
E/BufferQueueProducer(23882): [unnamed-23882-1] dequeueBuffer: min undequeued buffer count (2) exceeded (dequeued=12 undequeued=1)
I/Finsky *(23950): [1734] com.google.android.finsky.billing.iab.r.a(5175): com.snapchat.android: Account determined from installer data - [_B6r05Pfeoyl93txJCQQCnto4mM]
I/Finsky *(23950): [1700] com.google.android.finsky.billing.iab.r.a(5175): com.snapchat.android: Account determined from installer data - [_B6r05Pfeoyl93txJCQQCnto4mM]
E/mm-camera( *291): sensor_client_set_params: cmd type: 1
E/QCameraHWI_Preview( *305): processPreviewFrameWithDisplay: mMsgEnabled =0xc0d, preview format =1, msgType = 0x0
D/ChimeraFileApk(23882): Primary ABI of requesting process is armeabi-v7a
I/art ****(23882): DexFile_isDexOptNeeded failed to open oat file '/data/dalvik-cache/arm/data@data@com.google.android.gms@app_chimera@m@00000001@DynamiteModulesB_GmsCore_prodlmp_xxhdpi_release.apk@classes.dex' for file location '/data/data/com.google.android.gms/app_chimera/m/00000001/DynamiteModulesB_GmsCore_prodlmp_xxhdpi_release.apk': Failed to open oat filename for reading: No such file or directory
D/ChimeraFileApk(23882): Classloading successful. Optimized code found.
E/mm-camera( *291): sensor_client_set_params: cmd type: 1
E/QCameraHWI_Preview( *305): processPreviewFrameWithDisplay: mMsgEnabled =0xc0d, preview format =1, msgType = 0x0
E/mm-camera( *291): sensor_client_set_params: cmd type: 1
E/QCameraHWI_Preview( *305): processPreviewFrameWithDisplay: mMsgEnabled =0xc0d, preview format =1, msgType = 0x0
D/SecCameraCoreManager( *305): enableMsgType: 0x10
I/QCameraHWI( *305): enableMsgType: E, msgType =0x10
I/QCameraHWI( *305): enableMsgType: X, msgType =0x10, mMsgEnabled=0xc1d
E/mm-camera( *291): sensor_client_set_params: cmd type: 1
E/QCameraHWI_Preview( *305): processPreviewFrameWithDisplay: mMsgEnabled =0xc1d, preview format =1, msgType = 0x10
V/SecCameraCoreManager( *305): __data_cb
D/SecCameraCoreManager( *305): disableMsgType: 0x10
E/QualcommCamera( *305): Qvoid android::disable_msg_type(camera_device*, int32_t): E
I/QCameraHWI( *305): disableMsgType: E
I/QCameraHWI( *305): disableMsgType: X, msgType =0x10, mMsgEnabled=0xc0d
E/mm-camera( *291): sensor_client_set_params: cmd type: 1
D/SecCameraCoreManager( *305): enableMsgType: 0x10
I/QCameraHWI( *305): enableMsgType: E, msgType =0x10
I/QCameraHWI( *305): enableMsgType: X, msgType =0x10, mMsgEnabled=0xc1d
I/art ****(23882): Background sticky concurrent mark sweep GC freed 49508(9MB) AllocSpace objects, 18(303KB) LOS objects, 10% free, 69MB/77MB, paused 7.781ms total 78.735ms
E/QCameraHWI_Preview( *305): processPreviewFrameWithDisplay: mMsgEnabled =0xc1d, preview format =1, msgType = 0x10
V/SecCameraCoreManager( *305): __data_cb
D/SecCameraCoreManager( *305): disableMsgType: 0x10
E/QualcommCamera( *305): Qvoid android::disable_msg_type(camera_device*, int32_t): E
I/QCameraHWI( *305): disableMsgType: E
I/QCameraHWI( *305): disableMsgType: X, msgType =0x10, mMsgEnabled=0xc0d
D/SecCameraCoreManager( *305): enableMsgType: 0x10
I/QCameraHWI( *305): enableMsgType: E, msgType =0x10
I/QCameraHWI( *305): enableMsgType: X, msgType =0x10, mMsgEnabled=0xc1d
D/AndroidRuntime(23882): Shutting down VM
--------- beginning of crash
E/AndroidRuntime(23882): FATAL EXCEPTION: main
E/AndroidRuntime(23882): Process: com.snapchat.android, PID: 23882
E/AndroidRuntime(23882): java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.startsWith(java.lang.String)' on a null object reference
E/AndroidRuntime(23882): *** at Zm.a(SourceFile:4139)
E/AndroidRuntime(23882): *** at ai$a.b(SourceFile:476)
E/AndroidRuntime(23882): *** at ai$a.a(SourceFile:444)
E/AndroidRuntime(23882): *** at az.b(SourceFile:126)
E/AndroidRuntime(23882): *** at ay.a(SourceFile:105)
E/AndroidRuntime(23882): *** at ay.b(SourceFile:37)
E/AndroidRuntime(23882): *** at av$a.a(SourceFile:3249)
E/AndroidRuntime(23882): *** at aB.c(SourceFile:1466)
E/AndroidRuntime(23882): *** at aB$b.handleMessage(SourceFile:483)
E/AndroidRuntime(23882): *** at android.os.Handler.dispatchMessage(Handler.java)
E/AndroidRuntime(23882): *** at android.os.Looper.loop(Looper.java)
E/AndroidRuntime(23882): *** at android.app.ActivityThread.main(ActivityThread.java)
E/AndroidRuntime(23882): *** at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(23882): *** at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(23882): *** at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
E/AndroidRuntime(23882): *** at com.android.intern