Skip to content

Clicking button widget causes crash on Linux #183

Description

@FlutterIssues

Issue by nlacasse
Tuesday Oct 06, 2015 at 23:54 GMT
Originally opened as https://github.com/flutter/engine/issues/1514


I have a sky/flutter app with a button. Clicking the button works fine on Android, and it used to work fine on Linux (desktop) as well.

However, the latest release of sky_engine breaks the button on Linux. Clicking it yields:

[1006/163649:ERROR:dart_error.cc(16)] Unhandled exception:
Bad state: No element
#0      List.last (dart:core-patch/growable_array.dart:211)
#1      _RenderInkWell._handleTap (packages/sky/src/widgets/ink_well.dart:180)
#2      TapGestureRecognizer.handlePrimaryPointer (packages/sky/src/gestures/tap.dart:27)
#3      PrimaryPointerGestureRecognizer.handleEvent (packages/sky/src/gestures/recognizer.dart:107)
#4      PointerRouter.route (packages/sky/src/gestures/pointer_router.dart:45)
#5      FlutterBinding.handleEvent (packages/sky/src/rendering/binding.dart:166)
#6      FlutterBinding.dispatchEvent (packages/sky/src/rendering/binding.dart:160)
#7      FlutterBinding._handlePointerEvent (packages/sky/src/rendering/binding.dart:145)
#8      FlutterBinding._handleEvent (packages/sky/src/rendering/binding.dart:98)

I'm running my app with pub run sky_tools run_mojo and in multiprocess mode.

Activity

  1. FlutterIssues commented on Nov 9, 2015

    @FlutterIssues
    Author

    Comment by nlacasse
    Tuesday Oct 06, 2015 at 23:57 GMT


    cc @afandria

  2. FlutterIssues commented on Nov 9, 2015

    @FlutterIssues
    Author

    Comment by Hixie
    Wednesday Oct 07, 2015 at 00:03 GMT


    cc @abarth

  3. FlutterIssues commented on Nov 9, 2015

    @FlutterIssues
    Author

    Comment by abarth
    Wednesday Oct 07, 2015 at 00:49 GMT


    @j9brown

  4. abarth commented on Nov 18, 2015

    @abarth
    Contributor

    I believe this is fixed now.

  5. github-actions commented on Sep 7, 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.

  6. locked as resolved and limited conversation to collaborators on Sep 7, 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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions