[Webkit-unassigned] [Bug 71112] NRWT crashes when parsing leaks output due to UTF-8 decoding error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 28 13:32:41 PDT 2011


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





--- Comment #3 from Eric Seidel <eric at webkit.org>  2011-10-28 13:32:42 PST ---
http://build.webkit.org/results/SnowLeopard%20Intel%20Leaks/r98706%20(19800)/DumpRenderTree-88620-leaks.txt

is the file with the bad char.

Leak: 0x1240d0090  size=32  zone: DefaultMallocZone_0x107420000    instance of 'NSCFNumber', type ObjC, implemented in Foundation    
    0x70fdd8c8 0x00007fff 0x00001686 0x00000001     ...p............
    0x00000000 0x40300000 0x00000000 0x00000000     ......0 at ........
    Call stack: [thread 0x7fff7026fca0]: | start | main | dumpRenderTree(int, char const**) | runTestingServerLoop() | runTest(std::string const&) | -[NSRunLoop(NSRunLoop) runMode:beforeDate:] | CFRunLoopRunSpecific | __CFRunLoopRun | __CFRunLoopDoSources0 | MultiplexerSource::perform() | URLConnectionClient::processEvents() | URLConnectionClient::ClientConnectionEventQueue::processAllEventsAndConsumePayload(XConnectionEventInfo<XClientEvent, XClientEventParams>*, long) | URLConnectionClient::_clientDidReceiveData(__CFData const*, URLConnectionClient::ClientConnectionEventQueue*) | _NSURLConnectionDidReceiveData | -[WebCoreResourceHandleAsDelegate connection:didReceiveData:lengthReceived:] | WebCore::ResourceLoader::didReceiveData(WebCore::ResourceHandle*, char const*, int, int) | WebCore::MainResourceLoader::didReceiveData(char const*, int, long long, bool) | WebCore::ResourceLoader::didReceiveData(char const*, int, long long, bool) | WebCore::MainResourceLoader::addData(char const*, int, bool) | WebCore::DocumentLoader::receivedData(char const*, int) | WebCore::DocumentLoader::commitLoad(char const*, int) | WebFrameLoaderClient::committedLoad(WebCore::DocumentLoader*, char const*, int) | -[WebDataSource(WebInternal) _receivedData:] | -[WebHTMLRepresentation receivedData:withDataSource:] | -[WebFrame(WebInternal) _commitData:] | WebCore::DocumentLoader::commitData(char const*, unsigned long) | WebCore::DocumentWriter::addData(char const*, unsigned long) | WebCore::DecodedDataDocumentParser::appendBytes(WebCore::DocumentWriter*, char const*, unsigned long) | WebCore::HTMLDocumentParser::append(WebCore::SegmentedString const&) | WebCore::HTMLDocumentParser::pumpTokenizerIfPossible(WebCore::HTMLDocumentParser::SynchronousMode) | WebCore::HTMLDocumentParser::pumpTokenizer(WebCore::HTMLDocumentParser::SynchronousMode) | WebCore::HTMLDocumentParser::canTakeNextToken(WebCore::HTMLDocumentParser::SynchronousMode, WebCore::PumpSession&) | WebCore::HTMLDocumentParser::runScriptsForPausedTreeBuilder() | WebCore::HTMLScriptRunner::execute(WTF::PassRefPtr<WebCore::Element>, WTF::TextPosition const&) | WebCore::HTMLScriptRunner::runScript(WebCore::Element*, WTF::TextPosition const&) | WebCore::ScriptElement::prepareScript(WTF::TextPosition const&, WebCore::ScriptElement::LegacyTypeSupport) | WebCore::ScriptElement::executeScript(WebCore::ScriptSourceCode const&) | WebCore::ScriptController::evaluate(WebCore::ScriptSourceCode const&) | WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&, WebCore::DOMWrapperWorld*) | WebCore::JSMainThreadExecState::evaluate(JSC::ExecState*, JSC::ScopeChainNode*, JSC::SourceCode const&, JSC::JSValue, JSC::JSValue*) | JSC::evaluate(JSC::ExecState*, JSC::ScopeChainNode*, JSC::SourceCode const&, JSC::JSValue, JSC::JSValue*) | JSC::Interpreter::execute(JSC::ProgramExecutable*, JSC::ExecState*, JSC::ScopeChainNode*, JSC::JSObject*) | JSC::JITCode::execute(JSC::RegisterFile*, JSC::ExecState*, JSC::JSGlobalData*) | 0x262ebe8011f8 | WebCore::jsDOMSelectionPrototypeFunctionSetBaseAndExtent(JSC::ExecState*) | WebCore::DOMSelection::setBaseAndExtent(WebCore::Node*, int, WebCore::Node*, int, int&) | WebCore::FrameSelection::moveTo(WebCore::VisiblePosition const&, WebCore::VisiblePosition const&, WebCore::EUserTriggered) | WebCore::FrameSelection::setSelection(WebCore::VisibleSelection const&, unsigned int, WebCore::FrameSelection::CursorAlignOnScroll, WebCore::TextGranularity) | WebCore::FrameSelection::updateAppearance() | WebCore::RenderView::setSelection(WebCore::RenderObject*, int, WebCore::RenderObject*, int, WebCore::RenderView::SelectionRepaintMode) | WebCore::RenderSelectionInfo::RenderSelectionInfo(WebCore::RenderObject*, bool) | WebCore::RenderText::selectionRectForRepaint(WebCore::RenderBoxModelObject*, bool) | WebCore::InlineTextBox::localSelectionRect(int, int) | WebCore::Font::selectionRectForText(WebCore::TextRun const&, WebCore::FloatPoint const&, int, int, int) const | WebCore::Font::selectionRectForComplexText(WebCore::TextRun const&, WebCore::FloatPoint const&, int, int, int) const | WebCore::ComplexTextController::ComplexTextController(WebCore::Font const*, WebCore::TextRun const&, bool, WTF::HashSet<WebCore::SimpleFontData const*, WTF::PtrHash<WebCore::SimpleFontData const*>, WTF::HashTraits<WebCore::SimpleFontData const*> >*, bool) | WebCore::ComplexTextController::collectComplexTextRuns() | WebCore::ComplexTextController::collectComplexTextRunsForCharacters(unsigned short const*, unsigned int, unsigned int, WebCore::SimpleFontData const*) | WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText(unsigned short const*, unsigned int, unsigned int, WebCore::SimpleFontData const*) | CTTypesetterCreateWithAttributedStringAndOptions | TTypesetterAttrString::Initialize() | TGlyphEncoder::EncodeChars(CFRange, __CFDictionary const*) | TGlyphEncoder::RunUnicodeEncoder(CTRun*, CFRange, TGlyphList<TDeletedGlyphIndex>&, TFontCascade const&) | TGlyphEncoder::RunUnicodeEncoderRecursively(CTRun*, CFRange, TGlyphList<TDeletedGlyphIndex>&, TFontCascade const&) | TGlyphEncoder::AppendUnmappedCharRun(CTRun*, CFRange, TGlyphList<TDeletedGlyphIndex>&, TFontCascade const&) | TFontCascade::CreateFallback(__CTFont const*, __CFString const*, CFRange) const | TFontCascade::CreateCascadeFallback(long) | -[WebCascadeList objectAtIndex:] | TFont::CopyDescriptor() const | CFNumberCreate | _CFRuntimeCreateInstance | malloc_zone_malloc 
Leak: 0x1240d00f0  size=32  zone: DefaultMallocZone_0x107420000    string ''

is the bad leak.  that string is the char 0x90. :(

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


More information about the webkit-unassigned mailing list