Date & Time Preference crashes

Discussion in 'macOS' started by JadeButterfly, Oct 1, 2009.

  1. JadeButterfly macrumors newbie

    Joined:
    Oct 1, 2009
    #1
    Hello, I have a rather irritating problem that I hope someone can assist me with.

    Recently my date&time stopped displaying the "day of week".... so instead of "Thurs 12:00am" it shows "5 12:00am"

    But everytime I try going into Date & time via System Preferences or single-click the time and going to Date & time preferences, it crashes

    I've created a test account and there was no problem, so it's something with my current account.

    I've tried removing com.apple.systempreferences.plist but the problem still persist.

    I have included some of the crash report.

    Hope someone can help me with this! Thanks!!!

    Code:
    Process:         System Preferences [252]
    Path:            /Applications/System Preferences.app/Contents/MacOS/System Preferences
    Identifier:      com.apple.systempreferences
    Version:         7.0 (7.0)
    Build Info:      SystemPrefsApp-1750000~1
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [147]
    
    Date/Time:       2009-10-01 12:30:17.726 -0400
    OS Version:      Mac OS X 10.6 (10A432)
    Report Version:  6
    
    Interval Since Last Report:          34661 sec
    Crashes Since Last Report:           8
    Per-App Interval Since Last Report:  86 sec
    Per-App Crashes Since Last Report:   8
    Anonymous UUID:                      61C9EE58-A31E-43D6-B698-8CEE11D1FA08
    
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    
    Application Specific Information:
    objc[252]: garbage collection is ON
    
    Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
    0   com.apple.CoreFoundation      	0x00007fff8444ad30 CFStringGetCString + 144
    1   com.apple.CoreFoundation      	0x00007fff844db728 CFLocaleGetLanguageCharacterDirection + 56
    2   com.apple.AppKit              	0x00007fff86ed8bfc -[NSDatePickerCell(NSTextFieldWithStepperDatePickerInternal) _createSubfields] + 240
    3   com.apple.AppKit              	0x00007fff86ed8a10 -[NSDatePickerCell initWithCoder:] + 1763
    4   com.apple.Foundation          	0x00007fff8088bbd7 _decodeObjectBinary + 2548
    5   com.apple.Foundation          	0x00007fff8088b051 _decodeObject + 208
    6   com.apple.AppKit              	0x00007fff86cf8548 -[NSControl initWithCoder:] + 738
    7   com.apple.Foundation          	0x00007fff8088bbd7 _decodeObjectBinary + 2548
    8   com.apple.Foundation          	0x00007fff8088c8dd -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:] + 1229
    9   com.apple.Foundation          	0x00007fff8088ce1d -[NSArray(NSArray) initWithCoder:] + 462
    10  com.apple.Foundation          	0x00007fff8088bbd7 _decodeObjectBinary + 2548
    11  com.apple.Foundation          	0x00007fff8088b051 _decodeObject + 208
    12  com.apple.AppKit              	0x00007fff86cf86fb -[NSView initWithCoder:] + 362
    13  com.apple.Foundation          	0x00007fff8088bbd7 _decodeObjectBinary + 2548
    14  com.apple.Foundation          	0x00007fff8088b051 _decodeObject + 208
    15  com.apple.AppKit              	0x00007fff86cf93ea -[NSResponder initWithCoder:] + 98
    16  com.apple.AppKit              	0x00007fff86cf85de -[NSView initWithCoder:] + 77
    17  com.apple.AppKit              	0x00007fff86cf8297 -[NSControl initWithCoder:] + 49
    18  com.apple.AppKit              	0x00007fff86cf8255 -[NSButton initWithCoder:] + 39
    19  com.apple.Foundation          	0x00007fff8088bbd7 _decodeObjectBinary + 2548
    20  com.apple.Foundation          	0x00007fff8088b051 _decodeObject + 208
    21  com.apple.AppKit              	0x00007fff86c896a3 -[NSNibConnector initWithCoder:] + 445
    22  com.apple.AppKit              	0x00007fff86c894ce -[NSNibOutletConnector initWithCoder:] + 343
    23  com.apple.Foundation          	0x00007fff8088bbd7 _decodeObjectBinary + 2548
    24  com.apple.Foundation          	0x00007fff8088c8dd -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:] + 1229
    25  com.apple.Foundation          	0x00007fff8088ce1d -[NSArray(NSArray) initWithCoder:] + 462
    26  com.apple.Foundation          	0x00007fff8088bbd7 _decodeObjectBinary + 2548
    27  com.apple.Foundation          	0x00007fff8088b051 _decodeObject + 208
    28  com.apple.AppKit              	0x00007fff86c887e9 -[NSIBObjectData initWithCoder:] + 2046
    29  com.apple.Foundation          	0x00007fff8088bbd7 _decodeObjectBinary + 2548
    30  com.apple.Foundation          	0x00007fff8088b051 _decodeObject + 208
    31  com.apple.AppKit              	0x00007fff86c87ed9 loadNib + 146
    32  com.apple.AppKit              	0x00007fff86c87639 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 763
    33  ....frameworks.preferencepanes	0x00007fff87b1bbe6 -[NSPreferencePane loadMainView] + 158
    34  ....frameworks.preferencepanes	0x00007fff87b1d2fb -[NSPrefPaneBundle instantiatePrefPaneObject] + 435
    35  ....frameworks.preferencepanes	0x00007fff87b21559 -[NSPrefTabsController layoutForTabViewItem:] + 98
    36  ....frameworks.preferencepanes	0x00007fff87b21954 -[NSPrefTabsController setPrefs:lastSelected:] + 754
    37  com.apple.preference.datetime 	0x00000001154333f7 DTLog + 948
    38  ....frameworks.preferencepanes	0x00007fff87b1bc08 -[NSPreferencePane loadMainView] + 192
    39  ....frameworks.preferencepanes	0x00007fff87b1d2fb -[NSPrefPaneBundle instantiatePrefPaneObject] + 435
    40  com.apple.systempreferences   	0x000000010000807e 0x100000000 + 32894
    41  com.apple.systempreferences   	0x0000000100011bf0 0x100000000 + 72688
    42  com.apple.AppKit              	0x00007fff86ea363e -[NSApplication _doOpenFile:ok:tryTemp:] + 330
    43  com.apple.AppKit              	0x00007fff86ef4a0f -[NSApplication(NSAppleEventHandling) _handleAEOpenDocumentsForURLs:] + 766
    44  com.apple.AppKit              	0x00007fff86dc1689 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 217
    45  com.apple.Foundation          	0x00007fff808be1d2 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 360
    46  com.apple.Foundation          	0x00007fff808be002 _NSAppleEventManagerGenericHandler + 114
    47  com.apple.AE                  	0x00007fff82b3d176 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 162
    48  com.apple.AE                  	0x00007fff82b3d06f dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 32
    49  com.apple.AE                  	0x00007fff82b3cf79 aeProcessAppleEvent + 210
    50  com.apple.HIToolbox           	0x00007fff84631a7d AEProcessAppleEvent + 48
    51  com.apple.AppKit              	0x00007fff86cc6757 _DPSNextEvent + 1205
    52  com.apple.AppKit              	0x00007fff86cc5ed9 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    53  com.apple.AppKit              	0x00007fff86c8bb29 -[NSApplication run] + 395
    54  com.apple.AppKit              	0x00007fff86c84844 NSApplicationMain + 364
    55  com.apple.systempreferences   	0x0000000100001cf8 0x100000000 + 7416
    
    Thread 1:
    0   libSystem.B.dylib             	0x00007fff8774caa2 __workq_kernreturn + 10
    1   libSystem.B.dylib             	0x00007fff8774ceb4 _pthread_wqthread + 917
    2   libSystem.B.dylib             	0x00007fff8774cb1d start_wqthread + 13
    
    Thread 2:  Dispatch queue: com.apple.libdispatch-manager
    0   libSystem.B.dylib             	0x00007fff8774bc7e kevent + 10
    1   libSystem.B.dylib             	0x00007fff8774db55 _dispatch_mgr_invoke + 154
    2   libSystem.B.dylib             	0x00007fff8774d824 _dispatch_queue_invoke + 185
    3   libSystem.B.dylib             	0x00007fff8774d34e _dispatch_worker_thread2 + 244
    4   libSystem.B.dylib             	0x00007fff8774cc80 _pthread_wqthread + 353
    5   libSystem.B.dylib             	0x00007fff8774cb1d start_wqthread + 13
    
    Thread 3:
    0   libSystem.B.dylib             	0x00007fff8774caa2 __workq_kernreturn + 10
    1   libSystem.B.dylib             	0x00007fff8774ceb4 _pthread_wqthread + 917
    2   libSystem.B.dylib             	0x00007fff8774cb1d start_wqthread + 13
    
    Thread 4:
    0   libSystem.B.dylib             	0x00007fff8774caa2 __workq_kernreturn + 10
    1   libSystem.B.dylib             	0x00007fff8774ceb4 _pthread_wqthread + 917
    2   libSystem.B.dylib             	0x00007fff8774cb1d start_wqthread + 13
    
    Thread 5:  Dispatch queue: com.apple.preferences.writecache
    0   libSystem.B.dylib             	0x00007fff8773d4e6 read + 10
    1   com.apple.Foundation          	0x00007fff8088a01c _NSReadBytesFromFileWithExtendedAttributes + 713
    2   com.apple.Foundation          	0x00007fff80889d4e _NSReadBytesFromFile + 57
    3   com.apple.Foundation          	0x00007fff808a65e3 -[NSData(NSData) initWithContentsOfFile:] + 63
    4   com.apple.Foundation          	0x00007fff808a6542 +[NSDictionary(NSDictionary) newWithContentsOf:immutable:] + 128
    5   com.apple.Foundation          	0x00007fff808a64a8 +[NSDictionary(NSDictionary) dictionaryWithContentsOfFile:] + 45
    6   ....frameworks.preferencepanes	0x00007fff87b252e0 -[NSPrefPaneSearchCenter createSearchIndexForPrefPaneBundles:] + 1030
    7   ....frameworks.preferencepanes	0x00007fff87b1e566 __-[NSPrefPanesCenter _writeCache:synchronously:]_block_invoke_1 + 970
    8   libSystem.B.dylib             	0x00007fff8776edc7 _dispatch_call_block_and_release + 15
    9   libSystem.B.dylib             	0x00007fff8774d943 _dispatch_queue_drain + 251
    10  libSystem.B.dylib             	0x00007fff8774d7a4 _dispatch_queue_invoke + 57
    11  libSystem.B.dylib             	0x00007fff8774d34e _dispatch_worker_thread2 + 244
    12  libSystem.B.dylib             	0x00007fff8774cc80 _pthread_wqthread + 353
    13  libSystem.B.dylib             	0x00007fff8774cb1d start_wqthread + 13
    
    Thread 6:
    0   libSystem.B.dylib             	0x00007fff8774caa2 __workq_kernreturn + 10
    1   libSystem.B.dylib             	0x00007fff8774ceb4 _pthread_wqthread + 917
    2   libSystem.B.dylib             	0x00007fff8774cb1d start_wqthread + 13
    
     
  2. netnothing macrumors 68040

    netnothing

    Joined:
    Mar 13, 2007
    Location:
    NH
    #2
    I'm assuming other prefs panes work ok?

    You can try moving these prefs to the desktop (rather than delete them if they don't solve the issue):

    Try this one first:
    com.apple.menuextra.clock.plist

    Then maybe:
    com.apple.systemuiserver.plist


    Maybe one of those is bad?

    -Kevin
     
  3. Catfish_Man macrumors 68030

    Catfish_Man

    Joined:
    Sep 13, 2001
    Location:
    Portland, OR
    #3
    Code:
    0   com.apple.CoreFoundation      	0x00007fff8444ad30 CFStringGetCString + 144
    1   com.apple.CoreFoundation      	0x00007fff844db728 CFLocaleGetLanguageCharacterDirection + 56
    2   com.apple.AppKit              	0x00007fff86ed8bfc -[NSDatePickerCell(NSTextFieldWithStepperDatePickerInternal) _createSubfields]
    
    This bit suggests to me that it has something to do with your localization settings; either a custom date & time format that breaks it somehow, or some similar thing with language settings. Can think you think of anything along those lines that might be changed from default?
     
  4. JadeButterfly thread starter macrumors newbie

    Joined:
    Oct 1, 2009
    #4
    Tired both, no luck. Do I need to reboot (I didn't)?


    I don't recall doing anything special with the formatting, and too bad I can't check it right now... but my format has always been "Thurs 12:00AM".
    I noticed that in Finder, all my folders/files is now formatted something like this "1, 2009 9 27 22:23"
     
  5. Catfish_Man macrumors 68030

    Catfish_Man

    Joined:
    Sep 13, 2001
    Location:
    Portland, OR
    #5
    OK, definitely sounds like the date&time format got broken somehow. I would attempt to determine where that's stored (don't know offhand, sorry) and either remove or manually fix that file.
     
  6. JadeButterfly thread starter macrumors newbie

    Joined:
    Oct 1, 2009
    #6
    got it fixed.

    went to Sys Pref > Language & Text > Format > and chose Canada.

    Date&Time Preference works now too.

    its strange cuz i didn't even touch the formatting.
     
  7. jazbek macrumors newbie

    Joined:
    Nov 1, 2010
    #7
    THANK YOU for posting back with your fix. I was having the exact same problem and this fixed it for me as well.

    I did recently delete my ".GlobalPreferences.plist" (while trying to fix something else recently), and I think that may be what screwed up the Language & Text format, in case that sheds any light for anyone else.
     
  8. snksldr macrumors newbie

    Joined:
    Nov 14, 2010
    #8
    same here! thanks for posting the solution. i also recently deleted the .GlobalPreferences.plist file so that must have messed up date & time.

    thanks!!
     
  9. dvogelca macrumors newbie

    Joined:
    Apr 10, 2012
  10. mattheeuwsk macrumors newbie

    mattheeuwsk

    Joined:
    Jun 2, 2011
    Location:
    Belgium

Share This Page