Hang while receiving a file
Posted: Mon Feb 12, 2007 7:27 am
Not entirely sure if this is a bug or a one-off, so I'm posting here prior to filing a trac ticket to get some dev feedback.
Myself and my brother were chatting and I had received one file transfer from him, then got a PDF via direct connect, and he attempted to send a second file directly. When I clicked on the download button in the message window, Adium hung.
I've included the results of a `sample 10' of Adium before I force quit it. The direct connect session was still active when it hung. Looking through the sample, I can say that the transfer window was closed when I tried to download the second file.
We were both using Adium 1.0 release with AIM accounts on 10.4.8.
Myself and my brother were chatting and I had received one file transfer from him, then got a PDF via direct connect, and he attempted to send a second file directly. When I clicked on the download button in the message window, Adium hung.
I've included the results of a `sample 10' of Adium before I force quit it. The direct connect session was still active when it hung. Looking through the sample, I can say that the transfer window was closed when I tried to download the second file.
We were both using Adium 1.0 release with AIM accounts on 10.4.8.
Code: Select all
Analysis of sampling pid 10554 every 10.000000 milliseconds
Call graph:
998 Thread_0f07
998 start
998 _start
998 NSApplicationMain
998 -[NSApplication run]
998 -[NSApplication sendEvent:]
998 -[NSWindow sendEvent:]
998 -[WebHTMLView mouseDown:]
998 KWQKHTMLPart::mouseDown(NSEvent*)
998 KHTMLView::viewportMousePressEvent(QMouseEvent*)
998 KParts::Part::event(QEvent*)
998 KWQKHTMLPart::khtmlMousePressEvent(khtml::MousePressEvent*)
998 KWQKHTMLPart::passWidgetMouseDownEventToWidget(khtml::MouseEvent*)
998 KWQKHTMLPart::passWidgetMouseDownEventToWidget(QWidget*)
998 -[KWQButton mouseDown:]
998 -[NSControl mouseDown:]
998 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:]
998 -[NSCell trackMouse:inRect:ofView:untilMouseUp:]
998 -[NSCell _sendActionFrom:]
998 -[NSControl sendAction:to:]
998 -[NSApplication sendAction:to:from:]
998 QButton::clicked()
998 KWQSignal::call() const
998 khtml::RenderFormElement::slotClicked()
998 DOM::NodeImpl::dispatchMouseEvent(QMouseEvent*, int, int, bool)
998 DOM::NodeImpl::dispatchEvent(DOM::EventImpl*, int&, bool)
998 DOM::NodeImpl::dispatchGenericEvent(DOM::EventImpl*, int&)
998 DOM::NodeImpl::handleLocalEvents(DOM::EventImpl*, bool)
998 KJS::JSAbstractEventListener::handleEvent(DOM::Event&, bool)
998 KJS::Object::call(KJS::ExecState*, KJS::Object&, KJS::List const&)
998 KJS::FunctionImp::call(KJS::ExecState*, KJS::Object&, KJS::List const&)
998 KJS::DeclaredFunctionImp::execute(KJS::ExecState*)
998 KJS::BlockNode::execute(KJS::ExecState*)
998 KJS::SourceElementsNode::execute(KJS::ExecState*)
998 KJS::ExprStatementNode::execute(KJS::ExecState*)
998 KJS::FunctionCallNode::evaluate(KJS::ExecState*)
998 KJS::Object::call(KJS::ExecState*, KJS::Object&, KJS::List const&)
998 KJS::RuntimeMethodImp::call(KJS::ExecState*, KJS::Object&, KJS::List const&)
998 KJS::Bindings::ObjcInstance::invokeMethod(KJS::ExecState*, KJS::Bindings::MethodList const&, KJS::List const&)
998 -[NSInvocation invoke]
998 objc_msgSendv
998 -[ESFileTransferRequestPromptController handleFileTransferAction:]
998 -[ESFileTransferController _finishReceiveRequestForFileTransfer:localFilename:]
998 -[ESFileTransfer setStatus:]
998 +[ESFileTransferProgressWindowController showFileTransferProgressWindowIfNotOpen]
998 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:]
998 -[NSWindow displayIfNeeded]
998 -[NSView displayIfNeeded]
998 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
998 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
998 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
998 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
998 CFArrayApplyFunction
998 _recursiveDisplayInRect2
998 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
998 CFArrayApplyFunction
998 _recursiveDisplayInRect2
998 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
998 CFArrayApplyFunction
998 _recursiveDisplayInRect2
998 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
998 CFArrayApplyFunction
998 _recursiveDisplayInRect2
998 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
998 CFArrayApplyFunction
998 _recursiveDisplayInRect2
998 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
998 CFArrayApplyFunction
998 _recursiveDisplayInRect2
998 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
998 CFArrayApplyFunction
998 _recursiveDisplayInRect2
998 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
998 CFArrayApplyFunction
998 _recursiveDisplayInRect2
998 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
998 -[NSView _drawRect:clip:]
998 -[NSProgressIndicator drawRect:]
998 -[NSProgressIndicator _drawThemeProgressArea:]
998 _NSTileImage
997 _NSTileImageWithOperation
969 -[NSImage _compositeFlipped:atPoint:fromRect:operation:fraction:]
928 -[NSImage _compositeFlipped:inRect:fromRect:operation:fraction:]
412 -[NSImage drawInRect:fromRect:operation:fraction:]
111 -[NSBitmapImageRep _drawFromRect:toRect:operation:alpha:compositing:flipped:ignoreContext:]
32 -[NSBitmapImageRep _drawFromRect:toRect:operation:alpha:compositing:flipped:ignoreContext:]
31 objc_msgSend_rtp
31 objc_msgSend_rtp
21 CGContextGetCTM
21 CGContextGetCTM
16 +[NSGraphicsContext currentContext]
13 __NSAppKitGetThreadSpecificData
10 __pthread_getspecific
10 __pthread_getspecific
2 __NSAppKitGetThreadSpecificData
1 dyld_stub_pthread_getspecific
1 dyld_stub_pthread_getspecific
2 +[NSGraphicsContext currentContext]
1 initial_malloc_zones
1 __NSAppKitGetThreadSpecificData
1 __NSAppKitGetThreadSpecificData
6 NSIsEmptyRect
6 NSIsEmptyRect
4 dyld_stub_NSIsEmptyRect
4 dyld_stub_NSIsEmptyRect
1 dyld_stub_CGContextGetCTM
1 dyld_stub_CGContextGetCTM
78 -[NSImage drawInRect:fromRect:operation:fraction:]
55 objc_msgSend_rtp
55 objc_msgSend_rtp
34 +[NSGraphicsContext currentContextDrawingToScreen]
12 +[NSGraphicsContext currentContext]
12 __NSAppKitGetThreadSpecificData
7 __pthread_getspecific
7 __pthread_getspecific
3 dyld_stub_pthread_getspecific
3 dyld_stub_pthread_getspecific
2 __NSAppKitGetThreadSpecificData
10 objc_msgSend_rtp
10 objc_msgSend_rtp
6 __NSAppKitGetThreadSpecificData
6 __NSAppKitGetThreadSpecificData
5 +[NSGraphicsContext currentContextDrawingToScreen]
1 -[NSImage isDataRetained]
1 -[NSImage isDataRetained]
26 IsCachedImageRepSmaller
11 objc_msgSend_rtp
11 objc_msgSend_rtp
10 IsCachedImageRepSmaller
5 -[NSBitmapImageRep _uncachedSize]
5 -[NSBitmapImageRep _uncachedSize]
22 +[NSGraphicsContext currentContext]
20 __NSAppKitGetThreadSpecificData
15 __pthread_getspecific
15 __pthread_getspecific
3 __NSAppKitGetThreadSpecificData
2 dyld_stub_pthread_getspecific
2 dyld_stub_pthread_getspecific
2 +[NSGraphicsContext currentContext]
15 -[NSImage _bestRepresentation:device:bestWidth:checkFlag:]
8 -[NSImage _bestRepresentation:device:bestWidth:checkFlag:]
7 __NSHasDisplayScaleFactor
7 __NSHasDisplayScaleFactor
14 NSIntegralRect
14 NSIntegralRect
12 -[NSImage size]
12 -[NSImage size]
11 objc_msgSend_stret
11 objc_msgSend_stret
8 -[NSObject isKindOfClass:]
8 -[NSObject isKindOfClass:]
7 __NSHasDisplayScaleFactor
7 __NSHasDisplayScaleFactor
5 __NSAppKitGetThreadSpecificData
5 __NSAppKitGetThreadSpecificData
4 dyld_stub_NSIntegralRect
4 dyld_stub_NSIntegralRect
2 -[NSBitmapImageRep _uncachedSize]
2 -[NSBitmapImageRep _uncachedSize]
2 -[NSImage _expand]
2 -[NSImage _expand]
2 -[NSImage isFlipped]
2 -[NSImage isFlipped]
1 -[NSImage isDataRetained]
1 -[NSImage isDataRetained]
1 -[NSImageRep size]
1 -[NSImageRep size]
1 0x7441b78
1 +[NSObject class]
1 +[NSObject class]
1 CGContextGetCTM
1 CGContextGetCTM
136 CGContextSaveGState
130 CGGStackSave
101 CGGStateCreateCopy
46 calloc
41 szone_calloc
22 szone_calloc
7 __spin_lock
7 __spin_lock
6 __bzero
6 __bzero
3 memset
3 memset
2 __spin_unlock
2 __spin_unlock
1 dyld_stub_memset
1 dyld_stub_memset
5 calloc
18 CGGStateCreateCopy
7 CGGStateDeviceCopy
6 CGGStateDeviceCopy
1 deviceStateRetain
1 deviceStateRetain
6 CGGStateClipCopy
6 CGGStateClipCopy
6 CGGStateTextCopy
3 CGGStateTextCopy
3 textStateRetain
3 textStateRetain
5 szone_calloc
5 szone_calloc
4 dyld_stub_calloc
4 dyld_stub_calloc
3 CGGStateStrokeCopy
2 CGGStateStrokeCopy
1 strokeStateRetain
1 strokeStateRetain
2 CGColorRetain
2 CGColorRetain
2 CGGStateRenderingCopy
2 CGGStateRenderingCopy
1 CGPathCreateMutableCopy
1 CGPathCreateMutableCopy
1 textStateRetain
1 textStateRetain
11 CGGStackSave
7 calloc
7 calloc
3 CGGStateStrokeCopy
3 CGGStateStrokeCopy
2 CGColorRetain
2 CGColorRetain
2 CGGStateClipCopy
2 CGGStateClipCopy
2 CGGStateDeviceCopy
2 CGGStateDeviceCopy
1 CGGStateRenderingCopy
1 CGGStateRenderingCopy
1 CGGStateTextCopy
1 CGGStateTextCopy
2 CGContextSaveGState
2 CGGStackGetGState
2 CGGStackGetGState
2 CGGStateCreateCopy
2 CGGStateCreateCopy
125 CGContextRestoreGState
34 free
18 szone_size
18 szone_size
16 free
27 szone_free
25 szone_free
2 __spin_lock
2 __spin_lock
25 CGGStateRelease
7 strokeStateRelease
7 strokeStateRelease
5 renderingStateRelease
5 renderingStateRelease
4 CGGStateRelease
4 textStateRelease
4 textStateRelease
3 deviceStateRelease
3 deviceStateRelease
2 clipStateRelease
2 clipStateRelease
7 CGContextRestoreGState
6 deviceStateRelease
6 deviceStateRelease
4 textStateRelease
4 textStateRelease
3 CGGStackRestore
3 CGGStackRestore
3 strokeStateRelease
3 strokeStateRelease
3 szone_size
3 szone_size
2 CGGStackGetGState
2 CGGStackGetGState
2 dyld_stub_free
2 dyld_stub_free
1 CGColorRelease
1 CGColorRelease
1 CGGStateClipRelease
1 CGGStateClipRelease
1 CGGStateDeviceRelease
1 CGGStateDeviceRelease
1 CGGStateRenderingRelease
1 CGGStateRenderingRelease
1 CGGStateTextRelease
1 CGGStateTextRelease
1 CGPathRelease
1 CGPathRelease
1 __spin_unlock
1 __spin_unlock
1 clipStateRelease
1 clipStateRelease
1 renderingStateRelease
1 renderingStateRelease
50 CGContextScaleCTM
31 CGContextConcatCTM
25 CGGStateConcatCTM
14 CGAffineTransformConcat
14 CGAffineTransformConcat
11 CGGStateConcatCTM
6 CGContextConcatCTM
11 CGAffineTransformMakeScale
6 CGAffineTransformMake
6 CGAffineTransformMake
5 CGAffineTransformMakeScale
7 CGContextScaleCTM
1 CGGStateConcatCTM
1 CGGStateConcatCTM
49 CGContextTranslateCTM
32 CGContextConcatCTM
27 CGGStateConcatCTM
18 CGAffineTransformConcat
18 CGAffineTransformConcat
9 CGGStateConcatCTM
5 CGContextConcatCTM
8 CGAffineTransformMakeTranslation
5 CGAffineTransformMake
5 CGAffineTransformMake
3 CGAffineTransformMakeTranslation
4 CGContextTranslateCTM
3 CGGStateConcatCTM
3 CGGStateConcatCTM
2 free
2 CGAffineTransformMakeTranslation
2 CGAffineTransformMakeTranslation
27 -[NSImage _bestRepresentation:device:bestWidth:checkFlag:]
16 saveFP
16 saveFP
10 -[NSImage _bestRepresentation:device:bestWidth:checkFlag:]
1 restFP
1 restFP
27 objc_msgSend_rtp
27 objc_msgSend_rtp
26 -[NSImage _compositeFlipped:inRect:fromRect:operation:fraction:]
19 +[NSGraphicsContext currentContext]
16 __NSAppKitGetThreadSpecificData
14 __pthread_getspecific
14 __pthread_getspecific
2 __NSAppKitGetThreadSpecificData
3 +[NSGraphicsContext currentContext]
10 CGContextConcatCTM
10 CGContextConcatCTM
7 CGGStackGetGState
7 CGGStackGetGState
7 CGGStackSave
7 CGGStackSave