Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

atom won't open files or settings anymore, the github module broke it #2242

Open
@mh-cbon

Description

@mh-cbon

Prerequisites

Description

the Atom IDE stopped working suddenly. The symptoms were:

  • not being able to open file anymore from the treeview
  • not being able to save my files
  • not being able to open settings pane

Steps to Reproduce

Start atom, then it randomly freezes
after a ctrl+s,
or after opening a few files,
or without any action at all

The problem did not start today, it was there before but was not so painful.
I used to restart the ide and continue my work,
but today nothing worked and it bugged 100% of time.

I was working on this repo https://github.com/etcd-io/bbolt when things became totally out of control.

Versions

$ atom --version
Atom : 1.39.1
Electron: 3.1.10
Chrome : 66.0.3359.181
Node : 10.2.0

$ apm --version
apm 2.2.4
npm 6.2.0
node 8.9.3 x64
atom 1.39.1
python 2.7.16
git 2.21.0

$ lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: Fedora
Description: Fedora release 30 (Thirty)
Release: 30
Codename: Thirty

Additional Information

I re installed atom, deleted .atom folder, updated to the beta, downgraded.... ran in foreground , dev, safe, gpu disabled, cleared window state, all sorts of things recommended in the project manual.

The only things that got it fixed was to disable the github module. It happened i disabled that one purely out of luck.
I really don't know why / how this has happened, i did not find how to properly debug the program either.

The only thing i noticed, running foreground, and fixed without any luck was

[2019-08-05 16:33:35.360] [ERROR] code-highlight - Error getting code highlights { TypeError: result.sameids is not iterable
    at HighlightProvider.highlight (~/.atom/packages/go-plus/lib/highlight/highlight-provider.js:71:28) rawStack: [ CallSite {} ] }

I also noticed this, but have not tried to figure it out,

Attempting to call a function in a renderer window that has been closed or released.
Function provided here: worker.js:79:22
Remote event names: destroyed, crashed

Showing up the console and the dev tools did not help, it even was misleading in my case.

I post because this was really annoying, no previous issues helped to solve it, i also spent time evaluating alternatives ide, I was two fingers away to switch to vscode only to get back to work.
All of this for a module i don t even remember manually installing...... i only hope it helps other people if they are stuck with this issue.

Lastly, i know the very last thing i should have done was to enable/disable each module one by one until i can find the problem. But TBH doing that by hand is a no-go, there is just too many modules by default. if there were some ways to script that it could be helpful in the future to detect problematic modules.

Atom is really a great IDE, that is (really^10000) unfortunate it fails so badly with such cryptic behaviors.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions