Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#389 closed Defect (Works for Me)

Short (3s) hang in Colloquy after "AB Changed" notification

Reported by: anonymous Owned by: timothy
Component: Colloquy (Mac) Version: 2.0 (Mac)
Severity: Minor Keywords:
Cc:

Description

Short (3s) hang in Colloquy after "AB Changed" notification

Call graph:
    252 Thread_74e7
      252 start
        252 _start
          252 main
            252 NSApplicationMain
              252 -[NSApplication run]
                252 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
                  252 _DPSNextEvent
                    251 BlockUntilNextEventMatchingListInMode
                      251 ReceiveNextEventCommon
                        251 RunCurrentEventLoopInMode
                          251 CFRunLoopRunSpecific
                            251 __CFRunLoopRun
                              200 mach_msg
                                200 mach_msg_trap
                                  200 mach_msg_trap
                              20 __CFRunLoopDoSource1
                                20 __CFMachPortPerform
                                  11 MessageHandler
                                    11 snarfEvents
                                      11 _CGSGetPortStreamInline
                                        11 mach_msg
                                          11 mach_msg_trap
                                            11 mach_msg_trap
                                  9 __CFXNotificationReceiveFromServer
                                    9 __CFXNotificationHandleMessage
                                      9 __CFXNotificationPostEntry
                                        9 _nsnote_callback
                                          9 -[ABAddressBook databaseChangedExternally:]
                                            5 -[ABAddressBook nts_SynchronizeCaches]
                                              5 getRowForUIDInTable
                                                5 c4_View::Find(c4_RowRef const&, int) const
                                                  2 c4_CustomSeq::RestrictSearch(c4_Cursor, int&, int&)
                                                    2 c4_HashViewer::Lookup(c4_Cursor, int&)
                                                      1 c4_HashViewer::LookDict(long, c4_Cursor) const
                                                        1 c4_IntRef::operator long() const
                                                          1 c4_Sequence::Get(int, int, c4_Bytes&)
                                                            1 c4_Handler::GetBytes(int, c4_Bytes&, bool)
                                                              1 c4_ColOfInts::Get(int, int&)
                                                                1 c4_ColOfInts::Get(int, int&)
                                                      1 c4_IntRef::operator long() const
                                                        1 c4_Sequence::Get(int, int, c4_Bytes&)
                                                          1 c4_ColOfInts::Get(int, int&)
                                                            1 c4_ColOfInts::Get(int, int&)
                                                  2 c4_Row::~c4_Row [unified]()
                                                    2 c4_HandlerSeq::~c4_HandlerSeq [unified]()
                                                      2 c4_FormatS::~c4_FormatS [in-charge deleting]()
                                                        2 c4_FormatB::~c4_FormatB [unified]()
                                                          1 c4_BaseArray::SetLength(int)
                                                            1 c4_BaseArray::SetLength(int)
                                                          1 c4_Column::~c4_Column [unified]()
                                                            1 c4_Column::ReleaseAllSegments()
                                                              1 dyld_stub__ZdaPv
                                                                1 dyld_stub__ZdaPv
                                                  1 c4_Handler::Compare(int, c4_Bytes const&)
                                                    1 c4_FormatS::DoCompare(c4_Bytes const&, c4_Bytes const&)
                                                      1 operator delete[](void*)
                                                        1 operator delete(void*)
                                                          1 free
                                                            1 szone_size
                                                              1 szone_size
                                            4 -[ABAddressBook nts_OpenContactManagerWithMode:cacheSchema:]
                                              3 -[ABAddressBook nts_CacheDataFileSchema]
                                                1 CFDictionaryRemoveAllValues
                                                  1 _CFRelease
                                                    1 __CFDictionaryDeallocate
                                                      1 CFRelease
                                                        1 CFRelease
                                                1 NSPopAutoreleasePool
                                                  1 objc_msgSend_rtp
                                                    1 objc_msgSend_rtp
                                                1 _CFRelease
                                                  1 __spin_unlock
                                                    1 __spin_unlock
                                              1 cacheViews
                                                1 c4_Storage::GetAs(char const*)
                                                  1 c4_Storage::Description(char const*)
                                                    1 c4_ViewRef::operator c4_View() const
                                                      1 c4_Sequence::Get(int, int, c4_Bytes&)
                                                        1 c4_Handler::GetBytes(int, c4_Bytes&, bool)
                                                          1 c4_FormatV::Get(int, int&)
                                                            1 c4_FormatV::SetupAllSubviews()
                                                              1 c4_HandlerSeq::Prepare(unsigned char const**, bool)
                                                                1 c4_FormatB::Define(int, unsigned char const**)
                                                                  1 c4_FormatB::InitOffsets(c4_ColOfInts&)
                                                                    1 c4_ColOfInts::GetInt(int)
                                                                      1 c4_ColOfInts::Get(int, int&)
                                                                        1 c4_ColOfInts::Get_16i(int)
                                                                          1 c4_Column::SetupSegments()
                                                                            1 c4_FileStrategy::DataRead(long, void*, int)
                                                                              1 fread
                                                                                1 __memcpy
                                                                                  1 __memcpy
                              18 __CFRunLoopDoSources0
                                18 __CFRunLoopPerformPerform
                                  18 __NSFireMainThreadPerform
                                    16 _CFXNotificationPostNotification
                                      16 __CFXNotificationPost
                                        16 _nsnote_callback
                                          16 -[ABDBCache databaseChanged:]
                                            16 -[ABModel reloadMembers]
                                              15 -[NSNotificationCenter postNotificationName:object:userInfo:]
                                                15 _CFXNotificationPostNotification
                                                  15 __CFXNotificationPost
                                                    15 _nsnote_callback
                                                      15 -[ABTableController reloadData]
                                                        15 -[ABTableController synchSelectedRows]
                                                          15 -[ABTableController selectRowIndexes:byExtendingSelection:]
                                                            15 -[ABTableView selectRowIndexes:byExtendingSelection:]
                                                              15 -[ABTableView doSpecialSelectionStuffForRow:extendingSelection:]
                                                                15 -[ABTableController subrowObjectsAtIndex:]
                                                                  15 -[ABModel displayedMembersSubrows]
                                                                    15 -[ABModel fillSubrowList:forDisplayedRecords:withDelegate:]
                                                                      15 -[ABPeopleController subrowObjectsForPerson:]
                                                                        12 -[ABRecord valueForProperty:]
                                                                          12 -[ABRecord nts_ValueForProperty:row:]
                                                                            12 getRowForUIDInTable
                                                                              7 c4_View::Find(c4_RowRef const&, int) const
                                                                                3 c4_Row::~c4_Row [unified]()
                                                                                  3 c4_HandlerSeq::~c4_HandlerSeq [unified]()
                                                                                    2 szone_free
                                                                                      2 szone_free
                                                                                    1 c4_FormatS::~c4_FormatS [in-charge deleting]()
                                                                                      1 c4_FormatB::~c4_FormatB [unified]()
                                                                                        1 c4_BaseArray::SetLength(int)
                                                                                          1 free
                                                                                            1 szone_size
                                                                                              1 szone_size
                                                                                2 c4_CustomSeq::RestrictSearch(c4_Cursor, int&, int&)
                                                                                  2 c4_HashViewer::Lookup(c4_Cursor, int&)
                                                                                    1 c4_HashViewer::KeySame(int, c4_Cursor) const
                                                                                      1 c4_Handler::Compare(int, c4_Bytes const&)
                                                                                        1 c4_Handler::GetBytes(int, c4_Bytes&, bool)
                                                                                          1 c4_Bytes::operator=(c4_Bytes const&)
                                                                                            1 c4_Bytes::operator=(c4_Bytes const&)
                                                                                    1 c4_HashViewer::LookDict(long, c4_Cursor) const
                                                                                      1 c4_HashViewer::IsUnused(int) const
                                                                                        1 c4_IntRef::operator long() const
                                                                                          1 c4_Sequence::Get(int, int, c4_Bytes&)
                                                                                            1 c4_Handler::GetBytes(int, c4_Bytes&, bool)
                                                                                              1 c4_ColOfInts::Get(int, int&)
                                                                                                1 c4_ColOfInts::Get_16i(int)
                                                                                                  1 c4_ColOfInts::Get_16i(int)
                                                                                2 c4_Row::c4_Row[unified](c4_RowRef const&)
                                                                                  2 c4_Row::operator=(c4_RowRef const&)
                                                                                    2 c4_Sequence::SetAt(int, c4_Cursor)
                                                                                      2 c4_FormatS::Set(int, c4_Bytes const&)
                                                                                        2 c4_FormatB::SetOne(int, c4_Bytes const&, bool)
                                                                                          1 c4_Column::FinishSlack()
                                                                                            1 c4_Column::FinishSlack()
                                                                                          1 c4_Column::Grow(long, long)
                                                                                            1 operator new[](unsigned long)
                                                                                              1 operator new(unsigned long)
                                                                                                1 malloc
                                                                                                  1 szone_malloc
                                                                                                    1 szone_malloc
                                                                              3 c4_Row::~c4_Row [unified]()
                                                                                3 c4_Row::~c4_Row [unified]()
                                                                              1 getViewFromTable(__CFString const*)
                                                                                1 CFDictionaryGetValue
                                                                                  1 CFDictionaryGetValue
                                                                              1 szone_free
                                                                                1 szone_free
                                                                        2 -[NSCFDictionary keyEnumerator]
                                                                          1 NSAllocateObject
                                                                            1 _internal_class_createInstanceFromZone
                                                                              1 malloc_zone_calloc
                                                                                1 szone_calloc
                                                                                  1 szone_calloc
                                                                          1 dyld_stub_malloc_zone_calloc
                                                                            1 dyld_stub_malloc_zone_calloc
                                                                        1 objc_msgSend_rtp
                                                                          1 objc_msgSend_rtp
                                              1 -[ABModel invalidateDisplayedMembersList]
                                                1 _CFRelease
                                                  1 __CFDictionaryDeallocate
                                                    1 -[NSObject release]
                                                      1 NSDecrementExtraRefCountWasZero
                                                        1 NSDecrementExtraRefCountWasZero
                                    2 NSPopAutoreleasePool
                                      1 _CFRelease
                                        1 __CFArrayDeallocate
                                          1 __CFArrayReleaseValues
                                            1 szone_free
                                              1 szone_free
                                      1 szone_free
                                        1 szone_free
                              13 __CFRunLoopDoObservers
                                13 _handleWindowNeedsDisplay
                                  13 -[NSWindow displayIfNeeded]
                                    13 -[NSView displayIfNeeded]
                                      13 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
                                        11 -[NSView(NSInternal) _clearDirtyRectsForTreeInRect:]
                                          11 -[NSView(NSInternal) _clearDirtyRectsForTreeInRect:]
                                            11 -[NSView(NSInternal) _clearDirtyRectsForTreeInRect:]
                                              11 -[NSView(NSInternal) _clearDirtyRectsForTreeInRect:]
                                                11 -[NSView(NSInternal) _clearDirtyRectsForTreeInRect:]
                                                  11 -[NSView(NSInternal) _mergeRegionInvalidatedDuringDisplayIntoDirtyRegion]
                                                    11 objc_msgSend_rtp
                                                      11 objc_msgSend_rtp
                                        2 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
                                          2 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
                                            1 -[NSView _drawRect:clip:]
                                              1 -[NSThemeFrame drawRect:]
                                                1 -[NSFrameView drawRect:]
                                                  1 -[NSThemeFrame drawFrame:]
                                                    1 -[NSThemeFrame _drawFrameInterior:clip:]
                                                      1 -[NSThemeFrame _drawTitleBar:]
                                                        1 -[NSTitledFrame _drawTitleStringIn:withColor:]
                                                          1 -[NSTextFieldCell drawWithFrame:inView:]
                                                            1 -[NSTextFieldCell drawInteriorWithFrame:inView:]
                                                              1 _NXDrawTextCell
                                                                1 _NSStringDrawingCore
                                                                  1 +[NSStringDrawingTextStorage _fastDrawString:attributes:length:inRect:graphicsContext:baselineRendering:usesFontLeading:usesScreenFont:typesetterBehavior:paragraphStyle:lineBreakMode:boundingRect:padding:scrollable:]
                                                                    1 CGContextShowGlyphsWithAdvances
                                                                      1 drawGlyphs
                                                                        1 CGContextDelegateDrawGlyphs
                                                                          1 ripc_DrawGlyphs
                                                                            1 CGFontLockBitmaps
                                                                              1 lock_bitmaps
                                                                                1 CGSCacheAquireValues
                                                                                  1 _CGSCacheMergeState
                                                                                    1 mach_msg
                                                                                      1 mach_msg_trap
                                                                                        1 mach_msg_trap
                                            1 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
                                              1 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                                1 CFArrayApplyFunction
                                                  1 _recursiveDisplayInRect2
                                                    1 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                                      1 CFArrayApplyFunction
                                                        1 _recursiveDisplayInRect2
                                                          1 -[NSToolbarItemViewer _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                                            1 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                                              1 CFArrayApplyFunction
                                                                1 _recursiveDisplayInRect2
                                                                  1 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                                                    1 -[NSView _drawRect:clip:]
                                                                      1 -[NSControl drawRect:]
                                                                        1 -[NSTextFieldCell drawWithFrame:inView:]
                                                                          1 -[NSSearchFieldCell drawInteriorWithFrame:inView:]
                                                                            1 -[NSTextFieldCell drawInteriorWithFrame:inView:]
                                                                              1 NSRectFill
                                                                                1 CGContextFillRect
                                                                                  1 CGContextFillRects
                                                                                    1 __CGContextDrawRects
                                                                                      1 ripc_DrawRects
                                                                                        1 ripc_GetRenderingState
                                                                                          1 ripc_GetClipState
                                                                                            1 ripl_release
                                                                                              1 szone_free
                                                                                                1 szone_free
                    1 SendEventToEventTarget
                      1 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*)
                        1 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*)
                          1 ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)
                            1 ReleaseEvent
                              1 LockEventRecord
                                1 pthread_mutex_lock
                                  1 pthread_mutex_lock
    252 Thread_7f03
      252 _pthread_body
        252 forkThreadForFunction
          252 -[NSUIHeartBeat _heartBeatThread:]
            252 -[NSConditionLock lockWhenCondition:]
              252 pthread_cond_wait
                252 semaphore_wait_signal_trap
                  252 semaphore_wait_signal_trap
    252 Thread_8003
      252 _pthread_body
        252 forkThreadForFunction
          252 +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:]
            252 CFRunLoopRunSpecific
              252 __CFRunLoopRun
                252 mach_msg
                  252 mach_msg_trap
                    252 mach_msg_trap
    252 Thread_8103
      252 _pthread_body
        252 __CFSocketManager
          252 select
            252 select
    252 Thread_8203
      252 _pthread_body
        252 forkThreadForFunction
          252 +[NSURLCache _diskCacheSyncLoop:]
            252 CFRunLoopRunSpecific
              252 __CFRunLoopRun
                252 mach_msg
                  252 mach_msg_trap
                    252 mach_msg_trap
    252 Thread_8303
      252 _pthread_body
        252 forkThreadForFunction
          252 +[MVIRCChatConnection(MVIRCChatConnectionPrivate) _irssiRunLoop]
            252 g_main_iterate
              252 g_hook_next_valid
                252 g_hook_next_valid
    252 Thread_8403
      252 _pthread_body
        252 forkThreadForFunction
          252 +[WebFileDatabase _syncLoop:]
            252 -[NSRunLoop run]
              252 -[NSRunLoop runMode:beforeDate:]
                252 CFRunLoopRunSpecific
                  252 __CFRunLoopRun
                    252 mach_msg
                      252 mach_msg_trap
                        252 mach_msg_trap
    252 Thread_8503
      252 _pthread_body
        252 CAPThread::Entry(CAPThread*)
          252 HALRunLoop::OwnThread(void*)
            252 CFRunLoopRunSpecific
              252 __CFRunLoopRun
                252 mach_msg
                  252 mach_msg_trap
                    252 mach_msg_trap

Total number in stack (recursive counted multiple, when >=5):
        7       _pthread_body
        7       mach_msg
        7       mach_msg_trap
        5       -[NSView(NSInternal) _clearDirtyRectsForTreeInRect:]
        5       CFRunLoopRunSpecific
        5       __CFRunLoopRun
        5       forkThreadForFunction
        5       szone_free

Sort by top of stack, same collapsed (when >= 5):
        mach_msg_trap        1220
        g_hook_next_valid        252
        select        252
        semaphore_wait_signal_trap        252
        objc_msgSend_rtp        13
        szone_free        6

Change History (2)

comment:1 Changed 12 years ago by colloquy@…

Oops, forgot to sign in.

comment:2 Changed 11 years ago by timothy

  • Resolution set to worksforme
  • Status changed from new to closed

This is not reproducable.

Note: See TracTickets for help on using tickets.