Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

I am using latest stable Flutter and have a minimal app which I run in web (Chrome). After pressing some specific buttons app hangs and after some time Chrome shows message about SIGSEGV caught. When running as web server I can spot this message in console but it does not give me more information

Another exception was thrown: RuntimeError: memory access out of bounds

How to catch what is crashing?

After some investigations I have found that crash happens when this custom component is used. But I do not see any suspicious code.

class RotationMatrixTransformation extends StatelessWidget {
  RotationMatrixTransformation({
    this.dyOffset,
    this.childComponent,
  final Widget? childComponent;
  final dyOffset;
  @override
  Widget build(BuildContext context) {
    return Transform(
        transform: Matrix4.identity()
          ..setEntry(3, 2, 0.001)
          ..rotateX(0.01 * dyOffset),
        alignment: FractionalOffset.center,
            child: childComponent
                Are you on the latest version of Flutter? There was an issue with a similar error , check github.com/flutter/flutter/issues/80140
– OMi Shah
                Jul 31, 2021 at 17:01
                Should be on latest (Flutter 2.2.3 • channel stable ). Do you know how to figure out if fix for the issue you mentioned is included in the release?
– Andy Victors
                Jul 31, 2021 at 17:07
        

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.