Opened 13 months ago

Closed 10 months ago

Last modified 7 months ago

#14078 closed bug (fixed)

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

Reported by: bullfrog Owned by: pulkomandy
Priority: normal Milestone: Unscheduled
Component: Applications/WebPositive Version: R1/Development
Keywords: Cc:
Blocked By: Blocking: #14105
Has a Patch: no 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 13 months ago.
WebPositive-516-debug-10-04-2018-05-48-52.report (28.6 KB) - added by bullfrog 13 months ago.
heres a better report
WebPositive-797-debug-10-04-2018-14-35-23.report (29.4 KB) - added by bullfrog 13 months ago.
Same issue on x86-64
WebPositive-1816-debug-12-06-2018-01-52-38.report (25.8 KB) - added by cocobean 11 months ago.
Webpositive_hrev52001 crash with Youtube website's homepage

Download all attachments as: .zip

Change History (17)

comment:1 Changed 13 months ago by diver

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 Changed 13 months ago by bullfrog

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

Changed 13 months ago by bullfrog

heres a better report

Changed 13 months ago by bullfrog

Same issue on x86-64

comment:3 Changed 12 months ago by diver

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

comment:4 Changed 12 months ago by diver

Blocking: 14105 added

comment:5 Changed 11 months ago by pulkomandy

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

Changed 11 months ago by cocobean

Webpositive_hrev52001 crash with Youtube website's homepage

comment:6 Changed 11 months ago by cocobean

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 10 months ago by cocobean (previous) (diff)

comment:7 Changed 10 months ago by cocobean

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 10 months ago by cocobean (previous) (diff)

comment:8 Changed 10 months ago by pulkomandy

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

comment:9 Changed 10 months ago by bullfrog

I'll see what I can do when I get back to my computer. I'm on the road and I'll have to update. I was on a rather dated nightly when I last tried this.

Last edited 10 months ago by bullfrog (previous) (diff)

comment:10 Changed 10 months ago by pulkomandy

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

comment:11 Changed 10 months ago by cocobean

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 10 months ago by cocobean (previous) (diff)

comment:12 Changed 10 months ago by waddlesplash

Resolution: fixed
Status: newclosed

comment:13 Changed 7 months ago by bullfrog

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

Note: See TracTickets for help on using tickets.