[Webkit-unassigned] [Bug 23962] New: Dragging animated gif causes a hang for ~10 seconds

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 14 21:26:40 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=23962

           Summary: Dragging animated gif causes a hang for ~10 seconds
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: http://upload.wikimedia.org/wikipedia/commons/9/9f/Non-
                    Native_American_Nations_Control_over_N_America_1750-
                    2008.gif
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sherlock at genome.stanford.edu


Steps to reproduce:

1.  Go to:

http://upload.wikimedia.org/wikipedia/commons/9/9f/Non-Native_American_Nations_Control_over_N_America_1750-2008.gif

2.  Try dragging the image.

Expected results:

It should just work

Actual results:

It beachballs for ~10 seconds, with 100% CPU usage.  Sample gives:

2027 Thread_2503
      2027 0xb9b16
        2027 NSApplicationMain
          2027 -[NSApplication run]
            2027 0x2ab58
              2027 -[NSApplication sendEvent:]
                2027 0x2b0d3
                  2027 -[NSWindow sendEvent:]
                    2027 -[WebHTMLView mouseDragged:]
                      2027 WebCore::EventHandler::mouseDragged(NSEvent*)
                        2027
WebCore::EventHandler::handleMouseMoveEvent(WebCore::PlatformMouseEvent const&,
WebCore::HitTestResult*)
                          2027
WebCore::EventHandler::handleMouseDraggedEvent(WebCore::MouseEventWithHitTestResults
const&)
                            2027
WebCore::EventHandler::handleDrag(WebCore::MouseEventWithHitTestResults const&)
                              2027
WebCore::DragController::startDrag(WebCore::Frame*, WebCore::Clipboard*,
WebCore::DragOperation, WebCore::PlatformMouseEvent const&, WebCore::IntPoint
const&, bool)
                                2027
WebCore::DragController::doImageDrag(WebCore::Element*, WebCore::IntPoint
const&, WebCore::IntRect const&, WebCore::Clipboard*, WebCore::Frame*,
WebCore::IntPoint&)
                                  2027
WebCore::createDragImageFromImage(WebCore::Image*)
                                    2027 WebCore::BitmapImage::getNSImage()
                                      2027
WebCore::BitmapImage::getTIFFRepresentation()
                                        2027
WebCore::BitmapImage::frameAtIndex(unsigned long)
                                          2027
WebCore::BitmapImage::cacheFrame(unsigned long)
                                            2027
WebCore::ImageSource::createFrameAtIndex(unsigned long)
                                              2023 CGImagePlusCreateImage
                                                2023 CGDataProviderGetBytePtr
                                                  2023
faultDataAcquireBytePointer
                                                    2023 faultCacheData_cb
                                                      2007 gifGetBandProc
                                                        2002
gifCopyIndexToRGBWithAlpha
                                                          1513 _cg_DGifGetLine
                                                            1509
DGifDecompressLine
                                                              1457
DGifDecompressLine
                                                              52
DGifDecompressInput
                                                                50
DGifDecompressInput
                                                                2
CGImageReadSessionGetBytes
                                                                  2
CGImageReadGetBytesAtOffset
                                                                    1
CFDataGetBytePtr
                                                                      1
CFDataGetBytePtr
                                                                    1 __memcpy
                                                                      1
__memcpy
                                                            4 _cg_DGifGetLine
                                                          489
gifCopyIndexToRGBWithAlpha
                                                        3 gifGetBandProc
                                                        2 _cg_DGifGetImageDesc
                                                          2
_cg_DGifGetImageDesc
                                                      16 __memset_pattern
                                                        16 __memset_pattern
                                              4 CGImageSourceCreateImageAtIndex
                                                4 makeImagePlus
                                                  4 gifPluginInit
                                                    4 _cg_DGifGetCodeNext
                                                      2
CGImageReadSessionGetBytes
                                                        2
CGImageReadGetBytesAtOffset
                                                          2 __memcpy
                                                            2 __memcpy
                                                      2 _cg_DGifGetCodeNext

Tested with r40957 - this is not a regression from Safari 3.2.1, I have not
tried to see if it is a regression from earlier, as I do not have access to a
pre-3.2 Safari within which to test older builds.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list