@sergiusens Fantastic findings! Thanks a lot for looking into this.
This is also the underlying issue behind another issue I face when selfhosting VS Code: it simply crashes when opening a native Open dialog. Unsetting those env vars also fixes that issue! We got that bootstrapping code from Martin (@flexiondotorg): https://github.com/snapcrafters/vscode/commit/1477ff8a6b80d3e337ffabf75c2c9e3482b8ab74 Including a tiny review from you: https://github.com/snapcrafters/vscode/commit/1477ff8a6b80d3e337ffabf75c2c9e3482b8ab74#r32657237 I didn't really understand the original motive behind the `Gdk-pixbuf loaders` section. What do you think we can do here? What's the right way to move forward? Thanks! -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/1838129 Title: Firefox crashreporter crashed with SIGSEGV in memcpy() when opening links from Visual Studio Code snap Status in firefox package in Ubuntu: Confirmed Bug description: How the crash happened: 0) Firefox is already open with a few tabs. 1) Click on a link in VS Code. 2) Firefox crashes 3) The crashreporter of firefex pops up. 4) Click on "Send to Mozilla". 5) Crash. Here is the crashreport of Firefox: https://crash-stats.mozilla.org/report/index/b6952db2-9983-4f67-b51c-f03a60190727#tab-details I send it manually via about:crashes because the crashreporter is crashed. VS Code is installed as a snap by the way. $ snap list Name Version Rev Tracking Publisher Notes code 2213894e 11 stable vscode✓ classic core 16-2.39.3 7270 stable canonical✓ core core18 20190709 1066 stable canonical✓ base gtk-common-themes 0.1-22-gab0a26b 1313 stable canonical✓ - telegram-desktop 1.7.13 836 stable telegram.desktop - As you can see telegram is also installed as as snap. but open links from telegram just work. Auto generated data below ------------------------------------------------------- ProblemType: Crash DistroRelease: Ubuntu 19.10 Package: firefox 68.0.1+build1-0ubuntu2 ProcVersionSignature: Ubuntu 5.2.0-8.9-generic 5.2.0 Uname: Linux 5.2.0-8-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia AddonCompatCheckDisabled: False ApportVersion: 2.20.11-0ubuntu7 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: stefano 1718 F.... pulseaudio BuildID: 20190719083815 Channel: Unavailable CrashCounter: 1 CurrentDesktop: Unity Date: Sat Jul 27 13:01:39 2019 DefaultProfileExtensions: extensions.sqlite corrupt or missing DefaultProfileIncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite) DefaultProfileLocales: extensions.sqlite corrupt or missing DefaultProfilePrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/firefox/omni.ja:greprefs.js:1141 DefaultProfilePrefSources: prefs.js DefaultProfilePrefs: extensions.lastAppVersion: "68.0.1" (prefs.js) security.sandbox.content.tempDirSuffix: "0b21b0ae-b91f-43b6-9458-bf92ba3df531" (prefs.js) security.sandbox.plugin.tempDirSuffix: "9a7729c3-823f-443e-95cb-6b41d9a61198" (prefs.js) DefaultProfileThemes: extensions.sqlite corrupt or missing ExecutablePath: /usr/lib/firefox/crashreporter ForcedLayersAccel: False InstallationDate: Installed on 2019-07-20 (7 days ago) InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Alpha amd64 (20190715) IpRoute: default via 192.168.0.1 dev wlp2s0 proto dhcp metric 600 169.254.0.0/16 dev wlp2s0 scope link metric 1000 192.168.0.0/24 dev wlp2s0 proto kernel scope link src 192.168.0.199 metric 600 LocalLibraries: /snap/code/11/usr/lib/x86_64-linux-gnu/librsvg-2.so.2.40.13 /snap/code/11/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so /snap/code/11/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so /snap/code/11/usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1 /snap/code/11/usr/lib/x86_64-linux-gnu/libicudata.so.55.1 /snap/code/11/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so /snap/code/11/usr/lib/x86_64-linux-gnu/libxml2.so.2.9.4 /snap/code/11/usr/lib/x86_64-linux-gnu/libicuuc.so.55.1 MostRecentCrashID: bp-b6952db2-9983-4f67-b51c-f03a60190727 ProcCmdline: /usr/lib/firefox/crashreporter /home/username/.mozilla/firefox/7n8aku4a.default/minidumps/7eb59ca7-3107-9f59-9af7-7a6e321d6230.dmp Profile0Extensions: extensions.sqlite corrupt or missing Profile0IncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite) Profile0Locales: extensions.sqlite corrupt or missing Profile0PrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/firefox/omni.ja:greprefs.js:1141 Profile0PrefSources: prefs.js Profile0Themes: extensions.sqlite corrupt or missing Profiles: Profile1 (Default) - LastVersion=68.0.1/20190719083815 Profile0 - LastVersion=68.0.1/20190719083815 (In use) RunningIncompatibleAddons: False SegvAnalysis: Segfault happened at: 0x7f36ea452871 <__memmove_avx_unaligned_erms+33>: vmovdqu %ymm0,(%rdi) PC (0x7f36ea452871) ok source "%ymm0" ok destination "(%rdi)" (0x00000000) not located in a known VMA region (needed writable region)! SegvReason: writing NULL VMA Signal: 11 SourcePackage: firefox StacktraceTop: __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:240 ?? () from /lib/x86_64-linux-gnu/libpng16.so.16 ?? () from /lib/x86_64-linux-gnu/libpng16.so.16 ?? () from /lib/x86_64-linux-gnu/libpng16.so.16 ?? () from /lib/x86_64-linux-gnu/libpng16.so.16 SubmittedCrashIDs: bp-b6952db2-9983-4f67-b51c-f03a60190727 bp-7b9123e3-e901-4bcd-8815-f36980190720 Title: crashreporter crashed with SIGSEGV in __memmove_avx_unaligned_erms() UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo dmi.bios.date: 12/20/2018 dmi.bios.vendor: LENOVO dmi.bios.version: 5XCN26WW dmi.board.asset.tag: NO Asset Tag dmi.board.name: LNVNB161216 dmi.board.vendor: LENOVO dmi.board.version: SDK0J40709 WIN dmi.chassis.asset.tag: NO Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Lenovo Y520-15IKBM dmi.modalias: dmi:bvnLENOVO:bvr5XCN26WW:bd12/20/2018:svnLENOVO:pn80YY:pvrLenovoY520-15IKBM:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrLenovoY520-15IKBM: dmi.product.family: Y520-15IKBM dmi.product.name: 80YY dmi.product.sku: LENOVO_MT_80YY_BU_idea_FM_Y520-15IKBM dmi.product.version: Lenovo Y520-15IKBM dmi.sys.vendor: LENOVO separator: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1838129/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp