Skip to content

[Google3 Bug]: Fatal Exception: CALayer position contains NaN: [nan inf]. Layer: <CALayer:0x#; position = CGPoint (# #)…-ad8a0f16 #165648

Closed

Description

@jitendra-google

Help us understand the severity of this issue

  • causing severe production issues e.g. malfunctions or data loss
  • blocking next binary release
  • blocking a client feature launch within a quarter
  • nice-to-have but does not block a launch within the next quarter

Steps to reproduce

We are observing high crash rates ~12000+ in GPay app IOS.
Couldn't reproduce the actual steps but from the stack trace most likely culprit for this is #162785

Related bug b/404894149

Expected results

Crash should not be there

Actual results

Crashes happening

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
0x000000019aaa65fc (CoreFoundation + 0x0002d5fc)	__exceptionPreprocess
0x0000000198021240 (libobjc.A.dylib + 0x00031240)	objc_exception_throw
0x000000019abf36dc (CoreFoundation + 0x0017a6dc)	+[NSException raise:format:]
0x000000019c56ab68 (QuartzCore + 0x00019b68)	CA::Layer::set_position(CA::Vec2<double> const&, bool)
0x000000019c56aaa0 (QuartzCore + 0x00019aa0)	-[CALayer setPosition:]
0x000000019c56a684 (QuartzCore + 0x00019684)	-[CALayer setFrame:]
0x000000019d2b4318 (UIKitCore + 0x00018318)	-[UIView _backing_setFrame:]
0x000000019d2b3040 (UIKitCore + 0x00017040)	-[UIView(Geometry) setFrame:]
0x0000000103e4d09c (Flutter - FlutterPlatformViewsController.mm: 659)	-[FlutterPlatformViewsController compositeView:withParams:]
0x0000000103e5021c (Flutter - FlutterPlatformViewsController.mm: 857)	-[FlutterPlatformViewsController performSubmit:currentCompositionParams:viewsToRecomposite:compositionOrder:unusedLayers:surfaceFrames:]
0x0000000103eaa370 (Flutter - function.h: 512)	fml::MessageLoopImpl::FlushTasks(fml::FlushType)
0x0000000103ead8ec (Flutter - message_loop_impl.cc: 139)	fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*)
0x000000019ab69298 (CoreFoundation + 0x000f0298)	__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
0x000000019ab68f3c (CoreFoundation + 0x000eff3c)	__CFRunLoopDoTimer
0x000000019ab68a90 (CoreFoundation + 0x000efa90)	__CFRunLoopDoTimers
0x000000019aaef130 (CoreFoundation + 0x00076130)	__CFRunLoopRun
0x000000019ab41280 (CoreFoundation + 0x000c8280)	CFRunLoopRunSpecific
0x00000001e7db14bc (GraphicsServices + 0x000014bc)	GSEventRunModal
0x000000019d68a670 (UIKitCore + 0x003ee670)	-[UIApplication _run]
0x000000019d2b0e84 (UIKitCore + 0x00014e84)	UIApplicationMain
0x0000000100009580 (ios_prod_global - main.m: 82)	main
0x00000001c0d9dde4 

Flutter Doctor output

Doctor output
[Paste your output here]

Activity

  1. matasb-google commented on Mar 21, 2025

    @matasb-google
    Contributor

    Requesting P0 and client:money labels.

  2. jmagman commented on Mar 25, 2025

    @jmagman
    Member

    Most likely fixed by #165525, we'll find out when it rolls to g3.

  3. jmagman commented on Mar 27, 2025

    @jmagman
    Member

    It wasn't fixed, crash still happens.

  4. github-actions commented on Apr 11, 2025

    @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.

  5. locked as resolved and limited conversation to collaborators on Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions