3 Replies Latest reply: Apr 26, 2012 12:30 PM by Ralph Johns (UK)
rwhiteic Level 1 Level 1 (0 points)

I am continually getting crashes with the Messages Beta. My issue is exactly the same as https://discussions.apple.com/message/17821123

 

By adding a new contact to a Jabber / Gmail account Messages immediately crashes and will continue to crash every time it is opened.

 

I have uninstalled and re-installed, rebooted and deleted the following files:

 

~/Library/Preferences/com.apple.iChat.StatusMessages.plist

~/Library/Preferences/com.apple.iChat.StatusMessages.plist.lockfile

~/Library/Preferences/com.apple.iChat.plist

~/Library/Preferences/com.apple.iChat.plist.lockfile

~/Library/Messages/chat.db

~/Library/Messages/chat.db-shm

~/Library/Messages/chat.db-wal

~/Library/Caches/com.apple.Messages

~/Library/Saved Application Saved\ Application\ State/com.apple.iChat.savedState

~/Library/Caches/com.apple.iChat

~/Library/Preferences/ByHost/com.apple.iChat.*

 

Every time I open messages the settings are still there and it continues to crash. Does anyone know how to fully reset the settings of Messages Beta?


Mac OS X (10.7.3), Messages Beta
  • 1. Re: Reset Settings for iMessages Beta
    Ralph Johns (UK) Level 9 Level 9 (67,505 points)

    Hi,

     

    I would have started with just com.apple.ichat.Jabber.plist

    The main version of this not any in the By Hosts folder with numbers after them.

     

    Status messages woul not so anything it only holds the Saved Status Messages you have created and elected to Save.

     

    GO to the Applications Folder.

    Highlight Messages

    Use the CMD and i keys together (Get Info)

    IN the panel that shows up check that it is not set to run in 32 bit mode.  (If it is running in 64 bit mode and has been all along then the check box left over from Lion may not even show up)

     

     

     

     

     



    9:54 PM      Wednesday; April 25, 2012


    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

     

      iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),

    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • 2. Re: Reset Settings for iMessages Beta
    rwhiteic Level 1 Level 1 (0 points)

    The 32bit mode thing is not the issue. I read that on lots of other posts. No idea how people get that checked.

     

    I figured out the issue. I posted the crash report below as refernce in case any one elese has the same issue.

     

    Run this in terminal

     

    killall imagent; rm ~/Library/Preferences/com.apple.iChat.*;
    

     

    I noticed that the agent will re-open itself every time it is closed and I have a feeling that it must cache and re-populate the settings if you simply delete them.

     

    NOTE: This does not delete the settings for iChat. All of my accounts are still there. Simply the open chats are gone.

     

    Here is the crash report

     

     

    Process:         iChat [4732]
    Path:            /Applications/iChat.app/Contents/MacOS/iChat
    Identifier:      com.apple.iChat
    Version:         6.1 (2051)
    Build Info:      iChat-2058000000000000~3
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [113]
    
    
    Date/Time:       2012-04-25 21:13:48.200 -0400
    OS Version:      Mac OS X 10.7.3 (11D50d)
    Report Version:  9
    
    
    Interval Since Last Report:          64622 sec
    Crashes Since Last Report:           64
    Per-App Interval Since Last Report:  395 sec
    Per-App Crashes Since Last Report:   64
    Anonymous UUID:                      00AFF941-7278-4F6B-B058-230480C7D97C
    
    
    Crashed Thread:  5  Dispatch queue: HistorySearchLockQueue
    
    
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000150
    
    
    VM Regions Near 0x150:
    --> 
        __TEXT                 0000000107a99000-0000000107d72000 [ 2916K] r-x/rwx SM=COW  /Applications/iChat.app/Contents/MacOS/iChat
    
    
    Application Specific Information:
    objc[4732]: garbage collection is OFF
    
    
    Thread 0:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib                  0x00007fff92c6e67a mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x00007fff92c6dd71 mach_msg + 73
    2   com.apple.CoreGraphics                  0x00007fff8716333e _CGSSynchronizeWindowBackingStore + 148
    3   com.apple.CoreGraphics                  0x00007fff8712114f _CGSLockWindow + 4657
    4   com.apple.CoreGraphics                  0x00007fff8711fc17 CGSDeviceLock + 307
    5   libRIP.A.dylib                          0x00007fff9225a4dc ripd_Lock + 46
    6   libRIP.A.dylib                          0x00007fff92259f61 ripl_BltShape + 498
    7   libRIP.A.dylib                          0x00007fff922576e7 ripc_Render + 362
    8   libRIP.A.dylib                          0x00007fff92253fee ripc_DrawRects + 660
    9   com.apple.CoreGraphics                  0x00007fff8711e09f CGContextFillRects + 135
    10  com.apple.AppKit                        0x00007fff89e3bb59 NSRectFillUsingOperation + 309
    11  com.apple.AppKit                        0x00007fff89ecf377 -[NSTableView drawBackgroundInClipRect:] + 806
    12  com.apple.iChat                         0x0000000107b9356d 0x107a99000 + 1025389
    13  com.apple.AppKit                        0x00007fff89f5c731 -[NSTableView _viewBasedDrawRect:] + 64
    14  com.apple.AppKit                        0x00007fff89ece50f -[NSTableView drawRect:] + 114
    15  com.apple.AppKit                        0x00007fff89e35abe -[NSView _drawRect:clip:] + 3758
    16  com.apple.AppKit                        0x00007fff89e631eb -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1583
    17  com.apple.AppKit                        0x00007fff89e63617 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2651
    18  com.apple.AppKit                        0x00007fff89e33099 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 1032
    19  com.apple.AppKit                        0x00007fff89e3434e -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5821
    20  com.apple.AppKit                        0x00007fff89e3434e -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5821
    21  com.apple.AppKit                        0x00007fff89e3434e -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5821
    22  com.apple.AppKit                        0x00007fff89e3434e -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5821
    23  com.apple.AppKit                        0x00007fff89e3434e -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5821
    24  com.apple.AppKit                        0x00007fff89e32593 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 270
    25  com.apple.AppKit                        0x00007fff89e2d9af -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 4755
    26  com.apple.AppKit                        0x00007fff89e26429 -[NSView displayIfNeeded] + 1676
    27  com.apple.AppKit                        0x00007fff89e221d2 -[NSAnimationManager animationTimerFired:] + 2593
    28  com.apple.Foundation                    0x00007fff8c40af64 __NSFireTimer + 102
    29  com.apple.CoreFoundation                0x00007fff8d554c24 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
    30  com.apple.CoreFoundation                0x00007fff8d554776 __CFRunLoopDoTimer + 534
    31  com.apple.CoreFoundation                0x00007fff8d535001 __CFRunLoopRun + 1617
    32  com.apple.CoreFoundation                0x00007fff8d534676 CFRunLoopRunSpecific + 230
    33  com.apple.HIToolbox                     0x00007fff8c70631f RunCurrentEventLoopInMode + 277
    34  com.apple.HIToolbox                     0x00007fff8c70d5c9 ReceiveNextEventCommon + 355
    35  com.apple.HIToolbox                     0x00007fff8c70d456 BlockUntilNextEventMatchingListInMode + 62
    36  com.apple.AppKit                        0x00007fff89de9f5d _DPSNextEvent + 659
    37  com.apple.AppKit                        0x00007fff89de9861 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
    38  com.apple.AppKit                        0x00007fff89de619d -[NSApplication run] + 470
    39  com.apple.AppKit                        0x00007fff8a064b88 NSApplicationMain + 867
    40  com.apple.iChat                         0x0000000107a9bc74 0x107a99000 + 11380
    
    
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib                  0x00007fff92c707e6 kevent + 10
    1   libdispatch.dylib                       0x00007fff8ec405be _dispatch_mgr_invoke + 923
    2   libdispatch.dylib                       0x00007fff8ec3f14e _dispatch_mgr_thread + 54
    
    
    Thread 2:: Dispatch queue: com.apple.root.default-priority
    0   libsystem_kernel.dylib                  0x00007fff92c6e6ce semaphore_timedwait_trap + 10
    1   libdispatch.dylib                       0x00007fff8ec420a4 _dispatch_semaphore_wait_slow + 211
    2   com.apple.viceroy.framework             0x00007fff8e5419f0 __getCommNATAddresses_block_invoke_1 + 159
    3   libdispatch.dylib                       0x00007fff8ec3e8ba _dispatch_call_block_and_release + 18
    4   libdispatch.dylib                       0x00007fff8ec3f799 _dispatch_worker_thread2 + 255
    5   libsystem_c.dylib                       0x00007fff8ffdb3da _pthread_wqthread + 316
    6   libsystem_c.dylib                       0x00007fff8ffdcb85 start_wqthread + 13
    
    
    Thread 3:
    0   libsystem_kernel.dylib                  0x00007fff92c70192 __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x00007fff8ffdb594 _pthread_wqthread + 758
    2   libsystem_c.dylib                       0x00007fff8ffdcb85 start_wqthread + 13
    
    
    Thread 4:
    0   libsystem_kernel.dylib                  0x00007fff92c70192 __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x00007fff8ffdb594 _pthread_wqthread + 758
    2   libsystem_c.dylib                       0x00007fff8ffdcb85 start_wqthread + 13
    
    
    Thread 5 Crashed:: Dispatch queue: HistorySearchLockQueue
    0   com.apple.Metadata                      0x00007fff8e091342 _MDQuerySortDatesDescending_internal + 37
    1   com.apple.iChat                         0x0000000107c72d39 0x107a99000 + 1940793
    2   com.apple.iChat                         0x0000000107c9d503 0x107a99000 + 2114819
    3   libdispatch.dylib                       0x00007fff8ec40aad _dispatch_barrier_sync_f_invoke + 33
    4   com.apple.iChat                         0x0000000107c9d301 0x107a99000 + 2114305
    5   com.apple.iChat                         0x0000000107c9d7eb 0x107a99000 + 2115563
    6   com.apple.iChat                         0x0000000107c1f939 0x107a99000 + 1599801
    7   com.apple.iChat                         0x0000000107c2072b 0x107a99000 + 1603371
    8   com.apple.Foundation                    0x00007fff8c434b05 -[NSBlockOperation main] + 116
    9   com.apple.Foundation                    0x00007fff8c3fb6d8 -[__NSOperationInternal start] + 705
    10  com.apple.Foundation                    0x00007fff8c40e936 ____NSOQSchedule_block_invoke_2 + 124
    11  libdispatch.dylib                       0x00007fff8ec3e8ba _dispatch_call_block_and_release + 18
    12  libdispatch.dylib                       0x00007fff8ec3f799 _dispatch_worker_thread2 + 255
    13  libsystem_c.dylib                       0x00007fff8ffdb3da _pthread_wqthread + 316
    14  libsystem_c.dylib                       0x00007fff8ffdcb85 start_wqthread + 13
    
    
    Thread 6:
    0   libsystem_kernel.dylib                  0x00007fff92c70192 __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x00007fff8ffdb594 _pthread_wqthread + 758
    2   libsystem_c.dylib                       0x00007fff8ffdcb85 start_wqthread + 13
    
    
    Thread 7:: com.apple.NSURLConnectionLoader
    0   libsystem_kernel.dylib                  0x00007fff92c6e67a mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x00007fff92c6dd71 mach_msg + 73
    2   com.apple.CoreFoundation                0x00007fff8d52c6fc __CFRunLoopServiceMachPort + 188
    3   com.apple.CoreFoundation                0x00007fff8d534e64 __CFRunLoopRun + 1204
    4   com.apple.CoreFoundation                0x00007fff8d534676 CFRunLoopRunSpecific + 230
    5   com.apple.Foundation                    0x00007fff8c418ffb +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 335
    6   com.apple.Foundation                    0x00007fff8c40d74e -[NSThread main] + 68
    7   com.apple.Foundation                    0x00007fff8c40d6c6 __NSThread__main__ + 1575
    8   libsystem_c.dylib                       0x00007fff8ffd98bf _pthread_start + 335
    9   libsystem_c.dylib                       0x00007fff8ffdcb75 thread_start + 13
    
    
    Thread 8:
    0   libsystem_kernel.dylib                  0x00007fff92c6e67a mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x00007fff92c6dd71 mach_msg + 73
    2   com.apple.CoreFoundation                0x00007fff8d52c6fc __CFRunLoopServiceMachPort + 188
    3   com.apple.CoreFoundation                0x00007fff8d534e64 __CFRunLoopRun + 1204
    4   com.apple.CoreFoundation                0x00007fff8d534676 CFRunLoopRunSpecific + 230
    5   com.apple.CoreMediaIO                   0x00007fff8e192541 CMIO::DAL::RunLoop::OwnThread(void*) + 159
    6   com.apple.CoreMediaIO                   0x00007fff8e1886b2 CAPThread::Entry(CAPThread*) + 98
    7   libsystem_c.dylib                       0x00007fff8ffd98bf _pthread_start + 335
    8   libsystem_c.dylib                       0x00007fff8ffdcb75 thread_start + 13
    
    
    Thread 9:
    0   libsystem_kernel.dylib                  0x00007fff92c6fdf2 __select + 10
    1   com.apple.viceroy.framework             0x00007fff8e5618ac VTPRecvProc + 691
    2   libsystem_c.dylib                       0x00007fff8ffd98bf _pthread_start + 335
    3   libsystem_c.dylib                       0x00007fff8ffdcb75 thread_start + 13
    
    
    Thread 10:
    0   libsystem_kernel.dylib                  0x00007fff92c6fbca __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x00007fff8ffdd2a6 _pthread_cond_wait + 890
    2   com.apple.viceroy.framework             0x00007fff8e55fa34 VTP_Select + 997
    3   com.apple.viceroy.framework             0x00007fff8e4b2895 TPRecvProc + 418
    4   libsystem_c.dylib                       0x00007fff8ffd98bf _pthread_start + 335
    5   libsystem_c.dylib                       0x00007fff8ffdcb75 thread_start + 13
    
    
    Thread 11:
    0   libsystem_kernel.dylib                  0x00007fff92c70192 __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x00007fff8ffdb594 _pthread_wqthread + 758
    2   libsystem_c.dylib                       0x00007fff8ffdcb85 start_wqthread + 13
    
    
    Thread 12:
    0   libsystem_kernel.dylib                  0x00007fff92c70192 __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x00007fff8ffdb594 _pthread_wqthread + 758
    2   libsystem_c.dylib                       0x00007fff8ffdcb85 start_wqthread + 13
    
    
    Thread 13:: com.apple.CFSocket.private
    0   libsystem_kernel.dylib                  0x00007fff92c6fdf2 __select + 10
    1   com.apple.CoreFoundation                0x00007fff8d57dcdb __CFSocketManager + 1355
    2   libsystem_c.dylib                       0x00007fff8ffd98bf _pthread_start + 335
    3   libsystem_c.dylib                       0x00007fff8ffdcb75 thread_start + 13
    
    
    Thread 14:: WebCore: LocalStorage
    0   libsystem_kernel.dylib                  0x00007fff92c6fbca __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x00007fff8ffdd274 _pthread_cond_wait + 840
    2   com.apple.JavaScriptCore                0x00007fff928185a0 ***::ThreadCondition::timedWait(***::Mutex&, double) + 64
    3   com.apple.WebCore                       0x00007fff8aea76ba ***::MessageQueue<WebCore::LocalStorageTask>::waitForMessage() + 132
    4   com.apple.WebCore                       0x00007fff8aea7613 WebCore::LocalStorageThread::threadEntryPoint() + 99
    5   com.apple.WebCore                       0x00007fff8aea755b WebCore::LocalStorageThread::threadEntryPointCallback(void*) + 9
    6   libsystem_c.dylib                       0x00007fff8ffd98bf _pthread_start + 335
    7   libsystem_c.dylib                       0x00007fff8ffdcb75 thread_start + 13
    
    
    Thread 15:
    0   libsystem_kernel.dylib                  0x00007fff92c70192 __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x00007fff8ffdb594 _pthread_wqthread + 758
    2   libsystem_c.dylib                       0x00007fff8ffdcb85 start_wqthread + 13
    
    
    Thread 5 crashed with X86 Thread State (64-bit):
      rax: 0x084ef301e7491fb1  rbx: 0x00007fc7446f0a20  rcx: 0x0000000000000001  rdx: 0x0000000000000001
      rdi: 0x0000000000000000  rsi: 0x0000000000000001  rbp: 0x0000000109e71a60  rsp: 0x0000000109e71a00
       r8: 0x000000000000001c   r9: 0x00007fc7446b2640  r10: 0x00000000478ca65f  r11: 0x000000008cd1f5b1
      r12: 0x00007fff77c47748  r13: 0x00007fff8d229e80  r14: 0x0000000000000001  r15: 0x0000000000000001
      rip: 0x00007fff8e091342  rfl: 0x0000000000010206  cr2: 0x0000000000000150
    Logical CPU: 2
    
    
  • 3. Re: Reset Settings for iMessages Beta
    Ralph Johns (UK) Level 9 Level 9 (67,505 points)

    Hi,

     

    In Snow Leopard you could set some apps to 32 bit mode.

    In same cases you needed this for certain Add-ons that had not been updated.

     

    If it was set it stays set and you see the option in the Panel.

    If was not set on Upgrade to Lion it will not show.

     

    IMAgent is a support app used by both FaceTime and iChat in Lion and Messages beta.

    It "Listens" for Off Line stuff which is why FaceTime can launch when you get a Call even if it is not open (In iChat or Messages you can turn this Off).

     

    Anyway that is why it reboots all the time.

     

    It is the com.apple.imagent.plist that holds the Login details.

    This is the info about which accounts are logged in and therefore "listened out" for.

    The accounts info in general is kept in the Keychain so even deleting all the .plists involved (the iChat ones, IMAgent's one and the iMessages one) still will not effect what accounts you have set up.

    (In Lion they are also called back by the System Preferences > Mail, Contacts and Calenders pane)

     

    Messages (beta) is storing chats in two places.

    The first is now an Auto save to the iChats folder.

    The default place for this is in your Documents folder (~/Documents/iChats) and stores them in dated (and Session) folders).

     

    The new place is in ~Library/Messages which can be accessed from the Finder's Go Menu and hold the ALT key to see the Library Option.

    This part is more to do with the iMessages History (see the thread 5 Crash)

     

    As thread 5 also mentions a sort order it is more likely it is looking for the recents Chat lists.

    The OS will set how many "documents" as in this list from System Preferences > General section and the bit about how many Documents, Servers and Applications are remembered.

     

    Each app then stores it Recents List in the Shared Library .plists but you have of course deleted this with the rm statement.

     

     

     


    8:29 PM      Thursday; April 26, 2012


    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

     

      iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),

    "Limit the Logs to the Bits above Binary Images."  No, Seriously