dyhkwong / Exclave

A fork of SagerNet powered by V2Ray and its derivatives
Other
470 stars 26 forks source link

crash when clicking "update subscription" very fast in home fragment #51

Open aviraxp opened 2 months ago

aviraxp commented 2 months ago

java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.ViewGroup$LayoutParams android.view.View.getLayoutParams()' on a null object reference at androidx.recyclerview.widget.RecyclerView$LayoutManager.getPosition(SourceFile:1) at androidx.recyclerview.widget.LinearLayoutManager.findViewByPosition(null:27) at io.nekohasekai.sagernet.ui.ConfigurationFragment$GroupFragment$ConfigurationAdapter.onUpdated(SourceFile:2) at io.nekohasekai.sagernet.database.ProfileManager$postTrafficUpdated$2.invokeSuspend(null:34) at io.nekohasekai.sagernet.database.ProfileManager$postTrafficUpdated$2.invoke(SourceFile:1) at io.nekohasekai.sagernet.database.ProfileManager$postTrafficUpdated$2.invoke(SourceFile:2) at io.nekohasekai.sagernet.database.ProfileManager.iterator(null:92) at io.nekohasekai.sagernet.database.ProfileManager.postTrafficUpdated(null:6) at io.nekohasekai.sagernet.ui.MainActivity$trafficUpdated$1.invokeSuspend(null:32) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(null:8) at kotlinx.coroutines.DispatchedTask.run(null:94) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:96)

dyhkwong commented 1 month ago

能复现点击过快时 panic (点击“更新订阅”或点击“分组里”的“更新”),但是是 gomobile 的问题

经测试降级 NDK 到 r25 没有此 panic

