<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>15752</bug_id>
          
          <creation_ts>2007-10-29 11:03:27 -0700</creation_ts>
          <short_desc>REGRESSION: TOT Hanging in drawPattern code</short_desc>
          <delta_ts>2007-10-29 11:14:40 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>15750</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>NeedsReduction</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>59796</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2007-10-29 11:03:27 -0700</bug_when>
    <thetext>I was trying to test ap&apos;s most recent change for XSLTProcessor by opening
fast/xsl/xslt-missing-namespace-in-xslt.xml and viewing the inspector.

Safari went off the deep end:

Analysis of sampling Safari (pid 5434) every 1 millisecond
Call graph:
    7108 Thread_2503
      7108 0x2876
        7108 NSApplicationMain
          7108 -[NSApplication run]
            7108 0x9d4e
              7108 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
                7108 _DPSNextEvent
                  7108 BlockUntilNextEventMatchingListInMode
                    7108 ReceiveNextEventCommon
                      7108 RunCurrentEventLoopInMode
                        7108 CFRunLoopRunInMode
                          7108 CFRunLoopRunSpecific
                            7108 __CFRunLoopDoObservers
                              7108 _handleWindowNeedsDisplay
                                7108 -[NSWindow displayIfNeeded]
                                  7108 -[NSView displayIfNeeded]
                                    7108 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
                                      7108 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
                                        7108 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
                                          7108 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
                                            7108 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                              7108 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                                7108 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                                  7108 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                                    7108 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                                      7108 -[WebHTMLView(WebPrivate) _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                                        7108 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                                          7108 -[NSView _drawRect:clip:]
                                                            7108 -[WebHTMLView drawRect:]
                                                              7108 -[WebHTMLView drawSingleRect:]
                                                                7108 -[WebCoreFrameBridge drawRect:]
                                                                  7108 WebCore::Frame::paint(WebCore::GraphicsContext*, WebCore::IntRect const&amp;)
                                                                    7108 WebCore::RenderLayer::paint(WebCore::GraphicsContext*, WebCore::IntRect const&amp;, WebCore::PaintRestriction, WebCore::RenderObject*)
                                                                      7108 WebCore::RenderLayer::paintLayer(WebCore::RenderLayer*, WebCore::GraphicsContext*, WebCore::IntRect const&amp;, bool, WebCore::PaintRestriction, WebCore::RenderObject*)
                                                                        7108 WebCore::RenderLayer::paintLayer(WebCore::RenderLayer*, WebCore::GraphicsContext*, WebCore::IntRect const&amp;, bool, WebCore::PaintRestriction, WebCore::RenderObject*)
                                                                          7108 WebCore::RenderLayer::paintLayer(WebCore::RenderLayer*, WebCore::GraphicsContext*, WebCore::IntRect const&amp;, bool, WebCore::PaintRestriction, WebCore::RenderObject*)
                                                                            7108 WebCore::RenderListItem::paint(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                              7108 WebCore::RenderBlock::paint(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                7108 WebCore::RenderBlock::paintObject(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                  7108 WebCore::RenderBlock::paintFloats(WebCore::RenderObject::PaintInfo&amp;, int, int, bool)
                                                                                    7108 WebCore::RenderBlock::paint(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                      7108 WebCore::RenderBlock::paintObject(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                        7108 WebCore::RenderBox::paintBoxDecorations(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                          7108 WebCore::RenderBox::paintBackgrounds(WebCore::GraphicsContext*, WebCore::Color const&amp;, WebCore::BackgroundLayer const*, int, int, int, int, int, int)
                                                                                            7108 WebCore::RenderBox::paintBackgrounds(WebCore::GraphicsContext*, WebCore::Color const&amp;, WebCore::BackgroundLayer const*, int, int, int, int, int, int)
                                                                                              7108 WebCore::RenderBox::paintBackground(WebCore::GraphicsContext*, WebCore::Color const&amp;, WebCore::BackgroundLayer const*, int, int, int, int, int, int)
                                                                                                7108 WebCore::RenderBox::paintBackgroundExtended(WebCore::GraphicsContext*, WebCore::Color const&amp;, WebCore::BackgroundLayer const*, int, int, int, int, int, int, bool, bool)
                                                                                                  7108 WebCore::GraphicsContext::drawTiledImage(WebCore::Image*, WebCore::IntRect const&amp;, WebCore::IntPoint const&amp;, WebCore::IntSize const&amp;, WebCore::CompositeOperator)
                                                                                                    7108 WebCore::Image::drawTiled(WebCore::GraphicsContext*, WebCore::FloatRect const&amp;, WebCore::FloatPoint const&amp;, WebCore::FloatSize const&amp;, WebCore::CompositeOperator)
                                                                                                      7108 WebCore::Image::drawPattern(WebCore::GraphicsContext*, WebCore::FloatRect const&amp;, WebCore::AffineTransform const&amp;, WebCore::FloatPoint const&amp;, WebCore::CompositeOperator, WebCore::FloatRect const&amp;)
                                                                                                        7108 CGContextDrawTiledImage
                                                                                                          7108 CGContextFillRect
                                                                                                            7108 CGContextFillRects
                                                                                                              7108 ripc_DrawRects
                                                                                                                7108 ripc_Render
                                                                                                                  7108 ripc_GetColor
                                                                                                                    7108 ripc_TilePattern
                                                                                                                      5950 ripc_DrawImages
                                                                                                                        3149 ripc_DrawImages
                                                                                                                        1460 CGRectEqualToRect
                                                                                                                          1460 CGRectEqualToRect
                                                                                                                        1172 CGRectContainsRect
                                                                                                                          1172 CGRectContainsRect
                                                                                                                        107 ceil
                                                                                                                          107 ceil
                                                                                                                        62 floor$fenv_access_off
                                                                                                                          62 floor$fenv_access_off
                                                                                                                      340 ceil
                                                                                                                        340 ceil
                                                                                                                      337 floor$fenv_access_off
                                                                                                                        337 floor$fenv_access_off
                                                                                                                      174 dyld_stub_ceil
                                                                                                                        174 dyld_stub_ceil
                                                                                                                      166 dyld_stub_floor
                                                                                                                        166 dyld_stub_floor
                                                                                                                      73 dyld_stub_CGRectEqualToRect
                                                                                                                        73 dyld_stub_CGRectEqualToRect
                                                                                                                      68 dyld_stub_CGRectContainsRect
                                                                                                                        68 dyld_stub_CGRectContainsRect
    7108 Thread_2603
      7108 thread_start
        7108 _pthread_start
          7108 WebCore::IconDatabase::iconDatabaseSyncThreadStart(void*)
            7108 WebCore::IconDatabase::iconDatabaseSyncThread()
              7108 WebCore::IconDatabase::syncThreadMainLoop()
                7108 WebCore::ThreadCondition::wait(WebCore::Mutex&amp;)
                  7108 pthread_cond_wait$UNIX2003
                    7108 __semwait_signal
                      7108 __semwait_signal
    7108 Thread_2703
      7108 thread_start
        7108 _pthread_start
          7108 select$DARWIN_EXTSN
            7108 select$DARWIN_EXTSN
    7108 Thread_2803
      7108 thread_start
        7108 _pthread_start
          7108 CFURLCacheWorkerThread(void*)
            7108 CFRunLoopRunInMode
              7108 CFRunLoopRunSpecific
                7108 mach_msg
                  7108 mach_msg_trap
                    7108 mach_msg_trap
    7108 Thread_2903
      7108 thread_start
        7108 _pthread_start
          7108 __NSThread__main__
            7108 -[NSThread main]
              7108 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]
                7108 CFRunLoopRunInMode
                  7108 CFRunLoopRunSpecific
                    7108 mach_msg
                      7108 mach_msg_trap
                        7108 mach_msg_trap

Total number in stack (recursive counted multiple, when &gt;=5):
        6       -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]

Sort by top of stack, same collapsed (when &gt;= 5):
        mach_msg_trap        14216
        __semwait_signal        7108
        select$DARWIN_EXTSN        7108
        ripc_DrawImages        3149
        CGRectEqualToRect        1460
        CGRectContainsRect        1172
        ceil        447
        floor$fenv_access_off        399
        dyld_stub_ceil        174
        dyld_stub_floor        166
        dyld_stub_CGRectEqualToRect        73
        dyld_stub_CGRectContainsRect        68</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59797</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2007-10-29 11:05:34 -0700</bug_when>
    <thetext>This reproduces for me.  Assuming I don&apos;t have a busted build, this is a P1 regression.  Open fast/xsl/xslt-missing-namespace-in-xslt.xml and click somewhere and choose &quot;inspect element&quot;.  I then tried to disclose the &quot;Other&quot; section of the right hand column in the inspector, but I think Safari had already hung by then.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59798</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2007-10-29 11:06:41 -0700</bug_when>
    <thetext>I saw this in the console of at least one Safari instance:
2007-10-29 12:30:42.904 Safari[5434:613] *** Exception received from DOM API: 8
dom
Mon Oct 29 12:39:09 HackTop.local Safari[5434] &lt;Error&gt;: CGAffineTransformInvert: singular matrix.

I&apos;m not sure those logs appeared every time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59800</commentid>
    <comment_count>3</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-10-29 11:14:40 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 15750 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>