bugGNU Octave - Bugs: bug #61131, unexpected error with file browser...

 
 

bug #61131: unexpected error with file browser using Google Drive: Can not init crashpad

Submitter:  PIERRE LABRECHE <pierre5018>
Submitted:  Wed 08 Sep 2021 11:48:51 PM UTC
   
 
Category:  GUI Severity:  2 - Minor
Priority:  3 - Low Item Group:  Unexpected Error or Warning
Status:  None Assigned to:  None
Originator Name:  PIERRE LABRECHE Open/Closed:  * Open
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 23 Sep 2021 05:54:50 PM UTC, comment #10: 

Markus,
I hope this can be of any help.
I have upgraded my system to the new Google Drive app and the message disappeared.
Ciao

Giuseppe Baffi <gbaffi>
Thu 23 Sep 2021 08:02:41 AM UTC, comment #9: 

Thanks for sharing that.
IIUC, these messages are just a "minor nuisance" that is likely caused by an error in a third party software (Google Drive?).

In case it's caused by Qt: In the nightly builds, we are already using the last version of Qt5 that will be released to open source projects. If someone is able to point out a change that would fix this, we can try and backport that change to Qt5 in MXE Octave.

Lowering priority. That still means that we will be happy to accept a fix or a workaround if there is something we can do on Octave's side to avoid these messages.

Markus Mützel <mmuetzel>
Group administrator
Thu 23 Sep 2021 07:48:01 AM UTC, comment #8: 

Hi Markus,

yes it works correctly.

It show the message every now and then.
If I close the file browser it does not display the message.
If I start octave without the file browser it does not display the message. But then, when I re-enable the file browser it shows the message.

In my case everything started after google updated google drive. I noticed that the message is referring to an entry (key) in the registry file, namely "Software\Google\DriveFS\Share", 
which does not exists in my case.

I also tried both the install version and zip version of octave from nightly build and it is showing the message.

Regards

Giuseppe Baffi <gbaffi>
Thu 23 Sep 2021 07:24:46 AM UTC, comment #7: 

Does Octave still work correctly for you after that message?

The same message seems to be emitted for some users of different programs (involving or not involving Qt):
https://stackoverflow.com/questions/60969201/crashpad-db-init-error-when-calling-qfiledialog-getsavefilename-in-x64-python

Markus Mützel <mmuetzel>
Group administrator
Wed 22 Sep 2021 05:56:20 PM UTC, comment #6: 

I have tried installing the nightly build

(hg id: 37ddca7ad9cb)    Wed, Sep 22, 2021

but is still reporting the same message.


Could not initialize crash reporting DB
Can not init crashpad with status: CRASHPAD_DB_INIT_ERROR[7884:NonCelloThread] registry_win.h:55:
GetProtoFromRegistryValue Opening registry key Software\Google\DriveFS\Share failed with 0x2


Giuseppe Baffi <gbaffi>
Wed 22 Sep 2021 07:02:28 AM UTC, comment #5: 

That might be a compatibility issue between Qt's file browser and some Google Drive provider.

Qt has been updated in MXE Octave (our build system for Windows) since Octave 6.3.0 was released. Could you please check if the error still occurs with a nightly build from octave.space?
https://buildbot.octave.space/#/download

Markus Mützel <mmuetzel>
Group administrator
Wed 22 Sep 2021 06:40:55 AM UTC, comment #4: 

Hi,
I have the same issue since this morning.
I am running octave 6.3.0, on Windows 10.

if I start octave without the file browser the message does not appear.
if I open the file browser I get the same message.

if I start octave with the file browser I get the message.

here is the message I get

>> Could not initialize crash reporting DB

Can not init crashpad with status: CRASHPAD_DB_INIT_ERROR[2944:NonCelloThread] registry_win.h:55:
GetProtoFromRegistryValue Opening registry key Software\Google\DriveFS\Share failed with 0x2


Giuseppe Baffi <gbaffi>
Thu 09 Sep 2021 04:44:36 PM UTC, comment #3: 

IIUC, this is fixed for you with Octave 6.3.0.

Closing report.

If this should appear again with Octave 6.3.0 or a newer version, we can re-open or create a new report.

Markus Mützel <mmuetzel>
Group administrator
Thu 09 Sep 2021 04:26:06 PM UTC, comment #2: 

Is "crashpad" some software you installed that catches crashes?

- it is part of Chromium per this link : https://chromium.googlesource.com/crashpad/crashpad/+/fa96a04fc64dd1d1cb34a1c38c32dc21c9f26c5e/doc/overview_design.md

Does Octave still work correctly after that message? it did

Is your Google Drive the current directory when you start Octave? no

Does the message still appear if you close the "File Browser" widget?
Since I switched to 6.3.0, I have not seen the error.

PIERRE LABRECHE <pierre5018>
Thu 09 Sep 2021 09:10:21 AM UTC, comment #1: 

I can't reproduce here.
Is "crashpad" some software you installed that catches crashes?
Does Octave still work correctly after that message?
Is your Google Drive the current directory when you start Octave?
Does the message still appear if you close the "File Browser" widget?

Markus Mützel <mmuetzel>
Group administrator
Wed 08 Sep 2021 11:48:51 PM UTC, original submission:  

Octave now starts with an error message

Read https://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

Could not initialize crash reporting DB
Can not init crashpad with status: CRASHPAD_DB_INIT_ERROR[12728:NonCelloThread] registry_win.h:55:GetProtoFromRegistryValue Opening registry key S
oftware\Google\DriveFS\Share failed with 0x2
>>


PIERRE LABRECHE <pierre5018>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbaffi (Posted a comment)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by pierre5018 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 11 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-09-23 mmuetzel Severity3 - Normal 2 - Minor
        Priority5 - Normal 3 - Low
        Release6.3.0 dev
        Summaryunexpected error at startup : Can not init crashpad unexpected error with file browser using Google Drive: Can not init crashpad
    2021-09-22 mmuetzel CategoryInterpreter GUI
        StatusFixed None
        Open/ClosedClosed Open
        Release6.2.0 6.3.0
    2021-09-09 mmuetzel StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2021-09-09 mmuetzel StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code