Crashpad flooding system log with errors

Greetings,

I’ve been getting tens of thousands of soft system errors a day, up to 20 lines every 2 seconds from journalctl -f, relating to chromium based apps being launched with bad arguments passed from (supposedly?) environment variables. I’m looking for the common launch script or conf file that’s generating these errors, which seem to be related to anything running chromium and using crashpad.

The errors all look like these from brave:

Oct 03 13:43:36 onyx plasmashell[2316]: 2022-10-03 13:43:36,978: Failed to parse environment variables: ord
Oct 03 13:43:36 onyx plasmashell[2316]: 2022-10-03 13:43:36,978: Failed to parse environment variables: ndererForSitePerProcess --enable-crashpad
Oct 03 13:43:36 onyx plasmashell[2316]: 2022-10-03 13:43:36,978: Failed to parse environment variables: a:100
Oct 03 13:43:36 onyx plasmashell[2316]: 2022-10-03 13:43:36,979: Failed to parse environment variables: --enable-crashpad
Oct 03 13:43:36 onyx plasmashell[2316]: 2022-10-03 13:43:36,979: Failed to parse environment variables: --enable-crashpad
Oct 03 13:43:36 onyx plasmashell[2316]: 2022-10-03 13:43:36,979: Failed to parse environment variables: --enable-crashpad
Oct 03 13:43:36 onyx plasmashell[2316]: 2022-10-03 13:43:36,979: Failed to parse environment variables: --enable-crashpad
Oct 03 13:43:36 onyx plasmashell[2316]: 2022-10-03 13:43:36,979: Failed to parse environment variables: erers
Oct 03 13:43:36 onyx plasmashell[2316]: 2022-10-03 13:43:36,980: Failed to parse environment variables: 57,131072 --enable-crashpad
Oct 03 13:43:36 onyx plasmashell[2316]: 2022-10-03 13:43:36,980: Failed to parse environment variables: a:100
...

I’m seeing errors for at least skypeforlinux, edge browser and brave browser. I think the problem is plasmashell not being able to parse the “–crash-reporter=,” argument, because it’s the only thing that looks fishy to me (see process list below). But I don’t know for sure because I can’t find where these programs get their arguments from. I found the brave launcher script (/bin/brave) and saw that it referenced the XDG_CONFIG_HOME env var, but I don’t have that variable defined. I saw the launcher also referenced overriding command line arguments using the file ~/.config/brave-flags.conf, but it doesn’t actually override the default, it just adds more flags to it.

Here’s a list of their running processes with their launch flags:

