<?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>19582</bug_id>
          
          <creation_ts>2008-06-16 09:44:21 -0700</creation_ts>
          <short_desc>layout test fast/js/string-concatenate-outofmemory.html  hangs, should be disabled</short_desc>
          <delta_ts>2008-12-28 13:42:12 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>19569</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Jean-Charles Verdié">jcverdie</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mrowe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>83473</commentid>
    <comment_count>0</comment_count>
    <who name="Jean-Charles Verdié">jcverdie</who>
    <bug_when>2008-06-16 09:44:21 -0700</bug_when>
    <thetext>hang report :
Call graph:
    934 Thread_2603
      934 start
        934 main
          934 dumpRenderTree(int, char const**)
            934 runTestingServerLoop()
              880 fgets
                880 __srefill
                  880 read
                    880 read
              54 runTest(char const*)
                54 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
                  54 CFRunLoopRunInMode
                    54 CFRunLoopRunSpecific
                      54 muxerSourcePerform
                        54 _CFURLConnectionSendCallbacks
                          54 sendDidFinishLoadingCallback
                            54 _NSURLConnectionDidFinishLoading
                              54 -[NSURLConnection(NSURLConnectionReallyInternal) sendDidFinishLoading]
                                54 -[WebCoreResourceHandleAsDelegate connectionDidFinishLoading:]
                                  54 WebCore::ResourceLoader::didFinishLoading(WebCore::ResourceHandle*)
                                    54 WebCore::SubresourceLoader::didFinishLoading()
                                      53 WebCore::Loader::Host::didFinishLoading(WebCore::SubresourceLoader*)
                                        53 WebCore::CachedScript::data(WTF::PassRefPtr&lt;WebCore::SharedBuffer&gt;, bool)
                                          53 WebCore::CachedScript::checkNotify()
                                            53 WebCore::HTMLTokenizer::notifyFinished(WebCore::CachedResource*)
                                              53 WebCore::HTMLTokenizer::scriptExecution(WebCore::String const&amp;, WebCore::HTMLTokenizer::State, WebCore::String const&amp;, int)
                                                53 WebCore::FrameLoader::executeScript(WebCore::String const&amp;, int, WebCore::String const&amp;)
                                                  53 WebCore::ScriptController::evaluate(WebCore::String const&amp;, int, WebCore::String const&amp;)
                                                    53 KJS::Interpreter::evaluate(KJS::ExecState*, KJS::ScopeChain&amp;, KJS::UString const&amp;, int, WTF::PassRefPtr&lt;KJS::SourceProvider&gt;, KJS::JSValue*)
                                                      53 KJS::Machine::execute(KJS::ProgramNode*, KJS::ExecState*, KJS::ScopeChainNode*, KJS::JSObject*, KJS::RegisterFileStack*, KJS::JSValue**)
                                                        53 KJS::Machine::privateExecute(KJS::Machine::ExecutionFlag, KJS::ExecState*, KJS::RegisterFile*, KJS::Register*, KJS::ScopeChainNode*, KJS::CodeBlock*, KJS::JSValue**)
                                                          53 KJS::PrototypeFunction::callAsFunction(KJS::ExecState*, KJS::JSObject*, KJS::ArgList const&amp;)
                                                            53 KJS::arrayProtoFuncJoin(KJS::ExecState*, KJS::JSObject*, KJS::ArgList const&amp;)
                                                              53 void WTF::Vector&lt;unsigned short, 256ul&gt;::append&lt;unsigned short&gt;(unsigned short const*, unsigned long)
                                                                40 void WTF::Vector&lt;unsigned short, 256ul&gt;::append&lt;unsigned short&gt;(unsigned short const*, unsigned long)
                                                                12 operator new(unsigned long, void*)
                                                                  12 operator new(unsigned long, void*)
                                                                1 WTF::Vector&lt;unsigned short, 256ul&gt;::expandCapacity(unsigned long, unsigned short const*)
                                                                  1 WTF::Vector&lt;unsigned short, 256ul&gt;::expandCapacity(unsigned long)
                                                                    1 WTF::Vector&lt;unsigned short, 256ul&gt;::reserveCapacity(unsigned long)
                                                                      1 WTF::VectorBuffer&lt;unsigned short, 256ul&gt;::deallocateBuffer(unsigned short*)
                                                                        1 WTF::VectorBufferBase&lt;unsigned short&gt;::deallocateBuffer(unsigned short*)
                                                                          1 WTF::fastFree(void*)
                                                                            1 free
                                                                              1 munmap$UNIX2003
                                                                                1 munmap$UNIX2003
                                      1 WebCore::DocumentLoader::removeSubresourceLoader(WebCore::ResourceLoader*)
                                        1 WebCore::FrameLoader::checkLoadComplete()
                                          1 WebCore::FrameLoader::recursiveCheckLoadComplete()
                                            1 WebCore::FrameLoader::checkLoadCompleteForThisFrame()
                                              1 WebFrameLoaderClient::dispatchDidFinishLoad()
                                                1 CallFrameLoadDelegate(objc_object* (*)(objc_object*, objc_selector*, ...), WebView*, objc_selector*, objc_object*)
                                                  1 CallDelegate(objc_object* (*)(objc_object*, objc_selector*, ...), WebView*, objc_object*, objc_selector*, objc_object*)
                                                    1 -[FrameLoadDelegate webView:didFinishLoadForFrame:]
                                                      1 -[NSView displayIfNeeded]
                                                        1 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
                                                          1 -[NSNextStepFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
                                                            1 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
                                                              1 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                                                1 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                                                  1 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                                                    1 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                                                      1 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                                                        1 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                                                          1 -[WebHTMLView(WebPrivate) _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                                                            1 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
                                                                              1 -[NSView _drawRect:clip:]
                                                                                1 -[WebHTMLView drawRect:]
                                                                                  1 -[WebHTMLView drawSingleRect:]
                                                                                    1 -[WebFrame(WebInternal) _drawRect:]
                                                                                      1 WebCore::Frame::paint(WebCore::GraphicsContext*, WebCore::IntRect const&amp;)
                                                                                        1 WebCore::RenderLayer::paint(WebCore::GraphicsContext*, WebCore::IntRect const&amp;, WebCore::PaintRestriction, WebCore::RenderObject*)
                                                                                          1 WebCore::RenderLayer::paintLayer(WebCore::RenderLayer*, WebCore::GraphicsContext*, WebCore::IntRect const&amp;, bool, WebCore::PaintRestriction, WebCore::RenderObject*, bool)
                                                                                            1 WebCore::RenderLayer::paintLayer(WebCore::RenderLayer*, WebCore::GraphicsContext*, WebCore::IntRect const&amp;, bool, WebCore::PaintRestriction, WebCore::RenderObject*, bool)
                                                                                              1 WebCore::RenderBlock::paint(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                                1 WebCore::RenderBlock::paintObject(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                                  1 WebCore::RenderBlock::paintContents(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                                    1 WebCore::RenderBlock::paintChildren(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                                      1 WebCore::RenderBlock::paint(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                                        1 WebCore::RenderBlock::paintObject(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                                          1 WebCore::RenderBlock::paintContents(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                                            1 WebCore::RenderBlock::paintChildren(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                                              1 WebCore::RenderBlock::paint(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                                                1 WebCore::RenderBlock::paintObject(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                                                  1 WebCore::RenderBlock::paintContents(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                                                    1 WebCore::RenderFlow::paintLines(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                                                      1 WebCore::RootInlineBox::paint(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                                                        1 WebCore::InlineFlowBox::paint(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                                                          1 WebCore::InlineFlowBox::paint(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                                                            1 WebCore::InlineFlowBox::paint(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                                                              1 WebCore::InlineFlowBox::paint(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                                                                1 WebCore::InlineTextBox::paint(WebCore::RenderObject::PaintInfo&amp;, int, int)
                                                                                                                                  1 WebCore::paintTextWithShadows(WebCore::GraphicsContext*, WebCore::TextRun const&amp;, int, int, WebCore::IntPoint const&amp;, int, int, int, int, WebCore::ShadowData*, bool)
                                                                                                                                    1 WebCore::GraphicsContext::drawText(WebCore::TextRun const&amp;, WebCore::IntPoint const&amp;, int, int)
                                                                                                                                      1 WebCore::Font::drawText(WebCore::GraphicsContext*, WebCore::TextRun const&amp;, WebCore::FloatPoint const&amp;, int, int) const
                                                                                                                                        1 WebCore::Font::drawSimpleText(WebCore::GraphicsContext*, WebCore::TextRun const&amp;, WebCore::FloatPoint const&amp;, int, int) const
                                                                                                                                          1 WebCore::Font::drawGlyphBuffer(WebCore::GraphicsContext*, WebCore::GlyphBuffer const&amp;, WebCore::TextRun const&amp;, WebCore::FloatPoint const&amp;) const
                                                                                                                                            1 WebCore::Font::drawGlyphs(WebCore::GraphicsContext*, WebCore::SimpleFontData const*, WebCore::GlyphBuffer const&amp;, int, int, WebCore::FloatPoint const&amp;) const
                                                                                                                                              1 CGContextShowGlyphsWithAdvances
                                                                                                                                                1 draw_glyphs
                                                                                                                                                  1 ripc_DrawGlyphs
                                                                                                                                                    1 ripl_BltGlyph
                                                                                                                                                      1 ripd_Lock
                                                                                                                                                        1 CGSDeviceLock
                                                                                                                                                          1 _CGSLockWindow
                                                                                                                                                            1 CGSRMWLockEnterCritialSectionLock
                                                                                                                                                              1 CGSRMWLockEnterCritialSectionLock
    934 Thread_2703
      934 thread_start
        934 _pthread_start
          934 CFURLCacheWorkerThread(void*)
            934 CFRunLoopRunInMode
              934 CFRunLoopRunSpecific
                934 mach_msg
                  934 mach_msg_trap
                    934 mach_msg_trap
    934 Thread_2803
      934 thread_start
        934 _pthread_start
          934 __NSThread__main__
            934 -[NSThread main]
              934 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]
                934 CFRunLoopRunInMode
                  934 CFRunLoopRunSpecific
                    934 mach_msg
                      934 mach_msg_trap
                        934 mach_msg_trap
    934 Thread_2903
      934 thread_start
        934 _pthread_start
          934 select$DARWIN_EXTSN
            934 select$DARWIN_EXTSN

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

Sort by top of stack, same collapsed (when &gt;= 5):
        mach_msg_trap        1868
        select$DARWIN_EXTSN        934
        read        880
        void WTF::Vector&lt;unsigned short, 256ul&gt;::append&lt;unsigned short&gt;(unsigned short const*, unsigned long)        40
        operator new(unsigned long, void*)        12</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83530</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-06-16 13:28:37 -0700</bug_when>
    <thetext>I don&apos;t understand the purpose of this bug report.  fast/js/string-concatenate-outofmemory.html is already disabled.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83531</commentid>
    <comment_count>2</comment_count>
    <who name="Jean-Charles Verdié">jcverdie</who>
    <bug_when>2008-06-16 13:32:23 -0700</bug_when>
    <thetext>I mismatched in the reports, this bug is an error, should be closed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>