Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TV client 4.8.2 keeps crashing #2271

Closed
Liqianyu opened this issue Jul 24, 2019 · 14 comments
Closed

TV client 4.8.2 keeps crashing #2271

Liqianyu opened this issue Jul 24, 2019 · 14 comments
Labels

Comments

@Liqianyu
Copy link

Shadowsocks Android TV 4.8.2 cannot select server or load configuration file
Logcat shows com.github.shadowsocks.tv: bg is constantly crashing

Android OS version 7.1.2\8.0.0
Device PCCW Now E\Sony Bravia ATV2

ADB Logcat
07-24 10:40:46.682 1630 3082 I ActivityManager: Process com.github.shadowsocks.tv:bg (pid 14130) has died: vis TOP 07-24 10:40:46.682 1630 3082 W ActivityManager: Scheduling restart of crashed service com.github.shadowsocks.tv/com.github.shadowsocks.bg.VpnService in 1000ms 07-24 10:40:46.706 1630 3098 I ActivityManager: Start proc 14179:com.github.shadowsocks.tv:bg/u0a119 for service com.github.shadowsocks.tv/com.github.shadowsocks.bg.VpnService 07-24 10:40:46.936 14179 14208 I FA : adb shell setprop debug.firebase.analytics.app com.github.shadowsocks.tv 07-24 10:40:47.017 1630 3098 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="fiid-sync", packageName=com.github.shadowsocks.tv, ownerUid=10119, ownerPid=14179, workSource=null 07-24 10:40:47.206 1630 3123 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="fiid-sync", packageName=com.github.shadowsocks.tv, ownerUid=10119, ownerPid=14179, workSource=null 07-24 10:40:47.380 1630 3067 I ActivityManager: Process com.github.shadowsocks.tv:bg (pid 14179) has died: vis TOP 07-24 10:40:47.380 1630 3067 W ActivityManager: Scheduling restart of crashed service com.github.shadowsocks.tv/com.github.shadowsocks.bg.VpnService in 1000ms 07-24 10:40:47.400 1630 2296 I ActivityManager: Start proc 14226:com.github.shadowsocks.tv:bg/u0a119 for service com.github.shadowsocks.tv/com.github.shadowsocks.bg.VpnService 07-24 10:40:47.619 14226 14255 I FA : adb shell setprop debug.firebase.analytics.app com.github.shadowsocks.tv 07-24 10:40:47.686 1630 2296 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="fiid-sync", packageName=com.github.shadowsocks.tv, ownerUid=10119, ownerPid=14226, workSource=null 07-24 10:40:47.867 1630 3067 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="fiid-sync", packageName=com.github.shadowsocks.tv, ownerUid=10119, ownerPid=14226, workSource=null

@Mygod
Copy link
Contributor

Mygod commented Jul 24, 2019

Post full logcat.

@Liqianyu
Copy link
Author

Liqianyu commented Jul 24, 2019

@Mygod
The crash happens immediately after opening the program
Device: Sony Bravia ATV2
The 4.8.1 version is normally executed.

07-24 11:26:30.534  1260  1484 D audio_hw_primary: adev_create_audio_patch(), handle:0 numsource:1 numsink:1
07-24 11:26:30.534  1630  3098 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="AudioMix", packageName=audioserver, ownerUid=1041, ownerPid=0, workSource=null
07-24 11:26:30.534  1260  1484 I audio_hw_primary: source[0] device:0x15
07-24 11:26:30.534  1260  1484 I audio_hw_primary: source[0] address:
07-24 11:26:30.534  1260  1484 I audio_hw_primary: sink tpye:AUDIO_PORT_TYPE_DEVICE
07-24 11:26:30.534  1260  1484 I audio_hw_primary: sink[0] device:0x2
07-24 11:26:30.534  1260  1484 I audio_hw_primary: sink[0] address:
07-24 11:26:30.534  1260  1484 I audio_hw_primary: Get a patch (2963360624) by the sources
07-24 11:26:30.535  1260  1484 I audio_hw_primary: modifyAudioPatch handle:12 sucess!
07-24 11:26:30.535  1260  1484 D audio_hw_primary: checkAllAudioPatches patch num 0
07-24 11:26:30.535  1260  1484 D audio_hw_primary: checkAllAudioPatches patch num 3
07-24 11:26:30.535  1260  1484 D audio_hw_primary: checkAllAudioPatches patch num 1
07-24 11:26:30.535  1260  1484 D audio_hw_primary: spdif count 1
07-24 11:26:30.535  1260  1484 D audio_hw_primary: unmute spdif
07-24 11:26:30.535  1260  1484 D audio_hw_primary: adev_create_audio_patch(), return handle:12
07-24 11:26:30.535  1260  1260 D audio_hw_primary: adev_set_audio_port_config
07-24 11:26:30.535  1260  1260 D audio_hw_primary: index:15  previous volume info:100 15 0 18 100 100 100 100
07-24 11:26:30.535  1260  1260 D audio_hw_primary: change speaker volume:15
07-24 11:26:30.535  1260  1260 D audio_hw_primary: change lineout volume:15
07-24 11:26:30.535  1260  1260 D audio_hw_primary: change subwoofer volume:15
07-24 11:26:30.541  1630  3098 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="AudioMix", packageName=audioserver, ownerUid=1041, ownerPid=0, workSource=WorkSource{1000}
07-24 11:26:30.545  1630  3033 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="*launch*", packageName=android, ownerUid=1000, ownerPid=1630, workSource=WorkSource{10119}
07-24 11:26:30.602  1630  2303 I ActivityManager: Start proc 15248:com.github.shadowsocks.tv/u0a119 for activity com.github.shadowsocks.tv/.MainActivity
07-24 11:26:30.607 15248 15248 W zygote  : Using default instruction set features for ARM CPU variant (cortex-a9) using conservative defaults
07-24 11:26:30.608  1266  1266 D gralloc : mali_gralloc_select_format: req_format=0x00000001 req_fmt_mapped=0x1 internal_format=0x1 usage=0x966
07-24 11:26:30.608  1266  1266 D gralloc : set_ion_flags heap_mask:0x1 usage:0x966
07-24 11:26:30.608  1266  1266 D gralloc : ========flag ION_FLAG_CACHED
07-24 11:26:30.670  1294  1469 I vndksupport: sphal namespace is not configured for this process. Loading /odm/lib/hw/gralloc.mt5891.so from the current namespace instead.
07-24 11:26:30.673  1630  2156 I vndksupport: sphal namespace is not configured for this process. Loading /odm/lib/hw/gralloc.mt5891.so from the current namespace instead.
07-24 11:26:30.690  1630  1728 E memtrack: Couldn't load memtrack module
07-24 11:26:30.690  1630  1728 W android.os.Debug: failed to get memory consumption info: -1
07-24 11:26:30.704  1294  2174 E BufferQueueProducer: [com.google.android.tvlauncher/com.google.android.tvlauncher.MainActivity#0] disconnect: not connected (req=1)
07-24 11:26:30.714  3183  3635 W libEGL  : EGLNativeWindowType 0x82247008 disconnect failed
07-24 11:26:30.731  1294  1605 E BufferQueueProducer: [com.android.tv.settings/com.sony.dtv.settings.MainSettings#0] disconnect: not connected (req=1)
07-24 11:26:30.732  6686  9348 W libEGL  : EGLNativeWindowType 0x7c8d9808 disconnect failed
07-24 11:26:30.757  1267  1531 I vndksupport: sphal namespace is not configured for this process. Loading /odm/lib/hw/gralloc.mt5891.so from the current namespace instead.
07-24 11:26:30.803  1630  1728 E memtrack: Couldn't load memtrack module
07-24 11:26:30.803  1630  1728 W android.os.Debug: failed to get memory consumption info: -1
07-24 11:26:30.880 15248 15248 I CrashlyticsCore: Initializing Crashlytics Core 2.7.0.33
07-24 11:26:30.897 15248 15271 W GooglePlayServicesUtil: Google Play Store is missing.
07-24 11:26:31.043 15248 15277 I FA      : App measurement is starting up, version: 16250
07-24 11:26:31.043 15248 15277 I FA      : To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
07-24 11:26:31.043 15248 15277 I FA      : To enable faster debug mode event logging run:
07-24 11:26:31.043 15248 15277 I FA      :   adb shell setprop debug.firebase.analytics.app com.github.shadowsocks.tv
07-24 11:26:31.080 15248 15284 W zzd     : Application name is not set. Call Builder#setApplicationName.
07-24 11:26:31.137  1294  1294 D SurfaceFlinger: Backpressure trigger, skipping transaction & refresh!
07-24 11:26:31.173  1630  3080 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="fiid-sync", packageName=com.github.shadowsocks.tv, ownerUid=10119, ownerPid=15248, workSource=null
07-24 11:26:31.177 15248 15292 E FirebaseInstanceId: Google Play services missing or without correct permission.
07-24 11:26:31.330 15248 15277 I zygote  : Deoptimizing java.lang.Object com.google.android.gms.measurement.internal.zzdu.get(java.lang.Object) due to JIT inline cache
07-24 11:26:31.335 15248 15277 W GooglePlayServicesUtil: Google Play Store is missing.
07-24 11:26:31.335 15248 15277 W FA      : Service invalid
07-24 11:26:31.344 15248 15258 I zygote  : Background concurrent copying GC freed 9062(1061KB) AllocSpace objects, 10(200KB) LOS objects, 59% free, 1031KB/2MB, paused 572us total 132.961ms
07-24 11:26:31.369  1630  3098 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="fiid-sync", packageName=com.github.shadowsocks.tv, ownerUid=10119, ownerPid=15248, workSource=null
07-24 11:26:31.376 15248 15292 E FirebaseInstanceId: Google Play services missing or without correct permission.
07-24 11:26:31.398  1630  1663 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="AudioMix", packageName=audioserver, ownerUid=1041, ownerPid=0, workSource=null
07-24 11:26:31.431  1630  3080 I ActivityManager: Start proc 15295:com.github.shadowsocks.tv:bg/u0a119 for service com.github.shadowsocks.tv/com.github.shadowsocks.bg.VpnService
07-24 11:26:31.435 15295 15295 W zygote  : Using default instruction set features for ARM CPU variant (cortex-a9) using conservative defaults
07-24 11:26:31.525 15248 15316 D OpenGLRenderer: HWUI GL Pipeline
07-24 11:26:31.564 15295 15295 I CrashlyticsCore: Initializing Crashlytics Core 2.7.0.33
07-24 11:26:31.574  1266  1266 D gralloc : mali_gralloc_select_format: req_format=0x00000001 req_fmt_mapped=0x1 internal_format=0x1 usage=0x900
07-24 11:26:31.575  1266  1266 D gralloc : set_ion_flags heap_mask:0x1 usage:0x900
07-24 11:26:31.581 15248 15316 I OpenGLRenderer: Initialized EGL, version 1.4
07-24 11:26:31.581 15248 15316 D OpenGLRenderer: Swap behavior 2
07-24 11:26:31.587  1294  1792 I vndksupport: sphal namespace is not configured for this process. Loading /odm/lib/hw/gralloc.mt5891.so from the current namespace instead.
07-24 11:26:31.589  1266  1266 D gralloc : mali_gralloc_select_format: req_format=0x00000001 req_fmt_mapped=0x1 internal_format=0x1 usage=0x900
07-24 11:26:31.589  1266  1266 D gralloc : set_ion_flags heap_mask:0x1 usage:0x900
07-24 11:26:31.592  1294  1792 I vndksupport: sphal namespace is not configured for this process. Loading /odm/lib/hw/gralloc.mt5891.so from the current namespace instead.
07-24 11:26:31.593  1266  1266 D gralloc : mali_gralloc_select_format: req_format=0x00000001 req_fmt_mapped=0x1 internal_format=0x1 usage=0x900
07-24 11:26:31.593  1266  1266 D gralloc : set_ion_flags heap_mask:0x1 usage:0x900
07-24 11:26:31.597  1294  1792 I vndksupport: sphal namespace is not configured for this process. Loading /odm/lib/hw/gralloc.mt5891.so from the current namespace instead.
07-24 11:26:31.599 15248 15316 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
07-24 11:26:31.614 15295 15320 W GooglePlayServicesUtil: Google Play Store is missing.
07-24 11:26:31.657 15248 15253 I zygote  : Do partial code cache collection, code=29KB, data=25KB
07-24 11:26:31.658 15248 15253 I zygote  : After code cache collection, code=25KB, data=22KB
07-24 11:26:31.658 15248 15253 I zygote  : Increasing code cache capacity to 128KB
07-24 11:26:31.674 15295 15305 I zygote  : Background concurrent copying GC freed 8634(1261KB) AllocSpace objects, 9(180KB) LOS objects, 69% free, 685KB/2MB, paused 5.989ms total 61.951ms
07-24 11:26:31.767  1266  1266 D gralloc : mali_gralloc_select_format: req_format=0x00000001 req_fmt_mapped=0x1 internal_format=0x1 usage=0xb00
07-24 11:26:31.767  1266  1266 D gralloc : set_ion_flags heap_mask:0x1 usage:0xb00
07-24 11:26:31.782  1294  1467 I vndksupport: sphal namespace is not configured for this process. Loading /odm/lib/hw/gralloc.mt5891.so from the current namespace instead.
07-24 11:26:31.794 15295 15334 I FA      : App measurement is starting up, version: 16250
07-24 11:26:31.794 15295 15334 I FA      : To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
07-24 11:26:31.794 15295 15334 I FA      : To enable faster debug mode event logging run:
07-24 11:26:31.794 15295 15334 I FA      :   adb shell setprop debug.firebase.analytics.app com.github.shadowsocks.tv
07-24 11:26:31.801 15248 15316 I vndksupport: sphal namespace is not configured for this process. Loading /odm/lib/hw/gralloc.mt5891.so from the current namespace instead.
07-24 11:26:31.813 15248 15316 I vndksupport: sphal namespace is not configured for this process. Loading /odm/lib/hw/gralloc.mt5891.so from the current namespace instead.
07-24 11:26:31.834 15295 15341 W zzd     : Application name is not set. Call Builder#setApplicationName.
07-24 11:26:31.873  1266  1266 D gralloc : mali_gralloc_select_format: req_format=0x00000001 req_fmt_mapped=0x1 internal_format=0x1 usage=0xb00
07-24 11:26:31.873  1266  1266 D gralloc : set_ion_flags heap_mask:0x1 usage:0xb00
07-24 11:26:31.877  1630  1783 I ActivityManager: Displayed com.github.shadowsocks.tv/.MainActivity: +1s280ms
07-24 11:26:31.887  1294  1605 I vndksupport: sphal namespace is not configured for this process. Loading /odm/lib/hw/gralloc.mt5891.so from the current namespace instead.
07-24 11:26:31.889 15248 15316 I vndksupport: sphal namespace is not configured for this process. Loading /odm/lib/hw/gralloc.mt5891.so from the current namespace instead.
07-24 11:26:31.924  1267  1530 I vndksupport: sphal namespace is not configured for this process. Loading /odm/lib/hw/gralloc.mt5891.so from the current namespace instead.
07-24 11:26:31.931  1630  1630 V HotPlugDetectionAction: Poll all devices.
07-24 11:26:31.938  1294  1294 D SurfaceFlinger: Backpressure trigger, skipping transaction & refresh!
07-24 11:26:31.951  1630  3067 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="fiid-sync", packageName=com.github.shadowsocks.tv, ownerUid=10119, ownerPid=15295, workSource=null
07-24 11:26:31.959 15295 15351 E FirebaseInstanceId: Google Play services missing or without correct permission.
07-24 11:26:32.046  1273  1273 E hw-IPCThreadState: binder thread pool (1 threads) starved for 114 ms
07-24 11:26:32.056  1294  1294 D SurfaceFlinger: Backpressure trigger, skipping transaction & refresh!
07-24 11:26:32.088 15295 15334 I zygote  : Deoptimizing java.lang.Object com.google.android.gms.measurement.internal.zzdu.get(java.lang.Object) due to JIT inline cache
07-24 11:26:32.109 15295 15334 W GooglePlayServicesUtil: Google Play Store is missing.
07-24 11:26:32.109 15295 15334 W FA      : Service invalid
07-24 11:26:32.144 15248 15287 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: false
07-24 11:26:32.155  1630  3124 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="fiid-sync", packageName=com.github.shadowsocks.tv, ownerUid=10119, ownerPid=15295, workSource=null
07-24 11:26:32.160 15295 15351 E FirebaseInstanceId: Google Play services missing or without correct permission.
07-24 11:26:32.172 15295 15305 I zygote  : Background concurrent copying GC freed 9549(1144KB) AllocSpace objects, 10(200KB) LOS objects, 58% free, 1107KB/2MB, paused 2.527ms total 150.006ms
07-24 11:26:32.186  1273  1273 E hw-IPCThreadState: binder thread pool (1 threads) starved for 139 ms
07-24 11:26:32.291 15295 15300 I zygote  : Do partial code cache collection, code=29KB, data=28KB
07-24 11:26:32.293 15295 15300 I zygote  : After code cache collection, code=24KB, data=24KB
07-24 11:26:32.293 15295 15300 I zygote  : Increasing code cache capacity to 128KB
07-24 11:26:32.305  1273  1273 E hw-IPCThreadState: binder thread pool (1 threads) starved for 119 ms
07-24 11:26:32.314 15295 15334 I FA      : Tag Manager is not found and thus will not be used
07-24 11:26:32.331 15295 15307 I Process : Sending signal. PID: 15295 SIG: 9
07-24 11:26:32.344  1630  1663 I ActivityManager: Process com.github.shadowsocks.tv:bg (pid 15295) has died: vis  TOP
07-24 11:26:32.345  1630  1663 W ActivityManager: Scheduling restart of crashed service com.github.shadowsocks.tv/com.github.shadowsocks.bg.VpnService in 1000ms
07-24 11:26:32.365  1630  2296 I ActivityManager: Start proc 15359:com.github.shadowsocks.tv:bg/u0a119 for service com.github.shadowsocks.tv/com.github.shadowsocks.bg.VpnService
07-24 11:26:32.369 15359 15359 W zygote  : Using default instruction set features for ARM CPU variant (cortex-a9) using conservative defaults
07-24 11:26:32.481 15359 15382 W GooglePlayServicesUtil: Google Play Store is missing.
07-24 11:26:32.481 15359 15359 I CrashlyticsCore: Initializing Crashlytics Core 2.7.0.33
07-24 11:26:32.575  1273  1273 E hw-IPCThreadState: binder thread pool (1 threads) starved for 124 ms
07-24 11:26:32.593 15359 15388 I FA      : App measurement is starting up, version: 16250
07-24 11:26:32.593 15359 15388 I FA      : To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
07-24 11:26:32.593 15359 15388 I FA      : To enable faster debug mode event logging run:
07-24 11:26:32.593 15359 15388 I FA      :   adb shell setprop debug.firebase.analytics.app com.github.shadowsocks.tv
07-24 11:26:32.623 15359 15395 W zzd     : Application name is not set. Call Builder#setApplicationName.
07-24 11:26:32.648  1630  3124 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="fiid-sync", packageName=com.github.shadowsocks.tv, ownerUid=10119, ownerPid=15359, workSource=null
07-24 11:26:32.657 15359 15400 E FirebaseInstanceId: Google Play services missing or without correct permission.
07-24 11:26:32.680 15359 15388 W GooglePlayServicesUtil: Google Play Store is missing.
07-24 11:26:32.682 15359 15388 W FA      : Service invalid
07-24 11:26:32.710  1273  1273 E hw-IPCThreadState: binder thread pool (1 threads) starved for 135 ms
07-24 11:26:32.721  1630  3555 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="fiid-sync", packageName=com.github.shadowsocks.tv, ownerUid=10119, ownerPid=15359, workSource=null
07-24 11:26:32.726 15359 15400 E FirebaseInstanceId: Google Play services missing or without correct permission.
07-24 11:26:32.752 15359 15388 I zygote  : Deoptimizing java.lang.Object com.google.android.gms.measurement.internal.zzdu.get(java.lang.Object) due to JIT inline cache
07-24 11:26:32.893 15359 15369 I zygote  : Background concurrent copying GC freed 11622(1268KB) AllocSpace objects, 10(200KB) LOS objects, 58% free, 1095KB/2MB, paused 391us total 137.244ms
07-24 11:26:32.919  1273  1273 E hw-IPCThreadState: binder thread pool (1 threads) starved for 126 ms
07-24 11:26:32.931  3224  3224 D TVNotifService: skipped notification StatusBarNotification(pkg=com.github.shadowsocks user=UserHandle{0} id=1 tag=null key=0|com.github.shadowsocks|1|null|10121: Notification(channel=service-vpn pri=-2 contentView=null vibrate=null sound=null tick defaults=0x0 flags=0x62 color=0xff607d8b category=service vis=PRIVATE)) userId: 0
07-24 11:26:32.969 15359 15364 I zygote  : Do partial code cache collection, code=29KB, data=22KB
07-24 11:26:32.970 15359 15364 I zygote  : After code cache collection, code=24KB, data=19KB
07-24 11:26:32.970 15359 15364 I zygote  : Increasing code cache capacity to 128KB
07-24 11:26:33.033 15359 15388 I FA      : Tag Manager is not found and thus will not be used
07-24 11:26:33.045 15359 15371 I Process : Sending signal. PID: 15359 SIG: 9
07-24 11:26:33.050  1273  1273 E hw-IPCThreadState: binder thread pool (1 threads) starved for 128 ms
07-24 11:26:33.092  1630  1663 I ActivityManager: Process com.github.shadowsocks.tv:bg (pid 15359) has died: vis  TOP
07-24 11:26:33.092  1630  1663 W ActivityManager: Scheduling restart of crashed service com.github.shadowsocks.tv/com.github.shadowsocks.bg.VpnService in 1000ms
07-24 11:26:33.112  1630  3123 I ActivityManager: Start proc 15409:com.github.shadowsocks.tv:bg/u0a119 for service com.github.shadowsocks.tv/com.github.shadowsocks.bg.VpnService
07-24 11:26:33.115 15409 15409 W zygote  : Using default instruction set features for ARM CPU variant (cortex-a9) using conservative defaults
07-24 11:26:33.221 15409 15409 I CrashlyticsCore: Initializing Crashlytics Core 2.7.0.33
07-24 11:26:33.223 15409 15432 W GooglePlayServicesUtil: Google Play Store is missing.
07-24 11:26:33.239 15248 15287 E CrashlyticsCore: Error occurred sending report com.crashlytics.android.core.SessionReport@933cf02
07-24 11:26:33.239 15248 15287 E CrashlyticsCore: io.fabric.sdk.android.services.network.HttpRequest$HttpRequestException: java.io.FileNotFoundException: /data/user_de/0/com.github.shadowsocks.tv/files/.Fabric/com.crashlytics.sdk.android.crashlytics-core/fatal-sessions/5D37CFD501CD-0001-3ABF-643C87D000E2.cls (No such file or directory)
07-24 11:26:33.239 15248 15287 E CrashlyticsCore:       at io.fabric.sdk.android.services.network.HttpRequest.part(HttpRequest.java:2623)
07-24 11:26:33.239 15248 15287 E CrashlyticsCore:       at com.crashlytics.android.core.DefaultCreateReportSpiCall.applyMultipartDataTo(DefaultCreateReportSpiCall.java:94)
07-24 11:26:33.239 15248 15287 E CrashlyticsCore:       at com.crashlytics.android.core.DefaultCreateReportSpiCall.invoke(DefaultCreateReportSpiCall.java:61)
07-24 11:26:33.239 15248 15287 E CrashlyticsCore:       at com.crashlytics.android.core.CompositeCreateReportSpiCall.invoke(CompositeCreateReportSpiCall.java:18)
07-24 11:26:33.239 15248 15287 E CrashlyticsCore:       at com.crashlytics.android.core.ReportUploader.forceUpload(ReportUploader.java:104)
07-24 11:26:33.239 15248 15287 E CrashlyticsCore:       at com.crashlytics.android.core.ReportUploader$Worker.attemptUploadWithRetry(ReportUploader.java:242)
07-24 11:26:33.239 15248 15287 E CrashlyticsCore:       at com.crashlytics.android.core.ReportUploader$Worker.onRun(ReportUploader.java:185)
07-24 11:26:33.239 15248 15287 E CrashlyticsCore:       at io.fabric.sdk.android.services.common.BackgroundPriorityRunnable.run(BackgroundPriorityRunnable.java:30)
07-24 11:26:33.239 15248 15287 E CrashlyticsCore:       at java.lang.Thread.run(Thread.java:764)
07-24 11:26:33.239 15248 15287 E CrashlyticsCore: Caused by: java.io.FileNotFoundException: /data/user_de/0/com.github.shadowsocks.tv/files/.Fabric/com.crashlytics.sdk.android.crashlytics-core/fatal-sessions/5D37CFD501CD-0001-3ABF-643C87D000E2.cls (No such file or directory)
07-24 11:26:33.239 15248 15287 E CrashlyticsCore:       at java.io.FileInputStream.open0(Native Method)
07-24 11:26:33.239 15248 15287 E CrashlyticsCore:       at java.io.FileInputStream.open(FileInputStream.java:200)
07-24 11:26:33.239 15248 15287 E CrashlyticsCore:       at java.io.FileInputStream.<init>(FileInputStream.java:150)
07-24 11:26:33.239 15248 15287 E CrashlyticsCore:       at io.fabric.sdk.android.services.network.HttpRequest.part(HttpRequest.java:2620)
07-24 11:26:33.239 15248 15287 E CrashlyticsCore:       ... 8 more
07-24 11:26:33.246  1273  1273 E hw-IPCThreadState: binder thread pool (1 threads) starved for 124 ms
07-24 11:26:33.349 15409 15438 I FA      : App measurement is starting up, version: 16250
07-24 11:26:33.349 15409 15438 I FA      : To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
07-24 11:26:33.350 15409 15438 I FA      : To enable faster debug mode event logging run:
07-24 11:26:33.350 15409 15438 I FA      :   adb shell setprop debug.firebase.analytics.app com.github.shadowsocks.tv
07-24 11:26:33.368 15409 15446 W zzd     : Application name is not set. Call Builder#setApplicationName.
07-24 11:26:33.371  1273  1273 E hw-IPCThreadState: binder thread pool (1 threads) starved for 124 ms
07-24 11:26:33.427  1630  3123 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="fiid-sync", packageName=com.github.shadowsocks.tv, ownerUid=10119, ownerPid=15409, workSource=null
07-24 11:26:33.436 15409 15453 E FirebaseInstanceId: Google Play services missing or without correct permission.
07-24 11:26:33.486 15409 15438 I zygote  : Deoptimizing java.lang.Object com.google.android.gms.measurement.internal.zzdu.get(java.lang.Object) due to JIT inline cache
07-24 11:26:33.515  1273  1273 E hw-IPCThreadState: binder thread pool (1 threads) starved for 143 ms
07-24 11:26:33.575 15409 15438 W GooglePlayServicesUtil: Google Play Store is missing.
07-24 11:26:33.575 15409 15438 W FA      : Service invalid
07-24 11:26:33.613  1630  3033 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="fiid-sync", packageName=com.github.shadowsocks.tv, ownerUid=10119, ownerPid=15409, workSource=null
07-24 11:26:33.617 15409 15453 E FirebaseInstanceId: Google Play services missing or without correct permission.
07-24 11:26:33.653 15409 15414 I zygote  : Do partial code cache collection, code=31KB, data=22KB
07-24 11:26:33.656 15409 15414 I zygote  : After code cache collection, code=26KB, data=19KB
07-24 11:26:33.656 15409 15414 I zygote  : Increasing code cache capacity to 128KB
07-24 11:26:33.730 15409 15438 I FA      : Tag Manager is not found and thus will not be used
07-24 11:26:33.748 15409 15420 I Process : Sending signal. PID: 15409 SIG: 9
07-24 11:26:33.782  1630  3067 I ActivityManager: Process com.github.shadowsocks.tv:bg (pid 15409) has died: vis  TOP
07-24 11:26:33.782  1630  3067 W ActivityManager: Scheduling restart of crashed service com.github.shadowsocks.tv/com.github.shadowsocks.bg.VpnService in 1000ms
07-24 11:26:33.802  1630  3124 I ActivityManager: Start proc 15458:com.github.shadowsocks.tv:bg/u0a119 for service com.github.shadowsocks.tv/com.github.shadowsocks.bg.VpnService
07-24 11:26:33.808 15458 15458 W zygote  : Using default instruction set features for ARM CPU variant (cortex-a9) using conservative defaults
07-24 11:26:33.895 15248 15287 E CrashlyticsCore: Error occurred sending report com.crashlytics.android.core.SessionReport@a381405
07-24 11:26:33.895 15248 15287 E CrashlyticsCore: io.fabric.sdk.android.services.network.HttpRequest$HttpRequestException: java.io.FileNotFoundException: /data/user_de/0/com.github.shadowsocks.tv/files/.Fabric/com.crashlytics.sdk.android.crashlytics-core/fatal-sessions/5D37CFD6016C-0001-3AEF-643C87D000E2.cls (No such file or directory)
07-24 11:26:33.895 15248 15287 E CrashlyticsCore:       at io.fabric.sdk.android.services.network.HttpRequest.part(HttpRequest.java:2623)
07-24 11:26:33.895 15248 15287 E CrashlyticsCore:       at com.crashlytics.android.core.DefaultCreateReportSpiCall.applyMultipartDataTo(DefaultCreateReportSpiCall.java:94)
07-24 11:26:33.895 15248 15287 E CrashlyticsCore:       at com.crashlytics.android.core.DefaultCreateReportSpiCall.invoke(DefaultCreateReportSpiCall.java:61)
07-24 11:26:33.895 15248 15287 E CrashlyticsCore:       at com.crashlytics.android.core.CompositeCreateReportSpiCall.invoke(CompositeCreateReportSpiCall.java:18)
07-24 11:26:33.895 15248 15287 E CrashlyticsCore:       at com.crashlytics.android.core.ReportUploader.forceUpload(ReportUploader.java:104)
07-24 11:26:33.895 15248 15287 E CrashlyticsCore:       at com.crashlytics.android.core.ReportUploader$Worker.attemptUploadWithRetry(ReportUploader.java:242)
07-24 11:26:33.895 15248 15287 E CrashlyticsCore:       at com.crashlytics.android.core.ReportUploader$Worker.onRun(ReportUploader.java:185)
07-24 11:26:33.895 15248 15287 E CrashlyticsCore:       at io.fabric.sdk.android.services.common.BackgroundPriorityRunnable.run(BackgroundPriorityRunnable.java:30)
07-24 11:26:33.895 15248 15287 E CrashlyticsCore:       at java.lang.Thread.run(Thread.java:764)
07-24 11:26:33.895 15248 15287 E CrashlyticsCore: Caused by: java.io.FileNotFoundException: /data/user_de/0/com.github.shadowsocks.tv/files/.Fabric/com.crashlytics.sdk.android.crashlytics-core/fatal-sessions/5D37CFD6016C-0001-3AEF-643C87D000E2.cls (No such file or directory)
07-24 11:26:33.895 15248 15287 E CrashlyticsCore:       at java.io.FileInputStream.open0(Native Method)
07-24 11:26:33.895 15248 15287 E CrashlyticsCore:       at java.io.FileInputStream.open(FileInputStream.java:200)
07-24 11:26:33.895 15248 15287 E CrashlyticsCore:       at java.io.FileInputStream.<init>(FileInputStream.java:150)
07-24 11:26:33.895 15248 15287 E CrashlyticsCore:       at io.fabric.sdk.android.services.network.HttpRequest.part(HttpRequest.java:2620)
07-24 11:26:33.895 15248 15287 E CrashlyticsCore:       ... 8 more
07-24 11:26:33.924 15458 15458 I CrashlyticsCore: Initializing Crashlytics Core 2.7.0.33
07-24 11:26:33.930  3224  3224 D TVNotifService: skipped notification StatusBarNotification(pkg=com.github.shadowsocks user=UserHandle{0} id=1 tag=null key=0|com.github.shadowsocks|1|null|10121: Notification(channel=service-vpn pri=-2 contentView=null vibrate=null sound=null tick defaults=0x0 flags=0x62 color=0xff607d8b category=service vis=PRIVATE)) userId: 0
07-24 11:26:33.936 15458 15481 W GooglePlayServicesUtil: Google Play Store is missing.
07-24 11:26:34.048 15458 15487 I FA      : App measurement is starting up, version: 16250
07-24 11:26:34.048 15458 15487 I FA      : To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
07-24 11:26:34.049 15458 15487 I FA      : To enable faster debug mode event logging run:
07-24 11:26:34.049 15458 15487 I FA      :   adb shell setprop debug.firebase.analytics.app com.github.shadowsocks.tv
07-24 11:26:34.070 15458 15494 W zzd     : Application name is not set. Call Builder#setApplicationName.
07-24 11:26:34.099  1630  1660 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="fiid-sync", packageName=com.github.shadowsocks.tv, ownerUid=10119, ownerPid=15458, workSource=null
07-24 11:26:34.103 15458 15499 E FirebaseInstanceId: Google Play services missing or without correct permission.
07-24 11:26:34.135 15458 15487 W GooglePlayServicesUtil: Google Play Store is missing.
07-24 11:26:34.135 15458 15487 W FA      : Service invalid
07-24 11:26:34.207  1630  3080 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="fiid-sync", packageName=com.github.shadowsocks.tv, ownerUid=10119, ownerPid=15458, workSource=null
07-24 11:26:34.221 15458 15499 E FirebaseInstanceId: Google Play services missing or without correct permission.
07-24 11:26:34.233  1260  1545 D audio_hw_primary: do_output_standby(), out 0xb03ab000, output_type = 3, pcm_type = 3
07-24 11:26:34.257 15458 15487 I zygote  : Deoptimizing java.lang.Object com.google.android.gms.measurement.internal.zzdu.get(java.lang.Object) due to JIT inline cache
07-24 11:26:34.289 15458 15468 I zygote  : Background concurrent copying GC freed 12404(1343KB) AllocSpace objects, 12(240KB) LOS objects, 58% free, 1094KB/2MB, paused 807us total 129.292ms
07-24 11:26:34.358 15458 15463 I zygote  : Do partial code cache collection, code=31KB, data=22KB
07-24 11:26:34.360 15458 15463 I zygote  : After code cache collection, code=26KB, data=19KB
07-24 11:26:34.360 15458 15463 I zygote  : Increasing code cache capacity to 128KB
07-24 11:26:34.439 15458 15487 I FA      : Tag Manager is not found and thus will not be used
07-24 11:26:34.457 15458 15469 I Process : Sending signal. PID: 15458 SIG: 9
07-24 11:26:34.469  1630  1660 I ActivityManager: Process com.github.shadowsocks.tv:bg (pid 15458) has died: vis  TOP
07-24 11:26:34.469  1630  1660 W ActivityManager: Scheduling restart of crashed service com.github.shadowsocks.tv/com.github.shadowsocks.bg.VpnService in 1000ms
07-24 11:26:34.491  1630  3555 I ActivityManager: Start proc 15506:com.github.shadowsocks.tv:bg/u0a119 for service com.github.shadowsocks.tv/com.github.shadowsocks.bg.VpnService
07-24 11:26:34.494 15506 15506 W zygote  : Using default instruction set features for ARM CPU variant (cortex-a9) using conservative defaults
07-24 11:26:34.586  1630  2246 E TaskPersister: File error accessing recents directory (directory doesn't exist?).
07-24 11:26:34.601 15506 15506 I CrashlyticsCore: Initializing Crashlytics Core 2.7.0.33
07-24 11:26:34.607 15248 15287 E CrashlyticsCore: Error occurred sending report com.crashlytics.android.core.SessionReport@c4c6614
07-24 11:26:34.607 15248 15287 E CrashlyticsCore: io.fabric.sdk.android.services.network.HttpRequest$HttpRequestException: java.io.FileNotFoundException: /data/user_de/0/com.github.shadowsocks.tv/files/.Fabric/com.crashlytics.sdk.android.crashlytics-core/fatal-sessions/5D37CFD70150-0001-3B1F-643C87D000E2.cls (No such file or directory)
07-24 11:26:34.607 15248 15287 E CrashlyticsCore:       at io.fabric.sdk.android.services.network.HttpRequest.part(HttpRequest.java:2623)
07-24 11:26:34.607 15248 15287 E CrashlyticsCore:       at com.crashlytics.android.core.DefaultCreateReportSpiCall.applyMultipartDataTo(DefaultCreateReportSpiCall.java:94)
07-24 11:26:34.607 15248 15287 E CrashlyticsCore:       at com.crashlytics.android.core.DefaultCreateReportSpiCall.invoke(DefaultCreateReportSpiCall.java:61)
07-24 11:26:34.607 15248 15287 E CrashlyticsCore:       at com.crashlytics.android.core.CompositeCreateReportSpiCall.invoke(CompositeCreateReportSpiCall.java:18)
07-24 11:26:34.607 15248 15287 E CrashlyticsCore:       at com.crashlytics.android.core.ReportUploader.forceUpload(ReportUploader.java:104)
07-24 11:26:34.607 15248 15287 E CrashlyticsCore:       at com.crashlytics.android.core.ReportUploader$Worker.attemptUploadWithRetry(ReportUploader.java:242)
07-24 11:26:34.607 15248 15287 E CrashlyticsCore:       at com.crashlytics.android.core.ReportUploader$Worker.onRun(ReportUploader.java:185)
07-24 11:26:34.607 15248 15287 E CrashlyticsCore:       at io.fabric.sdk.android.services.common.BackgroundPriorityRunnable.run(BackgroundPriorityRunnable.java:30)
07-24 11:26:34.607 15248 15287 E CrashlyticsCore:       at java.lang.Thread.run(Thread.java:764)
07-24 11:26:34.607 15248 15287 E CrashlyticsCore: Caused by: java.io.FileNotFoundException: /data/user_de/0/com.github.shadowsocks.tv/files/.Fabric/com.crashlytics.sdk.android.crashlytics-core/fatal-sessions/5D37CFD70150-0001-3B1F-643C87D000E2.cls (No such file or directory)
07-24 11:26:34.607 15248 15287 E CrashlyticsCore:       at java.io.FileInputStream.open0(Native Method)
07-24 11:26:34.607 15248 15287 E CrashlyticsCore:       at java.io.FileInputStream.open(FileInputStream.java:200)
07-24 11:26:34.607 15248 15287 E CrashlyticsCore:       at java.io.FileInputStream.<init>(FileInputStream.java:150)
07-24 11:26:34.607 15248 15287 E CrashlyticsCore:       at io.fabric.sdk.android.services.network.HttpRequest.part(HttpRequest.java:2620)
07-24 11:26:34.607 15248 15287 E CrashlyticsCore:       ... 8 more
07-24 11:26:34.619 15506 15523 W GooglePlayServicesUtil: Google Play Store is missing.
07-24 11:26:34.718 15506 15536 I FA      : App measurement is starting up, version: 16250
07-24 11:26:34.718 15506 15536 I FA      : To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
07-24 11:26:34.718 15506 15536 I FA      : To enable faster debug mode event logging run:
07-24 11:26:34.718 15506 15536 I FA      :   adb shell setprop debug.firebase.analytics.app com.github.shadowsocks.tv
07-24 11:26:34.749 15506 15543 W zzd     : Application name is not set. Call Builder#setApplicationName.
07-24 11:26:34.779  1630  2303 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="fiid-sync", packageName=com.github.shadowsocks.tv, ownerUid=10119, ownerPid=15506, workSource=null
07-24 11:26:34.782 15506 15548 E FirebaseInstanceId: Google Play services missing or without correct permission.
07-24 11:26:34.811 15506 15536 W GooglePlayServicesUtil: Google Play Store is missing.
07-24 11:26:34.811 15506 15536 W FA      : Service invalid
07-24 11:26:34.842  1630  1663 D PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="fiid-sync", packageName=com.github.shadowsocks.tv, ownerUid=10119, ownerPid=15506, workSource=null
07-24 11:26:34.847 15506 15548 E FirebaseInstanceId: Google Play services missing or without correct permission.
07-24 11:26:34.848 15506 15536 I zygote  : Deoptimizing java.lang.Object com.google.android.gms.measurement.internal.zzdu.get(java.lang.Object) due to JIT inline cache```

@Mygod
Copy link
Contributor

Mygod commented Jul 24, 2019

Okay I managed to reproduce this on my end with shadowsocks-tv--universal-4.8.2.apk:

E/AndroidRuntime: FATAL EXCEPTION: Binder:9920_2
    Process: com.github.shadowsocks.tv:bg, PID: 9920
    java.lang.IllegalStateException: Module with the Main dispatcher is missing. Add dependency providing the Main dispatcher, e.g. 'kotlinx-coroutines-android'
        at kotlinx.coroutines.internal.MissingMainCoroutineDispatcher.missing(MainDispatchers.kt:90)
        at kotlinx.coroutines.internal.MissingMainCoroutineDispatcher.isDispatchNeeded(MainDispatchers.kt:71)
        at kotlinx.coroutines.DispatchedKt.resumeCancellable(Dispatched.kt:420)
        at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(Cancellable.kt:25)
        at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:109)
        at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:154)
        at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:54)
        at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
        at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47)
        at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source)
        at com.github.shadowsocks.bg.BaseService$Binder.startListeningForBandwidth(BaseService.kt:146)
        at com.github.shadowsocks.aidl.IShadowsocksService$Stub.onTransact(IShadowsocksService.java:77)
        at android.os.Binder.execTransact(Binder.java:565)

However, running the self-compiled build seems fine. It seems like an occasional bug in the compiler.

@madeye Can you try recompiling the TV apks for v4.8.2? (universal and split apks)

@madeye
Copy link
Contributor

madeye commented Jul 24, 2019

Sure, let me try again.

@madeye
Copy link
Contributor

madeye commented Jul 24, 2019

@Mygod
Copy link
Contributor

Mygod commented Jul 24, 2019

@madeye This is the mobile apk... 😅

@Liqianyu
Copy link
Author

@madeye
Thanks, but as @Mygod said, this is a mobile app, we need a TV client version

@madeye
Copy link
Contributor

madeye commented Jul 24, 2019

@Mygod
Copy link
Contributor

Mygod commented Jul 24, 2019

This one works.

@Liqianyu
Copy link
Author

@madeye
Thanks, I tested it on Android TV 7.1.2/8.0.0 and now it works as expected.

@madeye
Copy link
Contributor

madeye commented Jul 24, 2019

Okay, let me halt the this version on Google Play first.

@Mygod
Copy link
Contributor

Mygod commented Jul 24, 2019

If that's not possible, let's just release 4.8.3. 🤣

I just committed two fixes.

@madeye
Copy link
Contributor

madeye commented Jul 24, 2019

Okay, let's schedule a release today.

@madeye madeye added the bug label Jul 24, 2019
@Mygod
Copy link
Contributor

Mygod commented Jul 25, 2019

Please open a new issue if this persists on v4.8.3.

@Mygod Mygod closed this as completed Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants