Bartinter icon indicating copy to clipboard operation
Bartinter copied to clipboard

App crashed in function calculateStatusBarAreaAvgLuminance

Open moon-jerry opened this issue 4 years ago • 1 comments

calculateStatusBarAreaAvgLuminance throw error Thread 8: EXC_BAD_ACCESS (code=1, address=0x20) at line 74

layer.render(in: context)

but I checked both layer and context and they are not nil.

I have a view covers the full screen, including the status bar, I guess that's might be the reason.

moon-jerry avatar Jun 04 '20 17:06 moon-jerry

calculateStatusBarAreaAvgLuminance throw error Thread 8: EXC_BAD_ACCESS (code=1, address=0x20) at line 74

layer.render(in: context)

but I checked both layer and context and they are not nil.

I have a view covers the full screen, including the status bar, I guess that's might be the reason.

I also encountered this problem, but i don't have a full screen view, my log display: Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.'

chinghoi avatar Jun 26 '20 11:06 chinghoi