microsoft / microsoft/edit

Illegal Instruction Using "sudo edit"

Open
#861 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
14.6k
Forks
734
Avg merge
8h 40m
Merged PRs (30d)
4

Description

Using "sudo edit" is occasionally triggering a panic (translated as "Illegal instruction due to missing environment dependencies in root sessions").

Environment:

- Ubuntu 24.04.4
- Linux 6.17.0-1011-oracle x86_64

Contributor guide

Open the contributing guide

Research direction

Reproduce the panic with `sudo edit` on Ubuntu 24.04.4 and Linux 6.17.0-1011-oracle x86_64, then trace the reported root-session environment dependency failure. Done means `sudo edit` no longer triggers an illegal-instruction panic in the reported environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.