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 failed to load in Fedora 35 with /usr/bin/atom: line 190: 34993 Illegal instruction #23167

Open

Description

@bcurtiswx

Prerequisites

Description

atom failed to load in Fedora 35 with /usr/bin/atom: line 190: 34993 Illegal instruction

Steps to Reproduce

  1. in terminal (Fedora 35) run atom or atom --safe

Expected behavior:
Atom to load

Actual behavior:
Atom does not load

Reproduces how often:
100% of the time

Versions

bcurtis in ~ 
at 13:04:57 ➜ atom --version
Atom    : 1.58.0
Electron: 9.4.4
Chrome  : 83.0.4103.122
Node    : 12.14.1

Additional Information

bcurtis in ~ 
at 12:54:55 ➜ /usr/bin/atom: line 190: 34993 Illegal instruction     (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
(node:35085) Electron: Loading non-context-aware native module in renderer: '/usr/share/atom/resources/app.asar.unpacked/node_modules/superstring/build/Release/superstring.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:35085) Electron: Loading non-context-aware native module in renderer: '/usr/share/atom/resources/app.asar.unpacked/node_modules/oniguruma/build/Release/onig_scanner.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:35085) Electron: Loading non-context-aware native module in renderer: '/usr/share/atom/resources/app.asar.unpacked/node_modules/tree-sitter-c/build/Release/tree_sitter_c_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:35085) Electron: Loading non-context-aware native module in renderer: '/usr/share/atom/resources/app.asar.unpacked/node_modules/tree-sitter-cpp/build/Release/tree_sitter_cpp_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:35085) Electron: Loading non-context-aware native module in renderer: '/usr/share/atom/resources/app.asar.unpacked/node_modules/tree-sitter-css/build/Release/tree_sitter_css_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:35085) Electron: Loading non-context-aware native module in renderer: '/usr/share/atom/resources/app.asar.unpacked/node_modules/tree-sitter-go/build/Release/tree_sitter_go_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:35085) Electron: Loading non-context-aware native module in renderer: '/usr/share/atom/resources/app.asar.unpacked/node_modules/tree-sitter-embedded-template/build/Release/tree_sitter_embedded_template_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:35085) Electron: Loading non-context-aware native module in renderer: '/usr/share/atom/resources/app.asar.unpacked/node_modules/tree-sitter-html/build/Release/tree_sitter_html_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
[34993:1028/125456.624762:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
--2021-10-28 12:54:56--  https://atom.io/crash_reports
Resolving atom.io (atom.io)... 54.237.133.81, 52.202.168.65, 54.161.241.46, ...
Connecting to atom.io (atom.io)|54.237.133.81|:443... connected.
HTTP request sent, awaiting response... 204 No Content
2021-10-28 12:54:56 (0.00 B/s) - ‘/dev/fd/4’ saved [0]


Unexpected crash report id length
Failed to get crash dump id.
Report Id: 
--2021-10-28 12:54:57--  https://atom.io/crash_reports
Resolving atom.io (atom.io)... 54.161.241.46, 54.237.133.81, 52.202.168.65, ...
Connecting to atom.io (atom.io)|54.161.241.46|:443... connected.
HTTP request sent, awaiting response... 204 No Content
2021-10-28 12:54:57 (0.00 B/s) - ‘/dev/fd/4’ saved [0]


Unexpected crash report id length
Failed to get crash dump id.
Report Id:

Activity

  1. bcurtiswx commented on Nov 2, 2021

    @bcurtiswx
    Author
    bcurtis in ~ took 32s 
    at 10:44:46 ➜ atom
    
    bcurtis in ~ 
    at 10:45:05 ➜ /usr/bin/atom: line 190: 17060 Illegal instruction     (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
    [17060:1102/104506.830078:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
    --2021-11-02 10:45:06--  https://atom.io/crash_reports
    Resolving atom.io (atom.io)... 18.205.222.128, 54.161.241.46, 54.237.133.81, ...
    Connecting to atom.io (atom.io)|18.205.222.128|:443... connected.
    HTTP request sent, awaiting response... 204 No Content
    2021-11-02 10:45:07 (0.00 B/s) - ‘/dev/fd/4’ saved [0]
    
    
    Unexpected crash report id length
    Failed to get crash dump id.
    Report Id: 
    --2021-11-02 10:45:07--  https://atom.io/crash_reports
    Resolving atom.io (atom.io)... 54.161.241.46, 52.202.168.65, 54.237.133.81, ...
    Connecting to atom.io (atom.io)|54.161.241.46|:443... connected.
    HTTP request sent, awaiting response... 204 No Content
    2021-11-02 10:45:07 (0.00 B/s) - ‘/dev/fd/4’ saved [0]
    
    
    Unexpected crash report id length
    Failed to get crash dump id.
    Report Id: 
    ^C
    
    bcurtis in ~ 
    at 10:45:13 ✗  sudo atom
    
    bcurtis in ~ 
    at 10:45:16 ➜ /usr/bin/atom: line 190: 17359 Trace/breakpoint trap   (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
    [17359:1102/104516.077038:FATAL:electron_main_delegate.cc(254)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
    ^C
    
    bcurtis in ~ 
    at 10:45:23 ✗  sudo atom --no-sandbox
    

    running it in sudo with --no-sandbox works. We obviously don't want to be running it in sudo. Hopefully this helps debug the issue?

  2. bcurtiswx commented on Nov 2, 2021

    @bcurtiswx
    Author

    OK running not as sudo and --no-sandbox works

  3. delinuxspecialist commented on Nov 15, 2021

    @delinuxspecialist

    In my case $ATOM_HOME is not defined hence nohup tries to write its pid file in /nohup out.
    If you define $ATOM_HOME as $HOME it works as nohup will then write it's nohup.out in your homedir.

  4. kazaksaeed commented on Nov 15, 2021

    @kazaksaeed

    0x5f0197ba06860dac7e31258bdf749f92b6a636d4

  5. Pysis868 commented on Dec 21, 2021

    @Pysis868

    Was working before some system updates. I also have more trouble with the native Discord application ever working; trouble with Electron I suppose.

    When the application crashes, it shows these messages:

    > strace atom --safe 2>&1 | xclip
    execve("/usr/bin/atom", ["atom", "--safe"], 0x7ffdd6755a98 /* 42 vars */) = 0
    ......
    /usr/bin/atom: line 190: 24655 Illegal instruction     (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
    (node:24712) Electron: Loading non-context-aware native module in renderer: '/usr/share/atom/resources/app.asar.unpacked/node_modules/superstring/build/Release/superstring.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
    (node:24712) Electron: Loading non-context-aware native module in renderer: '/usr/share/atom/resources/app.asar.unpacked/node_modules/pathwatcher/build/Release/pathwatcher.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
    [24655:1221/164142.173136:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
    ......
    

    pastebin - Atom Freezing Problem Logs - 1.58 - strace, journalctl

    When it freezes, the application shows this window:
    image
    and eventually this dialog after almost a minute:
    image

    > uname -a
    Linux <hostname> 5.15.10-200.fc35.x86_64 #1 SMP Fri Dec 17 14:46:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
    
    > cat /etc/*release
    Fedora release 35 (Thirty Five)
    NAME="Fedora Linux"
    VERSION="35 (Workstation Edition)"
    ......
    
    > dnf info (read)
    read> atom
    Last metadata expiration check: 0:17:26 ago on Tue 21 Dec 2021 04:23:29 PM EST.
    Installed Packages
    Name         : atom
    Version      : 1.58.0
    Release      : 0.1
    Architecture : x86_64
    Size         : 613 M
    Source       : atom-1.58.0-0.1.src.rpm
    Repository   : @System
    From repo    : Atom
    
    > dnf list installed '*'(read)'*' | awk '{ print $1 }'
    read> nvidia
    Installed
    akmod-nvidia-470xx.x86_64
    kmod-nvidia-470xx.x86_64
    kmod-nvidia-470xx-5.15.10-200.fc35.x86_64.x86_64
    kmod-nvidia-470xx-5.15.7-200.fc35.x86_64.x86_64
    nvidia-persistenced.x86_64
    nvidia-settings-470xx.x86_64
    xorg-x11-drv-nvidia-470xx.x86_64
    xorg-x11-drv-nvidia-470xx-cuda.x86_64
    xorg-x11-drv-nvidia-470xx-cuda-libs.i686
    xorg-x11-drv-nvidia-470xx-cuda-libs.x86_64
    xorg-x11-drv-nvidia-470xx-devel.i686
    xorg-x11-drv-nvidia-470xx-devel.x86_64
    xorg-x11-drv-nvidia-470xx-kmodsrc.x86_64
    xorg-x11-drv-nvidia-470xx-libs.i686
    xorg-x11-drv-nvidia-470xx-libs.x86_64
    xorg-x11-drv-nvidia-470xx-power.x86_64
    
    > env ATOM_HOME="$HOME/.atom" /usr/bin/atom --safe --no-sandbox
    > ps aux | grep -i (read) | grep -v grep | xclip -in; xclip -out
    read> atom
    <user>     239043  0.0  0.0 222644  1956 pts/6    S    12:07   0:00 /bin/bash /usr/bin/atom --safe --no-sandbox
    <user>     239045  6.1  1.5 4999276 248648 pts/6  Sl   12:07   0:01 /usr/share/atom/atom --executed-from=/home/<user> --pid=239034 --safe --no-sandbox
    <user>     239050  0.1  0.3 461808 51120 pts/6    S    12:07   0:00 /usr/share/atom/atom --type=zygote --no-zygote-sandbox --no-sandbox
    <user>     239051  0.1  0.3 461808 50936 pts/6    S    12:07   0:00 /usr/share/atom/atom --type=zygote --no-sandbox
    <user>     239076  2.7  0.4 596652 78184 pts/6    Sl   12:07   0:00 /usr/share/atom/atom --type=gpu-process --field-trial-handle=3863485387526060549,6509769570889069506,131072 --enable-features=WebComponentsV0Enabled --disable-features=SpareRendererForSitePerProcess --no-sandbox --gpu-preferences=MAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAQAAAAAAAAAAAAAAAAAAAACAAAAAAAAAA= --shared-files
    <user>     239079  0.1  0.3 512108 57496 pts/6    Sl   12:07   0:00 /usr/share/atom/atom --type=utility --field-trial-handle=3863485387526060549,6509769570889069506,131072 --enable-features=WebComponentsV0Enabled --disable-features=SpareRendererForSitePerProcess --lang=en-US --service-sandbox-type=network --no-sandbox --enable-experimental-web-platform-features --enable-crash-reporter=fe13f9af-7fc2-4e9c-a5f9-dc8b5cf165c3,no_channel --global-crash-keys=fe13f9af-7fc2-4e9c-a5f9-dc8b5cf165c3,no_channel,_companyName=GitHub,_productName=Atom,_version=1.58.0 --shared-files=v8_snapshot_data:100
    <user>     239100  103  1.1 4878968 195940 pts/6  Rl   12:07   0:31 /usr/share/atom/atom --type=renderer --no-sandbox --enable-experimental-web-platform-features --field-trial-handle=3863485387526060549,6509769570889069506,131072 --enable-features=WebComponentsV0Enabled --disable-features=SpareRendererForSitePerProcess --lang=en-US --enable-crash-reporter=fe13f9af-7fc2-4e9c-a5f9-dc8b5cf165c3,no_channel --global-crash-keys=fe13f9af-7fc2-4e9c-a5f9-dc8b5cf165c3,no_channel,_companyName=GitHub,_productName=Atom,_version=1.58.0 --app-path=/usr/share/atom/resources/app.asar --node-integration --node-integration-in-worker --webview-tag --no-sandbox --no-zygote --enable-remote-module --background-color=#fff --disable-blink-features=Auxclick --enable-spellcheck --enable-websql --num-raster-threads=2 --enable-main-frame-before-activation --renderer-client-id=5 --no-v8-untrusted-code-mitigations --shared-files=v8_snapshot_data:100
    
    > env ATOM_DISABLE_SHELLING_OUT_FOR_ENVIRONMENT=false /usr/bin/atom --no-sandbox --safe --in-process-gpu
    > env ATOM_DISABLE_SHELLING_OUT_FOR_ENVIRONMENT=false /usr/bin/atom --safe --in-process-gpu
    
    > env | grep -i xdg | xclip -in
    XDG_CURRENT_DESKTOP=GNOME
    XDG_SESSION_TYPE=x11
    XDG_SESSION_CLASS=user
    XDG_DATA_DIRS=/home/<user>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
    XDG_SESSION_DESKTOP=gnome
    XDG_RUNTIME_DIR=/run/user/####
    XDG_MENU_PREFIX=gnome-
    

    After trying atom-nightly --in-process-gpu 1.61 and removing the dead document it was trying to open, it works for me now..

  6. christofhaerens commented on Feb 3, 2022

    @christofhaerens

    fedora 35 + nvidia gpu/drivers + atom 1.58.0 works for me with the --in-process-gpu option

  7. ninioArtillero commented on Mar 3, 2022

    @ninioArtillero

    In my case using the --no-sandbox flag makes atom work normally. Now I'm running it from the terminal using an alias. Otherwise, beside some theme errors, I have pretty much the same output on application start:

    /usr/bin/atom: line 86: 28489 Illegal instruction     (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
    
    (electron9:28489): Gtk-WARNING **: 12:57:17.521: Theme parsing error: gtk-dark.css:5822:26: '-shadow' is not a valid color name
    
    (electron9:28489): Gtk-WARNING **: 12:57:17.521: Theme parsing error: gtk-dark.css:5825:14: not a number
    
    (electron9:28489): Gtk-WARNING **: 12:57:17.521: Theme parsing error: gtk-dark.css:5826:13: not a number
    
    (electron9:28489): Gtk-WARNING **: 12:57:17.521: Theme parsing error: gtk-dark.css:5827:11: Expected a length
    Gtk-Message: 12:57:17.532: Failed to load module "appmenu-gtk-module"
    (node:28558) Electron: Loading non-context-aware native module in renderer: '/usr/lib/atom/node_modules/pathwatcher/build/Release/pathwatcher.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
    (node:28558) Electron: Loading non-context-aware native module in renderer: '/usr/lib/atom/node_modules/oniguruma/build/Release/onig_scanner.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
    (node:28558) Electron: Loading non-context-aware native module in renderer: '/usr/lib/atom/node_modules/superstring/build/Release/superstring.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
    (node:28558) Electron: Loading non-context-aware native module in renderer: '/usr/lib/atom/node_modules/tree-sitter/build/Release/tree_sitter_runtime_binding.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
    (node:28558) Electron: Loading non-context-aware native module in renderer: '/usr/lib/atom/node_modules/@atom/nsfw/build/Release/nsfw.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
    (node:28558) Electron: Loading non-context-aware native module in renderer: '/usr/lib/atom/node_modules/git-utils/build/Release/git.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
    [28489:0303/125720.346579:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
    --2022-03-03 12:57:20--  https://atom.io/crash_reports
    SSL_INIT
    Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
    Resolving atom.io (atom.io)... 18.205.222.128, 54.237.133.81, 54.161.241.46, ...
    Connecting to atom.io (atom.io)|18.205.222.128|:443... connected.
    HTTP request sent, awaiting response... 204 No Content
    2022-03-03 12:57:22 (0.00 B/s) - ‘/dev/fd/4’ saved [0]
    
    
    Unexpected crash report id length
    Failed to get crash dump id.
    Report Id:
    --2022-03-03 12:57:22--  https://atom.io/crash_reports
    SSL_INIT
    Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
    Resolving atom.io (atom.io)... 54.161.241.46, 54.237.133.81, 18.205.222.128, ...
    Connecting to atom.io (atom.io)|54.161.241.46|:443... connected.
    HTTP request sent, awaiting response... 204 No Content
    2022-03-03 12:57:24 (0.00 B/s) - ‘/dev/fd/4’ saved [0]
    
    
    Unexpected crash report id length
    Failed to get crash dump id.
    Report Id:
    
    

    System information for reference:

    System:
      Kernel: 5.16.11-zen1-2-zen x86_64 bits: 64 compiler: gcc v: 11.2.0
      Desktop: KDE Plasma 5.24.2 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11
        vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
    Info:
      Init: systemd v: 250 tool: systemctl Compilers:
      gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1933 lib: 357 Shell: fish
      v: 3.3.1 default: Bash v: 5.1.16 running-in: yakuake inxi: 3.3.13
    
  8. icecream17 commented on Mar 3, 2022

    @icecream17
    Contributor

    Duplicate of #23036?

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