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 crash everytime on new Fedora Worktation 35 #23259

Open

Description

@antanof

Prerequisites

Description

atom crash on first launch and everytime

Steps to Reproduce

  1. On new install Fedora Workstation 35
  2. Localinstall of atom rpm
  3. atom .
  4. Crash

atom openning

but
Crash

Reproduces how often:

everytime

Versions

atom --version

Atom : 1.58.0
Electron: 9.4.4
Chrome : 83.0.4103.122
Node : 12.14.1

apm --version

apm 2.6.2
npm 6.14.13
node 12.14.1 x64
atom 1.58.0
python 3.10.0
git 2.33.1

OS version

Fedora Workstation 35

Additional Information

  1. /usr/bin/atom: line 190: 19480 Illegal instruction (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
  2. [19480:1113/224938.915770:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.

Activity

  1. mattbit commented on Nov 15, 2021

    @mattbit

    Same for me on Fedora 35. I think that the issue is related to #23036 and #23167.

    See in particular this comment.

    As a temporary workaround, atom can be started with the --no-sandbox flag.

    Edit: Atom seems to run fine also with the --in-process-gpu flag, without disabling the sandbox.

  2. FlyingMG commented on Dec 2, 2021

    @FlyingMG

    Same for me on Fedora 35. Same version, same problem, same error...
    Starting with --in-process-gpu looks good at first sight... Thanks @mattbit , at least I can still work this way until a fix has shipped...

  3. FlyingMG commented on Dec 2, 2021

    @FlyingMG

    Same for me on Fedora 35. Same version, same problem, same error... Starting with --in-process-gpu looks good at first sight... Thanks @mattbit , at least I can still work this way until a fix has shipped...

    I was too quickly happy. Unfortunately Atom crashes after some times again with many electron deprecated errors.

  4. hermidalc commented on Dec 10, 2021

    @hermidalc

    Same happens to me on Fedora 35. Glad there's a workaround for now

  5. mario6097 commented on Jan 3, 2022

    @mario6097

    Same happens to me on Fedora 35.
    atom --in-process-gpu launches it fine.

    UPDATE: not really:

    [----@localhost ~]$atom ----in-process-gpu --enable-electron-logging
    [----@localhost ~]$ /usr/bin/atom: line 190: 734441 Illegal instruction (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
    Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
    [734441:0104/120635.480704:INFO:CONSOLE(357)] "document.registerElement is deprecated and will be removed in M73, around March 2019. Please use window.customElements.define instead. See https://www.chromestatus.com/features/4642138092470272 for more details.", source: /usr/share/atom/resources/app.asar/src/text-editor-element.js (357)
    [734441:0104/120635.503447:WARNING:quota_manager.cc(1689)] No storage quota provided in QuotaSettings.
    [734441:0104/120635.742282:INFO:CONSOLE(1451)] "WebSocket connection to 'wss://ws-mt1.pusher.com/app/f119821248b7429bece3?protocol=7&client=js&version=4.4.0&flash=false' failed: WebSocket is closed before the connection is established.", source: /home/----/.atom/packages/teletype/node_modules/pusher-js/dist/web/pusher.js (1451)
    [734441:0104/120635.744700:INFO:CONSOLE(51)] "teletype: Using pusher key:", source: /home/----/.atom/packages/teletype/lib/teletype-package.js (51)
    [734441:0104/120635.744736:INFO:CONSOLE(52)] "teletype: Using base URL:", source: /home/----/.atom/packages/teletype/lib/teletype-package.js (52)
    [734441:0104/120635.746330:ERROR:simple_index_file_posix.cc(61)] Could not get file info for /home/----/.config/Atom/Cache/b0b780dc8652849f_0
    [734441:0104/120635.881949:FATAL:gpu_data_manager_impl_private.cc(892)] The display compositor is frequently crashing. Goodbye.
    Failed to generate minidump.

    [----@localhost ~]$ atom ----in-process-gpu
    [----@localhost ~]$ /usr/bin/atom: line 190: 734813 Illegal instruction (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
    Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
    [734813:0104/121006.785414:FATAL:gpu_data_manager_impl_private.cc(892)] The display compositor is frequently crashing. Goodbye.
    Failed to generate minidump.

  6. Pysis868 commented on Jan 13, 2022

    @Pysis868

    Also none for me: #23167 (comment)

  7. cdonahue55 commented on Mar 8, 2022

    @cdonahue55

    Fails when launching from the Menu. From syslog:

    Mar 8 07:58:45 fedora-35-vm abrt-server[19195]: Package 'atom' isn't signed with proper key

  8. pydvlpr commented on Mar 20, 2022

    @pydvlpr

    To make Atom startable by Menu you can alter the corresponding desktop-file:

    /usr/share/applications/atom.desktop

    Exec=env ATOM_DISABLE_SHELLING_OUT_FOR_ENVIRONMENT=false /usr/bin/atom --in-process-gpu

  9. cdonahue55 commented on Mar 21, 2022

    @cdonahue55

    Thank you. That's what I ended up doing.

    To make Atom startable by Menu you can alter the corresponding desktop-file:

    /usr/share/applications/atom.desktop

    Exec=env ATOM_DISABLE_SHELLING_OUT_FOR_ENVIRONMENT=false /usr/bin/atom --in-process-gpu

  10. pjuhen commented on Apr 28, 2022

    @pjuhen

    Hi,

    for me, "--in-process-gpu" didn't solve the issue.

    I had to add --no-sandbox, and it worked.

    Regards,

  11. mario6097 commented on Apr 29, 2022

    @mario6097

    pjuhen, yes, it seems to work so. Thanks.

  12. hermidalc commented on May 3, 2022

    @hermidalc

    I don't know if others are getting this, so cross posting here, but suddenly on Fedora 35 latest Atom 1.60 if you do anything in Atom which triggers a file open popup then it freezes GNOME. I believe some very recent Fedora 35 update in the last week or so, maybe Linux kernel 5.17 not sure, is now not playing well with Atom. This is a big deal because it makes Atom much harder to use.

    #25437

  13. Pysis868 commented on May 5, 2022

    @Pysis868

    Fedora Linux 35, Atom 1.60.0 x64, kernel 5.17.5-200, GNOME 41.6, X11.

    Using the GPU switch workaround. The application opens, works, and can open files.

    Be sure to use sudo update-desktop-database if making a change does not fix the application.

  14. hermidalc commented on May 5, 2022

    @hermidalc

    Fedora Linux 35, Atom 1.60.0 x64, kernel 5.17.5-200, GNOME 41.6, X11.

    Using the GPU switch workaround. The application opens, works, and can open files.

    Be sure to use sudo update-desktop-database if making a change does not fix the application.

    Most people using modern Fedora don't use X11 anymore. I've used Wayland since probably Fedora 30 something. At least 2-3 years ago. This could mean why yours works differently.

  15. pjuhen commented on May 5, 2022

    @pjuhen
  16. Pysis868 commented on May 12, 2022

    @Pysis868

    That's for some reason the way I had it. Probably like the article says, with proprietary NVIDIA graphics drivers (470xx):

    > rpm -q -a 'name=*nvidia*' | sort
    akmod-nvidia-470xx-470.103.01-2.fc36.x86_64
    kmod-nvidia-470xx-470.103.01-2.fc36.x86_64
    kmod-nvidia-470xx-5.17.5-200.fc35.x86_64-470.103.01-1.fc35.x86_64
    kmod-nvidia-470xx-5.17.6-200.fc35.x86_64-470.103.01-1.fc35.x86_64
    kmod-nvidia-470xx-5.17.6-300.fc36.x86_64-470.103.01-2.fc36.x86_64
    nvidia-persistenced-510.68.02-1.fc36.x86_64
    nvidia-settings-470xx-470.103.01-3.fc36.x86_64
    xorg-x11-drv-nvidia-470xx-470.103.01-4.fc36.x86_64
    xorg-x11-drv-nvidia-470xx-cuda-470.103.01-4.fc36.x86_64
    xorg-x11-drv-nvidia-470xx-cuda-libs-470.103.01-4.fc36.i686
    xorg-x11-drv-nvidia-470xx-cuda-libs-470.103.01-4.fc36.x86_64
    xorg-x11-drv-nvidia-470xx-devel-470.103.01-4.fc36.i686
    xorg-x11-drv-nvidia-470xx-devel-470.103.01-4.fc36.x86_64
    xorg-x11-drv-nvidia-470xx-kmodsrc-470.103.01-4.fc36.x86_64
    xorg-x11-drv-nvidia-470xx-libs-470.103.01-4.fc36.i686
    xorg-x11-drv-nvidia-470xx-libs-470.103.01-4.fc36.x86_64
    xorg-x11-drv-nvidia-470xx-power-470.103.01-4.fc36.x86_64
    

    I made sure not to use the latest/rolling packages again!

    Just did a system upgrade, ran through the 2 tests again, and all still seems fine here.
    Seems Wayland is the most important change here, where at least my release and GNOME versions changed as well.

    Fedora 35 v Fedora 36: What's the Difference? - It's FOSS News

    ⋊> ~ grep -iP '^Exec' '/usr/share/applications/atom.desktop'
    Exec=env ATOM_DISABLE_SHELLING_OUT_FOR_ENVIRONMENT=false /usr/bin/atom --in-process-gpu %F
    
    

    Graphics: NV124
    OS: Fedora Linux 36 (Workstation Edition)
    OS Type: 64-bit
    GNOME Version: 42.1
    Windowing System: Wayland

    Atom: 1.60.0

  17. hermidalc commented on May 20, 2022

    @hermidalc

    In Fedora 35 --no-sandbox or --in-process-gpu both worked and solved the editor start crash problem. But now with Fedora 36 using --in-process-gpu the app starts but it crashes when editing settings and clicking on a setting with a drop-down menu... the menu won't show any items and then a second later the entire editor will crash. It doesn't crash every time you click on a setting drop-down but after a couple tries it will crash. When I changed startup to --no-sandbox it doesn't crash when displaying settings drop-down menus.

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