Skip to content

[Android] CarouselView infinite loading loop when height or width are unbounded #4082

Closed

Description

@jsuarezruiz

Description

Trying to navigate to a page with a CollectionView freeze the App until crash:

[.ControlGaller] Explicit concurrent copying GC freed 886(65KB) AllocSpace objects, 0(0B) LOS objects, 47% free, 26MB/50MB, paused 730us total 94.683ms
[.ControlGaller] Explicit concurrent copying GC freed 886(50KB) AllocSpace objects, 0(0B) LOS objects, 47% free, 26MB/50MB, paused 881us total 123.270ms
[.ControlGaller] Explicit concurrent copying GC freed 886(64KB) AllocSpace objects, 0(0B) LOS objects, 47% free, 26MB/50MB, paused 968us total 101.780ms
[.ControlGaller] Explicit concurrent copying GC freed 886(51KB) AllocSpace objects, 0(0B) LOS objects, 47% free, 26MB/50MB, paused 665us total 96.196ms
[.ControlGaller] Explicit concurrent copying GC freed 839(55KB) AllocSpace objects, 0(0B) LOS objects, 47% free, 26MB/50MB, paused 746us total 93.642ms
[.ControlGaller] Explicit concurrent copying GC freed 845(58KB) AllocSpace objects, 0(0B) LOS objects, 46% free, 27MB/51MB, paused 892us total 136.831ms
[.ControlGaller] Explicit concurrent copying GC freed 886(65KB) AllocSpace objects, 0(0B) LOS objects, 46% free, 27MB/51MB, paused 744us total 93.234ms
[.ControlGaller] Explicit concurrent copying GC freed 886(64KB) AllocSpace objects, 0(0B) LOS objects, 46% free, 27MB/51MB, paused 710us total 108.543ms
[.ControlGaller] Explicit concurrent copying GC freed 886(50KB) AllocSpace objects, 0(0B) LOS objects, 46% free, 27MB/51MB, paused 712us total 106.430ms
[.ControlGaller] WaitForGcToComplete blocked HeapTrim on Explicit for 64.098ms
[.ControlGaller] Explicit concurrent copying GC freed 886(64KB) AllocSpace objects, 0(0B) LOS objects, 46% free, 27MB/51MB, paused 961us total 104.197ms
[.ControlGaller] Explicit concurrent copying GC freed 886(51KB) AllocSpace objects, 0(0B) LOS objects, 46% free, 27MB/51MB, paused 1.095ms total 115.805ms
[.ControlGaller] Explicit concurrent copying GC freed 872(51KB) AllocSpace objects, 0(0B) LOS objects, 46% free, 28MB/52MB, paused 1.675ms total 175.706ms
[.ControlGaller] Explicit concurrent copying GC freed 814(62KB) AllocSpace objects, 0(0B) LOS objects, 46% free, 28MB/52MB, paused 732us total 101ms
[libc] Requested dump for tid 16605 (.ControlGallery)
[.ControlGaller] Explicit concurrent copying GC freed 884(65KB) AllocSpace objects, 0(0B) LOS objects, 45% free, 28MB/52MB, paused 819us total 259.824ms
[.ControlGaller] Explicit concurrent copying GC freed 887(112KB) AllocSpace objects, 0(0B) LOS objects, 45% free, 28MB/52MB, paused 904us total 169.633ms
[.ControlGaller] Explicit concurrent copying GC freed 891(81KB) AllocSpace objects, 0(0B) LOS objects, 45% free, 28MB/52MB, paused 1.318ms total 174.304ms
[.ControlGaller] JNI critical lock held for 20.936ms on Thread[1,tid=16605,Runnable,Thread*=0x7b632908c7b0,peer=0x7159bb18,"main"]
[.ControlGaller] Explicit concurrent copying GC freed 885(48KB) AllocSpace objects, 0(0B) LOS objects, 45% free, 28MB/52MB, paused 746us total 120.843ms

Steps to Reproduce

  1. Download ControlGallery.zip
  2. Try to navigate to the "CarouselView sample".

Version with bug

Preview 11

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 11

Did you find any workaround?

No response

Relevant log output

No response

Activity

  1. added
    t/bug
    area-controls-collectionview
    on Jan 12, 2022
  2. wenwen60 commented on Feb 28, 2022

    @wenwen60

    Reproduce on Android 11 in VS2022 17.2.0 Preview 2.0 [32215.517.main], attach repro sample
    MauiApp13.zip.

  3. added
    s/verified
    on Feb 28, 2022
  4. PureWeen commented on Mar 4, 2022

    @PureWeen
    Member
  5. changed the title [-][Android] CarouselView infinite loading loop[/-] [+][Android] CarouselView infinite loading loop when height or width are unbounded[/+] on Mar 4, 2022
  6. PureWeen commented on Mar 4, 2022

    @PureWeen
    Member

    Temporary workaround for this issue

    59fbb1e

  7. ghost locked as resolved and limited conversation to collaborators on Apr 9, 2022
  8. added
    fixed-in-6.0.300-rc.1
    on Feb 17, 2023
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

    area-controls-collectionviewfixed-in-6.0.300-rc.1platform/androids/verifiedt/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions