<?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>19574</bug_id>
          
          <creation_ts>2008-06-16 04:10:11 -0700</creation_ts>
          <short_desc>layout test svg/W3C-SVG-1.1/fonts-glyph-02-t.svg hangs</short_desc>
          <delta_ts>2008-06-16 11:22:01 -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>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>DUPLICATE</resolution>
          <dup_id>18830</dup_id>
          
          <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>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>83444</commentid>
    <comment_count>0</comment_count>
    <who name="Jean-Charles Verdié">jcverdie</who>
    <bug_when>2008-06-16 04:10:11 -0700</bug_when>
    <thetext>stderr:
ASSERTION FAILED: !HashTranslator::equal(KeyTraits::emptyValue(), key)
(/Users/jcverdie/owb/webkit/WebKitBuild/Debug/JavaScriptCore.framework/PrivateHeaders/HashTable.h:444 void WTF::HashTable&lt;Key, Value, Extractor, HashFunctions, Traits, KeyTraits&gt;::checkKey(const T&amp;) [with T = UChar, HashTranslator = WTF::IdentityHashTranslator&lt;UChar, std::pair&lt;UChar, WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt;, WTF::IntHash&lt;unsigned int&gt; &gt;, Key = UChar, Value = std::pair&lt;UChar, WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt;, Extractor = WTF::PairFirstExtractor&lt;std::pair&lt;UChar, WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt; &gt;, HashFunctions = WTF::IntHash&lt;unsigned int&gt;, Traits = WTF::PairHashTraits&lt;WTF::HashTraits&lt;UChar&gt;, WTF::HashTraits&lt;WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt; &gt;, KeyTraits = WTF::HashTraits&lt;UChar&gt;])

HangReport:

