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

BUG: When clicking on the connection, it crashes #911

Open
canjianfei13 opened this issue Mar 7, 2025 · 1 comment
Open

BUG: When clicking on the connection, it crashes #911

canjianfei13 opened this issue Mar 7, 2025 · 1 comment

Comments

@canjianfei13
Copy link

canjianfei13 commented Mar 7, 2025

Describe the problem

Expected behavior:点连接时直接闪退

Actual behavior:

How to reproduce

Image

NB4A Crash 8383501894585442184.log

log

NekoBox for Andoird 1.3.8 (210) OSS
Date: 2025-03-07 11:58:43.083 UTC

OS_VERSION: 6.1.75-android14-11-g8d3d4f92cda9
SDK_INT: 35
RELEASE: 15
ID: UKQ1.231108.001
DISPLAY: PKG110_15.0.0.406(CN01)
INCREMENTAL: V.1c607cb_1_2
SECURITY_PATCH: 2025-01-01
IS_DEBUGGABLE: null
IS_EMULATOR: null
IS_TREBLE_ENABLED: true
TYPE: user
TAGS: release-keys

MANUFACTURER: OnePlus
BRAND: OnePlus
MODEL: PKG110
PRODUCT: PKG110
BOARD: pineapple
HARDWARE: qcom
DEVICE: OP5D2BL1
SUPPORTED_ABIS: arm64-v8a

Settings:

mixedPort: 2080
isAutoConnect: false
nightTheme: 0
tunImplementation: 2
mtu: 9000
speedInterval: 1000
profileTrafficStatistics: true
showDirectSpeed: true
showGroupInNotification: false
alwaysShowAddress: false
meteredNetwork: false
acquireWakeLock: false
logLevel: 0
proxyApps: false
bypassLan: false
bypassLanInCore: false
trafficSniffing: 1
resolveDestination: false
ipv6Mode: 0
rulesProvider: 0
remoteDns: https://dns.google/dns-query
domain_strategy_for_remote: auto
directDns: https://223.5.5.5/dns-query
domain_strategy_for_direct: auto
domain_strategy_for_server: auto
enableDnsRouting: true
enableFakeDns: false
appendHttpProxy: false
allowAccess: false
connectionTestURL: http://cp.cloudflare.com/
enableClashAPI: false
networkChangeResetConnections: true
wakeResetConnections: false
globalAllowInsecure: false
allowInsecureOnRequest: false
appTLSVersion: 1.2
showBottomBar: false
profileId: 5
serviceMode: proxy
profileGroup: 3
profileCurrent: 5

Logcat:

