0x192 / 0x192/universal-android-debloater
UAD crash after successful operation
- 主要言語
- Rust
- スター
- 19.9k
- フォーク
- 1.1k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**Describe the bug**
UAD crash every time after successful operation
**Expected behavior**
UAD not crash-prone
**UAD log**
```
> sudo RUST_BACKTRACE=full ./uad_gui-linux
2026-02-02 16:13:36 WARN [src/gui/mod.rs:102] Trying to download remote UAD list
2026-02-02 16:13:37 WARN [src/gui/views/list.rs:142] No custom selection imported: No such file or directory (os error 2)
2026-02-02 16:13:52 ERROR [src/core/utils.rs:228] [Unlisted] pm uninstall --user 666 com.vivo.xspace -> Shell does not have permission to access user 666
2026-02-02 16:13:52 ERROR [src/core/utils.rs:228] [Unlisted] pm uninstall --user 0 com.vivo.xspace -> Failure [DELETE_FAILED_USER_RESTRICTED]
2026-02-02 16:14:06 ERROR [src/core/utils.rs:228] [Unlisted] pm uninstall --user 0 com.vivo.vibrator4d -> Failure [DELETE_FAILED_USER_RESTRICTED]
2026-02-02 16:14:06 ERROR [src/core/utils.rs:228] [Unlisted] pm uninstall --user 666 com.vivo.vibrator4d -> Shell does not have permission to access user 666
2026-02-02 16:14:08 ERROR [src/core/utils.rs:228] [Unlisted] pm uninstall --user 666 com.vivo.vhomeguide -> Shell does not have permission to access user 666
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 333', src/gui/views/list.rs:348:69
stack backtrace:
0: 0x562196aa854e -
1: 0x5621968cacfc -
2: 0x562196a7bc64 -
3: 0x562196aa9461 -
4: 0x562196aaa380 -
5: 0x562196aa9f42 -
6: 0x562196aa9eb6 -
7: 0x562196aa9ea0 -
8: 0x5621968c86e2 -
9: 0x5621968c8811 -
10: 0x562196b88a84 -
11: 0x5621968989d1 -
12: 0x562196b65365 -
13: 0x562196b46109 -
14: 0x56219689f2f0 -
15: 0x562196b62120 -
16: 0x5621968a04e5 -
17: 0x7fa26109c681 - __libc_start_call_main
18: 0x7fa26109c798 - __libc_start_main_impl
19: 0x56219687c8ee -
20: 0x0 -
```
Demonstation:
https://github.com/user-attachments/assets/f1a926f5-e1af-464a-b1a5-1cc00c50cc52
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
The crash occurs in src/gui/views/list.rs at line 348 with an index out of bounds error. Start by examining that file to understand the data structure being indexed. The log shows errors from src/core/utils.rs related to uninstall commands. Reproduce the crash by running the GUI and performing an operation that triggers the panic, then trace back to see why the length is zero when index 333 is accessed.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust
- 領域
- cli, desktop
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 55/100