Code Monkey home page Code Monkey logo

Comments (11)

antigp avatar antigp commented on August 30, 2024

Have the same crash.

from rhaddressbook.

alexrecarey avatar alexrecarey commented on August 30, 2024

Same problem here

from rhaddressbook.

idokleinman avatar idokleinman commented on August 30, 2024

Happens to me after I do a
[person setImage:image];
and then
[addressBook save];

crash is on
-(BOOL)hasUnsavedChanges{
in RHAddressBook.m

any progress with that?

from rhaddressbook.

heardrwt avatar heardrwt commented on August 30, 2024

Are you using ARC? CocoaPods? What version/s of iOS? What library Version? Device or Simulator?
All of these things would be useful to enable further debugging.
Full crash log would also be useful (with all threads).

from rhaddressbook.

pranavss11 avatar pranavss11 commented on August 30, 2024

ARC - Yes
CocoaPods - Yes
iOS - 7.1.1
Library Version - Using RHAddressBook (1.1.1)
Crash on Device.
Thanks!

Attached from Crashlytics:
screen shot 2014-06-13 at 3 46 36 pm
screen shot 2014-06-13 at 3 46 52 pm
screen shot 2014-06-13 at 3 47 04 pm

from rhaddressbook.

alexrecarey avatar alexrecarey commented on August 30, 2024

I see that there is a new version (1.2.0) of RHAddressBook, and some changes have been made to the hasUnsavedChanges and revert methods.

Do these fix this issue? Would you mind pushing the version to 1.2.0 to CocoaPods?

from rhaddressbook.

heardrwt avatar heardrwt commented on August 30, 2024

Unfortunately i've had a report that the changes didn't actually fix the issue.
I've never actually been able to reproduce the crash myself, so debugging the issue is made harder than would normally be the case..

Any chance you could put together a sample project that causes the crash to occur?

Happy to push to cocoapods, however ill hold off until i know the crash is fixed..

from rhaddressbook.

pranavss11 avatar pranavss11 commented on August 30, 2024

In my app, I couldn't get it to reproduce consistently. The way I fixed it
was to create a sharedInstance of RHAddressBook for the app.

On Fri, Jul 25, 2014 at 11:55 AM, Richard Heard [email protected]
wrote:

Unfortunately i've had a report that the changes didn't actually fix the
issue.
I've never actually been able to reproduce the crash myself, so debugging
the issue is made harder than would normally be the case..

Any chance you could put together a sample project that causes the crash
to occur?

Happy to push to cocoapods, however ill hold off until i know the crash is
fixed..


Reply to this email directly or view it on GitHub
#56 (comment)
.

-x

from rhaddressbook.

heardrwt avatar heardrwt commented on August 30, 2024

Hmmm... interesting.. I wonder if the last strong reference to the actual addressbook is being released.. Perhaps on receipt of a change notification..

from rhaddressbook.

alexrecarey avatar alexrecarey commented on August 30, 2024

In my app I have also not been able to reproduce it consistently. Will try out the sharedInstance fix and report back. Will also try to find out what triggers it. Just the thought of going back to using straight C with ABAddressBook book sends shivers down my spine 😰

from rhaddressbook.

johnryan avatar johnryan commented on August 30, 2024

@heardrwt I was able to find fairly reproducible steps for this that might help. Basically if I keep going to the settings app and toggle icloud contacts off->on (and delete from the phone) then come back to my app, it will frequently crash. This can be caught in the zombies tool using the simulator. Happy to give any more information. Thanks!

from rhaddressbook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.