Malformed /proc/<pid>/environ for Mattermost snap

Bug #2011696 reported by Benjamin Drung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
New
Undecided
Unassigned

Bug Description

/proc/<pid>/environ is malformed for the Mattermost snap:

```
hd /proc/$(pidof -s /snap/mattermost-desktop/578/opt/Mattermost/mattermost-desktop)/environ
00000000 64 69 73 61 62 6c 65 2d 66 65 61 74 75 72 65 73 |disable-features|
00000010 3d 53 70 61 72 65 52 65 6e 64 65 72 65 72 46 6f |=SpareRendererFo|
00000020 72 53 69 74 65 50 65 72 50 72 6f 63 65 73 73 20 |rSitePerProcess |
00000030 2d 2d 65 6e 61 62 6c 65 2d 63 72 61 73 68 70 61 |--enable-crashpa|
00000040 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |d...............|
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00001930 00 00 00 00 00 00 00 00 00 00 |..........|
0000193a
```

/proc/<pid>/cmdline for this process:

/snap/mattermost-desktop/578/opt/Mattermost/mattermost-desktop --type=utility --utility-sub-type=audio.mojom.AudioService --lang=de --service-sandbox-type=none --enable-crashpad --enable-crash-reporter=c2de330d-b7d2-41f5-9225-1dc24df6cef3,no_channel --user-data-dir=/home/bdrung/snap/mattermost-desktop/578/.config/Mattermost --enable-sandbox --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,1292212183282703761,17487740677776085254,131072 --disable-features=SpareRendererForSitePerProcess --enable-crashpad

* OS: Ubuntu 22.10 (kinetic)
* snapd: 2.58+22.10
* linux-image-5.19.0-35-generic 5.19.0-35.36
* mattermost-desktop snap: 5.2.2 2022-12-12 (578)

See also https://github.com/canonical/apport/pull/143

I filed this bug against snapd, but it could also be a bug in the mattermost-desktop snap or the Linux kernel.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.