micro-editor / micro-editor/micro
Micro encountered an error: runtime.errorString runtime error: invalid memory address or nil pointer dereference
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
Description of the problem or steps to reproduce
Specifications
Commit hash:
OS: ubuntu
Terminal:
liuhy@t480:~/learning/notes$ micro
Micro encountered an error: runtime.errorString runtime error: invalid memory address or nil pointer dereference
runtime/panic.go:212 (0x4365db)
runtime/signal_unix.go:734 (0x44f853)
github.com/zyedidia/micro/v2/internal/action/tab.go:292 (0x946ace)
github.com/zyedidia/micro/v2/internal/action/tab.go:155 (0x947975)
github.com/zyedidia/micro/v2/internal/action/termpane.go:98 (0x94778c)
github.com/zyedidia/micro/v2/internal/action/termpane.go:200 (0x94809c)
github.com/zyedidia/micro/v2/internal/action/termpane.go:26 (0x94b102)
github.com/zyedidia/micro/v2/internal/action/termpane.go:133 (0x947fae)
github.com/zyedidia/micro/v2/internal/action/tab.go:254 (0x946570)
github.com/zyedidia/micro/v2/internal/action/tab.go:136 (0x945caa)
github.com/zyedidia/micro/v2/cmd/micro/micro.go:445 (0x96e585)
github.com/zyedidia/micro/v2/cmd/micro/micro.go:382 (0x96dfcc)
runtime/proc.go:225 (0x43b516)
runtime/asm_amd64.s:1371 (0x46f9a1)
If you can reproduce this error, please report it at https://github.com/zyedidia/micro/issues
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the crash with micro on Ubuntu, then inspect internal/action/tab.go around line 292 and follow the call chain from cmd/micro/micro.go. The issue is resolved when launching micro no longer produces the reported nil-pointer panic; the missing commit hash and terminal details may limit reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100