GitUI was closed due to an unexpected panic.
- Dominant language
- Rust
- Stars
- 22.5k
- Forks
- 773
- PR merge metrics
- No merged PRs in 30d
Description
I am using Windows 11 with Windows Terminal
panicked at asyncgit\src\revlog.rs:186:14:
failed to fetch: GixDiscover(Open(Config(Init(Parse(Error { line_number: 32, last_attempted_parser: Name, parsed_until: "[ \"\\\\.git\\\\safe\"]\r\n\tdirectory = u:\\\\git\\\\Read_Atmos.git\r\n[init]\n\tdefaultBranch = main\n" })))))
trace:
0: git_odb_object_data
1:
2: git_odb_object_data
3: git_odb_object_data
4: git_odb_object_data
5: git_odb_object_data
6: git_midx_writer_new
7: git_midx_writer_new
8: git_odb_object_data
9: git_odb_object_data
10: git_odb_object_data
11: git_midx_writer_new
12: git_odb_object_data
13: git_odb_object_data
14: git_odb_object_data
15: BaseThreadInitThunk
16: RtlUserThreadStart
Rayon: detected unexpected panic; aborting
Contributor guide
Research direction
Start at asyncgit/src/revlog.rs:186:14 and trace the GixDiscover configuration parsing path using the Windows 11 configuration text shown in the report. Reproduce the failure with the affected repository and establish handling that avoids an unexpected panic; verify that GitUI no longer aborts in this case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100