CrashReporter and spindump in Leopard

Discussion in 'Mac OS X System & Mac Software' started by Mikuro, Mar 3, 2008.

  1. Mikuro

    Mikuro
    uix_expand uix_collapse
    Crotchety UI Nitpicker

    Joined:
    Mar 21, 2005
    Messages:
    2,849
    Likes Received:
    7
    Ever since I upgraded to Leopard, I've noticed something strange every time an application crashes. Whereas in Tiger the application would simply disappear, in Leopard I get a spinning beachball, my CPU usage soars, and my disk thrashes. This goes on for about 30 seconds, and THEN the application disappears.

    When I take a look in Activity Monitor to see what's going on, I see two processes using large amounts of CPU time: CrashReporter and spindump. I believe CrashReporter existed in Tiger, but I don't recall seeing spindump before.

    I went into Console to check the logs, and nothing seems out of place. There were some crash reports there, same as in Tiger. Spindump left a message saying "/usr/sbin/spindump[22285] process 18699 is being monitored" in the system log (18699 being the ID of the crashing program).

    This delay and resource hogging is much more annoying than the crash itself. Is there any way to disable these processes?

    I have already set OS X not to alert me when application crash (using TinkerTool). This did not affect CrashReporter's or spindump's performance, though.

    And has anyone else noticed this problem?
     
  2. Mikuro

    Mikuro
    uix_expand uix_collapse
    Crotchety UI Nitpicker

    Joined:
    Mar 21, 2005
    Messages:
    2,849
    Likes Received:
    7
    I still haven't found a real solution. I also haven't found anyone else with the same problem, which makes me wonder what the heck is going on with my system. :confused:

    It's really driving me nuts right now, while debugging apps I'm writing in XCode. When they crash, it takes several minutes of full CPU usage until they really disappear from the Dock. If I keep going, I wind up with two or three instances in the Dock crashing at once!

    For now I'm going into Terminal and entering this command:
    Code:
    sudo killall -c "spindump" && sudo killall -c "ReportCrash"
    Which, as you may have guessed, instantly kills the two offending system processes, which in turn lets the actual crashing applications finally disappear. Ahhh, sweet relief. It's still annoying, but at least it's not killing my productivity anymore.

    I guess the only thing left to do is file a bug report to Apple.
     
  3. John Sawyer

    John Sawyer
    uix_expand uix_collapse
    Registered

    Joined:
    May 21, 2005
    Messages:
    3
    Likes Received:
    0
    I just saw the same spindump process, in Activity Monitor, after I used a utility ("Pause", part of the "Toolbar Extras" suite) to pause the activity of the Safari process, since Safari keeps exhibiting those wonderful complete stalls on my Mac, several times a day, and I wanted to just halt it rather than quit from it altogether since I have several windows open in Safari I'd rather not lose, or have to tediously bookmark. As soon as I paused Safari (an option that would be nice to have in Activity Monitor), spindump appeared in the list of processes, and disappeared after about a half-minute or so, same as your experience time-wise. So, you don't have to outright force-quit a process to get spindump to start up. Hope that helps to some degree.
     
  4. elvey

    elvey
    uix_expand uix_collapse
    Registered

    Joined:
    Aug 4, 2008
    Messages:
    8
    Likes Received:
    0
    I've seen Force Quit (Apple-option-esc) repeatably cause spindump to run - that is, just opening Force Quit, without actually force-quitting anything!
     
  5. freereg

    freereg
    uix_expand uix_collapse
    Registered

    Joined:
    Feb 27, 2008
    Messages:
    26
    Likes Received:
    0
    I just noticed this process. I was running XCode, and it hung for a bit while trying to open the preferences window. Spindump popped up and started hogging CPU and XCode was marked as Not Respoding. About half a minute later, as you said, it disappeared. XCode, however, recovered and displayed the window I wanted.
     
  6. CharlesFarley

    CharlesFarley
    uix_expand uix_collapse
    Registered

    Joined:
    Mar 31, 2009
    Messages:
    2
    Likes Received:
    0
    Did CoolIris Ransack my system? My Activity Monitor Shows these Open Files and Ports for PicLens after starting to register - but then quitting the registration process:

    /
    /Library/InputManagers/Cooliris/Cooliris.bundle/Contents/MacOS/PicLensHelper
    /Library/InputManagers/Cooliris/Cooliris.bundle/Contents/MacOS/libpiclenshelper.dylib
    /private/var/folders/BE/BER6UZHXGmeXjyqzpSQSDE+++TI/-Tmp-/boost_interprocess/WakeupHelperMutex
    /private/var/folders/BE/BER6UZHXGmeXjyqzpSQSDE+++TI/-Tmp-/boost_interprocess/WakeupBridgeMutex
    /private/var/folders/BE/BER6UZHXGmeXjyqzpSQSDE+++TI/-Tmp-/boost_interprocess/WakeupHelperCondition
    /private/var/folders/BE/BER6UZHXGmeXjyqzpSQSDE+++TI/-Tmp-/boost_interprocess/WakeupBridgeCondition
    /System/Library/Frameworks/CoreAudioKit.framework/Versions/A/CoreAudioKit
    /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/HIToolbox.rsrc
    /private/var/folders/BE/BER6UZHXGmeXjyqzpSQSDE+++TI/-Caches-/com.apple.ATS/annex_aux
    /private/var/folders/BE/BER6UZHXGmeXjyqzpSQSDE+++TI/-Tmp-/boost_interprocess/Bridge2HelperMessageQueue
    /private/var/folders/BE/BER6UZHXGmeXjyqzpSQSDE+++TI/-Tmp-/boost_interprocess/Helper2BridgeMessageQueue
    /System/Library/Frameworks/QuickTime.framework/Versions/A/Resources/QuickTime.rsrc
    /private/var/folders/BE/BER6UZHXGmeXjyqzpSQSDE+++TI/-Caches-/com.apple.IntlDataCache.le.sbdl
    /Library/Internet Plug-Ins/Flash Player.plugin/Contents/MacOS/Flash Player
    /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/English.lproj/Localized.rsrc
    /System/Library/Frameworks/QuickTime.framework/Versions/A/Resources/English.lproj/Localized.rsrc
    /private/var/folders/BE/BER6UZHXGmeXjyqzpSQSDE+++TI/-Tmp-/boost_interprocess/SharedBufferHttpData3PushSemaphore
    /private/var/folders/BE/BER6UZHXGmeXjyqzpSQSDE+++TI/-Tmp-/boost_interprocess/SharedBufferHttpData3PullSemaphore
    /private/var/folders/BE/BER6UZHXGmeXjyqzpSQSDE+++TI/-Tmp-/boost_interprocess/SharedSegmentHttpInfo3
    /System/Library/Keyboard Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/AppleKeyboardLayouts-L.dat
    /System/Library/CoreServices/Encodings/libSimplifiedChineseConverter.dylib
    /System/Library/CoreServices/Encodings/libTraditionalChineseConverter.dylib
    /Library/Fonts/Verdana.ttf
    /private/var/folders/BE/BER6UZHXGmeXjyqzpSQSDE+++TI/-Tmp-/boost_interprocess/SharedSegmentHttpData3
    /System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn
    /Library/Caches/com.apple.LaunchServices-023501.csstore
    /Library/Fonts/Arial.ttf
    /System/Library/Fonts/Times.dfont
    /usr/share/icu/icudt36l.dat
    /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn
    /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
    /usr/lib/dyld
    /private/var/db/dyld/dyld_shared_cache_i386
    /System/Library/CoreServices/Encodings/libJapaneseConverter.dylib
    /System/Library/CoreServices/Encodings/libKoreanConverter.dylib
    /dev/null


    /Users/ChuckUFarley/Library/Safari/WebpageIcons.db
    /private/var/folders/BE/BER6UZHXGmeXjyqzpSQSDE+++TI/-Caches-/com.apple.Safari/Cache.db
    /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/HIToolbox.rsrc
    /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLByteCodes.i386.bc
    /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/Extras2.rsrc
    /Users/ChuckUFarley/Library/Application Support/PithHelmet/com.apple.Safari/PithHelmet.log
    /private/var/folders/BE/BER6UZHXGmeXjyqzpSQSDE+++TI/-Caches-/com.apple.Safari/
    /Users/ChuckUFarley/Library/PubSub/Database/Database.sqlite3
    /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/English.lproj/Localized.rsrc
    /Library/Internet Plug-Ins/Flash Player.plugin/Contents/Resources/Flash Player.rsrc
    ->0x5270d48
    ->0x52705d8
    /Library/Internet Plug-Ins/Flash Player.plugin/Contents/Resources/English.lproj/Localized.rsrc
    /Users/ChuckUFarley/Library/Safari/HistoryIndex.sk
    /System/Library/Frameworks/CoreFoundation.framework/Versions/A/Resources/tokruleLE.data
    /System/Library/Frameworks/QuickTime.framework/Versions/A/Resources/QuickTime.rsrc
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/Resources/QD.rsrc
    /System/Library/Frameworks/QuickTime.framework/Versions/A/Resources/English.lproj/Localized.rsrc
    /usr/share/langid/langid.inv
    /Users/ChuckUFarley/Library/Application Support/AddressBook/AddressBook-v22.abcddb
    /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/HIToolbox.rsrc
    /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/English.lproj/Localized.rsrc
    /Library/Internet Plug-Ins/Flash Player.plugin/Contents/Resources/Flash Player.rsrc
    /Library/Internet Plug-Ins/Flash Player.plugin/Contents/Resources/English.lproj/Localized.rsrc
    /Library/Internet Plug-Ins/Flash Player.plugin/Contents/Resources/Flash Player.rsrc
    /Library/Internet Plug-Ins/Flash Player.plugin/Contents/Resources/English.lproj/Localized.rsrc
    /System/Library/Frameworks/QuickTime.framework/Versions/A/Resources/QuickTime.rsrc
    /System/Library/Frameworks/QuickTime.framework/Versions/A/Resources/English.lproj/Localized.rsrc
    /private/var/folders/BE/BER6UZHXGmeXjyqzpSQSDE+++TI/TemporaryItems/FlashTmp0
    /dev/random
    /dev/random
    MacromediaSemaphoreDig
    /Network
    ->0x47f9880

    Moreover it shows thousands of system calls and thousands of messages in and out. Why does it go into the SafeBrowsing.db? and Pithhelmet?

    Is this creepy - or am I being paranoid?
     
  7. CharlesFarley

    CharlesFarley
    uix_expand uix_collapse
    Registered

    Joined:
    Mar 31, 2009
    Messages:
    2
    Likes Received:
    0
    BTW spindump started me looking:

    Mar 31 00:33:37 charles-farleys-imac /usr/sbin/spindump[561]: process 560 is being monitored
    Mar 31 00:35:24 charles-farleys-imac /usr/sbin/spindump[561]: call to sysctl(kern.translate, 652) failed
    Mar 31 00:35:24 charles-farleys-imac /usr/sbin/spindump[561]: task_for_pid failed for pid 652: 5
    Mar 31 00:37:18 charles-farleys-imac /usr/sbin/spindump[561]: process 560 is being monitored
    Mar 31 00:41:36 charles-farleys-imac /usr/sbin/spindump[1015]: process 560 is being monitored
    Mar 31 00:42:06 charles-farleys-imac helpdatad[1048]: port 'com.apple.helpdata' created
    Mar 31 00:42:38 charles-farleys-imac Help Viewer[1064]: Error trying to read /Users/ChuckUFarley/Library/Caches/com.apple.helpui/Mac Help/Contents/Resources/English.lproj/English.lproj.helpindex.temporary: *** End of archive encountered prematurely at 735644
    Mar 31 00:42:38 charles-farleys-imac Help Viewer[1064]: Error trying to read /Users/ChuckUFarley/Library/Caches/com.apple.helpui/Mac Help/Contents/Resources/English.lproj/English.lproj.helpindex.temporary: *** -initForReadingWithData: nil argument
    Mar 31 00:43:08: --- last message repeated 1 time ---
    Mar 31 00:44:20 charles-farleys-imac /usr/sbin/spindump[1015]: call to sysctl(kern.translate, 1190) failed
    Mar 31 00:44:20 charles-farleys-imac /usr/sbin/spindump[1015]: task_for_pid failed for pid 1190: 5
    Mar 31 00:48:26 charles-farleys-imac /usr/sbin/spindump[1441]: process 560 is being monitored
    Mar 31 00:55:14 charles-farleys-imac /usr/sbin/spindump[1854]: process 560 is being monitored
     

Share This Page