rtr        21744  1.2  0.9 34138912 309512 ?     Sl   13:31   0:02 /usr/lib/brave-bin/brave --enable-crashpad
rtr        21750  0.0  0.0 33575508 3076 ?       Sl   13:31   0:00 /usr/lib/brave-bin/chrome_crashpad_handler --monitor-self --monitor-self-annotation=ptype=crashpad-handler --database=/home/rtr/.config/BraveSoftware/Brave-Browser/Crash Reports --url=https://cr.brave.com --annotation=lsb-release=Manjaro Linux --annotation=plat=Linux --annotation=prod=Chrome_Linux --annotation=ver=105.1.43.93 --initial-client-fd=5 --shared-client-connection
rtr        21752  0.0  0.0 33567296 1560 ?       Sl   13:31   0:00 /usr/lib/brave-bin/chrome_crashpad_handler --no-periodic-tasks --monitor-self-annotation=ptype=crashpad-handler --database=/home/rtr/.config/BraveSoftware/Brave-Browser/Crash Reports --url=https://cr.brave.com --annotation=lsb-release=Manjaro Linux --annotation=plat=Linux --annotation=prod=Chrome_Linux --annotation=ver=105.1.43.93 --initial-client-fd=4 --shared-client-connection
rtr        21758  0.0  0.2 33875944 69224 ?      S    13:31   0:00 /usr/lib/brave-bin/brave --type=zygote --no-zygote-sandbox --enable-crashpad --crashpad-handler-pid=21750 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --enable-crashpad
rtr        21759  0.0  0.2 33875936 69016 ?      S    13:31   0:00 /usr/lib/brave-bin/brave --type=zygote --enable-crashpad --crashpad-handler-pid=21750 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --enable-crashpad
rtr        21761  0.0  0.0 33875964 17728 ?      S    13:31   0:00 /usr/lib/brave-bin/brave --type=zygote --enable-crashpad --crashpad-handler-pid=21750 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --enable-crashpad
rtr        21782  0.5  0.6 34606288 210420 ?     Sl   13:31   0:01 /usr/lib/brave-bin/brave --type=gpu-process --enable-crashpad --crashpad-handler-pid=21750 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --gpu-preferences=WAAAAAAAAAAgAAAIAAAAAAAAAAAAAAAAAABgAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAIAAAAAAAAAABAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAIAAAAAAAAAA== --shared-files --field-trial-handle=0,i,2336784054495331527,12642975202196004357,131072
rtr        21783  0.0  0.3 33941316 108340 ?     Sl   13:31   0:00 /usr/lib/brave-bin/brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=21750 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,2336784054495331527,12642975202196004357,131072 --enable-crashpad
rtr        21788  0.0  0.1 33917344 46376 ?      Sl   13:31   0:00 /usr/lib/brave-bin/brave --type=utility --utility-sub-type=storage.mojom.StorageService --lang=en-US --service-sandbox-type=utility --enable-crashpad --crashpad-handler-pid=21750 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,2336784054495331527,12642975202196004357,131072
rtr        21842  1.0  0.6 1179853400 197956 ?   Sl   13:31   0:02 /usr/lib/brave-bin/brave --type=renderer --enable-crashpad --crashpad-handler-pid=21750 --enable-crash-reporter=, --display-capture-permissions-policy-allowed --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --change-stack-guard-on-fork=enable --brave_session_token=15355877061363204397 --first-renderer-process --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=8 --launch-time-ticks=12443592300 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,2336784054495331527,12642975202196004357,131072
rtr        21864  0.0  0.3 1179841584 103716 ?   Sl   13:31   0:00 /usr/lib/brave-bin/brave --type=renderer --enable-crashpad --crashpad-handler-pid=21750 --enable-crash-reporter=, --extension-process --display-capture-permissions-policy-allowed --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --change-stack-guard-on-fork=enable --brave_session_token=15355877061363204397 --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=5 --launch-time-ticks=12443602235 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,2336784054495331527,12642975202196004357,131072
rtr        21889  0.5  0.4 1179842744 135940 ?   Sl   13:31   0:01 /usr/lib/brave-bin/brave --type=renderer --enable-crashpad --crashpad-handler-pid=21750 --enable-crash-reporter=, --extension-process --display-capture-permissions-policy-allowed --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --change-stack-guard-on-fork=enable --brave_session_token=15355877061363204397 --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=6 --launch-time-ticks=12443611321 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,2336784054495331527,12642975202196004357,131072
rtr        21992  0.0  0.3 1179833388 100512 ?   Sl   13:31   0:00 /usr/lib/brave-bin/brave --type=renderer --enable-crashpad --crashpad-handler-pid=21750 --enable-crash-reporter=, --extension-process --display-capture-permissions-policy-allowed --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --change-stack-guard-on-fork=enable --brave_session_token=15355877061363204397 --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=9 --launch-time-ticks=12443677477 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,2336784054495331527,12642975202196004357,131072
rtr        22025  0.0  0.2 1179792404 68936 ?    Sl   13:31   0:00 /usr/lib/brave-bin/brave --type=renderer --enable-crashpad --crashpad-handler-pid=21750 --enable-crash-reporter=, --display-capture-permissions-policy-allowed --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --change-stack-guard-on-fork=enable --brave_session_token=15355877061363204397 --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=10 --launch-time-ticks=12449962319 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,2336784054495331527,12642975202196004357,131072
rtr        22204  5.6  0.8 34876616 283444 ?     Sl   13:34   0:01 /opt/microsoft/msedge/msedge --enable-crashpad
rtr        22212  0.0  0.0 33576084 3160 ?       Sl   13:34   0:00 /opt/microsoft/msedge/msedge_crashpad_handler --monitor-self --monitor-self-annotation=ptype=crashpad-handler --database=/home/rtr/.config/microsoft-edge/Crash Reports --annotation=IsOfficialBuild=1 --annotation=exe=msedge --annotation=lsb-release=Manjaro Linux --annotation=plat=Linux --annotation=prod=Microsoft_Edge_Linux --annotation=ver=105.0.1343.42 --initial-client-fd=5 --shared-client-connection
rtr        22214  0.0  0.0 33567872 1556 ?       Sl   13:34   0:00 /opt/microsoft/msedge/msedge_crashpad_handler --no-periodic-tasks --monitor-self-annotation=ptype=crashpad-handler --database=/home/rtr/.config/microsoft-edge/Crash Reports --annotation=IsOfficialBuild=1 --annotation=exe=msedge --annotation=lsb-release=Manjaro Linux --annotation=plat=Linux --annotation=prod=Microsoft_Edge_Linux --annotation=ver=105.0.1343.42 --initial-client-fd=4 --shared-client-connection
rtr        22220  0.0  0.1 33912360 61064 ?      S    13:34   0:00 /opt/microsoft/msedge/msedge --type=zygote --no-zygote-sandbox --enable-crashpad --crashpad-handler-pid=22212 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --enable-crashpad
rtr        22221  0.0  0.1 33912352 62452 ?      S    13:34   0:00 /opt/microsoft/msedge/msedge --type=zygote --enable-crashpad --crashpad-handler-pid=22212 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --enable-crashpad
rtr        22225  0.0  0.0 33912372 17392 ?      S    13:34   0:00 /opt/microsoft/msedge/msedge --type=zygote --enable-crashpad --crashpad-handler-pid=22212 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --enable-crashpad
rtr        22304  1.2  0.5 34645704 176164 ?     Sl   13:34   0:00 /opt/microsoft/msedge/msedge --type=gpu-process --enable-crashpad --crashpad-handler-pid=22212 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --gpu-preferences=WAAAAAAAAAAgAAAIAAAAAAAAAAAAAAAAAABgAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAIAAAAAAAAAABAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAIAAAAAAAAAA== --shared-files --field-trial-handle=0,i,246666600069934538,13470805198056105925,131072
rtr        22305  0.6  0.2 34003128 90612 ?      Sl   13:34   0:00 /opt/microsoft/msedge/msedge --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=22212 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,246666600069934538,13470805198056105925,131072 --enable-crashpad
rtr        22312  0.0  0.1 33953752 36460 ?      Sl   13:34   0:00 /opt/microsoft/msedge/msedge --type=utility --utility-sub-type=storage.mojom.StorageService --lang=en-US --service-sandbox-type=utility --enable-crashpad --crashpad-handler-pid=22212 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,246666600069934538,13470805198056105925,131072
rtr        22429  6.2  0.6 1180299184 197384 ?   Sl   13:34   0:01 /opt/microsoft/msedge/msedge --type=renderer --enable-crashpad --crashpad-handler-pid=22212 --enable-crash-reporter=, --display-capture-permissions-policy-allowed --js-flags=--ms-user-locale= --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=6 --launch-time-ticks=12628332044 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,246666600069934538,13470805198056105925,131072
rtr        22468  0.0  0.0 33945556 31692 ?      Sl   13:34   0:00 /opt/microsoft/msedge/msedge --type=utility --utility-sub-type=edge_collections.mojom.CollectionsDataManager --lang=en-US --service-sandbox-type=collections --enable-crashpad --crashpad-handler-pid=22212 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,246666600069934538,13470805198056105925,131072
rtr        22473  6.0  0.4 1179965088 131260 ?   Sl   13:34   0:01 /opt/microsoft/msedge/msedge --type=renderer --enable-crashpad --crashpad-handler-pid=22212 --enable-crash-reporter=, --extension-process --display-capture-permissions-policy-allowed --js-flags=--ms-user-locale= --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=5 --launch-time-ticks=12628372027 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,246666600069934538,13470805198056105925,131072
rtr        22479  0.0  0.1 33945556 35064 ?      Sl   13:34   0:00 /opt/microsoft/msedge/msedge --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=utility --enable-crashpad --crashpad-handler-pid=22212 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,246666600069934538,13470805198056105925,131072
rtr        22541  0.0  0.2 34011028 66312 ?      Sl   13:34   0:00 /opt/microsoft/msedge/msedge --type=utility --utility-sub-type=audio.mojom.AudioService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=22212 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,246666600069934538,13470805198056105925,131072 --enable-crashpad
rtr        22618  2.5  0.4 38399484 161492 ?     SLl  13:34   0:00 /usr/share/skypeforlinux/skypeforlinux --executed-from=/home/rtr --pid=22613 --enable-crashpad
rtr        22622  0.0  0.1 33795600 49088 ?      S    13:34   0:00 /usr/share/skypeforlinux/skypeforlinux --type=zygote --no-zygote-sandbox --enable-crashpad --enable-crashpad
rtr        22623  0.0  0.1 33795592 48740 ?      S    13:34   0:00 /usr/share/skypeforlinux/skypeforlinux --type=zygote --enable-crashpad --enable-crashpad
rtr        22625  0.0  0.0 33795592 8352 ?       S    13:34   0:00 /usr/share/skypeforlinux/skypeforlinux --type=zygote --enable-crashpad --enable-crashpad
rtr        22639  0.0  0.0 33575784 3316 ?       Sl   13:34   0:00 /usr/share/skypeforlinux/chrome_crashpad_handler --monitor-self-annotation=ptype=crashpad-handler --no-rate-limit --database=/home/rtr/.config/skypeforlinux/Crashpad --url=appcenter://generic?aid=70b7a841-531e-4f9a-9b55-ff40f9d0fb67&iid=c6776d54-9418-4c73-f790-7e593e63cef9&uid=c6776d54-9418-4c73-f790-7e593e63cef9<##>aria://?_event=main_crashed&_token=a173030604a34bdcbf21ca59134c7430-2a34e3b5-60e1-4a11-ad6d-2e9eac9ac07c-6614&CrashType=native_crash&DeviceInfo.Id=c6776d549418c73f7907e593e63cef92&DeviceInfo.OsName=Linux&DeviceInfo.OsVersion=5.19.7-1-MANJARO&Platform_Id=1431&Platform_Uiversion=1431/8.88.0.401/ --annotation=_companyName=Skype --annotation=_productName=skypeforlinux --annotation=_version=8.88.0.401 --annotation=lsb-release=Manjaro Linux --annotation=plat=Linux --annotation=prod=Electron --annotation=ver=19.0.9 --initial-client-fd=44 --shared-client-connection
rtr        22659  0.8  0.5 34486744 166064 ?     Sl   13:34   0:00 /usr/share/skypeforlinux/skypeforlinux --type=gpu-process --enable-crashpad --crashpad-handler-pid=22639 --enable-crash-reporter=9f3f5572-355e-46fd-abf5-d6cf8e09b7bd,no_channel --user-data-dir=/home/rtr/.config/skypeforlinux --gpu-preferences=WAAAAAAAAAAgAAAIAAAAAAAAAAAAAAAAAABgAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAIAAAAAAAAAABAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAIAAAAAAAAAA== --shared-files --field-trial-handle=0,i,1226796505719526296,1623911485018041234,131072 --disable-features=SpareRendererForSitePerProcess
rtr        22662  0.1  0.2 33861904 66440 ?      Sl   13:34   0:00 /usr/share/skypeforlinux/skypeforlinux --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --enable-crashpad --crashpad-handler-pid=22639 --enable-crash-reporter=9f3f5572-355e-46fd-abf5-d6cf8e09b7bd,no_channel --user-data-dir=/home/rtr/.config/skypeforlinux --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,1226796505719526296,1623911485018041234,131072 --disable-features=SpareRendererForSitePerProcess --enable-crashpad
rtr        22702 16.4  0.7 42666708 247832 ?     Sl   13:34   0:03 /usr/share/skypeforlinux/skypeforlinux --type=renderer --enable-crashpad --crashpad-handler-pid=22639 --enable-crash-reporter=9f3f5572-355e-46fd-abf5-d6cf8e09b7bd,no_channel --user-data-dir=/home/rtr/.config/skypeforlinux --app-path=/usr/share/skypeforlinux/resources/app.asar --no-sandbox --no-zygote --autoplay-policy=no-user-gesture-required --disable-background-timer-throttling --ms-disable-indexeddb-transaction-timeout --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=4 --launch-time-ticks=12633328537 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,1226796505719526296,1623911485018041234,131072 --disable-features=SpareRendererForSitePerProcess --skype-process-type=Main --skype-window-id=__MAIN_ROOT_VIEW_ID__ --enable-crashpad
rtr        22827  0.0  0.1 1179861472 63208 ?    Sl   13:34   0:00 /opt/microsoft/msedge/msedge --type=renderer --enable-crashpad --crashpad-handler-pid=22212 --enable-crash-reporter=, --display-capture-permissions-policy-allowed --js-flags=--ms-user-locale= --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=18 --launch-time-ticks=12639419722 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,246666600069934538,13470805198056105925,131072
rtr        22828  7.0  0.4 1180545396 156640 ?   Sl   13:34   0:01 /opt/microsoft/msedge/msedge --type=renderer --enable-crashpad --crashpad-handler-pid=22212 --enable-crash-reporter=, --instant-process --display-capture-permissions-policy-allowed --js-flags=--ms-user-locale= --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=19 --launch-time-ticks=12639420895 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,246666600069934538,13470805198056105925,131072