mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-14 07:33:28 +01:00
Crash when list monitor refetch is called #93
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @laeroah on GitHub (Oct 9, 2016).
I'm getting a crash when I call
refetchon aListMonitor. This crash is 100% reproducible.@JohnEstropia commented on GitHub (Oct 10, 2016):
Were you calling
refetchbefore this fix was added?@laeroah commented on GitHub (Oct 10, 2016):
I m using the develop branch. I guess the fix wasn't merged yet. Sry, I will override this.
Any plan on fixing this problem in the main branch?
@JohnEstropia commented on GitHub (Oct 10, 2016):
Sorry, that's not what I mean. The fix is already in the master branch, but I wanted to know if you have the same problem before the fix was added.
@JohnEstropia commented on GitHub (Oct 10, 2016):
The demo app's "Colors" demo doesn't encounter this problem though... hmm
@laeroah commented on GitHub (Oct 10, 2016):
hmm, I think so. I was using the master branch tag 2.1.2, but it was crashing. I just changed the CoreStoreBridge.m implementation of
affectedStoresto exactly like you did in the fix, and it stopped crashing.@laeroah commented on GitHub (Oct 10, 2016):
does the demo app use sectioned list?
@JohnEstropia commented on GitHub (Oct 10, 2016):
That's not the latest fix. That one still breaks on some other case (sorry I forgot).
The latest fix is the one in the master branch: https://github.com/JohnEstropia/CoreStore/blob/master/Sources/ObjectiveC/CoreStoreBridge.m
Yes
@laeroah commented on GitHub (Oct 10, 2016):
ok, so I did have the latest master. I just double checked, and it does crash. Let me take a look at the demo app.
@JohnEstropia commented on GitHub (Oct 10, 2016):
Thanks. The cause is the same ARC bug, but it would be great help if you can isolate the conditions to reproduce so we can tweak the workaround without breaking other cases.
@JohnEstropia commented on GitHub (Oct 26, 2016):
@laeroah Hi, have you resolved this issue? I haven't encountered this problem on my side in 2 apps I use sectioned monitors in..
@laeroah commented on GitHub (Oct 26, 2016):
Hey, thanks for checking. It looks fine now. Not crashing anymore!
Sent from my iPad
@JohnEstropia commented on GitHub (Oct 27, 2016):
Thanks for the update :) Closing this issue now
@laeroah commented on GitHub (Apr 3, 2017):
hi, looks like this problem is back. I'm getting consistent crash when I try to refetch.
@JohnEstropia commented on GitHub (Apr 3, 2017):
@laeroah I'm not sure there were any changes there. Have you changed CoreStore versions or Xcode versions recently?
@laeroah commented on GitHub (Apr 3, 2017):
I m on CoreStore 8.10. xcode8.3.
I think this issue's been there for a while. I was pointing to my fork
without the code which causes the crash before.
On Mon, Apr 3, 2017 at 5:45 AM, John Estropia notifications@github.com
wrote: