Re: Fire 1.5 - ICQ Connect Hangs

Jordan Reed <reedjd-PjVqtj9yWwdWk0Htik3J/[email protected]> Thu, 6 Jan 2005 22:54:44 -0800
Newsgroups gmane.network.fire.general
Message-ID <[email protected]>
>> My ICQ account is not working properly.  When I try to connect I get 
>> a message in the Fire Console:
>> "1/5/05 11:37:35 PM - ICQ - Connected"
>>
>> Nothing appears in my buddy window and then I get the spinning beach 
>> ball if I mouse over the Console, Buddies window or Menu Bar.  I have 
>> noticed that I can click and drag the Buddies window and Fire Console 
>> around, but I cannot do any other action besides Force Quit.
>
> You could also try "sample Fire 5" in the terminal (it's probably 
> hanging on a read, though).
> Of course, it shouldn't hang the rest of Fire, but making things 
> asynchronous isn't generally that easy.
>
> - Purr

As I was composing this, it connected.  So after a few more tests I've 
learned it does connect consistently, it just takes about 50-60s to 
connect.

So I started the connect, waited 15 seconds, and then ran sample.  I've 
attached the output of that if it's helpful to anyone.

..Jordan
Fire_4640.sample.txt (text/plain, 3.8 KB)
Analysis of sampling pid 4640 every 10.000000 milliseconds
Call graph:
    460 Thread_2f0b
      460 _dyld_start
        460 _start
          460 NSApplicationMain
            460 -[NSApplication run]
              460 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
                460 _DPSNextEvent
                  460 BlockUntilNextEventMatchingListInMode
                    460 ReceiveNextEventCommon
                      460 RunCurrentEventLoopInMode
                        460 CFRunLoopRunSpecific
                          460 __CFRunLoopRun
                            460 __CFRunLoopDoTimer
                              460 __NSFireTimer
                                460 -[CommunicationController executeRunLoopCheck:]
                                  460 ICJclient::want_auto_resp_cb(ICQ2000::ICQMessageEvent*)
                                    460 ICQ2000::Client::socket_cb(int, ICQ2000::SocketEvent::Mode)
                                      460 ICQ2000::Client::RecvFromServer()
                                        460 ICQ2000::Client::Parse()
                                          460 ICQ2000::Client::ParseCh2(Buffer&, unsigned short)
                                            460 ICQ2000::ParseSNAC(Buffer&)
                                              460 ICQ2000::SBLListSNAC::ParseBody(Buffer&)
                                                249 ICQ2000::SBLListSNAC::ParseBody(Buffer&)
                                                211 Buffer::operator>>(unsigned short&)
                                                  211 Buffer::operator>>(unsigned short&)
    460 Thread_3003
      460 _pthread_body
        460 CAPThread::Entry(CAPThread*)
          460 HALRunLoop::OwnThread(void*)
            460 CFRunLoopRunSpecific
              460 __CFRunLoopRun
                460 mach_msg
                  460 mach_msg_trap
                    460 mach_msg_trap
    460 Thread_3103
      460 _pthread_body
        460 TS_exception_listener_thread
          460 mach_msg
            460 mach_msg_trap
              460 mach_msg_trap
    460 Thread_3203
      460 _pthread_body
        460 forkThreadForFunction
          460 -[NSUIHeartBeat _heartBeatThread:]
            460 -[NSConditionLock lockWhenCondition:]
              460 _pthread_cond_wait
                460 semaphore_wait_signal_trap
                  460 semaphore_wait_signal_trap
    460 Thread_3303
      460 _pthread_body
        460 __CFSocketManager
          460 select
            460 select
    460 Thread_3403
      460 _pthread_body
        460 forkThreadForFunction
          460 +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:]
            460 -[NSRunLoop run]
              460 -[NSRunLoop runMode:beforeDate:]
                460 CFRunLoopRunSpecific
                  460 __CFRunLoopRun
                    460 mach_msg
                      460 mach_msg_trap
                        460 mach_msg_trap
    460 Thread_3503
      460 _pthread_body
        460 _loadRunLoop
          460 select
            460 select
    460 Thread_3603
      460 _pthread_body
        460 forkThreadForFunction
          460 +[NSURLCache _diskCacheSyncLoop:]
            460 -[NSRunLoop run]
              460 -[NSRunLoop runMode:beforeDate:]
                460 CFRunLoopRunSpecific
                  460 __CFRunLoopRun
                    460 mach_msg
                      460 mach_msg_trap
                        460 mach_msg_trap

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

Sort by top of stack, same collapsed (when >= 5):
        mach_msg_trap        1840
        select        920
        semaphore_wait_signal_trap        460
        ICQ2000::SBLListSNAC::ParseBody(Buffer&)        249
        Buffer::operator>>(unsigned short&)        211