Skip to content

Hard Crash when trying to Set/Update data which is > 64 KB, error 0xC0000005 #517

Closed
@DDR12

Description

@DDR12

Please fill in the following fields:

Unity editor version: 2019.1.1f1 and 2019.2.8f1
Firebase Unity SDK version: 6.6.0 and 6.7.0
Firebase plugins in use : Auth and Database.
Additional SDKs you are using : None.
Platform you are using the Unity editor on : Windows.
Platform you are targeting : Desktop
Scripting Runtime (Mono, and/or IL2CPP): Reproduced on Both

Please describe the issue here:

  1. Download the minimal reproducible sample from here: https://drive.google.com/open?id=1CeZprgFZz_dVhz2gLSytn6R-u2NWxNfG

  2. Import the FirebaseDatabase package for sdk version 6.6.0 or 6.7.0.

  3. Open the scene 'SampleScene' in _Scenes folder.

  4. Run in editor, in the input field input any number below 65500 and press upload, this will create a string of length whatever number you input and upload it, i.e creates a sample data of size x bytes.

  5. The upload should be success or an error if failed for some reason.

  6. Now edit the data size in the input field for any value above 65600 bytes and press upload, and experience a hard editor crash, guaranteed 100 % every time you try to push data > 65500 size.

  7. Open the dump files for the crash and you should see this error:
    0xC0000005
    The thread tried to read from or write to a virtual address for which it does not have the appropriate access.

Thanks!

Please answer the following, if applicable:

Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)? Didn't test.

What's the issue repro rate? 100 %

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions