You are not logged in.

#1 2018-10-22 15:19:48

allencch
Member
Registered: 2011-03-25
Posts: 88

[SOLVED] Chromium crashed when Save As dialog triggered by extensions

Original title: Chromium crashed when Save As dialog triggered by some extensions

Does anyone experience this issue, Chromium crashed when the Save As dialog is triggered by some extensions?

Chromium 70.0.3538.67

Extensions involved:

Nimbus Screenshot & Screen Video Recorder

Steps to reproduce:

1. Click the Toolbar Icon
2. Choose "Selected Area"
3. Select an area.
4. Click Save As.
5. See a Save As dialog box. Either Save or Cancel.
6. Crashed with "Segmentation fault".

Video DownloadHelper

Steps to reproduce:

1. Right-click the Toolbar Icon
2. Choose "Options"
3. Go to "More..." tab.
4. Choose "Export".
5. See a Save As dialog box. Either Save or Cancel.
6. Crashed with "Segmentation fault".

And I have a personal extension, which contains a statement,

        browser.downloads.download({
          url,
          filename: 'download.zip',
          conflictAction: 'uniquify',
          saveAs: true
        });

       
Chrome is crashed after this statement is completed. Debugging doesn't give any clue.

This is not happened in version 69.

Extensions that have Save As dialog but do not crash: uBlock Origin, TamperMonkey.

Last edited by allencch (2018-12-20 13:18:34)

Offline

#2 2018-11-06 09:27:20

Martina Neumayer
Member
From: München
Registered: 2018-11-06
Posts: 8

Re: [SOLVED] Chromium crashed when Save As dialog triggered by extensions

Hi.

I have exactly that same issue.

To this already mentioned infos I can add:

It happened even if I want to save some file by a normal RPM (right mouse click) and choosing "save as" from the browser menu.
When the filechooser (also called: the system filemanager browse window) window appears and I click on "save" then entire browser freezes for a moment
and next force closes with all opened windows or tabs.

Interesting is that if I choose "cancel" option that same happens.. I mean.. FC + segfault.

There is nothing about this issue written in the system logs or in the browser error logs.
One information I have is that displayed in terminal:

martina@SweetBitch ~]$ /usr/bin/chromium
[8959:8959:1024/111728.875264:ERROR:sandbox_linux.cc(379)] InitializeSandbox() called with multiple threads in process gpu-process.
[8927:8927:1024/111736.000674:ERROR:in_progress_cache_impl.cc(203)] Cache is not initialized, cannot RetrieveEntry.
Memory protection violation (memory dump)

I can also confirm that this issue happened since Chromium was updated from the 69.xx version to the 70.xx
Mine is now: 70.0.3538.77 (Oficial version) Arch Linux (64-bit)

As for used extensions..
The problem occurs if I try to save something using the "Image-Toolbar" add-on also.

And one more (I think important) thing..

I noticed that this usually happens when I try to save a file that does not have oryginally an extension in the filename.
Well.. some websites do something like that. The G+, or Flickr, MeWe etc.

For example:
File "aabbcc.JPG" will be saved correctly without any errors, but the "aabbcc" (without an .JPG) will cause the browser freeze and next fc + segfault.
Adding an extension by hand changes nothing.

And that's all I know.

Last edited by Martina Neumayer (2018-11-06 09:36:47)

Offline

#3 2018-11-06 10:10:42

allencch
Member
Registered: 2011-03-25
Posts: 88

Re: [SOLVED] Chromium crashed when Save As dialog triggered by extensions

I found a related bug report at the upstream. https://bugs.chromium.org/p/chromium/is … ?id=900423 . Waiting for the fix, using Firefox for downloading.

Offline

#4 2018-11-06 10:31:26

Martina Neumayer
Member
From: München
Registered: 2018-11-06
Posts: 8

Re: [SOLVED] Chromium crashed when Save As dialog triggered by extensions

Yes.. I saw it too. Sadly I can not use FF or any other browser on my system. This is an "working purpose" machine wink
Well.. looks like we must just wait for some fix.

Edit:
Sadly this workaround with "KDE file dialog" don't works for me on Arch.
And there is no way to downgrade Chromium to the 69 version anymore due to the (in the meantime upgraded) icu libs on which the browser depends.

Edit2:
Chromium updated to the 70.0.3538.102 version and the issue presists.

Edit3:
Chrome installed for testing and then updated from 70 to 71.x version works fine. Well.. No more. Something changes because it crashes now on start.
With such info when I run the browser from terminal:

[4181:4181:1118/095014.693827:ERROR:sandbox_linux.cc(379)] InitializeSandbox() called with multiple threads in process gpu-process.

I tried also the "--no-sandbox" command (and the other related to sandbox turning off as well) but all I have is immediate FC without any info/logs nowhere.
Identical situation as this described here:
https://bugs.chromium.org/p/chromium/is … ?id=906455

Last edited by Martina Neumayer (2018-11-19 13:50:20)

Offline

#5 2018-12-20 13:17:12

allencch
Member
Registered: 2011-03-25
Posts: 88

Re: [SOLVED] Chromium crashed when Save As dialog triggered by extensions

This issue is not found in chromium version 71.0.3578.98-1

Offline

Board footer

Powered by FluxBB