Benches macOS

3

keychain freezes my Mac!

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hello folks!

Whenever I update a program that stores info at Keychain, I got a prompt asking me if I allow the program to update keychain to the new version, with the options "allow once", "always allow", "deny". When I choose Allow, it will freeze the app, and sometimes the whole system, leading me to a cold start.

Is there a way to fix this? It's so annoying - sometimes I have to delete the password items of that particular application, loosing all passwords it stored, just to use it again!

3 replies

Sign in or join Beachball Help to reply.

  1. 0

    Francis Augusto Medeiros

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    This problem persists on Leopard. I've checked at the Console, and dozens of these errors were showing up right when I got the freeze of the dialog asking permission to access my keychain:

    Everytime I update Adium on my Macbook Pro, I get a freeze when the Keychain dialog window shows up (asking me if I allow it to access the keychain as it is a newer app).

    At the console, I see these errors:

    06/11/07 19:06:34 securityd[21] securityd(21,0xb0081000) malloc:
    * mmap(size=16777216) failed (error code=12)
    * error: can't allocate region
    * set a breakpoint in malloc
    errorbreak to debug

    Is there a way to fix it? It happened since some macos versions, and still happening under Leopard.

  2. 0

    huevosgrandes

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi.. I get almost the same thing. For me it happens when programs are updated, but also when online and safari or firefox wants access to my keychain. One main difference, is when this happens, there is not the button to always allow, just allow and deny. If I press allow then the window freezes and within 2min my harddrive is full and the computer freezes!! The only beta program I'm using is omni focus. This problem followed my computer into leopard as well. I haven't looked at the console yet. But this problem is really getting me down... and really ***** when people come to see the new OS and my computer freezes....I tried removing my keychain in library, but the problem came back.

  3. 0

    Ted Harper

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    When it happens to you, look in Activity Monitor, specifically at Real and Virtual memory, for the securityd process. If you find it is securityd which has taken 1-2Gbytes of memory (and hence your Mac is thrashing itself to page that amount of memory on/off your hard disc), follow what this blog post says:
    http://unsanity.org/archives/security/love_tropicana.php

    Bottom line (from that excellent posting): If the file that OS X uses to decide whether a particular version of an app is the one that has already been allow Keychain access or not is corrupt, then securityd goes into a loop and eats all your memory.

    If you are seeing that symptom and effect, do the following from a Terminal prompt and then restart, and hopefully all will be good afterwards:

    sudo mv /var/db/CodeEquivalenceDatabase /var/db/CodeEquivalenceDatabase.old

    NB: The same file corruption and resulting securityd looping can also cause an OS X update to stop at 99% or 100% completed on the Copying Files phase, which isn't good.

    ted.h.