Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EXC_BAD_ACCESS in relationship_query.rb#9 #74

Open
buffpojken opened this issue Jan 30, 2015 · 4 comments
Open

EXC_BAD_ACCESS in relationship_query.rb#9 #74

buffpojken opened this issue Jan 30, 2015 · 4 comments

Comments

@buffpojken
Copy link

Intermittently, our application crashes (no obvious pattern) from a EXC_BAD_ACCESS within cdq.

Crash log: http://pastebin.com/xdR7G3CQ

This happens on iOS 8.1.3, using RM 3.3 and cdq 0.1.8.

@kemiller
Copy link
Contributor

That line is pretty innocuous. Hard to tell what it's doing without a test case. Have you submitted an issue to HipByte?

@kemiller
Copy link
Contributor

Oh, actually, you do get these sorts of errors if you try to access a context from the wrong thread. Are you multi-threading, including GCD?

@buffpojken
Copy link
Author

Hmm, yes - the app uses GCD but the strange thing is that first a set of operations is
performed with no problems - then cdq.contexts.current.rollback is called to throw away all changes,
and then the issue appears when trying to perform the same set of operations again.

@kemiller
Copy link
Contributor

You can sometimes get away with bad threading behavior, which makes it all the more dangerous. But that's where I'd look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants