Skip to content

Canvas constructor crashes with bad arguments #70

Closed

Description

@FlutterIssues

Issue by Hixie
Thursday Jul 16, 2015 at 22:25 GMT
Originally opened as https://github.com/flutter/engine/issues/23


From @Hixie on July 15, 2015 21:0

My reading of the Canvas constructor is that it'll crash if you call it with a null first argument.
The comment also explicitly says that it'll crash if you call it with a PictureRecorder in the wrong state.

The APIs the C++ expose to the Dart code should never be able to crash the app.

Copied from original issue: domokit/mojo#326

Activity

  1. added
    c: crashStack traces logged to the console
    engineflutter/engine related. See also e: labels.
    on Nov 9, 2015
  2. modified the milestone: on Dec 16, 2015
  3. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Sep 14, 2016
  4. sethladd commented on Sep 14, 2016

    @sethladd
    Contributor

    Is this still an issue?

  5. Hixie commented on Sep 14, 2016

    @Hixie
    Contributor

    The first case listed here is fixed. The second is also filed as #2531, so I'll close this one.

  6. github-actions commented on Aug 17, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  7. locked as resolved and limited conversation to collaborators on Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: crashStack traces logged to the consoleengineflutter/engine related. See also e: labels.waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions