Chromium40 on Yocto2.0 happen segment fault in visiting http://html5test.com

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Chromium40 on Yocto2.0 happen segment fault in visiting http://html5test.com

3,501 Views
yaozhongxu
Contributor I

Chromium40 on Yocto2.0 happen segment fault in visiting http://html5test.com

If we porting chromium40 on yocto1.6, it's ok.

Labels (2)
0 Kudos
5 Replies

3,145 Views
igorpadykov
NXP Employee
NXP Employee

one can post this to meta-fsl-arm mailing list, so that someone
familiar with that chromium version could try to assist you.
https://lists.yoctoproject.org/listinfo/meta-freescale

0 Kudos

3,144 Views
igorpadykov
NXP Employee
NXP Employee

Hi Yaozhong

please try chromium using building steps in sect.5.6.6 Chromium Browser

attached Yocto Guide and L4.1.15_1.1.0

http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/?h=imx_4.1.15_1.0.0_ga

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

3,144 Views
yaozhongxu
Contributor I

Build chromium with debug and component.

Use gdb to get back-trace in  segmentation fault

==========================

(gdb) bt
#0  DebugBreak () at ../../base/debug/debugger_posix.cc:220
#1  base::debug::BreakDebugger () at ../../base/debug/debugger_posix.cc:241
#2  0x755bd5f8 in logging::LogMessage::~LogMessage (this=0x61fa49f4, __in_chrg=<optimized out>) at ../../base/logging.cc:641
#3  0x755f2fe4 in base::(anonymous namespace)::OnNoMemorySize (size=size@entry=1871377065) at ../../base/process/memory_linux.cc:42
#4  0x755f302c in base::malloc (size=1871377065) at ../../base/process/memory_linux.cc:118
#5  0x6f7cd060 in operator new(unsigned int) () from /usr/lib/libstdc++.so.6
#6  0x756b84b0 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*> (
    this=this@entry=0x577f0fb0, __beg=0x13cef0 <error: Cannot access memory at address 0x13cef0>, __end=<optimized out>)
    at /proj/yocto2.0/build-x11/tmp/sysroots/imx6qsabresd/usr/include/c++/5.2.0/bits/basic_string.tcc:223
#7  0x756b8620 in _M_construct_aux<char*> (__end=<optimized out>, __beg=<optimized out>, this=0x577f0fb0)
    at /proj/yocto2.0/build-x11/tmp/sysroots/imx6qsabresd/usr/include/c++/5.2.0/bits/basic_string.h:195
#8  _M_construct<char*> (__end=<optimized out>, __beg=<optimized out>, this=0x577f0fb0)
    at /proj/yocto2.0/build-x11/tmp/sysroots/imx6qsabresd/usr/include/c++/5.2.0/bits/basic_string.h:214
#9  basic_string (__str=..., this=0x577f0fb0)
    at /proj/yocto2.0/build-x11/tmp/sysroots/imx6qsabresd/usr/include/c++/5.2.0/bits/basic_string.h:401
#10 GURL::GURL (this=0x577f0fb0, other=...) at ../../url/gurl.cc:70
#11 0x7037d356 in pair<GURL const&, 0u> (__tuple2=<synthetic pointer>, __tuple1=..., this=<optimized out>)
    at /proj/yocto2.0/build-x11/tmp/sysroots/imx6qsabresd/usr/include/c++/5.2.0/tuple:1172
#12 pair<GURL const&> (__second=..., __first=..., this=<optimized out>)
    at /proj/yocto2.0/build-x11/tmp/sysroots/imx6qsabresd/usr/include/c++/5.2.0/tuple:1161
#13 construct<std::pair<const GURL, long long int>, const std::piecewise_construct_t&, std::tuple<const GURL&>, std::tuple<> > (
    __p=<optimized out>, this=<optimized out>)
    at /proj/yocto2.0/build-x11/tmp/sysroots/imx6qsabresd/usr/include/c++/5.2.0/ext/new_allocator.h:120
#14 _S_construct<std::pair<const GURL, long long int>, const std::piecewise_construct_t&, std::tuple<const GURL&>, std::tuple<> > (
    __p=<optimized out>, __a=...) at /proj/yocto2.0/build-x11/tmp/sysroots/imx6qsabresd/usr/include/c++/5.2.0/bits/alloc_traits.h:256
#15 construct<std::pair<const GURL, long long int>, const std::piecewise_construct_t&, std::tuple<const GURL&>, std::tuple<> > (
    __p=<optimized out>, __a=...) at /proj/yocto2.0/build-x11/tmp/sysroots/imx6qsabresd/usr/include/c++/5.2.0/bits/alloc_traits.h:402
#16 _M_construct_node<const std::piecewise_construct_t&, std::tuple<const GURL&>, std::tuple<> > (__node=<optimized out>, this=0x57429590)
    at /proj/yocto2.0/build-x11/tmp/sysroots/imx6qsabresd/usr/include/c++/5.2.0/bits/stl_tree.h:529
#17 _M_create_node<const std::piecewise_construct_t&, std::tuple<const GURL&>, std::tuple<> > (this=0x57429590)
    at /proj/yocto2.0/build-x11/tmp/sysroots/imx6qsabresd/usr/include/c++/5.2.0/bits/stl_tree.h:546
#18 std::_Rb_tree<GURL, std::pair<GURL const, long long>, std::_Select1st<std::pair<GURL const, long long> >, std::less<GURL>, std::allocator<std::pair<GURL const, long long> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<GURL const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<GURL const, long long> >, std::piecewise_construct_t const&, std::tuple<GURL const&>&&, std::tuple<>&&) (
    this=0x57429590, __pos=...) at /proj/yocto2.0/build-x11/tmp/sysroots/imx6qsabresd/usr/include/c++/5.2.0/bits/stl_tree.h:2170
#19 0x704ed426 in operator[] (__k=..., this=0x57429590)
    at /proj/yocto2.0/build-x11/tmp/sysroots/imx6qsabresd/usr/include/c++/5.2.0/bits/stl_map.h:483
#20 content::IndexedDBContextImpl::QueryDiskAndUpdateQuotaUsage (this=this@entry=0x57429548, origin_url=...)
    at ../../content/browser/indexed_db/indexed_db_context_impl.cc:471

0 Kudos

3,144 Views
yaozhongxu
Contributor I

I build yocto2.0 based on L4.1.15_1.1.0

• Add Chromium into your image.
CORE_IMAGE_EXTRA_INSTALL += "chromium libexif"
• Add the commercial white list into local.conf .
LICENSE_FLAGS_WHITELIST="commercial"

 

 

Chromium40 can open http://get.webgl.org/ 

Therefore I believe the gles2/webgl is ready.

 

But it still  happen segmentation fault on imx6qsabresd when visiting html5test.com

0 Kudos

3,144 Views
yaozhongxu
Contributor I

I build yocto2.0 based on L4.1.15_1.1.0

• Add Chromium into your image.
CORE_IMAGE_EXTRA_INSTALL += "chromium libexif"
• Add the commercial white list into local.conf .
LICENSE_FLAGS_WHITELIST="commercial"

Chromium40 can open http://get.webgl.org/ 

Therefore I believe the gles2/webgl is ready.

But it still  happen segmentation fault on imx6qsabresd when visiting html5test.com

0 Kudos