Skip to content

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

@jitendra-google

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]

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