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

Multithreading violation in iOS 8.3+ #36

Open
joshuafeldman opened this issue Jul 9, 2015 · 8 comments
Open

Multithreading violation in iOS 8.3+ #36

joshuafeldman opened this issue Jul 9, 2015 · 8 comments

Comments

@joshuafeldman
Copy link

It seems that running with -com.apple.CoreData.ConcurrencyDebug 1 generates a crash when using saveVideo:toAlbum:completion: on iOS 8.3 and higher. I am still working through finding the exact issue but I suspect something related to PhotoKit.

The crash is [NSManagedObjectContext __Multithreading_Violation_AllThatIsLeftToUsIsHonor__] it is reproducible with both the device and simulator. Seems like it is trying to deallocate a batch request of some sort.

I will let you know if I determine the root cause. If anyone has seen this issue please let me know. This is debugging with Xcode 6.4

@joshuafeldman
Copy link
Author

Looks like there is an open radar for this http://www.openradar.me/20705256

@joshuafeldman
Copy link
Author

You could probably get around this issue if you use PhotoKit in iOS 8.0+

@Kjuly
Copy link
Owner

Kjuly commented Jul 9, 2015

Thx for the feedback, yeah, i suggest to use PhotoKit from iOS 8.0 or later. If u support previous versions as well, it's still better to import the PhotoKit framework for 8.0+. I'll take a look at it in my spare time :)

@jhollida24
Copy link

@joshuafeldman hey Josh, this is definitely not the right venue for this, but GitHub doesn't have private messaging and I couldn't find you on Twitter.

You filed an issue with the facebook sdk (which has since turned off issues on their project) that said you couldn't show the FBMessengerDialog on iPad. On iPhone it works fine. I have the same issue.

-[FBDialogs canPresentMessageDialogWithParams:] always returns NO

screen shot 2015-07-09 at 10 35 17 am

It appears you got a response from the facebook team, but I'm not able to see it. Do you remember what they told you?

Again, I apologize for this off topic post.

@joshuafeldman
Copy link
Author

@jhollida24 Facebook does not support the Message Dialog on iPad. There is currently no supported way to show it. Wish I had a more positive answer

@joshuafeldman
Copy link
Author

@jhollida24
Copy link

Darn. Thanks for the response.

@Kjuly
Copy link
Owner

Kjuly commented Jul 9, 2015

@jhollida24 ah, cool, thx for sharing :D

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

3 participants