Call graph:
    958 Thread_2603
      958 start
        958 main
          958 dumpRenderTree(int, char const**)
            958 runTestingServerLoop()
              958 runTest(char const*)
                958 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
                  958 CFRunLoopRunInMode
                    958 CFRunLoopRunSpecific
                      958 muxerSourcePerform
                        958 _CFURLConnectionSendCallbacks
                          958 sendDidFinishLoadingCallback
                            958 _NSURLConnectionDidFinishLoading
                              958 -[NSURLConnection(NSURLConnectionReallyInternal) sendDidFinishLoading]
                                958 -[WebCoreResourceHandleAsDelegate connectionDidFinishLoading:]
                                  958 WebCore::ResourceLoader::didFinishLoading(WebCore::ResourceHandle*)
                                    958 WebCore::MainResourceLoader::didFinishLoading()
                                      958 WebCore::FrameLoader::finishedLoading()
                                        958 WebCore::DocumentLoader::finishedLoading()
                                          958 WebCore::FrameLoader::end()
                                            958 WebCore::FrameLoader::endIfNotLoadingMainResource()
                                              958 WebCore::Document::finishParsing()
                                                958 WebCore::XMLTokenizer::finish()
                                                  958 WebCore::XMLTokenizer::end()
                                                    958 WebCore::Document::finishedParsing()
                                                      958 WebCore::FrameLoader::finishedParsing()
                                                        958 WebCore::FrameLoader::checkCompleted()
                                                          958 WebCore::FrameLoader::checkCallImplicitClose()
                                                            958 WebCore::Document::implicitClose()
                                                              958 WebCore::FrameView::layout(bool)
                                                                958 WebCore::RenderView::layout()
                                                                  958 WebCore::RenderBlock::layout()
                                                                    958 WebCore::RenderBlock::layoutBlock(bool)
                                                                      958 WebCore::RenderBlock::layoutBlockChildren(bool, int&amp;)
                                                                        958 WebCore::RenderSVGRoot::layout()
                                                                          958 WebCore::RenderObject::layoutIfNeeded()
                                                                            958 WebCore::RenderSVGContainer::layout()
                                                                              958 WebCore::RenderObject::layoutIfNeeded()
                                                                                958 WebCore::RenderSVGContainer::layout()
                                                                                  958 WebCore::RenderObject::layoutIfNeeded()
                                                                                    958 WebCore::RenderSVGText::layout()
                                                                                      958 WebCore::RenderBlock::layout()
                                                                                        958 WebCore::RenderBlock::layoutBlock(bool)
                                                                                          958 WebCore::RenderBlock::layoutInlineChildren(bool, int&amp;, int&amp;)
                                                                                            958 WebCore::SVGRootInlineBox::computePerCharacterLayoutInformation()
                                                                                              958 WebCore::SVGRootInlineBox::buildLayoutInformation(WebCore::InlineFlowBox*, WebCore::SVGCharacterLayoutInfo&amp;)
                                                                                                958 WebCore::SVGRootInlineBox::buildLayoutInformationForTextBox(WebCore::SVGCharacterLayoutInfo&amp;, WebCore::InlineTextBox*, WebCore::LastGlyphInfo&amp;)
                                                                                                  958 WebCore::SVGInlineTextBox::calculateGlyphWidth(WebCore::RenderStyle*, int, int, int&amp;, WebCore::String&amp;) const
                                                                                                    958 WebCore::Font::floatWidth(WebCore::TextRun const&amp;, int, int&amp;, WebCore::String&amp;) const
                                                                                                      958 WebCore::Font::floatWidthUsingSVGFont(WebCore::TextRun const&amp;, int, int&amp;, WebCore::String&amp;) const
                                                                                                        958 WebCore::floatWidthOfSubStringUsingSVGFont(WebCore::Font const*, WebCore::TextRun const&amp;, int, int, int, int&amp;, WebCore::String&amp;)
                                                                                                          958 WebCore::SVGTextRunWalker&lt;WebCore::SVGTextRunWalkerMeasuredLengthData&gt;::walk(WebCore::TextRun const&amp;, bool, WebCore::String const&amp;, int, int)
                                                                                                            958 WebCore::SVGFontElement::getGlyphIdentifiersForString(WebCore::String const&amp;, WTF::Vector&lt;WebCore::SVGGlyphIdentifier, 0ul&gt;&amp;) const
                                                                                                              958 WebCore::SVGGlyphMap::get(WebCore::String const&amp;, WTF::Vector&lt;WebCore::SVGGlyphIdentifier, 0ul&gt;&amp;)
                                                                                                                958 WTF::HashMap&lt;unsigned short, WTF::RefPtr&lt;WebCore::GlyphMapNode&gt;, WTF::IntHash&lt;unsigned int&gt;, WTF::HashTraits&lt;unsigned short&gt;, WTF::HashTraits&lt;WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt; &gt;::get(unsigned short const&amp;) const
                                                                                                                  958 WTF::HashTable&lt;unsigned short, std::pair&lt;unsigned short, WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt;, WTF::PairFirstExtractor&lt;std::pair&lt;unsigned short, WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt; &gt;, WTF::IntHash&lt;unsigned int&gt;, WTF::PairHashTraits&lt;WTF::HashTraits&lt;unsigned short&gt;, WTF::HashTraits&lt;WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt; &gt;, WTF::HashTraits&lt;unsigned short&gt; &gt;::lookup(unsigned short const&amp;)
                                                                                                                    958 std::pair&lt;unsigned short, WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt;* WTF::HashTable&lt;unsigned short, std::pair&lt;unsigned short, WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt;, WTF::PairFirstExtractor&lt;std::pair&lt;unsigned short, WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt; &gt;, WTF::IntHash&lt;unsigned int&gt;, WTF::PairHashTraits&lt;WTF::HashTraits&lt;unsigned short&gt;, WTF::HashTraits&lt;WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt; &gt;, WTF::HashTraits&lt;unsigned short&gt; &gt;::lookup&lt;unsigned short, WTF::IdentityHashTranslator&lt;unsigned short, std::pair&lt;unsigned short, WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt;, WTF::IntHash&lt;unsigned int&gt; &gt; &gt;(unsigned short const&amp;)
                                                                                                                      958 void WTF::HashTable&lt;unsigned short, std::pair&lt;unsigned short, WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt;, WTF::PairFirstExtractor&lt;std::pair&lt;unsigned short, WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt; &gt;, WTF::IntHash&lt;unsigned int&gt;, WTF::PairHashTraits&lt;WTF::HashTraits&lt;unsigned short&gt;, WTF::HashTraits&lt;WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt; &gt;, WTF::HashTraits&lt;unsigned short&gt; &gt;::checkKey&lt;unsigned short, WTF::IdentityHashTranslator&lt;unsigned short, std::pair&lt;unsigned short, WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt;, WTF::IntHash&lt;unsigned int&gt; &gt; &gt;(unsigned short const&amp;)
                                                                                                                        958 void WTF::HashTable&lt;unsigned short, std::pair&lt;unsigned short, WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt;, WTF::PairFirstExtractor&lt;std::pair&lt;unsigned short, WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt; &gt;, WTF::IntHash&lt;unsigned int&gt;, WTF::PairHashTraits&lt;WTF::HashTraits&lt;unsigned short&gt;, WTF::HashTraits&lt;WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt; &gt;, WTF::HashTraits&lt;unsigned short&gt; &gt;::checkKey&lt;unsigned short, WTF::IdentityHashTranslator&lt;unsigned short, std::pair&lt;unsigned short, WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt;, WTF::IntHash&lt;unsigned int&gt; &gt; &gt;(unsigned short const&amp;)
    958 Thread_2703
      958 thread_start
        958 _pthread_start
          958 CFURLCacheWorkerThread(void*)
            958 CFRunLoopRunInMode
              958 CFRunLoopRunSpecific
                958 mach_msg
                  958 mach_msg_trap
                    958 mach_msg_trap
    958 Thread_2803
      958 thread_start
        958 _pthread_start
          958 __NSThread__main__
            958 -[NSThread main]
              958 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]
                958 CFRunLoopRunInMode
                  958 CFRunLoopRunSpecific
                    958 mach_msg
                      958 mach_msg_trap
                        958 mach_msg_trap

Total number in stack (recursive counted multiple, when &gt;=5):

Sort by top of stack, same collapsed (when &gt;= 5):
        mach_msg_trap        1916
        void WTF::HashTable&lt;unsigned short, std::pair&lt;unsigned short, WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt;, WTF::PairFirstExtractor&lt;std::pair&lt;unsigned short, WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt; &gt;, WTF::IntHash&lt;unsigned int&gt;, WTF::PairHashTraits&lt;WTF::HashTraits&lt;unsigned short&gt;, WTF::HashTraits&lt;WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt; &gt;, WTF::HashTraits&lt;unsigned short&gt; &gt;::checkKey&lt;unsigned short, WTF::IdentityHashTranslator&lt;unsigned short, std::pair&lt;unsigned short, WTF::RefPtr&lt;WebCore::GlyphMapNode&gt; &gt;, WTF::IntHash&lt;unsigned int&gt; &gt; &gt;(unsigned short const&amp;)        958</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83497</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-06-16 11:22:01 -0700</bug_when>
    <thetext>

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

    </bug>

</bugzilla>