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

Constant Crash on Ubuntu, reproducable #12832

Closed
cyphunk opened this issue Sep 30, 2016 · 19 comments · Fixed by #12696
Closed

Constant Crash on Ubuntu, reproducable #12832

cyphunk opened this issue Sep 30, 2016 · 19 comments · Fixed by #12696
Labels
crash linux Issues that occur on Linux but not on other platforms. needs-reproduction

Comments

@cyphunk
Copy link

cyphunk commented Sep 30, 2016

Update: reproduction steps described below. problem appears related to the hover bubble over files in the file tree.

After some time of running atom --safe (1.10.2) it crashes. The nature of the crash is that the window remains open but when I resize the window the canvas does not update. I am no longer able to scroll in the tabs open or do anything with atom other than forcefully quit it. The system I am running on in Ubuntu 14.04.4LTS with Gnome 3.12.2.

I've had this issue consistently through various atom versions. Because atom does an okay job in recovering the previous open state, and because most of my projects involve git which means I'm saving a lot, it doesn't bother me too much. But often I'll get frustrated and update my atom (compiling from latest stable) in hopes it is fixed.

I would love to figure out how to reproduce this but I haven't found it yet. It seems to happen only when I'm working on a tree of files, and have a few tabs open at least. Then after about 10 or 15 minutes I will be scrolling and it will lock up.

@50Wliu
Copy link
Contributor

50Wliu commented Sep 30, 2016

In the future, please completely fill out the provided issue template - it's there for a reason.

Some questions for you:

  • What is the output of atom --version?
  • Would you say that the "crash" is more of a "Atom stops responding" issue?
  • Has the freezeup only happened while you were scrolling, or has it happened at other times as well?

@cyphunk
Copy link
Author

cyphunk commented Sep 30, 2016

Thanks for the response

Output of atom --version

Atom: 1.10.2
Electron: 0.37.8
Chrome: 49.0.2623.75
Node: 5.10.0

Today while keeping a close eye on it, it appears to only happen while scrolling. Just now I was able to crash by scrolling the file tree up and down, then right clicking on a file, then scrolling up and down again. It then crashed. Not sure if this is reproducable. I suspect the application needs to be open for a while for this to happen. Will report back again

@cyphunk
Copy link
Author

cyphunk commented Sep 30, 2016

actually i restarted with --safe now and it happened again. Perhaps one clue is that when it crashes I see a odd change in the file tree part... I suspect what you see here is the leftovers of a lost tool tip or file information tip that shows up on mouse over of file names.

selection_083

@50Wliu 50Wliu added linux Issues that occur on Linux but not on other platforms. crash needs-reproduction and removed more-information-needed labels Sep 30, 2016
@cyphunk
Copy link
Author

cyphunk commented Sep 30, 2016

Another clue: Normally on mouse over of a file name on my gnome setup the background of the is brown. When it locks up the background is black, as shown in the image. I'm now almost certain that the file info hover has something to do with the crash. This could be an issue in gnome? though this doesn't happen in other applications. Yet, who knows if I use many/any applications in gnome that also have a file list as that used in atom.

@cyphunk
Copy link
Author

cyphunk commented Sep 30, 2016

I can now reproduce this consistently.

  1. open a directory in atom that has enough files or files in sub-directories to require scrolling in the file tree
  2. open as many of the sub directories up so their tries are in view
  3. move with the mouse over some of the file names so that the name appears in a hover bubble for each as you move the mouse over them
  4. with one file name still having it's name shown in a hover bubble over it, then quickly scroll the whole tree using a scroll wheel if you have it (on a thinkpad instead you can hold the middle mouse button down and move the nub pointer to emulate a scroll wheel)
  5. you should, or may, see the background color of the hover change, and then everything freeze.

this consistently causes atom --safe to crash on my system

@cyphunk cyphunk changed the title Constant Crash on Ubuntu, need help to reproduce Constant Crash on Ubuntu, reproducable Sep 30, 2016
@cyphunk
Copy link
Author

cyphunk commented Oct 1, 2016

could someone remove the "needs-reproduction" tag now that I've detailed how to reproduce? Or, does removing the tag require a core member check this? If the latter then ignore this request

@50Wliu
Copy link
Contributor

50Wliu commented Oct 1, 2016

Or, does removing the tag require a core member check this?

Correct. I haven't been able to reproduce this on Windows.

@Ceda-EI
Copy link

Ceda-EI commented Oct 20, 2016

Can you post your system specifications? What is the RAM consumption by the system? It may be due to a slow system or little available RAM.

@cyphunk
Copy link
Author

cyphunk commented Oct 20, 2016

It is definitely something with the Gnome window manager. (version 3.12) I have since switched to using a different window manager for a while (awseomwm) and the bug with atom io has not appeared.

@Ceda-EI
Copy link

Ceda-EI commented Oct 20, 2016

I was unable to reproduce the issue. I, however have a bit different versions gnome - 3.18.5 Atom 1.11.2. Rest are same.

@Ceda-EI
Copy link

Ceda-EI commented Oct 20, 2016

Did you try updating to newer versions of gnome-shell and atom? Does the problem exist with the latest version also?

@cyphunk
Copy link
Author

cyphunk commented Oct 21, 2016

I just tried latest atom (1.11.2) and same error with the same steps. For Gnome 3.12: Couldn't find anywhere to get >3.12 for Ubuntu 14.04LTS. Spent a day trying to compile gnome on own but this seems like a week long project and would be probably easier to just change distros.

I understand if admins wish to close this bug. Ubuntu 14.04LTS is at end of life and Gnome 3.12, well I don't know about that. Perhaps it is really only an issue with Ubuntu's Gnome 3.12 setup.

@cyphunk
Copy link
Author

cyphunk commented Oct 21, 2016

This bug from Chrome relating to gnome 3.12+ubuntu 14.04 seems pretty much the same: https://bugs.chromium.org/p/chromium/issues/detail?id=381732#c14

@Ceda-EI
Copy link

Ceda-EI commented Oct 21, 2016

I am running Ubuntu 16.04. Why don't you upgrade Ubuntu 14.04 to Ubuntu 16.04.

@50Wliu
Copy link
Contributor

50Wliu commented Oct 21, 2016

@cyphunk From the bug report it seems like the bug is no longer present in Chrome 53. We're in the process of upgrading to an Electron version that uses Chrome 53, so I would suggest that you subscribe to #12696 for updates.

@50Wliu 50Wliu mentioned this issue Oct 21, 2016
17 tasks
@cyphunk
Copy link
Author

cyphunk commented Oct 21, 2016

@Ceda-EI upgraded the host to 16.04. Indeed the bug does not occur there (with gnome 3.18). Wouldn't recommend this solution to anyone though. 14.04lts to 16.04lts has issues.

@50Wliu thanks

@Ceda-EI
Copy link

Ceda-EI commented Oct 22, 2016

Since the issue is solved, it should be closed.

@50Wliu
Copy link
Contributor

50Wliu commented Oct 22, 2016

It's not solved yet per-say as other users on Ubuntu 14.04 will still run into this issue. This issue will be closed when the aforementioned Electron PR is merged.

@lock
Copy link

lock bot commented Apr 1, 2018

This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

@lock lock bot locked and limited conversation to collaborators Apr 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
crash linux Issues that occur on Linux but not on other platforms. needs-reproduction
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants