Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Atom crashes when trying to close a bogus file #23297

Open

Description

@Giszmo

Prerequisites

Description

App crashes when I try to close either of two "broken" tabs.

Steps to Reproduce

I started atom with a list of files I wanted to edit, only that there was a typo in my list, too. One file was with an accidental space. "filename .md" and atom opened the non-existing files "filename" and ".md" as empty buffers. Closing those buffers resulted in crashes. I ended up saving the "filename" one, after which I could close the buffer. This same approach worked for ".md", too but there also was an "untitled" buffer and trying to save that leads to a crash. I can't close or safe and close it. "safe mode" doesn't help. "clear window state" neither.

Versions

1.57.0 x64

Activity

  1. Giszmo commented on Nov 26, 2021

    @Giszmo
    Author

    After many restarts of the editor and deleting select files from ~/.atom/, I found out how to get rid of that broken "untitled" buffer: After deleting all content, closing the tab did not result in a crash.

    I still wonder where "unsaved" files are saved as I doubt it is in ~/.atom/.

  2. Pysis868 commented on Jan 13, 2022

    @Pysis868

    Wonder if it is the same issue, but at least gave me the idea to remove a now incorrect path to a moved document from the already loaded list to fix my issue: #23167 (comment)

  3. ameenross commented on Nov 3, 2022

    @ameenross

    This is a very annoying bug. I regularly crash Atom because of it. I suspect it may have something to do with it being installed via Snap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions