passbolt / passbolt_browser_extension

Browser extensions (Firefox, Edge & Chrome) for Passbolt the open source password manager for teams
https://passbolt.com
GNU Affero General Public License v3.0
233 stars 72 forks source link

Browser crash in Chromium when exporting public or private keys on Linux #50

Closed gileri closed 5 years ago

gileri commented 6 years ago

Segfault in Chromium when exporting public or private keys

What you did

I clicked on download Private or Public GPG key, I then choose a folder (/home/user/), and click "save". The problem is visible on :

What happened

The whole browser segfaults when calling chrome.downloads.download

What you expected to happen

The key is exported and the browser obviously doesn't crash

Additional information

I can share a segfault stack trace, but I don't currently have debbuging symbols for it and nothing is obvious in it.

stripthis commented 6 years ago

I can confirm the issue on Debian with Chrome Beta (stable is fine on Linux and beta is fine on OSX). In my opinion this is not a passbolt issue but something to do with the current beta chrome build for linux. Maybe worth spending some time to see if there are similar report: https://bugs.chromium.org

gileri commented 6 years ago

I can confirm on my end that OSX is not affected, and on Linux Chrome 69 is not affected, where 70 is. ~Sadly I do not see an existing bug report there, but I'm really not sure where to start to report such a bug.~

There is a bug similar to this one, with a comment describing exactly this issue

stripthis commented 6 years ago

If you enable crash report it submits automatically an issue to monorail. If they close the issue (it happens) we could build a minimal web extension to reproduce the issue. I'm trying to minimize passbolt work here because it's clearly an issue with Chrome :D

baracoder commented 5 years ago

Sorry for the noise, but is there any update on this problem?

stripthis commented 5 years ago

@baracoder no problem. I just tried on linux chrome 72 and while it does not crash anymore it does not download the file properly nor that it set the file name correctly (it shows "failed - network error" with a uuid).

screenshot 2019-02-05 at 18 41 37

Sadrak commented 5 years ago

We had similiar problems on one outdated chrome installation on Ubuntu 18.04. Updating to the latest version fixed the issue.