Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

🐞 malloc Exception When Previously Temporary Tab is Closed

Open
#1,886 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
swift
Domain
desktop

Research direction

Start with the commented code in EditorAreaView.swift and reproduce the sequence described: open a file, edit it, then close the tab with the tab button. Trace the malloc exception after the onReceive modifier marks the tab non-temporary; done means the same sequence closes the file without the exception.

Written by the indexing model from the issue text.

Description

bug
Description

See commented code in EditorAreaView.swift

A malloc exception occurs when the following happens:

  • Open a file
  • Edit the file, activating the onReceive modifier and marking the tab as no longer temporary
  • Close the file using the tab button
  • Exception occurs.
Version Information

CodeEdit: main branch, see comment in pr #1879

Additional Context

No response

Screenshots

No response

Dominant language
Swift
Stars
23k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CodeEditApp/CodeEdit

All issues in CodeEditApp/CodeEdit

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.