--------- beginning of system
03-07 19:57:47.940 31741 31741 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:-1
03-07 19:57:47.968 31741 31741 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:0
03-07 19:57:47.984 31741 31741 E OplusCustomizeRestrictionManager: sInstance is null, start a new sInstance
03-07 19:57:48.006 31741 31741 D OplusInputMethodUtil: init sDebug to false, init sDebugIme to false, init sAlwaysOn to false
03-07 19:57:48.007 31741 31741 D OplusInputMethodUtil: updateDebugToClass InputMethodManager.DEBUG = false
03-07 19:57:48.007 31741 31741 D OplusInputMethodUtil: updateDebugToClass ImeFocusController.DEBUG = false
03-07 19:57:48.007 31741 31741 D OplusInputMethodUtil: updateDebugToClass InsetsController.DEBUG = false
03-07 19:57:48.007 31741 31741 D OplusInputMethodUtil: updateDebugToClass BaseInputConnection.DEBUG = false
03-07 19:57:48.014 31741 31741 D ActivityThread: ComponentInfo{moe.nb4a/io.nekohasekai.sagernet.ui.MainActivity} checkFinished=false 2
03-07 19:57:48.014 31741 31741 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:0
03-07 19:57:48.026 31741 31741 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:0
03-07 19:57:48.037 31741 31741 D VRI[MainActivity]: relayoutWindow result, sizeChanged:true, surfaceControlChanged:true, transformHintChanged:false, mSurfaceSize:Point(1080, 2376), mLastSurfaceSize:Point(0, 0), mWidth:-1, mHeight:-1, requestedWidth:1080, requestedHeight:2376, transformHint:0, installOrientation:0, displayRotation:0, isSurfaceValid:true, attr.flag:-2122252032, tmpFrames:ClientWindowFrames{frame=[0,0][1080,2376] display=[0,0][1080,2376] parentFrame=[0,0][0,0]}, relayoutAsync:false, mSyncSeqId:0
03-07 19:57:48.038 31741 31741 W VRI[MainActivity]: updateBlastSurfaceIfNeeded, surfaceSize:Point(1080, 2376), lastSurfaceSize:Point(0, 0), format:-1, blastBufferQueue:null
03-07 19:57:48.068 31741 31741 W VRI[MainActivity]: handleResized, msg:, frameChanged:false, configChanged:false, displayChanged:false, attachedFrameChanged:false, compatScaleChanged:false, pendingDragResizing=false
03-07 19:57:48.301 31779 31779 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:-1
03-07 19:57:50.125 31741 31741 D OplusInputMethodManagerInternal: get inputMethodManager extension: com.android.internal.view.IInputMethodManager$Stub$Proxy@abc544a
03-07 19:57:50.494 31846 31846 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:-1
03-07 19:57:50.512 31846 31846 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:0
03-07 19:57:50.562 31741 31741 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:0
03-07 19:57:50.615 31741 31741 D ActivityThread: ComponentInfo{moe.nb4a/io.nekohasekai.sagernet.ui.BlankActivity} checkFinished=true 1
03-07 19:57:50.616 31741 31741 D ActivityThread: ComponentInfo{moe.nb4a/io.nekohasekai.sagernet.ui.BlankActivity} checkFinished=true 1
--------- beginning of main
03-07 19:57:50.780 31741 31886 D VRI[MainActivity]: dispatchAppVisibility visible:false
03-07 19:57:50.780 31741 31741 D VRI[MainActivity]: visibilityChanged oldVisibility=true newVisibility=false
03-07 19:57:50.793 31741 31741 D HWUI : RenderProxy::destroy: this=0xb400007133624b00, mContext=0xb4000071337a0900
03-07 19:57:50.793 31741 31777 D HWUI : SkiaOpenGLPipeline::setSurface: this=0xb4000071339db380, surface=NULL
03-07 19:57:50.793 31741 31777 D BufferQueueProducer: VRI[MainActivity]#0(BLAST Consumer)0 disconnect: api 1
03-07 19:57:50.794 31741 31741 D ViewRootImplExtImpl: wrapConfigInfoIntoFlags rotation=0, smallestScreenWidthDp=360, relayoutAsync=false, flags=0, newFlags=23592960, residentWS=false, title=moe.nb4a/io.nekohasekai.sagernet.ui.MainActivity
03-07 19:57:50.797 31741 31741 D VRI[MainActivity]: relayoutWindow result, sizeChanged:false, surfaceControlChanged:true, transformHintChanged:false, mSurfaceSize:Point(1080, 2376), mLastSurfaceSize:Point(1080, 2376), mWidth:1080, mHeight:2376, requestedWidth:1080, requestedHeight:2376, transformHint:0, installOrientation:0, displayRotation:0, isSurfaceValid:false, attr.flag:-2122252032, tmpFrames:ClientWindowFrames{frame=[0,0][1080,2376] display=[0,0][1080,2376] parentFrame=[0,0][0,0]}, relayoutAsync:false, mSyncSeqId:0
03-07 19:57:50.799 31741 31741 D VRI[MainActivity]: setWindowStopped stopped:true
03-07 19:57:50.802 31741 31741 D OplusCursorFeedback: editorDetachFromWindow android.widget.Editor@f783ab3
03-07 19:57:50.802 31741 31741 D AutofillManager: view not autofillable - not passing ime action check
03-07 19:57:50.804 31741 31741 D OplusScrollToTopManager: moe.nb4a/io.nekohasekai.sagernet.ui.MainActivity,window dying
03-07 19:57:50.804 31741 31741 D OplusScrollToTopManager: moe.nb4a/io.nekohasekai.sagernet.ui.MainActivity,unregisterSystemUIBroadcastReceiver
03-07 19:57:50.804 31741 31741 D OplusScrollToTopManager: moe.nb4a/io.nekohasekai.sagernet.ui.MainActivity, unregisterSystemUIBroadcastReceiver failed java.lang.IllegalArgumentException: Receiver not registered: android.view.OplusScrollToTopManager$2@45a9107
03-07 19:57:50.804 31741 31741 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=false callback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@7225df2
03-07 19:57:50.805 31741 31741 D HWUI : RenderProxy::destroy: this=0xb400007133624b00, mContext=0xb4000071337a0900
03-07 19:57:50.805 31741 31777 D HWUI : SkiaOpenGLPipeline::setSurface: this=0xb4000071339db380, surface=NULL
03-07 19:57:50.807 31741 31886 D BLASTBufferQueue: VRI[MainActivity]#0 destructor()
03-07 19:57:50.808 31741 31886 D BufferQueueConsumer: VRI[MainActivity]#0(BLAST Consumer)0 disconnect
03-07 19:57:50.839 31894 31894 I moe.nb4a:bg: isSwordfishLaunchAppEnabled_ 0 isSwordfishInstallAppEnabled_ 0
03-07 19:57:50.839 31894 31894 E moe.nb4a:bg: Unknown bits set in runtime_flags: 0x40000000
03-07 19:57:50.839 31894 31894 I moe.nb4a:bg: Using CollectorTypeCMC GC.
03-07 19:57:50.841 31894 31894 E moe.nb4a:bg: Not starting debugger since process cannot load the jdwp agent.
03-07 19:57:50.911 31894 31894 D nativeloader: Load libframework-connectivity-tiramisu-jni.so using APEX ns com_android_tethering for caller /apex/com.android.tethering/javalib/framework-connectivity-t.jar: ok
03-07 19:57:50.913 31894 31894 W libc : Access denied finding property "persist.vendor.sys.activitylog"
03-07 19:57:50.913 31894 31894 I OneTrace: Mark active for pid=31894? true
03-07 19:57:50.913 31894 31894 D cutils-dev: otrace_set_tracing_enabled? true tag:0
03-07 19:57:50.914 31894 31894 D cutils-dev: properties changed in otrace_seq_number_changed!
03-07 19:57:50.921 31894 31894 D OplusActivityManager: get AMS extension: android.os.BinderProxy@2d256ad
03-07 19:57:50.924 31894 31894 D CompactWindowAppManager: initCompactApplicationInfo CompactMode: , NormalMode:
03-07 19:57:50.927 31894 31894 D OplusScrollToTopManager: setIsInWhiteList false
03-07 19:57:50.928 31894 31894 D OplusViewDebugManager: OplusViewDebugManager Constructor android.view.debug.OplusViewDebugManager@7bfb573 [mHasViewDebugProperty true] [mHasMsgDebugProperty false] [DEBUG false] [EXTRAINFOENABLE false] [LIGHT_OS false]
03-07 19:57:50.933 31894 31894 W libc : Access denied finding property "ro.odm.prev.product.name"
03-07 19:57:50.934 31894 31894 D ApplicationLoaders: Returning zygote-cached class loader: /system_ext/framework/androidx.window.extensions.jar
03-07 19:57:50.934 31894 31894 D ApplicationLoaders: Returning zygote-cached class loader: /system_ext/framework/androidx.window.sidecar.jar
03-07 19:57:50.936 31894 31894 D nativeloader: Configuring clns-7 for other apk /data/app/~~ltn6pdBTBqgttTUr9-MzqA==/moe.nb4a-BL8G0Qw0sNZeaWX4n0vClA==/base.apk. target_sdk_version=35, uses_libraries=, library_path=/data/app/~~ltn6pdBTBqgttTUr9-MzqA==/moe.nb4a-BL8G0Qw0sNZeaWX4n0vClA==/lib/arm64:/data/app/~~ltn6pdBTBqgttTUr9-MzqA==/moe.nb4a-BL8G0Qw0sNZeaWX4n0vClA==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/moe.nb4a
03-07 19:57:50.937 31894 31894 D CompatChangeReporter: Compat change id reported: 202956589; UID 10398; state: ENABLED
03-07 19:57:50.941 31894 31894 V GraphicsEnvironment: Currently set values for:
03-07 19:57:50.941 31894 31894 V GraphicsEnvironment: angle_gl_driver_selection_pkgs=[]
03-07 19:57:50.941 31894 31894 V GraphicsEnvironment: angle_gl_driver_selection_values=[]
03-07 19:57:50.941 31894 31894 V GraphicsEnvironment: Global.Settings values are invalid: number of packages: 0, number of values: 0
03-07 19:57:50.941 31894 31894 V GraphicsEnvironment: Updatable production driver is not supported on the device.
03-07 19:57:50.942 31894 31894 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:-1
03-07 19:57:50.947 31894 31894 D nativeloader: Load /data/app/~~ltn6pdBTBqgttTUr9-MzqA==/moe.nb4a-BL8G0Qw0sNZeaWX4n0vClA==/lib/arm64/libgojni.so using ns clns-7 from class loader (caller=/data/app/~~ltn6pdBTBqgttTUr9-MzqA==/moe.nb4a-BL8G0Qw0sNZeaWX4n0vClA==/base.apk): ok
03-07 19:57:50.963 31894 31894 W moe.nb4a:bg: Accessing hidden field Ljava/util/Collections$SynchronizedCollection;->mutex:Ljava/lang/Object; (max-target-o, reflection, denied)
03-07 19:57:50.963 31894 31894 W moe.nb4a:bg: Accessing hidden method Ljava/util/Collections$SynchronizedSet;->(Ljava/util/Set;Ljava/lang/Object;)V (max-target-o, reflection, denied)
03-07 19:57:50.963 31894 31894 W moe.nb4a:bg: Accessing hidden method Ljava/util/Collections$SynchronizedCollection;->(Ljava/util/Collection;Ljava/lang/Object;)V (max-target-o, reflection, denied)
03-07 19:57:51.355 31741 31741 D ScrollOptim [SceneManager]: updateCurrentActivity: mCurrentActivityName=io.nekohasekai.sagernet.ui.BlankActivity, isOptEnable=true, isAnimAheadEnable=true, isFrameInsertEnable=true, InsertNum=1, isEnabledForScrollChanged=false
03-07 19:57:51.355 31741 31741 D ActivityThread: ComponentInfo{moe.nb4a/io.nekohasekai.sagernet.ui.BlankActivity} checkFinished=true 1
03-07 19:57:51.355 31741 31741 D ScrollOptim [SceneManager]: updateCurrentActivity: mCurrentActivityName=null, isOptEnable=true, isAnimAheadEnable=true, isFrameInsertEnable=true, InsertNum=1, isEnabledForScrollChanged=false
03-07 19:58:33.215 31741 31764 I moe.nb4a: Waiting for a blocking GC ProfileSaver
03-07 19:58:33.244 31741 31749 W moe.nb4a: Cleared Reference was only reachable from finalizer (only reported once)
03-07 19:58:33.256 31741 31764 I moe.nb4a: WaitForGcToComplete blocked ProfileSaver on Background for 41.566ms
03-07 19:58:33.257 31741 31777 D HWUI : SkiaOpenGLPipeline::setSurface: this=0xb4000071339db380, surface=NULL
03-07 19:58:41.605 31741 31762 D ColorModeChangeItem: preExecute mColorMode=0
03-07 19:58:41.613 31741 31741 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:0
03-07 19:58:41.635 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.635 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.635 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.635 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.635 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.635 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.638 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.638 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.638 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.639 31741 31741 W ResourcesCompat: Failed to inflate ColorStateList, leaving it to the framework
03-07 19:58:41.639 31741 31741 W ResourcesCompat: java.lang.UnsupportedOperationException: Failed to resolve attribute at index 0: TypedValue{t=0x2/d=0x7f040275 a=-1}, theme={InheritanceMap=[id=0x7f1402a9moe.nb4a:style/Theme.SagerNet.Pink_SSR, id=0x7f140284moe.nb4a:style/Theme.SagerNet, id=0x7f140267moe.nb4a:style/Theme.MaterialComponents.DayNight.NoActionBar, id=0x7f140280moe.nb4a:style/Theme.MaterialComponents.Light.NoActionBar, id=0x7f140272moe.nb4a:style/Theme.MaterialComponents.Light, id=0x7f140069moe.nb4a:style/Base.Theme.MaterialComponents.Light, id=0x7f1400a2moe.nb4a:style/Base.V21.Theme.MaterialComponents.Light, id=0x7f140090moe.nb4a:style/Base.V14.Theme.MaterialComponents.Light, id=0x7f140091moe.nb4a:style/Base.V14.Theme.MaterialComponents.Light.Bridge, id=0x7f140137moe.nb4a:style/Platform.MaterialComponents.Light, id=0x7f14022cmoe.nb4a:style/Theme.AppCompat.Light, id=0x7f140051moe.nb4a:style/Base.Theme.AppCompat.Light, id=0x7f1400b4moe.nb4a:style/Base.V28.Theme.AppCompat.Light, id=0x7f1400b1moe.nb4a:style/Base.V26.Theme.AppCompat.Light, id=0x7f1400abmoe.nb4a:style/Base.V23.Theme.AppCompat.Light, id=0x7f1400a9moe.nb4a:style/Base.V22.Theme.AppCompat.Light, id=0x7f14009emoe.nb4a:style/Base.V21.Theme.AppCompat.Light, id=0x7f1400b7moe.nb4a:style/Base.V7.Theme.AppCompat.Light, id=0x7f140134moe.nb4a:style/Platform.AppCompat.Light, id=0x7f14013fmoe.nb4a:style/Platform.V25.AppCompat.Light, id=0x1030241android:style/Theme.Material.Light.NoActionBar, id=0x1030237android:style/Theme.Material.Light, id=0x103000candroid:style/Theme.Light, id=0x1030005android:style/Theme], Themes=[moe.nb4a:style/Theme.SagerNet.Pink_SSR, forced, moe.nb4a:style/Theme.Start, forced, moe.nb4a:style/Theme.AppCompat.Empty, forced, android:style/Theme.DeviceDefault.Light.DarkActionBar, forced]}
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.content.res.TypedArray.getColor(TypedArray.java:533)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at androidx.core.content.res.ColorStateListInflaterCompat.createFromXmlInner(SourceFile:147)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at androidx.core.content.res.ColorStateListInflaterCompat.createFromXml(SourceFile:18)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at androidx.core.content.ContextCompat.getColorStateList(SourceFile:122)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at kotlin.io.CloseableKt.getColorStateList(SourceFile:7)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at com.google.android.material.navigation.NavigationView.(SourceFile:412)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at java.lang.reflect.Constructor.newInstance0(Native Method)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.view.LayoutInflater.createView(LayoutInflater.java:753)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:905)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:860)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.view.LayoutInflater.rInflate(LayoutInflater.java:1022)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:983)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.view.LayoutInflater.inflate(LayoutInflater.java:579)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.view.LayoutInflater.inflate(LayoutInflater.java:468)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at io.nekohasekai.sagernet.databinding.LayoutMainBinding.inflate(SourceFile:2)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at io.nekohasekai.sagernet.databinding.LayoutMainBinding.inflate(SourceFile:1)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at io.nekohasekai.sagernet.ui.MainActivity.onCreate(SourceFile:8)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.app.Activity.performCreate(Activity.java:9192)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.app.Activity.performCreate(Activity.java:9164)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1544)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4346)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4569)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:126)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.app.servertransaction.TransactionExecutor.executeNonLifecycleItem(TransactionExecutor.java:179)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:114)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:86)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2902)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.os.Handler.dispatchMessage(Handler.java:107)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.os.Looper.loopOnce(Looper.java:282)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.os.Looper.loop(Looper.java:387)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at android.app.ActivityThread.main(ActivityThread.java:9505)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at java.lang.reflect.Method.invoke(Native Method)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:600)
03-07 19:58:41.639 31741 31741 W ResourcesCompat: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1005)
03-07 19:58:41.639 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.639 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.639 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.640 31741 31741 W WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
03-07 19:58:41.640 31741 31741 W WindowOnBackDispatcher: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
03-07 19:58:41.645 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.645 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.645 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.645 31741 31741 W TabLayout: MODE_SCROLLABLE + GRAVITY_FILL is not supported, GRAVITY_START will be used instead
03-07 19:58:41.645 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.645 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.645 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.651 31741 31741 D ScrollOptim [SceneManager]: updateCurrentActivity: mCurrentActivityName=io.nekohasekai.sagernet.ui.MainActivity, isOptEnable=true, isAnimAheadEnable=true, isFrameInsertEnable=true, InsertNum=1, isEnabledForScrollChanged=false
03-07 19:58:41.651 31741 31741 D ActivityThread: ComponentInfo{moe.nb4a/io.nekohasekai.sagernet.ui.MainActivity} checkFinished=false 2
03-07 19:58:41.651 31741 31741 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:0
03-07 19:58:41.652 31741 31741 D WindowManager: Add to mViews: com.android.internal.policy.DecorView{cc8bf41 I.E...... R.....ID 0,0-0,0 alpha=1.0 viewInfo = }[MainActivity],pkg= moe.nb4a
03-07 19:58:41.652 31741 31777 D skia : setRusSupported enable 1
03-07 19:58:41.655 31741 31741 D ViewRootImplExtImpl: onDisplayChanged -1 for VRI android.view.ViewRootImpl@210e7d
03-07 19:58:41.656 31741 31741 E OplusBracketLog: [OplusViewMirrorManager] updateHostViewRootIfNeeded, not support android.view.ViewRootImpl@210e7d
03-07 19:58:41.657 31741 31741 D AutofillManager: view not autofillable - not passing ime action check
03-07 19:58:41.658 31741 31741 D ViewRootImplExtImpl: wrapConfigInfoIntoFlags rotation=0, smallestScreenWidthDp=360, relayoutAsync=false, flags=0, newFlags=23592960, residentWS=false, title=moe.nb4a/io.nekohasekai.sagernet.ui.MainActivity
03-07 19:58:41.662 31741 31741 D VRI[MainActivity]: relayoutWindow result, sizeChanged:true, surfaceControlChanged:true, transformHintChanged:false, mSurfaceSize:Point(1080, 2376), mLastSurfaceSize:Point(0, 0), mWidth:-1, mHeight:-1, requestedWidth:1080, requestedHeight:2376, transformHint:0, installOrientation:0, displayRotation:0, isSurfaceValid:true, attr.flag:-2122252032, tmpFrames:ClientWindowFrames{frame=[0,0][1080,2376] display=[0,0][1080,2376] parentFrame=[0,0][0,0]}, relayoutAsync:false, mSyncSeqId:0
03-07 19:58:41.662 31741 31741 W VRI[MainActivity]: updateBlastSurfaceIfNeeded, surfaceSize:Point(1080, 2376), lastSurfaceSize:Point(0, 0), format:-1, blastBufferQueue:null
03-07 19:58:41.662 31741 31741 D BufferQueueConsumer: connect: controlledByApp=false
03-07 19:58:41.664 31741 31777 D BufferQueueProducer: VRI[MainActivity]#1(BLAST Consumer)1 connect: api=1 producerControlledByApp=true
03-07 19:58:41.671 31741 31741 I SurfaceControl: setExtendedRangeBrightness sc=Surface(name=moe.nb4a/io.nekohasekai.sagernet.ui.MainActivity)/@0x6264d15,currentBufferRatio=1.0,desiredRatio=1.0
03-07 19:58:41.676 31741 31777 D skia : GrGpu::writePixels takes 1
03-07 19:58:41.681 31741 31777 D BLASTBufferQueue: VRI[MainActivity]#1 acquireNextBufferLocked size=1080x2376 mFrameNumber=1 applyTransaction=true mTimestamp=2094718707219(auto) mPendingTransactions.size=0 graphicBufferId=136326556942343 transform=0
03-07 19:58:41.681 31741 31777 D VRI[MainActivity]: Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true syncBuffer=false
03-07 19:58:41.681 31741 31741 D VRI[MainActivity]: draw finished. seqId=0
03-07 19:58:41.681 31741 31741 D ViewRootImplExtImpl: setMaxDequeuedBufferCount: 2
03-07 19:58:41.682 31741 31741 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:0
03-07 19:58:41.689 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.689 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.689 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.690 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.690 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.690 31741 31741 I oplus.android.OplusFrameworkFactoryImpl: get feature:IOplusDynamicVsyncFeature
03-07 19:58:41.695 31741 31741 W VRI[MainActivity]: handleResized, msg:, frameChanged:false, configChanged:false, displayChanged:false, attachedFrameChanged:false, compatScaleChanged:false, pendingDragResizing=false
03-07 19:58:41.698 31741 31777 D VRI[MainActivity]: Received frameCommittedCallback lastAttemptedDrawFrameNum=3 didProduceBuffer=true syncBuffer=false
03-07 19:58:41.698 31741 31741 D VRI[MainActivity]: draw finished. seqId=0
03-07 19:58:41.730 31741 31741 D VRI[MainActivity]: onFocusEvent true
03-07 19:58:42.638 31741 31741 D ViewRootImplExtImpl: the up motion event handled by client, just return
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: java.lang.SecurityException: Starting FGS with type specialUse callerApp=ProcessRecord{aab4a 31894:moe.nb4a:bg/u0a398} targetSDK=35 requires permissions: all of the permissions allOf=true [android.permission.FOREGROUND_SERVICE_SPECIAL_USE]
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at android.os.Parcel.createExceptionOrNull(Parcel.java:3272)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at android.os.Parcel.createException(Parcel.java:3256)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at android.os.Parcel.readException(Parcel.java:3239)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at android.os.Parcel.readException(Parcel.java:3181)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:7193)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at android.app.Service.startForeground(Service.java:863)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at moe.matsuri.nb4a.NativeInterface$$ExternalSyntheticApiModelOutline0.m(SourceFile:6)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at io.nekohasekai.sagernet.bg.ServiceNotification.show$lambda$6(SourceFile:15)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at io.nekohasekai.sagernet.bg.ServiceNotification.$r8$lambda$pyoougniWnwEXlv_H53FoK4p1u0(SourceFile:1)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at io.nekohasekai.sagernet.bg.ServiceNotification$$ExternalSyntheticLambda2.invoke(SourceFile:1)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at io.nekohasekai.sagernet.bg.ServiceNotification.useBuilder(SourceFile:87)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at io.nekohasekai.sagernet.bg.ServiceNotification.show(SourceFile:7)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at io.nekohasekai.sagernet.bg.ServiceNotification.access$show(SourceFile:1)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at io.nekohasekai.sagernet.bg.ServiceNotification$2.invokeSuspend(SourceFile:47)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:6)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at kotlinx.coroutines.DispatchedTask.run(SourceFile:110)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at kotlinx.coroutines.EventLoopImplPlatform.processUnconfinedEvent(SourceFile:24)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at kotlinx.coroutines.internal.AtomicKt.resumeCancellableWith(SourceFile:160)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at androidx.room.util.DBUtil.startCoroutineCancellable$default(SourceFile:11)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at kotlinx.coroutines.AbstractCoroutine.start(SourceFile:77)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at kotlinx.coroutines.JobKt.launch$default(SourceFile:36)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at io.nekohasekai.sagernet.ktx.AsyncsKt.runOnMainDispatcher(SourceFile:10)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at io.nekohasekai.sagernet.bg.BaseService$Interface$DefaultImpls.onStartCommand(SourceFile:196)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at io.nekohasekai.sagernet.bg.ProxyService.onStartCommand(SourceFile:1)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:5521)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at android.app.ActivityThread.-$$Nest$mhandleServiceArgs(Unknown Source:0)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2719)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at android.os.Handler.dispatchMessage(Handler.java:107)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at android.os.Looper.loopOnce(Looper.java:282)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at android.os.Looper.loop(Looper.java:387)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at android.app.ActivityThread.main(ActivityThread.java:9505)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at java.lang.reflect.Method.invoke(Native Method)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:600)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1005)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@b340666, Dispatchers.Main.immediate]
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: Caused by: android.os.RemoteException: Remote stack trace:
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at com.android.server.am.ActiveServices.validateForegroundServiceType(ActiveServices.java:3001)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at com.android.server.am.ActiveServices.setServiceForegroundInnerLocked(ActiveServices.java:2678)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at com.android.server.am.ActiveServices.setServiceForegroundLocked(ActiveServices.java:1928)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at com.android.server.am.ActivityManagerService.setServiceForeground(ActivityManagerService.java:15165)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]: at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:3594)
03-07 19:58:42.681 31894 31894 E Thread[main,5,main]:
03-07 19:58:42.693 31741 31741 D ScrollOptim [SceneManager]: updateCurrentActivity: mCurrentActivityName=null, isOptEnable=true, isAnimAheadEnable=true, isFrameInsertEnable=true, InsertNum=1, isEnabledForScrollChanged=false
03-07 19:58:42.732 31741 31783 D OplusScrollToTopManager: moe.nb4a/io.nekohasekai.sagernet.ui.MainActivity,This com.android.internal.policy.DecorView{cc8bf41 V.E...... R....... 0,0-1080,2376 alpha=1.0 viewInfo = }[MainActivity] change focus to true
03-07 19:58:42.830 31894 31933 D CompatChangeReporter: Compat change id reported: 270674727; UID 10398; state: ENABLED
03-07 19:58:42.919 32415 32415 I oe.nb4a:phoenix: isSwordfishLaunchAppEnabled_ 0 isSwordfishInstallAppEnabled_ 0
03-07 19:58:42.919 32415 32415 E oe.nb4a:phoenix: Unknown bits set in runtime_flags: 0x40000000
03-07 19:58:42.919 32415 32415 I oe.nb4a:phoenix: Using CollectorTypeCMC GC.
03-07 19:58:42.920 32415 32415 E oe.nb4a:phoenix: Not starting debugger since process cannot load the jdwp agent.
03-07 19:58:42.988 32415 32415 D nativeloader: Load libframework-connectivity-tiramisu-jni.so using APEX ns com_android_tethering for caller /apex/com.android.tethering/javalib/framework-connectivity-t.jar: ok
03-07 19:58:42.990 32415 32415 W libc : Access denied finding property "persist.vendor.sys.activitylog"
03-07 19:58:42.990 32415 32415 I OneTrace: Mark active for pid=32415? true
03-07 19:58:42.990 32415 32415 D cutils-dev: otrace_set_tracing_enabled? true tag:0
03-07 19:58:42.990 32415 32415 D cutils-dev: properties changed in otrace_seq_number_changed!
03-07 19:58:43.002 32415 32432 D ColorModeChangeItem: preExecute mColorMode=0
03-07 19:58:43.003 32415 32415 D OplusActivityManager: get AMS extension: android.os.BinderProxy@2d256ad
03-07 19:58:43.004 32415 32415 D CompactWindowAppManager: initCompactApplicationInfo CompactMode: , NormalMode:
03-07 19:58:43.005 32415 32415 D OplusScrollToTopManager: setIsInWhiteList false
03-07 19:58:43.005 32415 32415 D OplusViewDebugManager: OplusViewDebugManager Constructor android.view.debug.OplusViewDebugManager@7bfb573 [mHasViewDebugProperty true] [mHasMsgDebugProperty false] [DEBUG false] [EXTRAINFOENABLE false] [LIGHT_OS false]
03-07 19:58:43.007 32415 32415 W libc : Access denied finding property "ro.odm.prev.product.name"
03-07 19:58:43.008 32415 32415 D ApplicationLoaders: Returning zygote-cached class loader: /system_ext/framework/androidx.window.extensions.jar
03-07 19:58:43.008 32415 32415 D ApplicationLoaders: Returning zygote-cached class loader: /system_ext/framework/androidx.window.sidecar.jar
03-07 19:58:43.009 32415 32415 D nativeloader: Configuring clns-7 for other apk /data/app/~~ltn6pdBTBqgttTUr9-MzqA==/moe.nb4a-BL8G0Qw0sNZeaWX4n0vClA==/base.apk. target_sdk_version=35, uses_libraries=, library_path=/data/app/~~ltn6pdBTBqgttTUr9-MzqA==/moe.nb4a-BL8G0Qw0sNZeaWX4n0vClA==/lib/arm64:/data/app/~~ltn6pdBTBqgttTUr9-MzqA==/moe.nb4a-BL8G0Qw0sNZeaWX4n0vClA==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/moe.nb4a
03-07 19:58:43.009 32415 32415 D CompatChangeReporter: Compat change id reported: 202956589; UID 10398; state: ENABLED
03-07 19:58:43.012 32415 32415 V GraphicsEnvironment: Currently set values for:
03-07 19:58:43.012 32415 32415 V GraphicsEnvironment: angle_gl_driver_selection_pkgs=[]
03-07 19:58:43.012 32415 32415 V GraphicsEnvironment: angle_gl_driver_selection_values=[]
03-07 19:58:43.012 32415 32415 V GraphicsEnvironment: Global.Settings values are invalid: number of packages: 0, number of values: 0
03-07 19:58:43.012 32415 32415 V GraphicsEnvironment: Updatable production driver is not supported on the device.
03-07 19:58:43.012 32415 32415 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:-1
03-07 19:58:43.015 32415 32415 D nativeloader: Load /data/app/~~ltn6pdBTBqgttTUr9-MzqA==/moe.nb4a-BL8G0Qw0sNZeaWX4n0vClA==/lib/arm64/libgojni.so using ns clns-7 from class loader (caller=/data/app/~~ltn6pdBTBqgttTUr9-MzqA==/moe.nb4a-BL8G0Qw0sNZeaWX4n0vClA==/base.apk): ok
03-07 19:58:43.020 32415 32415 W oe.nb4a:phoenix: Accessing hidden field Ljava/util/Collections$SynchronizedCollection;->mutex:Ljava/lang/Object; (max-target-o, reflection, denied)
03-07 19:58:43.020 32415 32415 W oe.nb4a:phoenix: Accessing hidden method Ljava/util/Collections$SynchronizedSet;->(Ljava/util/Set;Ljava/lang/Object;)V (max-target-o, reflection, denied)
03-07 19:58:43.020 32415 32415 W oe.nb4a:phoenix: Accessing hidden method Ljava/util/Collections$SynchronizedCollection;->(Ljava/util/Collection;Ljava/lang/Object;)V (max-target-o, reflection, denied)
03-07 19:58:43.021 31741 31741 D VRI[MainActivity]: onFocusEvent false
03-07 19:58:43.025 32415 32415 I HWUI : SupportApps size 0
03-07 19:58:43.026 32415 32415 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:0
03-07 19:58:43.027 32415 32449 D OplusGraphicsEvent: OplusGraphicsEventListener create now!
03-07 19:58:43.028 32415 32415 I Process : Sending signal. PID: 31894 SIG: 9
03-07 19:58:43.028 32415 32449 D OplusGraphicsEvent: addEventListener success!
03-07 19:58:43.028 32415 32449 D ExtensionsLoader: createInstance(64bit) : createExtendedFactory
03-07 19:58:43.029 32415 32449 D ExtensionsLoader: Opened libSchedAssistExtImpl.so
03-07 19:58:43.029 32415 32449 E SchedAssist: sysOpen failed with error=Permission denied
03-07 19:58:43.029 32415 32449 E SchedAssist: open sharedFd failed with error=Permission denied
03-07 19:58:43.029 32415 32449 E SchedAssist: open sharedFd failed with error=Permission denied
03-07 19:58:43.029 32415 32449 E SchedAssist: open sharedFd failed with error=Permission denied
03-07 19:58:43.029 32415 32449 E SchedAssist: open sharedFd failed with error=Permission denied
03-07 19:58:43.034 32415 32415 I oe.nb4a:phoenix: System.exit called, status: 0
03-07 19:58:43.034 32415 32415 I AndroidRuntime: VM exiting with result code 0, cleanup skipped.
03-07 19:58:43.048 31741 31758 D ColorModeChangeItem: preExecute mColorMode=0
03-07 19:58:43.079 31741 31741 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:0

@canjianfei13 canjianfei13 changed the title BUG: 点连接时直接闪退 BUG: When clicking on the connection, it crashes Mar 7, 2025
@arm64v8a
Copy link
Contributor

arm64v8a commented Mar 8, 2025

能稳定复现吗?卸载重装试过没?有没有用别的软件改过权限?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants