Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

[Apple Bug] iOS system regression in thread safety - must avoid decoding the same image on two threads #1068

@ankorko

Description

@ankorko

I am facing a bug which I have a really hard time reproducing. I am using version 1.9.5 on an iPad 2. Sometimes when adding an ASTableView as a subview, cells will either not load at all or only parts of them will load. After that no rendering ever occurs. As you can see in the attached images there are many threads blocked on dispatch_semaphore_wait(__ASDisplayLayerConcurrentDisplaySemaphore, DISPATCH_TIME_FOREVER);

I have tried to reproduce this state by making the ASCellNodes really heavy (50 image subnodes), but still the occurrence of the freezing was random. The freezing never occurs later than (what seems to me to be) the very first rendering.

Any ideas on what the cause may be or at least how I can provide you with more info or a way to reproduce this?

screen shot 2016-01-15 at 19 01 06

screen shot 2016-01-15 at 19 00 22

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions