updateVpnService -> byDevice.isProvideEnabled is crashing the app
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Área
- mobile, networking
Línea de trabajo
Empieza por la ruta updateVpnService de Android y la comprobación byDevice.isProvideEnabled mencionada en el título. Sigue el callback de Go a través de device.go, líneas 251, 253 y 338, junto con connect/trace.go, línea 65, y los registros de reproducción del emulador proporcionados. Se considera completado cuando la verificación del proveedor termina sin un crash de lanzamiento inmediato ni posterior.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Here are the steps I took:
- Login create, clicked the "become a provider" button.
- Filled out the form.
- Submitted the verification.
- App crashed, and on subsequent launches, crashes immediately.
This is all tested in the emulator. Tried on both Pixel 7 and Pixel 8.
Some logs:
2024-07-04 17:29:28.907 11797-0 Go com.bringyour.network E runtime: newstack at runtime.printlock+0x78 sp=0x4000163ac0 stack=[0x4000162000, 0x4000164000]
2024-07-04 17:29:28.907 11797-11839 GoLog com.bringyour.network E runtime: newstack at runtime.printlock+0x78 sp=0x4000163ac0 stack=[0x4000162000, 0x4000164000]
2024-07-04 17:29:28.907 11797-0 Go com.bringyour.network E morebuf={pc:0x70314b6050 sp:0x4000163ac0 lr:0x0}
2024-07-04 17:29:28.907 11797-0 Go com.bringyour.network E sched={pc:0x70314eb8e8 sp:0x4000163ac0 lr:0x70314b6050 ctxt:0x0}
2024-07-04 17:29:28.907 11797-0 Go com.bringyour.network E runtime.callbackUpdateSystemStack(0x4000044008, 0x7fe8a34580, 0x0)
2024-07-04 17:29:28.907 11797-11839 GoLog com.bringyour.network E morebuf={pc:0x70314b6050 sp:0x4000163ac0 lr:0x0}
2024-07-04 17:29:28.907 11797-0 Go com.bringyour.network E runtime/cgocall.go:241 +0x90 fp=0x4000163b20 sp=0x4000163ac0 pc=0x70314b6050
2024-07-04 17:29:28.907 11797-11839 GoLog com.bringyour.network E sched={pc:0x70314eb8e8 sp:0x4000163ac0 lr:0x70314b6050 ctxt:0x0}
2024-07-04 17:29:28.907 11797-0 Go com.bringyour.network E runtime.cgocallbackg(0x703187cff0, 0x7fe8a34678, 0x0)
2024-07-04 17:29:28.907 11797-11839 GoLog com.bringyour.network E runtime.callbackUpdateSystemStack(0x4000044008, 0x7fe8a34580, 0x0)
2024-07-04 17:29:28.907 11797-0 Go com.bringyour.network E runtime/cgocall.go:306 +0x68 fp=0x4000163ba0 sp=0x4000163b20 pc=0x70314b6218
2024-07-04 17:29:28.907 11797-11839 GoLog com.bringyour.network E runtime/cgocall.go:241 +0x90 fp=0x4000163b20 sp=0x4000163ac0 pc=0x70314b6050
2024-07-04 17:29:28.907 11797-11839 GoLog com.bringyour.network E runtime.cgocallbackg(0x703187cff0, 0x7fe8a34678, 0x0)
2024-07-04 17:29:28.907 11797-0 Go com.bringyour.network E runtime.cgocallbackg(0x703187cff0, 0x7fe8a34678, 0x0)
2024-07-04 17:29:28.907 11797-11839 GoLog com.bringyour.network E runtime/cgocall.go:306 +0x68 fp=0x4000163ba0 sp=0x4000163b20 pc=0x70314b6218
2024-07-04 17:29:28.907 11797-11839 GoLog com.bringyour.network E runtime.cgocallbackg(0x703187cff0, 0x7fe8a34678, 0x0)
2024-07-04 17:29:28.907 11797-0 Go com.bringyour.network E <autogenerated>:1 +0x1c fp=0x4000163bd0 sp=0x4000163ba0 pc=0x7031522d0c
2024-07-04 17:29:28.907 11797-11839 GoLog com.bringyour.network E <autogenerated>:1 +0x1c fp=0x4000163bd0 sp=0x4000163ba0 pc=0x7031522d0c
2024-07-04 17:29:28.908 11797-0 Go com.bringyour.network E runtime.cgocallback(0x4000163c48, 0x7031856460, 0x703189b118)
2024-07-04 17:29:28.908 11797-0 Go com.bringyour.network E runtime/asm_arm64.s:1130 +0xb0 fp=0x4000163c00 sp=0x4000163bd0 pc=0x7031521050
2024-07-04 17:29:28.908 11797-0 Go com.bringyour.network E runtime.systemstack_switch()
2024-07-04 17:29:28.908 11797-0 Go com.bringyour.network E runtime/asm_arm64.s:200 +0x8 fp=0x4000163c10 sp=0x4000163c00 pc=0x703151ec18
2024-07-04 17:29:28.908 11797-11839 GoLog com.bringyour.network E runtime.cgocallback(0x4000163c48, 0x7031856460, 0x703189b118)
2024-07-04 17:29:28.908 11797-0 Go com.bringyour.network E runtime.cgocall(0x703189b118, 0x4000163c88)
2024-07-04 17:29:28.908 11797-0 Go com.bringyour.network E runtime/cgocall.go:175 +0x70 fp=0x4000163c50 sp=0x4000163c10 pc=0x70314b5f60
2024-07-04 17:29:28.908 11797-0 Go com.bringyour.network E main._Cfunc_cproxyclient_ProvideChangeListener_ProvideChanged(0x2a, 0x0)
2024-07-04 17:29:28.908 11797-0 Go com.bringyour.network E _cgo_gotypes.go:550 +0x30 fp=0x4000163c80 sp=0x4000163c50 pc=0x7031856460
2024-07-04 17:29:28.909 11797-11839 GoLog com.bringyour.network E runtime/asm_arm64.s:1130 +0xb0 fp=0x4000163c00 sp=0x4000163bd0 pc=0x7031521050
2024-07-04 17:29:28.909 11797-11839 GoLog com.bringyour.network E runtime.systemstack_switch()
2024-07-04 17:29:28.909 11797-11839 GoLog com.bringyour.network E runtime/asm_arm64.s:200 +0x8 fp=0x4000163c10 sp=0x4000163c00 pc=0x703151ec18
2024-07-04 17:29:28.909 11797-11839 GoLog com.bringyour.network E runtime.cgocall(0x703189b118, 0x4000163c88)
2024-07-04 17:29:28.909 11797-11839 GoLog com.bringyour.network E runtime/cgocall.go:175 +0x70 fp=0x4000163c50 sp=0x4000163c10 pc=0x70314b5f60
2024-07-04 17:29:28.909 11797-11839 GoLog com.bringyour.network E main._Cfunc_cproxyclient_ProvideChangeListener_ProvideChanged(0x2a, 0x0)
2024-07-04 17:29:28.909 11797-11839 GoLog com.bringyour.network E _cgo_gotypes.go:550 +0x30 fp=0x4000163c80 sp=0x4000163c50 pc=0x7031856460
2024-07-04 17:29:28.909 11797-0 Go com.bringyour.network E main.(*proxyclient_ProvideChangeListener).ProvideChanged(0x4000010144, 0x0)
2024-07-04 17:29:28.909 11797-11839 GoLog com.bringyour.network E main.(*proxyclient_ProvideChangeListener).ProvideChanged(0x4000010144, 0x0)
2024-07-04 17:29:28.909 11797-0 Go com.bringyour.network E gobind/gobind/go_clientmain.go:7254 +0x58 fp=0x4000163ca0 sp=0x4000163c80 pc=0x7031875508
2024-07-04 17:29:28.909 11797-11839 GoLog com.bringyour.network E gobind/gobind/go_clientmain.go:7254 +0x58 fp=0x4000163ca0 sp=0x4000163c80 pc=0x7031875508
2024-07-04 17:29:28.909 11797-0 Go com.bringyour.network E bringyour.com/client.(*BringYourDevice).provideChanged.func1()
2024-07-04 17:29:28.909 11797-11839 GoLog com.bringyour.network E bringyour.com/client.(*BringYourDevice).provideChanged.func1()
2024-07-04 17:29:28.909 11797-0 Go com.bringyour.network E bringyour.com/[email protected]/device.go:253 +0xb4 fp=0x4000163cf0 sp=0x4000163ca0 pc=0x7031843804
2024-07-04 17:29:28.909 11797-11839 GoLog com.bringyour.network E bringyour.com/[email protected]/device.go:253 +0xb4 fp=0x4000163cf0 sp=0x4000163ca0 pc=0x7031843804
2024-07-04 17:29:28.909 11797-0 Go com.bringyour.network E bringyour.com/connect.HandleError(0x70313e41e5?, {0x0?, 0x4000020770?, 0x0?})
2024-07-04 17:29:28.909 11797-11839 GoLog com.bringyour.network E bringyour.com/connect.HandleError(0x70313e41e5?, {0x0?, 0x4000020770?, 0x0?})
2024-07-04 17:29:28.909 11797-0 Go com.bringyour.network E bringyour.com/[email protected]/trace.go:65 +0x70 fp=0x4000163d50 sp=0x4000163cf0 pc=0x70318103a0
2024-07-04 17:29:28.909 11797-0 Go com.bringyour.network E bringyour.com/client.(*BringYourDevice).provideChanged(0x4000000360, 0x0)
2024-07-04 17:29:28.909 11797-11839 GoLog com.bringyour.network E bringyour.com/[email protected]/trace.go:65 +0x70 fp=0x4000163d50 sp=0x4000163cf0 pc=0x70318103a0
2024-07-04 17:29:28.909 11797-11839 GoLog com.bringyour.network E bringyour.com/client.(*BringYourDevice).provideChanged(0x4000000360, 0x0)
2024-07-04 17:29:28.909 11797-0 Go com.bringyour.network E bringyour.com/[email protected]/device.go:251 +0xe4 fp=0x4000163dc0 sp=0x4000163d50 pc=0x70318436e4
2024-07-04 17:29:28.909 11797-11839 GoLog com.bringyour.network E bringyour.com/[email protected]/device.go:251 +0xe4 fp=0x4000163dc0 sp=0x4000163d50 pc=0x70318436e4
2024-07-04 17:29:28.909 11797-0 Go com.bringyour.network E bringyour.com/client.(*BringYourDevice).SetProvideMode(0x4000000360, 0x70314b6658?)
2024-07-04 17:29:28.909 11797-11839 GoLog com.bringyour.network E bringyour.com/client.(*BringYourDevice).SetProvideMode(0x4000000360, 0x70314b6658?)
2024-07-04 17:29:28.909 11797-0 Go com.bringyour.network E bringyour.com/[email protected]/device.go:338 +0x40 fp=0x4000163de0 sp=0x4000163dc0 pc=0x7031843e20
2024-07-04 17:29:28.909 11797-11839 GoLog com.bringyour.network E bringyour.com/[email protected]/device.go:338 +0x40 fp=0x4000163de0 sp=0x4000163dc0 pc=0x7031843e20
2024-07-04 17:29:28.909 11797-0 Go com.bringyour.network E main.proxyclient_BringYourDevice_SetProvideMode(0xffffff01?, 0x0)
2024-07-04 17:29:28.909 11797-11839 GoLog com.bringyour.network E main.proxyclient_BringYourDevice_SetProvideMode(0xffffff01?, 0x0)
2024-07-04 17:29:28.910 11797-0 Go com.bringyour.network E gobind/gobind/go_clientmain.go:1610 +0x40 fp=0x4000163e10 sp=0x4000163de0 pc=0x703185dc30
2024-07-04 17:29:28.910 11797-11839 GoLog com.bringyour.network E gobind/gobind/go_clientmain.go:1610 +0x40 fp=0x4000163e10 sp=0x4000163de0 pc=0x703185dc30
2024-07-04 17:29:28.910 11797-0 Go com.bringyour.network E _cgoexp_e7fa622b2ccb_proxyclient_BringYourDevice_SetProvideMode(0x4000163e88?)
2024-07-04 17:29:28.910 11797-11839 GoLog com.bringyour.network E _cgoexp_e7fa622b2ccb_proxyclient_BringYourDevice_SetProvideMode(0x4000163e88?)
2024-07-04 17:29:28.910 11797-0 Go com.bringyour.network E _cgo_gotypes.go:2126 +0x28 fp=0x4000163e30 sp=0x4000163e10 pc=0x703187d378
2024-07-04 17:29:28.910 11797-11839 GoLog com.bringyour.network E _cgo_gotypes.go:2126 +0x28 fp=0x4000163e30 sp=0x4000163e10 pc=0x703187d378
2024-07-04 17:29:28.910 11797-0 Go com.bringyour.network E runtime.cgocallbackg1(0x703187d350, 0x7fe8a38c70, 0x0)
2024-07-04 17:29:28.910 11797-11839 GoLog com.bringyour.network E runtime.cgocallbackg1(0x703187d350, 0x7fe8a38c70, 0x0)
2024-07-04 17:29:28.910 11797-0 Go com.bringyour.network E runtime/cgocall.go:420 +0x228 fp=0x4000163f00 sp=0x4000163e30 pc=0x70314b6598
2024-07-04 17:29:28.910 11797-11839 GoLog com.bringyour.network E runtime/cgocall.go:420 +0x228 fp=0x4000163f00 sp=0x4000163e30 pc=0x70314b6598
2024-07-04 17:29:28.910 11797-0 Go com.bringyour.network E runtime.cgocallbackg(0x703187d350, 0x7fe8a38c70, 0x0)
2024-07-04 17:29:28.910 11797-11839 GoLog com.bringyour.network E runtime.cgocallbackg(0x703187d350, 0x7fe8a38c70, 0x0)
2024-07-04 17:29:28.910 11797-0 Go com.bringyour.network E runtime/cgocall.go:339 +0x10c fp=0x4000163f80 sp=0x4000163f00 pc=0x70314b62bc
2024-07-04 17:29:28.910 11797-11839 GoLog com.bringyour.network E runtime/cgocall.go:339 +0x10c fp=0x4000163f80 sp=0x4000163f00 pc=0x70314b62bc
2024-07-04 17:29:28.910 11797-0 Go com.bringyour.network E runtime.cgocallbackg(0x703187d350, 0x7fe8a38c70, 0x0)
2024-07-04 17:29:28.910 11797-11839 GoLog com.bringyour.network E runtime.cgocallbackg(0x703187d350, 0x7fe8a38c70, 0x0)
2024-07-04 17:29:28.910 11797-0 Go com.bringyour.network E <autogenerated>:1 +0x1c fp=0x4000163fb0 sp=0x4000163f80 pc=0x7031522d0c
2024-07-04 17:29:28.910 11797-0 Go com.bringyour.network E runtime.cgocallback(0x0, 0x0, 0x0)
2024-07-04 17:29:28.910 11797-0 Go com.bringyour.network E runtime/asm_arm64.s:1130 +0xb0 fp=0x4000163fe0 sp=0x4000163fb0 pc=0x7031521050
2024-07-04 17:29:28.910 11797-0 Go com.bringyour.network E runtime.goexit({})
2024-07-04 17:29:28.910 11797-11839 GoLog com.bringyour.network E <autogenerated>:1 +0x1c fp=0x4000163fb0 sp=0x4000163f80 pc=0x7031522d0c
2024-07-04 17:29:28.910 11797-11839 GoLog com.bringyour.network E runtime.cgocallback(0x0, 0x0, 0x0)
2024-07-04 17:29:28.910 11797-11839 GoLog com.bringyour.network E runtime/asm_arm64.s:1130 +0xb0 fp=0x4000163fe0 sp=0x4000163fb0 pc=0x7031521050
2024-07-04 17:29:28.911 11797-11839 GoLog com.bringyour.network E runtime.goexit({})
2024-07-04 17:29:28.911 11797-11839 GoLog com.bringyour.network E runtime/asm_arm64.s:1222 +0x4 fp=0x4000163fe0 sp=0x4000163fe0 pc=0x7031521144
2024-07-04 17:29:28.911 11797-0 Go com.bringyour.network E runtime/asm_arm64.s:1222 +0x4 fp=0x4000163fe0 sp=0x4000163fe0 pc=0x7031521144
2024-07-04 17:29:28.911 11797-0 Go com.bringyour.network E fatal error: runtime: stack split at bad time
2024-07-04 17:29:28.911 11797-11839 GoLog com.bringyour.network E fatal error: runtime: stack split at bad time
It looks to be crashing on this line https://github.com/bringyour/android/blob/main/app/app/src/main/java/com/bringyour/network/MainApplication.kt#L301.
- Lenguaje dominante
- Kotlin
- Estrellas
- 218
- Forks
- 13
- Merge medio
- 53 min
- PR fusionados (30 d)
- 3
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de urnetwork/android
-
Verify change from cell to WiFiQuizá libre de nuevo @Ryanmello07 la tomó hace 48 días y no hay ningún pull request abierto. Abierto
-
DebuggingQuizá libre de nuevo @Ryanmello07 la tomó hace 48 días y no hay ningún pull request abierto. Abierto
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
-
WebRTC leakAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
-
Versioning MismatchAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
Todos los issues de urnetwork/android
Issues similares
-
[BUG] Navigation drawer drops library-name suffixes without ellipsis (1.0.8, NVIDIA Shield)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
damontecres/Wholphin#2069 ·
Los mantenedores suelen responder en 1 día
-
Android (vision-camera-location): HybridLocationManager never quits its HandlerThread on disposeAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
margelo/react-native-vision-camera#4217 ·
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
saisaharsh3/Leftovers#13 · 1 comentario ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 67/100
navikt/esyfo-narmesteleder#700 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
nightscout/AndroidAPS#5280 ·
Los mantenedores suelen responder en 1 día