Bug 72052 - fast/dom/javascript-url-exception-isolation.html crashing on Webkit Mac10.6 (CG)(dbg)crashing on Webkit Mac10.6 (CG)(dbg)
Summary: fast/dom/javascript-url-exception-isolation.html crashing on Webkit Mac10.6 (...
Status: RESOLVED DUPLICATE of bug 59552
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-10 13:37 PST by Ojan Vafai
Modified: 2011-11-15 15:19 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ojan Vafai 2011-11-10 13:37:51 PST
Regression range: http://trac.webkit.org/log/?verbose=on&rev=99879&stop_rev=99870.

Of those, http://trac.webkit.org/changeset/99870/ seems like the most likely (only?) possible culprit.

vsevik, mind tracking down which revision caused the failure? Looks like we're hitting an assert in the font code.

Stacktrace:
ASSERTION FAILED: fontCache()->generation() == m_generation
/b/build/slave/webkit-mac-cg-latest-dbg/build/src/third_party/WebKit/Source/WebCore/WebCore.gyp/../platform/graphics/FontFallbackList.cpp(104) : const WebCore::FontData *WebCore::FontFallbackList::fontDataAt(const WebCore::Font *, unsigned int) const
1   0x3f517018 WebCore::FontFallbackList::fontDataAt(WebCore::Font const*, unsigned int) const
2   0x3f66df69 WebCore::FontFallbackList::primaryFontData(WebCore::Font const*) const
3   0x3f516dbc WebCore::FontFallbackList::determinePitch(WebCore::Font const*) const
4   0x401e3c5b WebCore::FontFallbackList::isFixedPitch(WebCore::Font const*) const
5   0x401ddd9b WebCore::Font::isFixedPitch() const
6   0x40355ccd WebCore::RenderText::widthFromCache(WebCore::Font const&, int, int, float, WTF::HashSet<WebCore::SimpleFontData const*, WTF::PtrHash<WebCore::SimpleFontData const*>, WTF::HashTraits<WebCore::SimpleFontData const*> >*, WebCore::GlyphOverflow*) const
7   0x4035157b WebCore::RenderText::computePreferredLogicalWidths(float, WTF::HashSet<WebCore::SimpleFontData const*, WTF::PtrHash<WebCore::SimpleFontData const*>, WTF::HashTraits<WebCore::SimpleFontData const*> >&, WebCore::GlyphOverflow&)
8   0x40350aad WebCore::RenderText::computePreferredLogicalWidths(float)
9   0x403502c0 WebCore::RenderText::trimmedPrefWidths(float, float&, bool&, float&, bool&, bool&, bool&, float&, float&, float&, float&, bool&)
10  0x4017d5f6 WebCore::RenderBlock::computeInlinePreferredLogicalWidths()
11  0x4017c781 WebCore::RenderBlock::computePreferredLogicalWidths()
12  0x401f4c8c WebCore::RenderBox::minPreferredLogicalWidth() const
13  0x4017dd77 WebCore::RenderBlock::computeBlockPreferredLogicalWidths()
14  0x4017c794 WebCore::RenderBlock::computePreferredLogicalWidths()
15  0x401f4c8c WebCore::RenderBox::minPreferredLogicalWidth() const
16  0x4017dd77 WebCore::RenderBlock::computeBlockPreferredLogicalWidths()
17  0x4017c794 WebCore::RenderBlock::computePreferredLogicalWidths()
18  0x401f4c8c WebCore::RenderBox::minPreferredLogicalWidth() const
19  0x4017dd77 WebCore::RenderBlock::computeBlockPreferredLogicalWidths()
20  0x4017c794 WebCore::RenderBlock::computePreferredLogicalWidths()
21  0x401f4c8c WebCore::RenderBox::minPreferredLogicalWidth() const
22  0x4017dd77 WebCore::RenderBlock::computeBlockPreferredLogicalWidths()
23  0x4017c794 WebCore::RenderBlock::computePreferredLogicalWidths()
24  0x401f4c8c WebCore::RenderBox::minPreferredLogicalWidth() const
25  0x4017dd77 WebCore::RenderBlock::computeBlockPreferredLogicalWidths()
26  0x4017c794 WebCore::RenderBlock::computePreferredLogicalWidths()
27  0x4037927d WebCore::RenderView::computePreferredLogicalWidths()
28  0x401f4c8c WebCore::RenderBox::minPreferredLogicalWidth() const
29  0x3d88e1ea WebKit::WebFrameImpl::contentsPreferredWidth() const
30  0x3d7b5f57 WebViewHost::didUpdateLayout(WebKit::WebFrame*)
31  0x3d7b5fd9 non-virtual thunk to WebViewHost::didUpdateLayout(WebKit::WebFrame*)
[65007:2307:952952286070233:ERROR:process_util_posix.cc(134)] Received signal 11
CONSOLE MESSAGE: line 1: Uncaught 42
CONSOLE MESSAGE: line 1: Uncaught SyntaxError: Unexpected token <
	0   DumpRenderTree                      0x3d6f76df base::debug::StackTrace::StackTrace() + 63
	1   DumpRenderTree                      0x3d6f767b base::debug::StackTrace::StackTrace() + 43
	2   DumpRenderTree                      0x3dd67397 base::(anonymous namespace)::StackDumpSignalHandler(int, __siginfo*, __darwin_ucontext*) + 295
	3   libSystem.B.dylib                   0x963b305b _sigtramp + 43
	4   ???                                 0xffffffff 0x0 + 4294967295
	5   DumpRenderTree                      0x3f66df69 WebCore::FontFallbackList::primaryFontData(WebCore::Font const*) const + 73
	6   DumpRenderTree                      0x3f516dbc WebCore::FontFallbackList::determinePitch(WebCore::Font const*) const + 60
	7   DumpRenderTree                      0x401e3c5b WebCore::FontFallbackList::isFixedPitch(WebCore::Font const*) const + 91
	8   DumpRenderTree                      0x401ddd9b WebCore::Font::isFixedPitch() const + 171
	9   DumpRenderTree                      0x40355ccd WebCore::RenderText::widthFromCache(WebCore::Font const&, int, int, float, WTF::HashSet<WebCore::SimpleFontData const*, WTF::PtrHash<WebCore::SimpleFontData const*>, WTF::HashTraits<WebCore::SimpleFontData const*> >*, WebCore::GlyphOverflow*) const + 269
	10  DumpRenderTree                      0x4035157b WebCore::RenderText::computePreferredLogicalWidths(float, WTF::HashSet<WebCore::SimpleFontData const*, WTF::PtrHash<WebCore::SimpleFontData const*>, WTF::HashTraits<WebCore::SimpleFontData const*> >&, WebCore::GlyphOverflow&) + 2619
	11  DumpRenderTree                      0x40350aad WebCore::RenderText::computePreferredLogicalWidths(float) + 109
	12  DumpRenderTree                      0x403502c0 WebCore::RenderText::trimmedPrefWidths(float, float&, bool&, float&, bool&, bool&, bool&, float&, float&, float&, float&, bool&) + 336
	13  DumpRenderTree                      0x4017d5f6 WebCore::RenderBlock::computeInlinePreferredLogicalWidths() + 2262
	14  DumpRenderTree                      0x4017c781 WebCore::RenderBlock::computePreferredLogicalWidths() + 481
	15  DumpRenderTree                      0x401f4c8c WebCore::RenderBox::minPreferredLogicalWidth() const + 76
	16  DumpRenderTree                      0x4017dd77 WebCore::RenderBlock::computeBlockPreferredLogicalWidths() + 887
	17  DumpRenderTree                      0x4017c794 WebCore::RenderBlock::computePreferredLogicalWidths() + 500
	18  DumpRenderTree                      0x401f4c8c WebCore::RenderBox::minPreferredLogicalWidth() const + 76
	19  DumpRenderTree                      0x4017dd77 WebCore::RenderBlock::computeBlockPreferredLogicalWidths() + 887
	20  DumpRenderTree                      0x4017c794 WebCore::RenderBlock::computePreferredLogicalWidths() + 500
	21  DumpRenderTree                      0x401f4c8c WebCore::RenderBox::minPreferredLogicalWidth() const + 76
	22  DumpRenderTree                      0x4017dd77 WebCore::RenderBlock::computeBlockPreferredLogicalWidths() + 887
	23  DumpRenderTree                      0x4017c794 WebCore::RenderBlock::computePreferredLogicalWidths() + 500
	24  DumpRenderTree                      0x401f4c8c WebCore::RenderBox::minPreferredLogicalWidth() const + 76
	25  DumpRenderTree                      0x4017dd77 WebCore::RenderBlock::computeBlockPreferredLogicalWidths() + 887
	26  DumpRenderTree                      0x4017c794 WebCore::RenderBlock::computePreferredLogicalWidths() + 500
	27  DumpRenderTree                      0x401f4c8c WebCore::RenderBox::minPreferredLogicalWidth() const + 76
	28  DumpRenderTree                      0x4017dd77 WebCore::RenderBlock::computeBlockPreferredLogicalWidths() + 887
	29  DumpRenderTree                      0x4017c794 WebCore::RenderBlock::computePreferredLogicalWidths() + 500
	30  DumpRenderTree                      0x4037927d WebCore::RenderView::computePreferredLogicalWidths() + 141
	31  DumpRenderTree                      0x401f4c8c WebCore::RenderBox::minPreferredLogicalWidth() const + 76
	32  DumpRenderTree                      0x3d88e1ea WebKit::WebFrameImpl::contentsPreferredWidth() const + 154
	33  DumpRenderTree                      0x3d7b5f57 WebViewHost::didUpdateLayout(WebKit::WebFrame*) + 103
	34  DumpRenderTree                      0x3d7b5fd9 non-virtual thunk to WebViewHost::didUpdateLayout(WebKit::WebFrame*) + 41
	35  DumpRenderTree                      0x3d7e5857 WebKit::ChromeClientImpl::layoutUpdated(WebCore::Frame*) const + 103
	36  DumpRenderTree                      0x3fe536f7 WebCore::FrameView::layout(bool) + 5015
	37  DumpRenderTree                      0x3fe4e572 WebCore::FrameView::layoutTimerFired(WebCore::Timer<WebCore::FrameView>*) + 66
	38  DumpRenderTree                      0x3fe6a197 WebCore::Timer<WebCore::FrameView>::fired() + 135
	39  DumpRenderTree                      0x3f47fe11 WebCore::ThreadTimers::sharedTimerFiredInternal() + 337
	40  DumpRenderTree                      0x3f47fb9f WebCore::ThreadTimers::sharedTimerFired() + 47
	41  DumpRenderTree                      0x40d89749 webkit_glue::WebKitPlatformSupportImpl::DoTimeout() + 73
	42  DumpRenderTree                      0x40d8a371 void DispatchToMethod<webkit_glue::WebKitPlatformSupportImpl, void (webkit_glue::WebKitPlatformSupportImpl::*)()>(webkit_glue::WebKitPlatformSupportImpl*, void (webkit_glue::WebKitPlatformSupportImpl::*)(), Tuple0 const&) + 145
	43  DumpRenderTree                      0x40d8a232 base::BaseTimer<webkit_glue::WebKitPlatformSupportImpl, false>::TimerTask::Run() + 130
	44  DumpRenderTree                      0x3dda9c82 base::subtle::TaskClosureAdapter::Run() + 50
	45  DumpRenderTree                      0x3dd1eb3f base::internal::Invoker1<false, base::internal::InvokerStorage1<void (base::subtle::TaskClosureAdapter::*)(), base::subtle::TaskClosureAdapter*>, void (base::subtle::TaskClosureAdapter::*)()>::DoInvoke(base::internal::InvokerStorageBase*) + 143
	46  DumpRenderTree                      0x3dd176bb base::Callback<void ()()>::Run() const + 75
	47  DumpRenderTree                      0x3dd14ccd MessageLoop::RunTask(MessageLoop::PendingTask const&) + 1069
	48  DumpRenderTree                      0x3dd14ed1 MessageLoop::DeferOrRunPendingTask(MessageLoop::PendingTask const&) + 97
	49  DumpRenderTree                      0x3dd15108 MessageLoop::DoWork() + 312
	50  DumpRenderTree                      0x3dc9647b base::MessagePumpCFRunLoopBase::RunWork() + 107
	51  DumpRenderTree                      0x3dc95b72 base::MessagePumpCFRunLoopBase::RunWorkSource(void*) + 50
	52  CoreFoundation                      0x956da42b __CFRunLoopDoSources0 + 1563
	53  CoreFoundation                      0x956d7eef __CFRunLoopRun + 1071
	54  CoreFoundation                      0x956d73c4 CFRunLoopRunSpecific + 452
	55  CoreFoundation                      0x956d71f1 CFRunLoopRunInMode + 97
	56  HIToolbox                           0x98477e04 RunCurrentEventLoopInMode + 392
	57  HIToolbox                           0x98477bb9 ReceiveNextEventCommon + 354
	58  HIToolbox                           0x98477a3e BlockUntilNextEventMatchingListInMode + 81
	59  AppKit                              0x97282595 _DPSNextEvent + 847
	60  AppKit                              0x97281dd6 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
	61  AppKit                              0x972441f3 -[NSApplication run] + 821
ax: bbadbeef, bx: 16313718, cx: 8c25fe40, dx: 8c25fe40
di: 4106010c, si: 4106007b, bp: bfffb7e8, sp: bfffb760, ss: 23, flags: 10286
ip: 3f51701d, cs: 1b, ds: 23, es: 23, fs: 0, gs: f
Comment 2 Ojan Vafai 2011-11-10 14:39:36 PST
Hmmm...fast/frames/sandboxed-iframe-navigation-targetlink.html has the same stack, except the regression range is http://trac.webkit.org/log/?verbose=on&rev=99889&stop_rev=99880.

And it appears fast/dom/javascript-url-exception-isolation.html crashing on Webkit Mac10.6 (CG)(dbg) started passing in the same run. :(

We must have some corruption that isn't tied to a specific test.

Not sure who knows this code, but Julien was the last to modify it. :)
Comment 3 Julien Chaffraix 2011-11-10 21:21:45 PST
> Not sure who knows this code, but Julien was the last to modify it. :)

Nice try but I have no clue about the exact reason!

This ASSERT is widely seen on our bots and it looks like a timing issue. See bug 59552 for more test failing...
Comment 4 Peter Kasting 2011-11-15 15:19:42 PST
It seems like the other bug covers this adequately?

*** This bug has been marked as a duplicate of bug 59552 ***