``` 07-22 02:09:38.472 28453 0 E Go : fatal error: bulkBarrierPreWrite: unaligned arguments 07-22 02:09:38.472 28453 12216 E GoLog : fatal error: bulkBarrierPreWrite: unaligned arguments 07-22 02:09:38.475 28453 0 E Go : 07-22 02:09:38.475 28453 0 E Go : goroutine 137 gp=0x4000183dc0 m=19 mp=0x4000600808 [running, locked to thread]: 07-22 02:09:38.475 28453 0 E Go : runtime.throw({0x70f1a04ce3?, 0x1644?}) 07-22 02:09:38.475 28453 0 E Go : runtime/panic.go:1023 +0x40 fp=0x400039dd40 sp=0x400039dd10 pc=0x70f1c358e0 07-22 02:09:38.475 28453 0 E Go : runtime.bulkBarrierPreWrite(0x40004aa3c0?, 0x0?, 0xb400007370649750?, 0x2c88?) 07-22 02:09:38.475 28453 0 E Go : runtime/mbitmap_allocheaders.go:422 +0x3a4 fp=0x400039ddb0 sp=0x400039dd40 pc=0x70f1c12354 07-22 02:09:38.475 28453 0 E Go : runtime.wbMove(0xb400007370649750?, 0x2c88?, 0x400039de28?) 07-22 02:09:38.475 28453 0 E Go : runtime/mbarrier.go:199 +0x24 fp=0x400039dde0 sp=0x400039ddb0 pc=0x70f1c10b24 07-22 02:09:38.475 28453 0 E Go : _cgoexp_3e68dfa80873_proxylibcore_HTTPResponse_GetContentString(0x709dcecea4) 07-22 02:09:38.475 28453 0 E Go : _cgo_gotypes.go:1901 +0x5c fp=0x400039de30 sp=0x400039dde0 pc=0x70f28df55c 07-22 02:09:38.475 28453 0 E Go : runtime.cgocallbackg1(0x70f28df500, 0x709dcecea4, 0x0) 07-22 02:09:38.475 28453 0 E Go : runtime/cgocall.go:420 +0x228 fp=0x400039df00 sp=0x400039de30 pc=0x70f1c013b8 07-22 02:09:38.475 28453 0 E Go : runtime.cgocallbackg(0x70f28df500, 0x709dcecea4, 0x0) 07-22 02:09:38.475 28453 0 E Go : runtime/cgocall.go:339 +0x10c fp=0x400039df80 sp=0x400039df00 pc=0x70f1c010dc 07-22 02:09:38.475 28453 0 E Go : runtime.cgocallbackg(0x70f28df500, 0x709dcecea4, 0x0) 07-22 02:09:38.476 28453 0 E Go : :1 +0x1c fp=0x400039dfb0 sp=0x400039df80 pc=0x70f1c6f81c 07-22 02:09:38.476 28453 0 E Go : runtime.cgocallback(0x0, 0x0, 0x0) 07-22 02:09:38.476 28453 0 E Go : runtime/asm_arm64.s:1130 +0xb0 fp=0x400039dfe0 sp=0x400039dfb0 pc=0x70f1c6d770 07-22 02:09:38.476 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.476 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x400039dfe0 sp=0x400039dfe0 pc=0x70f1c6d864 07-22 02:09:38.476 28453 0 E Go : 07-22 02:09:38.476 28453 0 E Go : goroutine 47 gp=0x40000021c0 m=nil [GC worker (idle)]: 07-22 02:09:38.476 28453 0 E Go : runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) 07-22 02:09:38.476 28453 0 E Go : runtime/proc.go:402 +0xc8 fp=0x4000387730 sp=0x4000387710 pc=0x70f1c38828 07-22 02:09:38.476 28453 0 E Go : runtime.gcBgMarkWorker() 07-22 02:09:38.476 28453 0 E Go : runtime/mgc.go:1310 +0xd8 fp=0x40003877d0 sp=0x4000387730 pc=0x70f1c193e8 07-22 02:09:38.476 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.476 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x40003877d0 sp=0x40003877d0 pc=0x70f1c6d864 07-22 02:09:38.476 28453 0 E Go : created by runtime.gcBgMarkStartWorkers in goroutine 71 07-22 02:09:38.476 28453 0 E Go : runtime/mgc.go:1234 +0x28 07-22 02:09:38.476 28453 0 E Go : 07-22 02:09:38.476 28453 0 E Go : goroutine 17 gp=0x4000002700 m=1 mp=0x400006e008 [syscall, locked to thread]: 07-22 02:09:38.476 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.476 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x400007cfe0 sp=0x400007cfe0 pc=0x70f1c6d864 07-22 02:09:38.476 28453 0 E Go : 07-22 02:09:38.476 28453 0 E Go : goroutine 2 gp=0x4000002c40 m=nil [force gc (idle)]: 07-22 02:09:38.476 28453 0 E Go : runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) 07-22 02:09:38.476 28453 0 E Go : runtime/proc.go:402 +0xc8 fp=0x4000068f90 sp=0x4000068f70 pc=0x70f1c38828 07-22 02:09:38.476 28453 0 E Go : runtime.goparkunlock(...) 07-22 02:09:38.476 28453 0 E Go : runtime/proc.go:408 07-22 02:09:38.476 28453 0 E Go : runtime.forcegchelper() 07-22 02:09:38.476 28453 0 E Go : runtime/proc.go:326 +0xb8 fp=0x4000068fd0 sp=0x4000068f90 pc=0x70f1c386b8 07-22 02:09:38.476 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.476 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x4000068fd0 sp=0x4000068fd0 pc=0x70f1c6d864 07-22 02:09:38.476 28453 0 E Go : created by runtime.init.6 in goroutine 1 07-22 02:09:38.476 28453 0 E Go : runtime/proc.go:314 +0x24 07-22 02:09:38.476 28453 0 E Go : 07-22 02:09:38.476 28453 0 E Go : goroutine 3 gp=0x4000003180 m=nil [GC sweep wait]: 07-22 02:09:38.476 28453 0 E Go : runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?) 07-22 02:09:38.476 28453 0 E Go : runtime/proc.go:402 +0xc8 fp=0x4000069760 sp=0x4000069740 pc=0x70f1c38828 07-22 02:09:38.476 28453 0 E Go : runtime.goparkunlock(...) 07-22 02:09:38.476 28453 0 E Go : runtime/proc.go:408 07-22 02:09:38.476 28453 0 E Go : runtime.bgsweep(0x4000092000) 07-22 02:09:38.476 28453 0 E Go : runtime/mgcsweep.go:318 +0x108 fp=0x40000697b0 sp=0x4000069760 pc=0x70f1c23138 07-22 02:09:38.476 28453 0 E Go : runtime.gcenable.gowrap1() 07-22 02:09:38.476 28453 0 E Go : runtime/mgc.go:203 +0x28 fp=0x40000697d0 sp=0x40000697b0 pc=0x70f1c172e8 07-22 02:09:38.476 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.476 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x40000697d0 sp=0x40000697d0 pc=0x70f1c6d864 07-22 02:09:38.476 28453 0 E Go : created by runtime.gcenable in goroutine 1 07-22 02:09:38.476 28453 0 E Go : runtime/mgc.go:203 +0x6c 07-22 02:09:38.476 28453 0 E Go : 07-22 02:09:38.476 28453 0 E Go : goroutine 4 gp=0x4000003340 m=nil [runnable]: 07-22 02:09:38.476 28453 0 E Go : runtime.gopark(0x10000?, 0x70f1bd4b58?, 0x0?, 0x0?, 0x0?) 07-22 02:09:38.476 28453 0 E Go : runtime/proc.go:402 +0xc8 fp=0x4000069f60 sp=0x4000069f40 pc=0x70f1c38828 07-22 02:09:38.476 28453 0 E Go : runtime.goparkunlock(...) 07-22 02:09:38.476 28453 0 E Go : runtime/proc.go:408 07-22 02:09:38.477 28453 0 E Go : runtime.(*scavengerState).park(0x70f376af80) 07-22 02:09:38.477 28453 0 E Go : runtime/mgcscavenge.go:425 +0x5c fp=0x4000069f90 sp=0x4000069f60 pc=0x70f1c20acc 07-22 02:09:38.477 28453 0 E Go : runtime.bgscavenge(0x4000092000) 07-22 02:09:38.477 28453 0 E Go : runtime/mgcscavenge.go:658 +0xac fp=0x4000069fb0 sp=0x4000069f90 pc=0x70f1c2107c 07-22 02:09:38.477 28453 0 E Go : runtime.gcenable.gowrap2() 07-22 02:09:38.477 28453 0 E Go : runtime/mgc.go:204 +0x28 fp=0x4000069fd0 sp=0x4000069fb0 pc=0x70f1c17288 07-22 02:09:38.477 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.477 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x4000069fd0 sp=0x4000069fd0 pc=0x70f1c6d864 07-22 02:09:38.477 28453 0 E Go : created by runtime.gcenable in goroutine 1 07-22 02:09:38.477 28453 0 E Go : runtime/mgc.go:204 +0xac 07-22 02:09:38.477 28453 0 E Go : 07-22 02:09:38.477 28453 0 E Go : goroutine 18 gp=0x4000182380 m=7 mp=0x4000180008 [syscall, locked to thread]: 07-22 02:09:38.477 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.477 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x4000201fe0 sp=0x4000201fe0 pc=0x70f1c6d864 07-22 02:09:38.477 28453 0 E Go : 07-22 02:09:38.477 28453 0 E Go : goroutine 5 gp=0x4000003c00 m=nil [finalizer wait]: 07-22 02:09:38.477 28453 0 E Go : runtime.gopark(0x4000068618?, 0x70f1c0a70c?, 0xc0?, 0x1?, 0x70f376cec0?) 07-22 02:09:38.477 28453 0 E Go : runtime/proc.go:402 +0xc8 fp=0x4000068580 sp=0x4000068560 pc=0x70f1c38828 07-22 02:09:38.477 28453 0 E Go : runtime.runfinq() 07-22 02:09:38.477 28453 0 E Go : runtime/mfinal.go:194 +0x108 fp=0x40000687d0 sp=0x4000068580 pc=0x70f1c163b8 07-22 02:09:38.477 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.477 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x40000687d0 sp=0x40000687d0 pc=0x70f1c6d864 07-22 02:09:38.477 28453 0 E Go : created by runtime.createfing in goroutine 1 07-22 02:09:38.477 28453 0 E Go : runtime/mfinal.go:164 +0x80 07-22 02:09:38.477 28453 0 E Go : 07-22 02:09:38.477 28453 0 E Go : goroutine 6 gp=0x4000003dc0 m=nil [runnable]: 07-22 02:09:38.477 28453 0 E Go : runtime.cgocall(0x70f28ed2f0, 0x400006a648) 07-22 02:09:38.477 28453 0 E Go : runtime/cgocall.go:157 +0x44 fp=0x400006a610 sp=0x400006a5d0 pc=0x70f1c00d54 07-22 02:09:38.477 28453 0 E Go : golang.org/x/mobile/internal/mobileinit._Cfunc_free(0xb400007360112b70) 07-22 02:09:38.477 28453 0 E Go : _cgo_gotypes.go:492 +0x30 fp=0x400006a640 sp=0x400006a610 pc=0x70f1d0ff40 07-22 02:09:38.477 28453 0 E Go : golang.org/x/mobile/internal/mobileinit.lineLog.func1(0xb400007360112b70) 07-22 02:09:38.477 28453 0 E Go : golang.org/x/mobile@v0.0.0-20240716161057-1ad2df20a8b6/internal/mobileinit/mobileinit_android.go:62 +0x40 fp=0x400006a670 sp=0x400006a640 pc=0x70f1d108c0 07-22 02:09:38.477 28453 0 E Go : golang.org/x/mobile/internal/mobileinit.lineLog(0x400006c3f8, 0x6) 07-22 02:09:38.477 28453 0 E Go : golang.org/x/mobile@v0.0.0-20240716161057-1ad2df20a8b6/internal/mobileinit/mobileinit_android.go:62 +0x158 fp=0x400006a7b0 sp=0x400006a670 pc=0x70f1d10848 07-22 02:09:38.477 28453 0 E Go : golang.org/x/mobile/internal/mobileinit.init.0.gowrap1() 07-22 02:09:38.477 28453 0 E Go : golang.org/x/mobile@v0.0.0-20240716161057-1ad2df20a8b6/internal/mobileinit/mobileinit_android.go:82 +0x2c fp=0x400006a7d0 sp=0x400006a7b0 pc=0x70f1d10c3c 07-22 02:09:38.477 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.477 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x400006a7d0 sp=0x400006a7d0 pc=0x70f1c6d864 07-22 02:09:38.477 28453 0 E Go : created by golang.org/x/mobile/internal/mobileinit.init.0 in goroutine 1 07-22 02:09:38.477 28453 0 E Go : golang.org/x/mobile@v0.0.0-20240716161057-1ad2df20a8b6/internal/mobileinit/mobileinit_android.go:82 +0x170 07-22 02:09:38.477 28453 0 E Go : 07-22 02:09:38.477 28453 0 E Go : goroutine 7 gp=0x4000210000 m=nil [IO wait]: 07-22 02:09:38.477 28453 0 E Go : runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) 07-22 02:09:38.477 28453 0 E Go : runtime/proc.go:402 +0xc8 fp=0x400006ac10 sp=0x400006abf0 pc=0x70f1c38828 07-22 02:09:38.477 28453 0 E Go : runtime.netpollblock(0x0?, 0xffffffff?, 0xff?) 07-22 02:09:38.477 28453 0 E Go : runtime/netpoll.go:573 +0x158 fp=0x400006ac50 sp=0x400006ac10 pc=0x70f1c316f8 07-22 02:09:38.477 28453 0 E Go : internal/poll.runtime_pollWait(0x753913d520, 0x72) 07-22 02:09:38.477 28453 0 E Go : runtime/netpoll.go:345 +0xa0 fp=0x400006ac80 sp=0x400006ac50 pc=0x70f1c675b0 07-22 02:09:38.477 28453 0 E Go : internal/poll.(*pollDesc).wait(0x40000943c0?, 0x400010e400?, 0x1) 07-22 02:09:38.477 28453 0 E Go : internal/poll/fd_poll_runtime.go:84 +0x28 fp=0x400006acb0 sp=0x400006ac80 pc=0x70f1cd8ca8 07-22 02:09:38.477 28453 0 E Go : internal/poll.(*pollDesc).waitRead(...) 07-22 02:09:38.477 28453 0 E Go : internal/poll/fd_poll_runtime.go:89 07-22 02:09:38.477 28453 0 E Go : internal/poll.(*FD).Read(0x40000943c0, {0x400010e400, 0x400, 0x400}) 07-22 02:09:38.477 28453 0 E Go : internal/poll/fd_unix.go:164 +0x200 fp=0x400006ad50 sp=0x400006acb0 pc=0x70f1cd9ff0 07-22 02:09:38.477 28453 0 E Go : os.(*File).read(...) 07-22 02:09:38.477 28453 0 E Go : os/file_posix.go:29 07-22 02:09:38.477 28453 0 E Go : os.(*File).Read(0x400006c408, {0x400010e400?, 0x400006ae38?, 0x70f1c502d0?}) 07-22 02:09:38.477 28453 0 E Go : os/file.go:118 +0x70 fp=0x400006ad90 sp=0x400006ad50 pc=0x70f1ce46d0 07-22 02:09:38.477 28453 0 E Go : bufio.(*Reader).fill(0x400006af50) 07-22 02:09:38.477 28453 0 E Go : bufio/bufio.go:110 +0xf8 fp=0x400006add0 sp=0x400006ad90 pc=0x70f1d089d8 07-22 02:09:38.477 28453 0 E Go : bufio.(*Reader).ReadSlice(0x400006af50, 0xa) 07-22 02:09:38.477 28453 0 E Go : bufio/bufio.go:376 +0x30 fp=0x400006ae20 sp=0x400006add0 pc=0x70f1d095e0 07-22 02:09:38.477 28453 0 E Go : bufio.(*Reader).ReadLine(0x400006af50) 07-22 02:09:38.478 28453 0 E Go : bufio/bufio.go:405 +0x24 fp=0x400006ae70 sp=0x400006ae20 pc=0x70f1d09814 07-22 02:09:38.478 28453 0 E Go : golang.org/x/mobile/internal/mobileinit.lineLog(0x400006c408, 0x4) 07-22 02:09:38.478 28453 0 E Go : golang.org/x/mobile@v0.0.0-20240716161057-1ad2df20a8b6/internal/mobileinit/mobileinit_android.go:55 +0xd4 fp=0x400006afb0 sp=0x400006ae70 pc=0x70f1d107c4 07-22 02:09:38.478 28453 0 E Go : golang.org/x/mobile/internal/mobileinit.init.0.gowrap2() 07-22 02:09:38.478 28453 0 E Go : golang.org/x/mobile@v0.0.0-20240716161057-1ad2df20a8b6/internal/mobileinit/mobileinit_android.go:92 +0x2c fp=0x400006afd0 sp=0x400006afb0 pc=0x70f1d10bdc 07-22 02:09:38.478 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.478 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x400006afd0 sp=0x400006afd0 pc=0x70f1c6d864 07-22 02:09:38.478 28453 0 E Go : created by golang.org/x/mobile/internal/mobileinit.init.0 in goroutine 1 07-22 02:09:38.478 28453 0 E Go : golang.org/x/mobile@v0.0.0-20240716161057-1ad2df20a8b6/internal/mobileinit/mobileinit_android.go:92 +0x270 07-22 02:09:38.478 28453 0 E Go : 07-22 02:09:38.478 28453 0 E Go : goroutine 8 gp=0x4000328000 m=nil [select, locked to thread]: 07-22 02:09:38.478 28453 0 E Go : runtime.gopark(0x400006b7a0?, 0x2?, 0x0?, 0x0?, 0x400006b78c?) 07-22 02:09:38.478 28453 0 E Go : runtime/proc.go:402 +0xc8 fp=0x4000114e30 sp=0x4000114e10 pc=0x70f1c38828 07-22 02:09:38.478 28453 0 E Go : runtime.selectgo(0x4000114fa0, 0x400006b788, 0x0?, 0x0, 0x0?, 0x1) 07-22 02:09:38.478 28453 0 E Go : runtime/select.go:327 +0x614 fp=0x4000114f40 sp=0x4000114e30 pc=0x70f1c4b244 07-22 02:09:38.478 28453 0 E Go : runtime.ensureSigM.func1() 07-22 02:09:38.478 28453 0 E Go : runtime/signal_unix.go:1034 +0x198 fp=0x4000114fd0 sp=0x4000114f40 pc=0x70f1c64088 07-22 02:09:38.478 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.478 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x4000114fd0 sp=0x4000114fd0 pc=0x70f1c6d864 07-22 02:09:38.478 28453 0 E Go : created by runtime.ensureSigM in goroutine 1 07-22 02:09:38.478 28453 0 E Go : runtime/signal_unix.go:1017 +0xd8 07-22 02:09:38.478 28453 0 E Go : 07-22 02:09:38.478 28453 0 E Go : goroutine 19 gp=0x40001828c0 m=0 mp=0x70f376cec0 [syscall]: 07-22 02:09:38.478 28453 0 E Go : runtime.notetsleepg(0x70f37d62e0, 0xffffffffffffffff) 07-22 02:09:38.478 28453 0 E Go : runtime/lock_futex.go:246 +0x34 fp=0x4000064790 sp=0x4000064760 pc=0x70f1c08ec4 07-22 02:09:38.478 28453 0 E Go : os/signal.signal_recv() 07-22 02:09:38.478 28453 0 E Go : runtime/sigqueue.go:152 +0x30 fp=0x40000647b0 sp=0x4000064790 pc=0x70f1c69e20 07-22 02:09:38.478 28453 0 E Go : os/signal.loop() 07-22 02:09:38.478 28453 0 E Go : os/signal/signal_unix.go:23 +0x1c fp=0x40000647d0 sp=0x40000647b0 pc=0x70f28d3e9c 07-22 02:09:38.478 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.478 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x40000647d0 sp=0x40000647d0 pc=0x70f1c6d864 07-22 02:09:38.478 28453 0 E Go : created by os/signal.Notify.func1.1 in goroutine 1 07-22 02:09:38.478 28453 0 E Go : os/signal/signal.go:151 +0x28 07-22 02:09:38.478 28453 0 E Go : 07-22 02:09:38.478 28453 0 E Go : goroutine 51 gp=0x4000182e00 m=9 mp=0x4000181008 [syscall, locked to thread]: 07-22 02:09:38.478 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.478 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x400062dfe0 sp=0x400062dfe0 pc=0x70f1c6d864 07-22 02:09:38.478 28453 0 E Go : 07-22 02:09:38.478 28453 0 E Go : goroutine 59 gp=0x4000102540 m=nil [GC worker (idle)]: 07-22 02:09:38.478 28453 0 E Go : runtime.gopark(0xb8aa90d090b6?, 0x0?, 0x0?, 0x0?, 0x0?) 07-22 02:09:38.478 28453 0 E Go : runtime/proc.go:402 +0xc8 fp=0x4000382730 sp=0x4000382710 pc=0x70f1c38828 07-22 02:09:38.478 28453 0 E Go : runtime.gcBgMarkWorker() 07-22 02:09:38.478 28453 0 E Go : runtime/mgc.go:1310 +0xd8 fp=0x40003827d0 sp=0x4000382730 pc=0x70f1c193e8 07-22 02:09:38.478 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.478 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x40003827d0 sp=0x40003827d0 pc=0x70f1c6d864 07-22 02:09:38.478 28453 0 E Go : created by runtime.gcBgMarkStartWorkers in goroutine 71 07-22 02:09:38.478 28453 0 E Go : runtime/mgc.go:1234 +0x28 07-22 02:09:38.478 28453 0 E Go : 07-22 02:09:38.478 28453 0 E Go : goroutine 52 gp=0x4000183340 m=11 mp=0x40001f6008 [syscall, locked to thread]: 07-22 02:09:38.478 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.478 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x400062bfe0 sp=0x400062bfe0 pc=0x70f1c6d864 07-22 02:09:38.478 28453 0 E Go : 07-22 02:09:38.478 28453 0 E Go : goroutine 46 gp=0x4000102700 m=nil [GC worker (idle)]: 07-22 02:09:38.478 28453 0 E Go : runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) 07-22 02:09:38.478 28453 0 E Go : runtime/proc.go:402 +0xc8 fp=0x4000386f30 sp=0x4000386f10 pc=0x70f1c38828 07-22 02:09:38.478 28453 0 E Go : runtime.gcBgMarkWorker() 07-22 02:09:38.478 28453 0 E Go : runtime/mgc.go:1310 +0xd8 fp=0x4000386fd0 sp=0x4000386f30 pc=0x70f1c193e8 07-22 02:09:38.478 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.478 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x4000386fd0 sp=0x4000386fd0 pc=0x70f1c6d864 07-22 02:09:38.478 28453 0 E Go : created by runtime.gcBgMarkStartWorkers in goroutine 71 07-22 02:09:38.478 28453 0 E Go : runtime/mgc.go:1234 +0x28 07-22 02:09:38.478 28453 0 E Go : 07-22 02:09:38.478 28453 0 E Go : goroutine 45 gp=0x40001028c0 m=nil [GC worker (idle)]: 07-22 02:09:38.478 28453 0 E Go : runtime.gopark(0x40001241e0?, 0x0?, 0xe0?, 0x84?, 0x4000386788?) 07-22 02:09:38.478 28453 0 E Go : runtime/proc.go:402 +0xc8 fp=0x4000386730 sp=0x4000386710 pc=0x70f1c38828 07-22 02:09:38.478 28453 0 E Go : runtime.gcBgMarkWorker() 07-22 02:09:38.478 28453 0 E Go : runtime/mgc.go:1310 +0xd8 fp=0x40003867d0 sp=0x4000386730 pc=0x70f1c193e8 07-22 02:09:38.478 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.478 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x40003867d0 sp=0x40003867d0 pc=0x70f1c6d864 07-22 02:09:38.479 28453 0 E Go : created by runtime.gcBgMarkStartWorkers in goroutine 71 07-22 02:09:38.479 28453 0 E Go : runtime/mgc.go:1234 +0x28 07-22 02:09:38.479 28453 0 E Go : 07-22 02:09:38.479 28453 0 E Go : goroutine 53 gp=0x4000183880 m=12 mp=0x40001f6808 [syscall, locked to thread]: 07-22 02:09:38.479 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.479 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x400012bfe0 sp=0x400012bfe0 pc=0x70f1c6d864 07-22 02:09:38.479 28453 0 E Go : 07-22 02:09:38.479 28453 0 E Go : goroutine 70 gp=0x40002848c0 m=13 mp=0x4000282808 [syscall, locked to thread]: 07-22 02:09:38.479 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.479 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x4000078fe0 sp=0x4000078fe0 pc=0x70f1c6d864 07-22 02:09:38.479 28453 0 E Go : 07-22 02:09:38.479 28453 0 E Go : goroutine 57 gp=0x4000328380 m=nil [GC worker (idle)]: 07-22 02:09:38.479 28453 0 E Go : runtime.gopark(0x70f37d7580?, 0x1?, 0xfb?, 0xf9?, 0x4000065788?) 07-22 02:09:38.479 28453 0 E Go : runtime/proc.go:402 +0xc8 fp=0x4000065730 sp=0x4000065710 pc=0x70f1c38828 07-22 02:09:38.479 28453 0 E Go : runtime.gcBgMarkWorker() 07-22 02:09:38.479 28453 0 E Go : runtime/mgc.go:1310 +0xd8 fp=0x40000657d0 sp=0x4000065730 pc=0x70f1c193e8 07-22 02:09:38.479 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.479 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x40000657d0 sp=0x40000657d0 pc=0x70f1c6d864 07-22 02:09:38.479 28453 0 E Go : created by runtime.gcBgMarkStartWorkers in goroutine 71 07-22 02:09:38.479 28453 0 E Go : runtime/mgc.go:1234 +0x28 07-22 02:09:38.479 28453 0 E Go : 07-22 02:09:38.479 28453 0 E Go : goroutine 58 gp=0x4000328540 m=nil [GC worker (idle)]: 07-22 02:09:38.479 28453 0 E Go : runtime.gopark(0x70f37d7580?, 0x1?, 0xe8?, 0x8e?, 0x40002b0ca0?) 07-22 02:09:38.479 28453 0 E Go : runtime/proc.go:402 +0xc8 fp=0x400006b730 sp=0x400006b710 pc=0x70f1c38828 07-22 02:09:38.479 28453 0 E Go : runtime.gcBgMarkWorker() 07-22 02:09:38.479 28453 0 E Go : runtime/mgc.go:1310 +0xd8 fp=0x400006b7d0 sp=0x400006b730 pc=0x70f1c193e8 07-22 02:09:38.479 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.479 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x400006b7d0 sp=0x400006b7d0 pc=0x70f1c6d864 07-22 02:09:38.479 28453 0 E Go : created by runtime.gcBgMarkStartWorkers in goroutine 71 07-22 02:09:38.479 28453 0 E Go : runtime/mgc.go:1234 +0x28 07-22 02:09:38.479 28453 0 E Go : 07-22 02:09:38.479 28453 0 E Go : goroutine 71 gp=0x4000102e00 m=15 mp=0x4000100808 [syscall, locked to thread]: 07-22 02:09:38.479 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.479 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x4000207fe0 sp=0x4000207fe0 pc=0x70f1c6d864 07-22 02:09:38.479 28453 0 E Go : 07-22 02:09:38.479 28453 0 E Go : goroutine 72 gp=0x4000285180 m=16 mp=0x4000283808 [syscall, locked to thread]: 07-22 02:09:38.479 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.479 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x4000205fe0 sp=0x4000205fe0 pc=0x70f1c6d864 07-22 02:09:38.479 28453 0 E Go : 07-22 02:09:38.479 28453 0 E Go : goroutine 48 gp=0x4000102fc0 m=nil [GC worker (idle)]: 07-22 02:09:38.479 28453 0 E Go : runtime.gopark(0xb8adc04751b2?, 0x1?, 0x91?, 0xb9?, 0x0?) 07-22 02:09:38.479 28453 0 E Go : runtime/proc.go:402 +0xc8 fp=0x4000387f30 sp=0x4000387f10 pc=0x70f1c38828 07-22 02:09:38.479 28453 0 E Go : runtime.gcBgMarkWorker() 07-22 02:09:38.479 28453 0 E Go : runtime/mgc.go:1310 +0xd8 fp=0x4000387fd0 sp=0x4000387f30 pc=0x70f1c193e8 07-22 02:09:38.479 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.479 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x4000387fd0 sp=0x4000387fd0 pc=0x70f1c6d864 07-22 02:09:38.479 28453 0 E Go : created by runtime.gcBgMarkStartWorkers in goroutine 71 07-22 02:09:38.479 28453 0 E Go : runtime/mgc.go:1234 +0x28 07-22 02:09:38.479 28453 0 E Go : 07-22 02:09:38.479 28453 0 E Go : goroutine 60 gp=0x4000285340 m=nil [GC worker (idle)]: 07-22 02:09:38.479 28453 0 E Go : runtime.gopark(0xb8aa90c5db37?, 0x0?, 0x0?, 0x0?, 0x0?) 07-22 02:09:38.479 28453 0 E Go : runtime/proc.go:402 +0xc8 fp=0x4000382f30 sp=0x4000382f10 pc=0x70f1c38828 07-22 02:09:38.479 28453 0 E Go : runtime.gcBgMarkWorker() 07-22 02:09:38.479 28453 0 E Go : runtime/mgc.go:1310 +0xd8 fp=0x4000382fd0 sp=0x4000382f30 pc=0x70f1c193e8 07-22 02:09:38.479 28453 0 E Go : runtime.goexit({}) 07-22 02:09:38.479 28453 0 E Go : runtime/asm_arm64.s:1222 +0x4 fp=0x4000382fd0 sp=0x4000382fd0 pc=0x70f1c6d864 07-22 02:09:38.479 28453 0 E Go : created by runtime.gcBgMarkStartWorkers in goroutine 71 07-22 02:09:38.479 28453 0 E Go : runtime/mgc.go:1234 +0x28 07-22 02:09:39.957 13348 13348 W ResourcesCompat: java.lang.UnsupportedOperationException: Failed to resolve attribute at index 0: TypedValue{t=0x2/d=0x7f04028c a=-1}, theme={InheritanceMap=[id=0x7f13029bcom.github.dyhkwong.sagernet:style/Theme.SagerNet, id=0x7f13027ecom.github.dyhkwong.sagernet:style/Theme.MaterialComponents.DayNight.NoActionBar, id=0x7f130299com.github.dyhkwong.sagernet:style/Theme.MaterialComponents.NoActionBar, id=0x7f13026ccom.github.dyhkwong.sagernet:style/Theme.MaterialComponents, id=0x7f130067com.github.dyhkwong.sagernet:style/Base.Theme.MaterialComponents, id=0x7f1300a7com.github.dyhkwong.sagernet:style/Base.V21.Theme.MaterialComponents, id=0x7f130093com.github.dyhkwong.sagernet:style/Base.V14.Theme.MaterialComponents, id=0x7f130094com.github.dyhkwong.sagernet:style/Base.V14.Theme.MaterialComponents.Bridge, id=0x7f13013acom.github.dyhkwong.sagernet:style/Platform.MaterialComponents, id=0x7f130232com.github.dyhkwong.sagernet:style/Theme.AppCompat, id=0x7f13004dcom.github.dyhkwong.sagernet:style/Base.Theme.AppCompat, id=0x7f1300bacom.github.dyhkwong.sagernet:style/Base.V28.Theme.AppCompat, id=0x7f1300b7com.github.dyhkwong.sagernet:style/Base.V26.Theme.AppCompat, id=0x7f1300b1com.github.dyhkwong.sagernet:style/Base.V23.Theme.AppCompat, id=0x7f1300afcom.github.dyhkwong.sagernet:style/Base.V22.Theme.AppCompat, id=0x7f1300a3com.github.dyhkwong.sagernet:style/Base.V21.Theme.AppCompat, id=0x7f1300bccom.github.dyhkwong.sagernet:style/Base.V7.Theme.AppCompat, id=0x7f130138com.github.dyhkwong.sagernet:style/Platform.AppCompat, id=0x7f130143com.github.dyhkwong.sagernet:style/Platform.V25.AppCompat, id=0x103022eandroid:style/Theme.Material.NoActionBar, id=0x1030224android:style/Theme.Material, id=0x1030005android:style/Theme], Themes=[com.github.dyhkwong.sagernet:style/Theme.SagerNet, forced, com.github.dyhkwong.sagernet:style/Theme.SagerNet.Start, forced, com.github.dyhkwong.sagernet:style/Theme.AppCompat.Empty, forced, android:style/Theme.DeviceDefault.Light.DarkActionBar, forced]} 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at android.content.res.TypedArray.getColor(TypedArray.java:529) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at androidx.core.content.res.ColorStateListInflaterCompat.createFromXmlInner(SourceFile:6) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at androidx.core.content.res.ColorStateListInflaterCompat.createFromXml(SourceFile:18) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at androidx.core.app.NavUtils.getColorStateList(SourceFile:122) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at androidx.core.os.BundleKt.getColorStateList(SourceFile:5) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at com.google.android.material.navigation.NavigationView.(SourceFile:464) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at java.lang.reflect.Constructor.newInstance0(Native Method) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at java.lang.reflect.Constructor.newInstance(Constructor.java:343) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at android.view.LayoutInflater.createView(LayoutInflater.java:866) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1018) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:973) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at android.view.LayoutInflater.rInflate(LayoutInflater.java:1135) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1096) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at android.view.LayoutInflater.inflate(LayoutInflater.java:694) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at android.view.LayoutInflater.inflate(LayoutInflater.java:538) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at io.nekohasekai.sagernet.databinding.LayoutMainBinding.inflate(SourceFile:2) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at io.nekohasekai.sagernet.databinding.LayoutMainBinding.inflate(SourceFile:1) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at io.nekohasekai.sagernet.ui.MainActivity.onCreate(SourceFile:35) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at android.app.Activity.performCreate(Activity.java:8595) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at android.app.Activity.performCreate(Activity.java:8573) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1476) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3815) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3973) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:96) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2474) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at android.os.Handler.dispatchMessage(Handler.java:106) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at android.os.Looper.loopOnce(Looper.java:232) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at android.os.Looper.loop(Looper.java:334) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at android.app.ActivityThread.main(ActivityThread.java:8291) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at java.lang.reflect.Method.invoke(Native Method) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:557) 07-22 02:09:39.957 13348 13348 W ResourcesCompat: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:981) ```