12 Replies Latest reply: Jun 27, 2011 10:44 PM by Wout Mertens
jtatum Level 1 (0 points)
I'm a developer and have core dumps enabled. Noticed my system was running slowly and ran out of HDD space. Dug for a moment and found /cores had 100GB of files. Cleaned it out, and now... watching it get repopulated 300MB at a time. storeagent seems to be crashing on startup. It's not raising the error report dialog. The crash is in CFRelease.

How do I stop it from restarting?

13"Macbook Pro (Spring 2010), Mac OS X (10.6.7)
  • Carolyn Samit Level 10 (103,365 points)

    Not sure how to stop this but you can provide feedback to Apple here.

  • Linc Davis Level 10 (192,719 points)
    sudo launchctl unload -w /System/Library/LaunchAgents/com.apple.storeagent.plist

    This will of course disable the Mac App Store. What are you getting in the system log?
  • jtatum Level 1 (0 points)
    Went ahead and reported a bug to the Apple bug reporter. After rebooting, I'm not seeing the crashes. Not exactly trying to reproduce them either at the moment.
  • jtatum Level 1 (0 points)
    @Linc - Thanks for the command line. System log contains a few hundred messages like these:

    Mar 30 12:52:13 jtatum-mbp com.apple.launchd.peruser.501[232] (com.apple.storeagent[4334]): Job appears to have crashed: Trace/BPT trap
    Mar 30 12:52:23 jtatum-mbp ReportCrash[4333]: Saved crash report for storeagent[4334] version ??? (???) to /Users/jtatum/Library/Logs/DiagnosticReports/storeagent2011-03-30-125222jtatum-mbp.crash
    Mar 30 12:53:02 jtatum-mbp com.apple.launchd.peruser.501[232] (com.apple.storeagent[4336]): Job appears to have crashed: Trace/BPT trap
    Mar 30 12:53:14 jtatum-mbp ReportCrash[4338]: Saved crash report for storeagent[4336] version ??? (???) to /Users/jtatum/Library/Logs/DiagnosticReports/storeagent2011-03-30-125313jtatum-mbp.crash

    and occasionally the helpful:

    Mar 30 12:20:43 jtatum-mbp com.apple.launchd.peruser.501[232] (com.apple.storeagent): Throttling respawn: Will start in 2 seconds

    The largest throttle I see is 10 seconds. Not terribly helpful, the system was basically unusable when this was going on.
  • Linc Davis Level 10 (192,719 points)
    I can't tell from that why it was crashing.
  • jtatum Level 1 (0 points)
    I have core dumps and crash reporter logs It crashed in CFRelease, perhaps CFRelease on a null but I didn't confirm that.
  • Wout Mertens Level 1 (0 points)

    I have the same problem, also crashing in CFRelease. Rebooting doesn't help.

  • Wout Mertens Level 1 (0 points)

    Found the issue. When I stop using my VPN connection, it works. It seems it doesn't like my networking setup.

  • TommyWillB Level 1 (10 points)

    Oh... VPN... Yeah, that makes sense.


    But I've been logged onto the same VPN for 3 days straight... Why did it only run into the problem this morning?


    And can't they code the thing so that it behaves better than crashing/relaunching/re-crashing continuously?

  • Wout Mertens Level 1 (0 points)

    It is only a problem when the store tries to connect - did you open the application during those three days? I presume it tries to look for updates once a week or so.


    Anyway I opened a bugreport on bugreport.apple.com and if you do the same they'll be more likely to fix it.

  • Cd@ Level 1 (0 points)

    You are right !!!


    I just stop my Cisco VPN Client, and App Store is working.

    Restart it. And storeagent and App Store is crashing on launch.


    Storeagent seems to have incompatibility with VPN or perhaps route table created by VPN Client.

  • Wout Mertens Level 1 (0 points)

    Fixed in 10.6.8