New issue
Advanced search Search tips

Issue 611914 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 599378
Owner: ----
Closed: May 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Assert in LayoutText.cpp (m_knownToHaveNoOverflowAndNoFallbackFonts)

Reported by ti...@chromium.org, May 13 2016

Issue description

Clankium 52.0.2735.0, debug build
OS: Android N

I receive the following assert in reverse port forwarding mode.
Reverse port forwarding is a convenient method to connect a browser on a mobile device to my own web server running on the local desktop.

To reproduce:
1. Connect usb cable between the phone and desktop computer.

2. Enable reverse port forwarding, e.g.
> adb root
> adb reverse tcp:85 tcp:80  
   --> this would redirect local tcp:85 requests on the phone
       to the host computer (connected with usb cable) port tcp:80

3. Make sure you run the web server on your desktop computer,
e.g. open a browser on your desktop and navigate to 127.0.0.1:80, you should see a page.

4. Open Chrome on the phone and navigate to 127.0.0.1:85
 
What is the expected output?
- You should see the page served by your desktop's web server

What do you see instead?
- An assert

05-13 16:22:04.816 16918 16932 W WebKit  : ASSERTION FAILED: !m_knownToHaveNoOverflowAndNoFallbackFonts || (fallbackFonts.isEmpty() && glyphOverflow.isApproximatelyZero())
05-13 16:22:04.816 16918 16932 W WebKit  : ../../third_party/WebKit/Source/core/layout/LayoutText.cpp(1115) : void blink::LayoutText::computePreferredLogicalWidths(float, WTF::HashSet<const blink::SimpleFontData*>&, blink::FloatRect&)


  0099c420  blink::LayoutText::computePreferredLogicalWidths(float, WTF::HashSet<blink::SimpleFontData const*, WTF::PtrHash<blink::SimpleFontData const>, WTF::HashTraits<blink::SimpleFontData const*>, WTF::PartitionAllocator>&, blink::FloatRect&)                                                                      /usr/local/google/code/clankium/src/third_party/WebKit/Source/core/layout/LayoutText.cpp:1115
  0099d2f9  blink::LayoutText::width(unsigned int, unsigned int, blink::Font const&, blink::LayoutUnit, blink::TextDirection, WTF::HashSet<blink::SimpleFontData const*, WTF::PtrHash<blink::SimpleFontData const>, WTF::HashTraits<blink::SimpleFontData const*>, WTF::PartitionAllocator>*, blink::FloatRect*) const      /usr/local/google/code/clankium/src/third_party/WebKit/Source/core/layout/LayoutText.cpp:1501
  v------>  blink::LineLayoutText::width(unsigned int, unsigned int, blink::Font const&, blink::LayoutUnit, blink::TextDirection, WTF::HashSet<blink::SimpleFontData const*, WTF::PtrHash<blink::SimpleFontData const>, WTF::HashTraits<blink::SimpleFontData const*>, WTF::PartitionAllocator>*, blink::FloatRect*) const  /usr/local/google/code/clankium/src/third_party/WebKit/Source/core/layout/api/LineLayoutText.h:129
  009daba7  blink::textWidth(blink::LineLayoutText, unsigned int, unsigned int, blink::Font const&, float, bool, WTF::HashSet<blink::SimpleFontData const*, WTF::PtrHash<blink::SimpleFontData const>, WTF::HashTraits<blink::SimpleFontData const*>, WTF::PartitionAllocator>*, blink::FloatRect*)                         /usr/local/google/code/clankium/src/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h:534
  009dd2e7  blink::BreakingContext::handleText(WTF::Vector<blink::WordMeasurement, 64u, WTF::PartitionAllocator>&, bool&)                                                                                                                                                                                                   /usr/local/google/code/clankium/src/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h:862
  009ddbb9  blink::LineBreaker::nextLineBreak(blink::BidiResolver<blink::InlineIterator, blink::BidiRun, blink::BidiIsolatedRun>&, blink::LineInfo&, blink::LayoutTextInfo&, WTF::Vector<blink::WordMeasurement, 64u, WTF::PartitionAllocator>&)                                                                            /usr/local/google/code/clankium/src/third_party/WebKit/Source/core/layout/line/LineBreaker.cpp:86
  0094fd9f  blink::LayoutBlockFlow::layoutRunsAndFloatsInRange(blink::LineLayoutState&, blink::BidiResolver<blink::InlineIterator, blink::BidiRun, blink::BidiIsolatedRun>&, blink::InlineIterator const&, blink::BidiStatus const&)                                                                                        /usr/local/google/code/clankium/src/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp:864
  009509dd  blink::LayoutBlockFlow::layoutRunsAndFloats(blink::LineLayoutState&)                                                                                                                                                                                                                                            /usr/local/google/code/clankium/src/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp:776
  00950be1  blink::LayoutBlockFlow::layoutInlineChildren(bool, blink::LayoutUnit&, blink::LayoutUnit&, blink::LayoutUnit)                                                                                                                                                                                                   /usr/local/google/code/clankium/src/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp:1608
  0094888f  blink::LayoutBlockFlow::layoutBlockFlow(bool, blink::LayoutUnit&, blink::SubtreeLayoutScope&)                                                                                                                                                                                                                   /usr/local/google/code/clankium/src/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:478
  00949b8f  blink::LayoutBlockFlow::layoutBlock(bool)                                                                                                                                                                                                                                                                       /usr/local/google/code/clankium/src/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:387
  00938b25  blink::LayoutBlock::layout()                                                                                                                                                                                                                                                                                    /usr/local/google/code/clankium/src/third_party/WebKit/Source/core/layout/LayoutBlock.cpp:692
  0094635f  blink::LayoutBlockFlow::positionAndLayoutOnceIfNeeded(blink::LayoutBox&, blink::LayoutUnit, blink::BlockChildrenLayoutInfo&)                                                                                                                                                                                    /usr/local/google/code/clankium/src/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:659
  00946401  blink::LayoutBlockFlow::layoutBlockChild(blink::LayoutBox&, blink::BlockChildrenLayoutInfo&)                                                                                                                                                                                                                    /usr/local/google/code/clankium/src/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:709
  00946a7f  blink::LayoutBlockFlow::layoutBlockChildren(bool, blink::SubtreeLayoutScope&, blink::LayoutUnit, blink::LayoutUnit)                                                                                                                                                                                             /usr/local/google/code/clankium/src/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:1194
  00948899  blink::LayoutBlockFlow::layoutBlockFlow(bool, blink::LayoutUnit&, blink::SubtreeLayoutScope&)                                                                                                                                                                                                                   /usr/local/google/code/clankium/src/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:480
  00949b8f  blink::LayoutBlockFlow::layoutBlock(bool)                                                                                                                                                                                                                                                                       /usr/local/google/code/clankium/src/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:387
  00938b25  blink::LayoutBlock::layout()                                                                                                                                                                                                                                                                                    /usr/local/google/code/clankium/src/third_party/WebKit/Source/core/layout/LayoutBlock.cpp:692
  0094635f  


 
Mergedinto: 599378
Status: Duplicate (was: Untriaged)

Sign in to add a comment