Repository navigation
Panic when updating submodule in new worktree #3038
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When I tried to update a submodule in a new worktree of an active project the following panic occured:
panicked at asyncgit/src/status.rs:143:18:
error sending status: "SendError(..)"
trace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: <unknown>
12: <unknown>
13: <unknown>
14: <unknown>
Rayon: detected unexpected panic; aborting
Aborted (core dumped) gituiTo Reproduce
Steps to reproduce the behavior:
0. Create a new sub-directory using git worktree add
- Open submodules window in new worktree (Shift-S)
- Select submodule
- Update submodule (u)
Expected behavior
Submodule is getting updated.
Context (please complete the following information):
#### Software version
gitui 0.28.1 (v0.19.0-1066-ge24fb45d)
#### Operating system
- OS: Linux (Arch Linux)
- Kernel: 7.2.6-arch2-1
- Rust 1.98.1
#### Compile time information
- Profile: release
- Target triple: x86_64-unknown-linux-gnu
- Family: unix
- OS: linux
- Architecture: x86_64
- Pointer width: 64
- Endian: little
- CPU features: fxsr,sse,sse2
- Host: x86_64-unknown-linux-gnu
#### Environment variables
SHELL=/usr/bin/bash
EDITOR=/usr/bin/nvim
GIT_EDITOR=<not set>
VISUAL=<not set>Additional context
pacman -Qi gitui
Name : gitui
Version : 0.28.1-2
Description : Blazing fast terminal-ui for git written in Rust
Submodule to update:
https://git.openembedded.org/meta-openembedded
Coredump:
#0 0x00007fa8a689a17c in ?? () from /usr/lib/libc.so.6
#1 0x00007fa8a683e5d0 in raise () from /usr/lib/libc.so.6
#2 0x00007fa8a6825685 in abort () from /usr/lib/libc.so.6
#3 0x0000562d57eec5aa in std::sys::pal::unix::abort_internal ()
#4 0x0000562d57ec6b69 in std::process::abort ()
#5 0x0000562d57e28cbd in <rayon_core::unwind::AbortIfPanic as core::ops::drop::Drop>::drop ()
#6 0x0000562d57bd7d91 in <rayon_core::job::HeapJob<BODY> as rayon_core::job::Job>::execute ()
#7 0x0000562d57e28beb in rayon_core::registry::WorkerThread::wait_until_cold ()
#8 0x0000562d57e2862f in std::sys::backtrace::__rust_begin_short_backtrace ()
#9 0x0000562d57e28478 in core::ops::function::FnOnce::call_once{{vtable.shim}} ()
#10 0x0000562d57ef4fc8 in std::sys::thread::unix::Thread::new::thread_start ()
#11 0x00007fa8a68980a2 in ?? () from /usr/lib/libc.so.6
#12 0x00007fa8a692080c in ?? () from /usr/lib/libc.so.6Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Activity