I am building branch 3904 on Ubuntu 16.04 x64, with ffmpeg enabled.
When running my application with the compiled library, loading a XML using XMLHttpRequest is causing a crash everytime on the renderer process. The code is as simple as this:
===================
text = "<bookstore><book>" +
"<title>Everyday Italian</title>" +
"<author>Giada De Laurentiis</author>" +
"<year>2005</year>" + "</book></bookstore>";
const parser = new DOMParser();
console.log(parser.parseFromString(text, "text/xml"));
===================
Here is the stack trace:
=============================
Thread 1 "procedgebrowser" received signal SIGILL, Illegal instruction.
xmlInitCharEncodingHandlers () at ../../third_party/libxml/src/encoding.c:1404
1404 xmlMalloc(MAX_ENCODING_HANDLERS * sizeof(xmlCharEncodingHandlerPtr));
(gdb) bt
#0 xmlInitCharEncodingHandlers () at ../../third_party/libxml/src/encoding.c:1404
#1 0x00007fe946ccec95 in xmlInitParser () at ../../third_party/libxml/src/parser.c:14718
#2 0x00007fe9492e0165 in blink::InitializeLibXMLIfNecessary ()
at ../../third_party/blink/renderer/core/xml/parser/xml_document_parser.cc:665
#3 blink::XMLParserContext::CreateStringParser (handlers=0x7ffc2d0888b8, user_data=0x120b66e8e488)
at ../../third_party/blink/renderer/core/xml/parser/xml_document_parser.cc:675
#4 0x00007fe9492e15fa in blink::XMLDocumentParser::InitializeParserContext (this=0x120b66e8e488, chunk=...)
at ../../third_party/blink/renderer/core/xml/parser/xml_document_parser.cc:1527
#5 0x00007fe9492de3f9 in blink::XMLDocumentParser::DoWrite (this=0x120b66e8e488, parse_string=...)
at ../../third_party/blink/renderer/core/xml/parser/xml_document_parser.cc:826
#6 blink::XMLDocumentParser::Append (this=0x120b66e8e488, input_source=...)
at ../../third_party/blink/renderer/core/xml/parser/xml_document_parser.cc:338
#7 0x00007fe94851fdd0 in blink::Document::SetContent (this=0x3d412a264068, content=...)
at ../../third_party/blink/renderer/core/dom/document.cc:1953
#8 0x00007fe949302ba7 in blink::XMLHttpRequest::responseXML (this=0x120b66e8bad8, exception_state=...)
at ../../third_party/blink/renderer/core/xmlhttprequest/xml_http_request.cc:392
#9 0x00007fe947e94336 in blink::xml_http_request_v8_internal::ResponseXMLAttributeGetter (info=...)
at gen/third_party/blink/renderer/bindings/core/v8/v8_xml_http_request.cc:274
#10 blink::V8XMLHttpRequest::ResponseXMLAttributeGetterCallback (info=...)
at gen/third_party/blink/renderer/bindings/core/v8/v8_xml_http_request.cc:627
#11 0x00007fe9433c2912 in v8::internal::FunctionCallbackArguments::Call (this=0x7ffc2d088ee8, handler=...)
at ../../v8/src/api/api-arguments-inl.h:158
#12 v8::internal::(anonymous namespace)::HandleApiCallHelper<false> (isolate=0xb8c53f86000, function=..., new_target=...,
fun_data=..., receiver=..., args=...) at ../../v8/src/builtins/builtins-api.cc:111
#13 0x00007fe9433c0b6e in v8::internal::Builtins::InvokeApiFunction (isolate=0xb8c53f86000, is_construct=<optimized out>,
function=..., receiver=..., argc=0, args=0x0, new_target=...) at ../../v8/src/builtins/builtins-api.cc:227
#14 0x00007fe943898114 in v8::internal::Object::GetPropertyWithAccessor (it=<optimized out>)
at ../../v8/src/objects/objects.cc:1453
#15 0x00007fe943897917 in v8::internal::Object::GetProperty (it=0x7ffc2d0892a0,
on_non_existent=v8::internal::OnNonExistent::kReturnUndefined) at ../../v8/src/objects/objects.cc:1088
#16 0x00007fe9436312ba in v8::internal::LoadIC::Load (this=0x7ffc2d089388, object=..., name=...)
at ../../v8/src/ic/ic.cc:448
---Type <return> to continue, or q <return> to quit---
#17 0x00007fe94363f4c3 in v8::internal::__RT_impl_Runtime_LoadIC_Miss (args=..., isolate=0xb8c53f86000) at ../../v8/src/ic/ic.cc:2186
#18 0x00007fe94363eed1 in v8::internal::Runtime_LoadIC_Miss (args_length=4, args_object=0x7ffc2d089550, isolate=0xb8c53f86000)
at ../../v8/src/ic/ic.cc:2158
#19 0x00007fe940ed40e0 in Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit ()
from /home/rreale/Documents/prog/work/edgecontents4/ebclient2/build/bin/libcef.so
#20 0x00007fe9410e7445 in Builtins_LdaNamedPropertyHandler () from /home/rreale/Documents/prog/work/edgecontents4/ebclient2/build/bin/libcef.so
#21 0x000034d9da4804b1 in ?? ()
#22 0x0000000600000000 in ?? ()
#23 0x00002db9054a7521 in ?? ()
#24 0x00001ece0cc9bc19 in ?? ()
#25 0x000034d9da4804b1 in ?? ()
#26 0x000034d9da4804b1 in ?? ()
#27 0xae5aa5dc808aa300 in ?? ()
#28 0x0000000000000005 in ?? ()
#29 0xae5aa5dc808aa300 in ?? ()
#30 0x0000000000000028 in ?? ()
#31 0xae5aa5dc808aa300 in ?? ()
#32 0x00001ece0cc9b5d1 in ?? ()
#33 0x0000000000000057 in ?? ()
#34 0x00002db9054b00e9 in ?? ()
#35 0x0000285bce53e829 in ?? ()
#36 0x00007ffc2d089600 in ?? ()
#37 0x0000000000000002 in ?? ()
#38 0x0000000000000006 in ?? ()
#39 0x00001ece0cc9b5d1 in ?? ()
#40 0x00002db9054a7521 in ?? ()
#41 0x00001ece0cc9bc19 in ?? ()
#42 0x0000000000000060 in ?? ()
#43 0x00007ffc2d089660 in ?? ()
#44 0x00000b8c53fd5410 in ?? ()
#45 0x000000000000001a in ?? ()
#46 0x00007ffc2d089660 in ?? ()
#47 0x00007fe940c0a992 in Builtins_InterpreterEntryTrampoline () from /home/rreale/Documents/prog/work/edgecontents4/ebclient2/build/bin/libcef.so
#48 0x000034d9da4804b1 in ?? ()
#49 0x000034d9da4804b1 in ?? ()
#50 0x000034d9da4804b1 in ?? ()
#51 0x000034d9da4804b1 in ?? ()
#52 0x000034d9da4804b1 in ?? ()
#53 0x00001ece0cc9bc19 in ?? ()
#54 0x0000006000000000 in ?? ()
#55 0x00002db9054b00e9 in ?? ()
#56 0x00002db9054af8c9 in ?? ()
#57 0x00001ece0cc9b5d1 in ?? ()
#58 0x00007ffc2d089698 in ?? ()
#59 0x00007fe940bef679 in Builtins_ArgumentsAdaptorTrampoline () from /home/rreale/Documents/prog/work/edgecontents4/ebclient2/build/bin/libcef.so
#60 0x00001ece0cc9bc19 in ?? ()
#61 0x0000000000000000 in ?? ()
================
I couldn't find anything about a error in libxml. Any thougjhts?