[meta-freescale] [meta-fsl-arm] chromium48: Segfaults/crashes
Ian Coolidge
ian at boundarydevices.com
Fri Jun 24 16:18:32 PDT 2016
Hi All,
I've built chromium 48 on the latest krogoth branch for the nitrogen6x and
it seems to crash if you launch it without a specific website passed in as
an argument or if you attempt to open a new tab.
My /usr/bin/google-chrome looks like this:
#!/bin/sh
>
> export CHROME_DEVEL_SANDBOX=/usr/sbin/chrome-devel-sandbox
> export LD_LIBRARY_PATH=/usr/lib/chromium
>
> CHROME_EXTRA_ARGS=" --use-gl=egl
> --gpu-no-context-lost --ignore-gpu-blacklist"
> if [ "`whoami`" = "root" ] ; then
> CHROME_EXTRA_ARGS="${CHROME_EXTRA_ARGS}
> --user-data-dir=/home/root/.chromium/"
> fi
>
> /usr/bin/chromium/chrome ${CHROME_EXTRA_ARGS} $@
Launching the first time segfaults and looks like this:
root at nitrogen6x:~# DISPLAY=:0 google-chrome
> [933:933:0624/231315:ERROR:sandbox_linux.cc(338)] InitializeSandbox()
> called with multiple threads in process gpu-process
> [libprotobuf ERROR
> ../../third_party/protobuf/src/google/protobuf/message_lite.cc:123] Can't
> parse message of type "in_memory_url_index.InMemoryURLIndexCacheItem"
> because it is missing required fields: (cannot determine missing fields for
> lite message)
> [905:905:0624/231318:ERROR:surface_display_output_surface.cc(100)] Not
> implemented reached in virtual void
> cc::SurfaceDisplayOutputSurface::SetBeginFrameSource(cc::SurfaceId,
> cc::BeginFrameSource*)
> [905:905:0624/231319:ERROR:delegated_frame_host.cc(543)] Not implemented
> reached in virtual void
> content::DelegatedFrameHost::SetBeginFrameSource(cc::SurfaceId,
> cc::BeginFrameSource*)
> [905:905:0624/231319:ERROR:delegated_frame_host.cc(543)] Not implemented
> reached in virtual void
> content::DelegatedFrameHost::SetBeginFrameSource(cc::SurfaceId,
> cc::BeginFrameSource*)
> [905:905:0624/231319:ERROR:delegated_frame_host.cc(543)] Not implemented
> reached in virtual void
> content::DelegatedFrameHost::SetBeginFrameSource(cc::SurfaceId,
> cc::BeginFrameSource*)
> [905:905:0624/231320:ERROR:surface_display_output_surface.cc(100)] Not
> implemented reached in virtual void
> cc::SurfaceDisplayOutputSurface::SetBeginFrameSource(cc::SurfaceId,
> cc::BeginFrameSource*)
> /usr/bin/google-chrome: line 11: 905 Segmentation fault
> /usr/bin/chromium/chrome ${CHROME_EXTRA_ARGS} $@
>
Interestingly, subsequent launches give OOM errors and look like this
(until you remove ~/.chromium):
root at nitrogen6x:~# DISPLAY=:0 google-chrome
> [1002:1002:0624/231345:ERROR:sandbox_linux.cc(338)] InitializeSandbox()
> called with multiple threads in process gpu-process
> [975:975:0624/231347:ERROR:surface_display_output_surface.cc(100)] Not
> implemented reached in virtual void
> cc::SurfaceDisplayOutputSurface::SetBeginFrameSource(cc::SurfaceId,
> cc::BeginFrameSource*)
> [975:975:0624/231347:ERROR:delegated_frame_host.cc(543)] Not implemented
> reached in virtual void
> content::DelegatedFrameHost::SetBeginFrameSource(cc::SurfaceId,
> cc::BeginFrameSource*)
> [975:975:0624/231347:ERROR:delegated_frame_host.cc(543)] Not implemented
> reached in virtual void
> content::DelegatedFrameHost::SetBeginFrameSource(cc::SurfaceId,
> cc::BeginFrameSource*)
> [975:975:0624/231347:ERROR:delegated_frame_host.cc(543)] Not implemented
> reached in virtual void
> content::DelegatedFrameHost::SetBeginFrameSource(cc::SurfaceId,
> cc::BeginFrameSource*)
> tcmalloc: large alloc 1998606336 bytes == (nil) @ 0x772040e0
> [975:991:0624/231347:FATAL:memory_linux.cc(43)] Out of memory.
> #0 0x00007311bc02 <unknown>
> #1 0x00007312b5aa <unknown>
> #2 0x000073139146 <unknown>
> #3 0x000075fbdfb6 tc_newarray
> #4 0x000073415186 <unknown>
> #5 0x00007341520c <unknown>
> #6 0x000074af2590 <unknown>
> #7 0x000074b55d2a <unknown>
> #8 0x000074b560d2 <unknown>
> #9 0x000074b61946 <unknown>
> #10 0x000074c06b1a <unknown>
> #11 0x000074b5a866 <unknown>
> #12 0x000074b580f8 <unknown>
> #13 0x000074b690b4 <unknown>
> #14 0x00007315f232 <unknown>
> #15 0x00007312f2fa <unknown>
> #16 0x00007312f87a <unknown>
> #17 0x00007312fb4c <unknown>
> #18 0x000073130e5c <unknown>
> #19 0x00007313cbe4 <unknown>
> #20 0x00007312ec7c <unknown>
> #21 0x00007314c63c <unknown>
> #22 0x00007314a15a <unknown>
>
> /usr/bin/google-chrome: line 11: 975 Aborted
> /usr/bin/chromium/chrome ${CHROME_EXTRA_ARGS} $@
However, launching "DISPLAY=:0 google-chrome www.google.com" works just
fine, even youtube links work and video plays, but any new tab crashes it.
Any ideas?
Thanks!
-Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20160624/b73232da/attachment.html>
More information about the meta-freescale
mailing list