Skip to content

Crash in React if uploading too many files #643

@exaexa

Description

@exaexa

Submitting 33 small files in exercise's test configuration seems to crash the frontend javascript app completely (to whitescreen). The console log doesn't seem to contain anything of value (backtraces of 2-letter minified-name functions), but points to this error: https://react.dev/errors/185 . The crash doesn't happen immediately but after a few seconds of uploading, seemingly just before it finishes.

Workaround: reload the page (the app is hard dead) and upload in smaller groups.

For reference, the exercise in the MFF instance where this failed is this one https://recodex.mff.cuni.cz/app/exercises/efb9eaf4-ceb9-4d31-9533-f364d125746c/edit-config (I made a lil too much tests ig.)

I didn't have much time to retry on different browsers or with different files yet, but the crash seems reproducible (I tried a few times before splitting it up, getting exactly same behavior everytime).

Observed on Firefox 151 (linux).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions