updateVpnService -> byDevice.isProvideEnabled is crashing the app
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- mobile, networking
Hướng nghiên cứu
Bắt đầu với đường dẫn Android updateVpnService và kiểm tra byDevice.isProvideEnabled được đề cập trong tiêu đề. Truy vết callback Go qua device.go ở các dòng 251, 253 và 338, cùng với connect/trace.go ở dòng 65 và các log tái hiện trên emulator được cung cấp. Hoàn tất nghĩa là hoàn thành việc xác minh provider mà không xảy ra crash khi khởi chạy ngay lập tức hoặc sau đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Kotlin
- Star
- 218
- Fork
- 13
- Merge trung bình
- 53 phút
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của urnetwork/android
-
Verify change from cell to WiFiCó thể làm lại được @Ryanmello07 đã nhận 48 ngày trước và không có pull request nào đang mở. Đang mở
-
DebuggingCó thể làm lại được @Ryanmello07 đã nhận 48 ngày trước và không có pull request nào đang mở. Đang mở
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
WebRTC leakĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Versioning MismatchĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
Tất cả issue của urnetwork/android
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Kotlin/kotlin-lsp#288 ·
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
chrisbanes/haze#1536 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Cassiopeia drops the `präsentiert von` credit printed in the event bodyCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởafk-ok area:data-quality importer size:S
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
enorm-labs/event-junkie#3166 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
rajpreetcodes/Skills_MCP_Server#25 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
com-lihaoyi/mill#7776 ·
Maintainer thường phản hồi trong vòng 1 ngày