Opened 7 years ago

Closed 6 years ago

Last modified 5 years ago

#14078 closed bug (fixed)

WebPositive crashes attempting to load YouTube in WTF::StringImpl::create

Reported by: bullfrog Owned by: pulkomandy
Priority: normal Milestone: R1/beta2
Component: Applications/WebPositive Version: R1/Development
Keywords: Cc:
Blocked By: Blocking: #14105
Platform: All

Description

While attempting to load youtube.com, WebPositive crashes before anything is displayed.

Attachments (4)

WebPositive-521-debug-06-04-2018-20-43-37.report (490 bytes ) - added by bullfrog 7 years ago.
WebPositive-516-debug-10-04-2018-05-48-52.report (28.6 KB ) - added by bullfrog 7 years ago.
heres a better report
WebPositive-797-debug-10-04-2018-14-35-23.report (29.4 KB ) - added by bullfrog 7 years ago.
Same issue on x86-64
WebPositive-1816-debug-12-06-2018-01-52-38.report (25.8 KB ) - added by cocobean 6 years ago.
Webpositive_hrev52001 crash with Youtube website's homepage

Download all attachments as: .zip

Change History (18)

comment:1 by diver, 7 years ago

Component: - GeneralApplications/WebPositive
Owner: changed from nobody to pulkomandy

Unfortunately the debug report is incomplete. Could you try to reproduce it and attach a new one?

comment:2 by bullfrog, 7 years ago

I saved a core dump, but it is > 100mb...

by bullfrog, 7 years ago

heres a better report

by bullfrog, 7 years ago

Same issue on x86-64

comment:3 by diver, 7 years ago

Summary: WebPositive crashes attempting to load YouTubeWebPositive crashes attempting to load YouTube in WTF::StringImpl::create

comment:4 by diver, 7 years ago

Blocking: 14105 added

comment:5 by pulkomandy, 7 years ago

I can't reproduce. Is it still a problem with HaikuWebKit 1.6.4?

by cocobean, 6 years ago

Webpositive_hrev52001 crash with Youtube website's homepage

comment:6 by cocobean, 6 years ago

I can reproduce on Haiku hrev52001 x86_64 (see attachment). I can get the web page rendered with Otter Browser and Qupzilla so seems WebPositive specific.

Last edited 6 years ago by cocobean (previous) (diff)

comment:7 by cocobean, 6 years ago

Here are the console messages (hrev52017 x86_64):

~/Desktop> WebPositive
Range: -1.000000 - 1.000000
Create 0:1
1   0x1c5096cda75 WTF::fastMalloc(unsigned long)
2   0x1c5096d53b4 WTF::StringImpl::create(unsigned char const*, unsigned int)
3   0x1c5096e17d1 WTF::String::String(unsigned char const*, unsigned int)
4   0x1c50a28e30d WebCore::CSSVariableValue::CSSVariableValue(WebCore::CSSParserVariable*)
5   0x1c50a26f764 WebCore::CSSParserValue::createCSSValue()
6   0x1c50a28afea WebCore::CSSValueList::CSSValueList(WebCore::CSSParserValueList&)
7   0x1c50a228942 WebCore::CSSFunctionValue::CSSFunctionValue(WebCore::CSSParserFunction*)
8   0x1c50a26f73c WebCore::CSSParserValue::createCSSValue()
9   0x1c50a28afea WebCore::CSSValueList::CSSValueList(WebCore::CSSParserValueList&)
10  0x1c50a25f791 WebCore::CSSParser::parseValue(WebCore::CSSPropertyID, bool)
11  0x1c50a612623 cssyyparse(WebCore::CSSParser*)
12  0x1c50a238d39 WebCore::CSSParser::parseSheet(WebCore::StyleSheetContents*, WTF::String const&, WTF::TextPosition const&, WTF::Vector<WTF::RefPtr<WebCore::CSSRuleSourceData>, 0ul, WTF::CrashOnOverflow, 16ul>*, bool)
13  0x1c50a2d1fbb WebCore::StyleSheetContents::parseStringAtPosition(WTF::String const&, WTF::TextPosition const&, bool)
14  0x1c50a326c32 WebCore::InlineStyleSheetOwner::createSheet(WebCore::Element&, WTF::String const&)
15  0x1c50a326fcd WebCore::InlineStyleSheetOwner::createSheetFromTextContents(WebCore::Element&)
16  0x1c50a3270c7 WebCore::InlineStyleSheetOwner::finishParsingChildren(WebCore::Element&)
17  0x1c5098ef728 WebCore::HTMLStyleElement::finishParsingChildren()
18  0x1c50a3d905d WebCore::HTMLElementStack::popCommon()
19  0x1c50994a401 WebCore::HTMLTreeBuilder::processEndTag(WebCore::AtomicHTMLToken&)
20  0x1c50994e475 WebCore::HTMLTreeBuilder::constructTree(WebCore::AtomicHTMLToken&)
21  0x1c509926197 WebCore::HTMLDocumentParser::constructTreeFromHTMLToken(WebCore::HTMLTokenizer::TokenPtr&)
22  0x1c5099266f7 WebCore::HTMLDocumentParser::pumpTokenizerLoop(WebCore::HTMLDocumentParser::SynchronousMode, bool, WebCore::PumpSession&)
23  0x1c509926ab2 WebCore::HTMLDocumentParser::pumpTokenizer(WebCore::HTMLDocumentParser::SynchronousMode)
24  0x1c509928a85 WebCore::HTMLDocumentParser::resumeParsingAfterScriptExecution()
25  0x1c509928dc0 WebCore::HTMLDocumentParser::notifyFinished(WebCore::CachedResource*)
26  0x1c509a57da3 WebCore::CachedResource::Callback::timerFired()
27  0x1c509a34d18 WebCore::SubresourceLoader::didFinishLoading(double)
28  0x1c50a5d2e6d WebCore::BUrlProtocolHandler::RequestCompleted(BUrlRequest*, bool)
29  0x22133820cb9 BUrlProtocolAsynchronousListener::MessageReceived(BMessage*)
30  0x3fd5795582 BLooper::DispatchMessage(BMessage*, BHandler*)
31  0x3fd578ea6b BApplication::DispatchMessage(BMessage*, BHandler*)
Kill Thread

Last edited 6 years ago by cocobean (previous) (diff)

comment:8 by pulkomandy, 6 years ago

There were already 3 debug reports in the ticket. Adding a 4th one does not help solve the issue.

comment:9 by bullfrog, 6 years ago

I'll see what I can do when I get back to my computer.

Version 0, edited 6 years ago by bullfrog (next)

comment:10 by pulkomandy, 6 years ago

There is nothing to do yet, I have not updated webkit yet.

comment:11 by cocobean, 6 years ago

Tested: hrev52020 x86_64, HaikuWebkit 1.6.5/Webkit 605.1.17

Youtube.com main web page loads successfully and I watched several Youtube videos without any major video/sound issues using WebPositive 1.1-alpha.

Last edited 6 years ago by cocobean (previous) (diff)

comment:12 by waddlesplash, 6 years ago

Resolution: fixed
Status: newclosed

comment:13 by bullfrog, 6 years ago

Kdl issue fix confirm on my end. Just getting back to my computers. Thank you.

comment:14 by nielx, 5 years ago

Milestone: UnscheduledR1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.