Opened 12 years ago

Closed 12 years ago

#388 closed Defect (Works for Me)

Colloquy looks connected but isn't!

Reported by: colloquy@… Owned by: timothy
Component: Colloquy (Mac) Version: 2.2 (Mac)
Severity: Blocker Keywords:
Cc:

Description

I've seen several times with the latest nightly, where Colloquy will behave as though it is connected... but really it isn't.

I'm sorry I don't have more information for you. Nothing in my console log.

When trying to quit from one of these instances, Colloquy hung:
http://project.colloquy.info/trac/ticket/387

Change History (3)

comment:1 Changed 12 years ago by Eric Seidel <colloquy@…>

I hit this again today.

/me pulls hair out.

Here is the sample from when Colloquy hung while I tried to quit (after exibiting this "pretending to still be connected" behavior):

Analysis of sampling pid 14996 every 10.000000 milliseconds
Call graph:
    17523 Thread_0f5b
      17523 start
        17523 _start
          17523 main
            17523 NSApplicationMain
              17523 -[NSApplication run]
                17523 -[NSApplication sendEvent:]
                  17523 -[NSApplication _handleKeyEquivalent:]
                    17523 -[NSMenu performKeyEquivalent:]
                      17523 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:]
                        17523 -[NSMenu performActionForItemAtIndex:]
                          17523 -[NSApplication sendAction:to:from:]
                            17523 -[NSApplication terminate:]
                              17523 -[NSNotificationCenter postNotificationName:object:userInfo:]
                                17523 _CFXNotificationPostNotification
                                  17523 __CFXNotificationPost
                                    17523 _nsnote_callback
                                      17523 -[MVIRCChatConnection disconnectWithReason:]
                                        17523 server_disconnect
                                          17523 net_disconnect_later
                                            17523 g_source_add
                                              17523 g_hook_insert_sorted
                                                17523 g_hook_insert_sorted
    17523 Thread_1003
      17523 _pthread_body
        17523 forkThreadForFunction
          17523 +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:]
            17523 CFRunLoopRunSpecific
              17523 __CFRunLoopRun
                17523 mach_msg
                  17523 mach_msg_trap
                    17523 mach_msg_trap
    17523 Thread_1103
      17523 _pthread_body
        17523 __CFSocketManager
          17523 select
            17523 select
    17523 Thread_1203
      17523 _pthread_body
        17523 forkThreadForFunction
          17523 +[NSURLCache _diskCacheSyncLoop:]
            17523 CFRunLoopRunSpecific
              17523 __CFRunLoopRun
                17523 mach_msg
                  17523 mach_msg_trap
                    17523 mach_msg_trap
    17523 Thread_1303
      17523 _pthread_body
        17523 forkThreadForFunction
          17523 +[MVIRCChatConnection(MVIRCChatConnectionPrivate) _irssiRunLoop]
            17523 g_main_iterate
              17523 g_hook_next_valid
                17523 g_hook_next_valid
    17523 Thread_1403
      17523 _pthread_body
        17523 forkThreadForFunction
          17523 +[WebFileDatabase _syncLoop:]
            17523 -[NSRunLoop run]
              17523 -[NSRunLoop runMode:beforeDate:]
                17523 CFRunLoopRunSpecific
                  17523 __CFRunLoopRun
                    17523 mach_msg
                      17523 mach_msg_trap
                        17523 mach_msg_trap
    17523 Thread_1503
      17523 _pthread_body
        17523 CAPThread::Entry(CAPThread*)
          17523 HALRunLoop::OwnThread(void*)
            17523 CFRunLoopRunSpecific
              17523 __CFRunLoopRun
                17523 mach_msg
                  17523 mach_msg_trap
                    17523 mach_msg_trap
    17523 Thread_1603
      17523 _pthread_body
        17523 forkThreadForFunction
          17523 -[NSUIHeartBeat _heartBeatThread:]
            17523 -[NSConditionLock lockWhenCondition:]
              17523 pthread_cond_wait
                17523 semaphore_wait_signal_trap
                  17523 semaphore_wait_signal_trap

Total number in stack (recursive counted multiple, when >=5):
        7       _pthread_body
        5       forkThreadForFunction

Sort by top of stack, same collapsed (when >= 5):
        mach_msg_trap        70092
        g_hook_insert_sorted        17523
        g_hook_next_valid        17523
        select        17523
        semaphore_wait_signal_trap        17523

comment:2 Changed 12 years ago by anonymous

Im getting the same thing as well... :(

comment:3 Changed 12 years ago by timothy

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

This should be fixed in the latest nightly. Reopen if this happens again.

Note: See TracTickets for help on using tickets.