Skip to content

[Bug]: Crash on start since last update #151

@jugmac00

Description

@jugmac00

What happened?

Hey friends,

since last week, probably correlating to the latest update, I am getting immediate crashes when I start the Mattermost snap.

Application: Mattermost 6.0.0
Platform: Linux 5.15.0-161-generic x64
Error: net::ERR_NAME_NOT_RESOLVED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:124413)
    at SimpleURLLoaderWrapper.emit (node:events:519:28)

Installed version

mattermost-desktop   6.0.0                            814    latest/candidate  snapcrafters✪              -

This is for focal (my old laptop) - I do not see the same error on my new company laptop with Noble.

What should have happened?

No crash on startup.

Output of snap info $snap_name

❯ snap info mattermost-desktop
name:    mattermost-desktop
summary: A secure, flexible platform build for the new era of
  collaboration
publisher: Snapcrafters✪
store-url: https://snapcraft.io/mattermost-desktop
contact:   https://github.com/snapcrafters/mattermost-desktop/issues
license:   MIT
description: |
  Mattermost is secure workplace messaging from behind your firewall.
  
  - Discuss topics in private groups, one-to-one or team-wide
  - Easily share and view image files
  - Connect in-house systems with webhooks and Slack-compatible
  integrations
  
  For technical and operations teams who execute high-stakes,
  collaborative workflows,
  Mattermost provides integrated team messaging, audio and screen
  share, workflow automation
  and project management. Governments, banks and tech giants use our
  secure collaboration platform
  to reduce risk and error rates while accelerating technical
  productivity.
  
  To use this app, you need a URL for a Mattermost server.
  
  This snap is maintained by the Snapcrafters community, and is not
  necessarily endorsed or
  officially maintained by the upstream developers.
commands:
  - mattermost-desktop
snap-id:      ed0pxJoDHrgmAWHH7baX5nryAHy1UNj0
tracking:     latest/candidate
refresh-date: 2 days ago, at 20:38 CET
channels:
  latest/stable:    6.0.0 2025-11-14 (814) 217MB -
  latest/candidate: 6.0.0 2025-11-14 (814) 217MB -
  latest/beta:      ↑                            
  latest/edge:      ↑                            
installed:          6.0.0            (814) 217MB -

Output of snap connections $snap_name

❯ snap connections mattermost-desktop
Interface               Plug                                       Slot                            Notes
audio-playback          mattermost-desktop:audio-playback          :audio-playback                 -
audio-record            mattermost-desktop:audio-record            -                               -
camera                  mattermost-desktop:camera                  -                               -
content[gnome-46-2404]  mattermost-desktop:gnome-46-2404           gnome-46-2404:gnome-46-2404     -
content[gpu-2404]       mattermost-desktop:gpu-2404                mesa-2404:gpu-2404              -
content[gtk-3-themes]   mattermost-desktop:gtk-3-themes            gtk-common-themes:gtk-3-themes  -
content[icon-themes]    mattermost-desktop:icon-themes             gtk-common-themes:icon-themes   -
content[sound-themes]   mattermost-desktop:sound-themes            gtk-common-themes:sound-themes  -
desktop                 mattermost-desktop:desktop                 :desktop                        -
desktop-legacy          mattermost-desktop:desktop-legacy          :desktop-legacy                 -
gsettings               mattermost-desktop:gsettings               :gsettings                      -
home                    mattermost-desktop:home                    :home                           -
login-session-observe   mattermost-desktop:login-session-observe   -                               -
network                 mattermost-desktop:network                 :network                        -
network-bind            mattermost-desktop:network-bind            :network-bind                   -
opengl                  mattermost-desktop:opengl                  :opengl                         -
pulseaudio              mattermost-desktop:pulseaudio              :pulseaudio                     -
removable-media         mattermost-desktop:removable-media         -                               -
screen-inhibit-control  mattermost-desktop:screen-inhibit-control  :screen-inhibit-control         -
shared-memory           mattermost-desktop:shmem                   :shared-memory                  -
unity7                  mattermost-desktop:unity7                  :unity7                         -
wayland                 mattermost-desktop:wayland                 :wayland                        -
x11                     mattermost-desktop:x11                     :x11                            -

``

Output of snap version

❯ snap version
snap          2.72
snapd         2.72
series        16
ubuntu        20.04
kernel        5.15.0-161-generic
architecture  amd64

Relevant log output

[400516.712907] audit: type=1400 audit(1763382080.982:29113): apparmor="DENIED" operation="open" profile="snap.mattermost-desktop.mattermost-desktop" name="/proc/1004124/smaps_rollup" pid=1004124 comm="MemoryInfra" requested_mask="r" denied_mask="r" fsuid=1001 ouid=1001

Teminal output of app

❯ mattermost-desktop 
13:26:24.153 › Logger Log level set to: { level: 'info' }
[macos-notification-state] failed to load 'notificationstate' addon Error: Module did not self-register: '/snap/mattermost-desktop/814/opt/Mattermost/resources/app.asar.unpacked/node_modules/macos-notification-state/build/Release/notificationstate.node'.
    at process.func [as dlopen] (node:electron/js2c/node_init:2:2617)
    at Module._extensions..node (node:internal/modules/cjs/loader:1874:18)
    at Object.func [as .node] (node:electron/js2c/node_init:2:2844)
    at Module.load (node:internal/modules/cjs/loader:1448:32)
    at Module._load (node:internal/modules/cjs/loader:1270:12)
    at c._load (node:electron/js2c/node_init:2:17993)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:244:24)
    at Module.require (node:internal/modules/cjs/loader:1470:12)
    at require (node:internal/modules/helpers:147:16) {
  code: 'ERR_DLOPEN_FAILED'
}
Checking for beta autoupdate feature for deb/rpm distributions
Found package-type: deb
13:26:24.332 › [App.Initialize] Current working directory is /home/jugmac00, changing into /snap/mattermost-desktop/814/opt/Mattermost
Error org.freedesktop.DBus.Error.Failed: cannot set "default-url-scheme-handler" subproperty "mattermost" setting to invalid value "Mattermost.Desktop"
Gtk-Message: 13:26:24.382: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
[1086881:1117/132624.521845:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1087012: Permission denied (13)
13:26:24.521 › [App.Config] config.autostart has been configured: { autostart: true }
[1086881:1117/132624.553662:ERROR:dbus/object_proxy.cc:573] Failed to call method: org.freedesktop.Secret.Service.ReadAlias: object_path= /org/freedesktop/secrets: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.1240" (uid=1001 pid=1086881 comm="/snap/mattermost-desktop/814/opt/Mattermost/matter" label="snap.mattermost-desktop.mattermost-desktop (enforce)") interface="org.freedesktop.Secret.Service" member="ReadAlias" error name="(unset)" requested_reply="0" destination="org.freedesktop.secrets" (uid=1001 pid=3555 comm="/usr/bin/gnome-keyring-daemon --daemonize --login " label="unconfined")
13:26:24.650 › [SecureStorage] Secure storage is not available on this system. Secrets will be stored in plain text. Consider installing keyring services for better security.
13:26:24.651 › [SecureStorage] Secure storage initialized - encryption unavailable
[1086881:1117/132624.675531:ERROR:dbus/object_proxy.cc:573] Failed to call method: org.freedesktop.login1.Manager.Inhibit: object_path= /org/freedesktop/login1: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.672" (uid=1001 pid=1086881 comm="/snap/mattermost-desktop/814/opt/Mattermost/matter" label="snap.mattermost-desktop.mattermost-desktop (enforce)") interface="org.freedesktop.login1.Manager" member="Inhibit" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=1985 comm="/lib/systemd/systemd-logind " label="unconfined")
13:26:24.680 › [SecureStorage] Initialized secure storage cache
[1086881:1117/132624.756142:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1087038: Permission denied (13)
[1086881:1117/132624.767108:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1087043: Permission denied (13)
13:26:24.774 › [ServerDropdownView] init
[1086881:1117/132624.776340:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1087045: Permission denied (13)
[1086881:1117/132624.782610:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1087051: Permission denied (13)
[1086881:1117/132624.791059:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1087058: Permission denied (13)
[1086881:1117/132624.802365:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1087063: Permission denied (13)
[1086881:1117/132624.806954:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1087073: Permission denied (13)
[1086881:1117/132624.835709:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1087094: Permission denied (13)
[1086881:1117/132624.860310:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1087103: Permission denied (13)
[1086881:1117/132624.880571:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1087110: Permission denied (13)
13:26:24.895 › [App.Initialize] Autoupgrade disabled: false
13:26:24.942 › [i18nManager] Failed to set new language { locale: 'en-US' }
13:26:24.942 › [i18nManager] Failed to set new language { locale: 'DE' }
[1086881:1117/132625.138007:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1087154: Permission denied (13)
(node:1086881) electron: Failed to load URL: https://chat.charmhub.io/ with error: ERR_NAME_NOT_RESOLVED
(Use `mattermost-desktop --trace-warnings ...` to show where the warning was created)
13:26:25.249 › [MattermostWebCont...] [009bfe13-3083-4a9...] [9e47dbbd-3555-4c8...] failed loading URL: Error: ERR_NAME_NOT_RESOLVED (-105) loading 'https://chat.charmhub.io/', retrying in 5 seconds
13:26:27.193 › [WebContentsEventM...] [116e1582-dba0-45b...] [33781caf-2d43-47f...] [renderer] Uncaught (in promise) Error: Not authorized

13:26:27.725 › [WebContentsEventM...] [2adc78ee-2fd0-412...] [e010d7d4-d4d3-49f...] [renderer] github: This plugin is using registerPostDropdownMenuComponent which is deprecated in Mattermost v11.0. That API will be removed in a future release, and plugins that use it may not work correctly. Please update the plugin to use registerPostDropdownMenuAction instead. See https://forum.mattermost.com/t/deprecating-a-post-dropdown-menu-component-plugin-api-v11/25001 for more information.
13:26:28.100 › [WebContentsEventM...] [2adc78ee-2fd0-412...] [e010d7d4-d4d3-49f...] [renderer] Uncaught (in promise) Error: Not authorized

[1086881:1117/132630.252662:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1087272: Permission denied (13)
(node:1086881) electron: Failed to load URL: https://chat.charmhub.io/ with error: ERR_NAME_NOT_RESOLVED
13:26:30.288 › [MattermostWebCont...] [009bfe13-3083-4a9...] [9e47dbbd-3555-4c8...] failed loading URL: Error: ERR_NAME_NOT_RESOLVED (-105) loading 'https://chat.charmhub.io/', retrying in 5 seconds
[1086881:1117/132635.292588:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1087288: Permission denied (13)
(node:1086881) electron: Failed to load URL: https://chat.charmhub.io/ with error: ERR_NAME_NOT_RESOLVED
13:26:35.343 › [MattermostWebCont...] [009bfe13-3083-4a9...] [9e47dbbd-3555-4c8...] failed loading URL: Error: ERR_NAME_NOT_RESOLVED (-105) loading 'https://chat.charmhub.io/', retrying in 5 seconds
[1086881:1117/132640.347907:ERROR:content/browser/zygote_host/zygote_host_impl_linux.cc:283] Failed to adjust OOM score of renderer with pid 1087304: Permission denied (13)
(node:1086881) electron: Failed to load URL: https://chat.charmhub.io/ with error: ERR_NAME_NOT_RESOLVED
13:26:40.399 › [MattermostWebCont...] [009bfe13-3083-4a9...] [9e47dbbd-3555-4c8...] failed loading URL: Error: ERR_NAME_NOT_RESOLVED (-105) loading 'https://chat.charmhub.io/', retrying in 5 seconds

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