Bug 1560266

Summary: WebkitGTK in Geary Doesn't Load LinkedIn or PayPal Emails
Product: [Fedora] Fedora Reporter: Anass Ahmed <anass.1430>
Component: gearyAssignee: Thomas Moschny <thomas.moschny>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 28CC: mcatanzaro, michel, thomas.moschny, tpopela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-26 15:16:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
coredump of webkit2gtk3 crash none

Description Anass Ahmed 2018-03-25 12:36:40 UTC
Created attachment 1412717 [details]
coredump of webkit2gtk3 crash

Description of problem:
For some reason, Geary isn't able to open PayPal or LinkedIn messages (and some other HTML-formatted messages).

ABRT always shows an error in `webkit2gtk3` afterwards, but can't report it because the retrace server doesn't support Fedora 28 yet.


Version-Release number of selected component (if applicable):
webkit2gtk3-devel-2.20.0-2.fc28.x86_64
geary-0.12.1-1.fc28.x86_64
webkit2gtk3-2.20.0-2.fc28.x86_64
webkit2gtk3-plugin-process-gtk2-2.20.0-2.fc28.x86_64
webkit2gtk3-jsc-2.20.0-2.fc28.x86_64
webkit2gtk3-jsc-devel-2.20.0-2.fc28.x86_64


How reproducible:
Always


Steps to Reproduce:
1. Open Geary.
2. Search for LinkedIn or PayPal message.
3. Open it.


Actual results:
Geary doesn't open the message, and ABRT catches a crash in webkit2gtk3.


Expected results:
Geary opens the message.

Additional info:

Comment 1 Tomas Popela 2018-03-26 05:26:08 UTC
Looking at the core_coredump, it's a crash in Geary's web extension:

0 $ grep "function_name" core_backtrace | awk '{print $3}'
"g_type_class_ref"
"_geary_web_extension_on_console_message_webkit_web_page_console_message_sent"
"g_closure_invoke"
"signal_emit_unlocked_R"
"g_signal_emit_valist"
"g_signal_emit"
"webkitWebPageDidSendConsoleMessage(_WebKitWebPage*,
"WebKit::WebChromeClient::addMessageToConsole(JSC::MessageSource,
"WebCore::PageConsoleClient::addMessage(std::unique_ptr<Inspector::ConsoleMessage,
"WebCore::PageConsoleClient::addMessage(JSC::MessageSource,
"WebCore::PageConsoleClient::addMessage(JSC::MessageSource,
"WebCore::Document::addConsoleMessage(JSC::MessageSource,
"WebCore::reportViewportWarning(WebCore::Document&,
"WebCore::processFeaturesString(WTF::StringView,
"WebCore::Document::processViewport(WTF::String
"WebCore::HTMLMetaElement::process()"
"WebCore::ContainerNode::parserAppendChild(WebCore::Node&)"
"WebCore::HTMLConstructionSite::executeQueuedTasks()"
"WebCore::HTMLDocumentParser::constructTreeFromHTMLToken(WebCore::HTMLTokenizer::TokenPtr&)"
"WebCore::HTMLDocumentParser::pumpTokenizerLoop(WebCore::HTMLDocumentParser::SynchronousMode,
"WebCore::HTMLDocumentParser::pumpTokenizer(WebCore::HTMLDocumentParser::SynchronousMode)"
"WebCore::HTMLDocumentParser::append(WTF::RefPtr<WTF::StringImpl,
"WebCore::DecodedDataDocumentParser::appendBytes(WebCore::DocumentWriter&,
"WebCore::DocumentLoader::commitData(char
"WebKit::WebFrameLoaderClient::committedLoad(WebCore::DocumentLoader*,
"WebCore::DocumentLoader::commitLoad(char
"WebCore::DocumentLoader::continueAfterContentPolicy(WebCore::PolicyAction)
"WebCore::DocumentLoader::responseReceived(WebCore::ResourceResponse
"WebCore::DocumentLoader::handleSubstituteDataLoadNow()"
"WebCore::ThreadTimers::sharedTimerFiredInternal()"
"WTF::RunLoop::TimerBase::TimerBase(WTF::RunLoop&)::{lambda(void*)#1}::_FUN(void*)"
"g_main_context_dispatch"
"g_main_context_iterate.isra.21"
"g_main_loop_run"
"WTF::RunLoop::run()"
"int

Comment 2 Michael Catanzaro 2018-03-26 15:16:01 UTC
This is https://bugs.webkit.org/show_bug.cgi?id=183883