Tinker Board Forum

Full Version: [SOLVED] Chromium SEGV_MAPPER
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Since TinkerOS 2.0.7 errors occurred when using Chromium. Sometimes when we try to use the USB camera from a web page chromium crash.

We see this type of errors:

Code:
Received signal 11 SEGV_MAPERR 0000fffc02eb
#0 0x000080831eb2 <unknown>
#1 0x000080831d26 <unknown>
#2 0x00007fa1117e <unknown>
#3 0x000080832166 <unknown>
#4 0x0000b4689fe0 <unknown>
#5 0x000082623112 <unknown>
#6 0x00008088de50 <unknown>
#7 0x000080d335d8 <unknown>
#8 0x000080d3366c <unknown>
#9 0x000080d2f622 <unknown>
#10 0x00007fe25e6a <unknown>
#11 0x00007fe25f10
<unknown>
#12 0x00007fe2604e <unknown>
#13 0x00007fdfbd4e <unknown>
#14 0x00007fdfb592 <unknown>
#15 0x00007fdfb64c <unknown>
#16 0x00007fe00274 <unknown>
#17 0x000080e1c3d2 <unknown>
#18 0x000080d31468 <unknown>
#19 0x000080d338e4 <unknown>
#20 0x000080d342ee <unknown>
#21 0x000080d30192 <unknown>
#22 0x000080d302e8
<unknown>
#23 0x00007fd3de1c <unknown>
#24 0x000080d39548 <unknown>
#25 0x00008083299c <unknown>
#26 0x000080846302 <unknown>
#27 0x000080846558 <unknown>
#28 0x000080846620
<unknown>
#29 0x000080846e54 <unknown>
#30 0x000080846e7c <unknown>
[end of stack trace]

Any clue of how to fix it?

Chromium is in version 63.0.3239.84-1~deb9u1. We're using this version in a customized version of TinkerOS 2.0.4 and everything is working fine.

Thanks.

[Update 12/11/18]

Thanks to jamess a solution was found. The kernel need to be re-compiled with a patch to fix. I created a patch file that you can find in attachment.

I created a new image with the patch and our application is not crashing anymore.
(07-10-2018, 09:29 AM)maniolias Wrote: [ -> ]Since TinkerOS 2.0.7 errors occurred when using Chromium. Sometimes when we try to use the USB camera from a web page chromium crash.

We see this type of errors:

Code:
Received signal 11 SEGV_MAPERR 0000fffc02eb
#0 0x000080831eb2 <unknown>
#1 0x000080831d26 <unknown>
#2 0x00007fa1117e <unknown>
#3 0x000080832166 <unknown>
#4 0x0000b4689fe0 <unknown>
#5 0x000082623112 <unknown>
#6 0x00008088de50 <unknown>
#7 0x000080d335d8 <unknown>
#8 0x000080d3366c <unknown>
#9 0x000080d2f622 <unknown>
#10 0x00007fe25e6a <unknown>
#11 0x00007fe25f10
<unknown>
#12 0x00007fe2604e <unknown>
#13 0x00007fdfbd4e <unknown>
#14 0x00007fdfb592 <unknown>
#15 0x00007fdfb64c <unknown>
#16 0x00007fe00274 <unknown>
#17 0x000080e1c3d2 <unknown>
#18 0x000080d31468 <unknown>
#19 0x000080d338e4 <unknown>
#20 0x000080d342ee <unknown>
#21 0x000080d30192 <unknown>
#22 0x000080d302e8
<unknown>
#23 0x00007fd3de1c <unknown>
#24 0x000080d39548 <unknown>
#25 0x00008083299c <unknown>
#26 0x000080846302 <unknown>
#27 0x000080846558 <unknown>
#28 0x000080846620
<unknown>
#29 0x000080846e54 <unknown>
#30 0x000080846e7c <unknown>
[end of stack trace]

Any clue of how to fix it?

Chromium is in version 63.0.3239.84-1~deb9u1. We're using this version in a customized version of TinkerOS 2.0.4 and everything is working fine.

Thanks.

Hi, maniolias
    Can you give us more detail operations ? I want to duplicate the issue to check.

B/R
James
Hi jamess,

Equipement used :
- Tinker Board S with TinkerOS 2.0.7
- Webcam logitech C270 

Yes you can reproduce it this way :
- Start chromium on a page with use webcam eg:
Code:
DISPLAY=:0 chromium "https://www.onlinemictest.com/webcam-test/"
- Either refresh the page or close and start chromium again and chromium will crash frequently and you will have in the console:

Code:
linaro@tinkerboard:~$ DISPLAY=:0 chromium "https://www.onlinemictest.com/webcam-test/"
Fontconfig warning: ignoring UTF-8: not a valid region tag
[7258:7296:0927/134421.687103:ERROR:zygote_host_impl_linux.cc(268)] Failed to adjust OOM score of renderer with pid 7437: Permission denied (13)
[7355:7355:0927/134421.736000:ERROR:sandbox_linux.cc(351)] InitializeSandbox() called with multiple threads in process gpu-process.

(chromium:7258): LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus: Unknown or unsupported transport 'disabled' for address 'disabled:'
libpng warning: iCCP: known incorrect sRGB profile
[1:16:0927/134423.626434:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: open context failed"}
[1:1:0927/134423.649983:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR DEMUXER_ERROR_COULD_NOT_OPEN
Received signal 11 SEGV_MAPERR 000000000004
#0 0x000080922eb2 <unknown>
#1 0x000080922d26 <unknown>
#2 0x00007fb0217e <unknown>
#3 0x000080923166 <unknown>
#4 0x0000b4703fe0 <unknown>
#5 0x000080e23dea <unknown>
#6 0x000080e2523e <unknown>
#7 0x000080e2103e <unknown>
#8 0x00007fe2ee1c <unknown>
#9 0x000080e2a548 <unknown>
#10 0x000080e2a600 <unknown>
#11 0x000080e2a6d8 <unknown>
#12 0x000081048c30 <unknown>
#13 0x0000810489cc <unknown>
#14 0x00008104714e <unknown>
#15 0x00008104b5ac <unknown>
#16 0x00008104ad58 <unknown>
#17 0x00008104c776 <unknown>
#18 0x000080938112 <unknown>
[end of stack trace]
Calling _exit(1). Core file will not be generated.

Tested with :
- Chromium 63.0.3239.84 built on Debian 9.3, running on Debian 9.3 (default)
- Chromium 67.0.3396.87 built on Debian 9.4, running on Debian 9.3 (from debian snapshots https://snapshot.debian.org/archive/debi..._armhf.deb)
- Chromium 68.0.3440.75 built on Debian 9.5, running on Debian 9.3 (from debian snapshots https://snapshot.debian.org/archive/debi..._armhf.debcrash at start every times)
- Chromium 69.0.3497.92 built on Debian 9.5, running on Debian 9.3 (from apt-get, crash at start every times)

Tell me if you need more informations.
(09-27-2018, 02:01 PM)maniolias Wrote: [ -> ]Hi jamess,

Equipement used :
- Tinker Board S with TinkerOS 2.0.7
- Webcam logitech C270 

Yes you can reproduce it this way :
- Start chromium on a page with use webcam eg:
Code:
DISPLAY=:0 chromium "https://www.onlinemictest.com/webcam-test/"
- Either refresh the page or close and start chromium again and chromium will crash frequently and you will have in the console:

Code:
linaro@tinkerboard:~$ DISPLAY=:0 chromium "https://www.onlinemictest.com/webcam-test/"
Fontconfig warning: ignoring UTF-8: not a valid region tag
[7258:7296:0927/134421.687103:ERROR:zygote_host_impl_linux.cc(268)] Failed to adjust OOM score of renderer with pid 7437: Permission denied (13)
[7355:7355:0927/134421.736000:ERROR:sandbox_linux.cc(351)] InitializeSandbox() called with multiple threads in process gpu-process.

(chromium:7258): LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus: Unknown or unsupported transport 'disabled' for address 'disabled:'
libpng warning: iCCP: known incorrect sRGB profile
[1:16:0927/134423.626434:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: open context failed"}
[1:1:0927/134423.649983:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR DEMUXER_ERROR_COULD_NOT_OPEN
Received signal 11 SEGV_MAPERR 000000000004
#0 0x000080922eb2 <unknown>
#1 0x000080922d26 <unknown>
#2 0x00007fb0217e <unknown>
#3 0x000080923166 <unknown>
#4 0x0000b4703fe0 <unknown>
#5 0x000080e23dea <unknown>
#6 0x000080e2523e <unknown>
#7 0x000080e2103e <unknown>
#8 0x00007fe2ee1c <unknown>
#9 0x000080e2a548 <unknown>
#10 0x000080e2a600 <unknown>
#11 0x000080e2a6d8 <unknown>
#12 0x000081048c30 <unknown>
#13 0x0000810489cc <unknown>
#14 0x00008104714e <unknown>
#15 0x00008104b5ac <unknown>
#16 0x00008104ad58 <unknown>
#17 0x00008104c776 <unknown>
#18 0x000080938112 <unknown>
[end of stack trace]
Calling _exit(1). Core file will not be generated.

Tested with :
- Chromium 63.0.3239.84 built on Debian 9.3, running on Debian 9.3 (default)
- Chromium 67.0.3396.87 built on Debian 9.4, running on Debian 9.3 (from debian snapshots https://snapshot.debian.org/archive/debi..._armhf.deb)
- Chromium 68.0.3440.75 built on Debian 9.5, running on Debian 9.3 (from debian snapshots https://snapshot.debian.org/archive/debi..._armhf.debcrash at start every times)
- Chromium 69.0.3497.92 built on Debian 9.5, running on Debian 9.3 (from apt-get, crash at start every times)

Tell me if you need more informations.

Hi, 
     Thanks for your info. We will try to duplicate. And in the meantime, we want to clarify that we guess  the crash of the chromium version v68 (or later version) is not the issue of Tinker Board. Because there are also other armhf develop boards has the same issue. We are now trying to report this issue to Debian/Chromium.
I checked with my setup with Chromium v67 and the only error I get is after the webcam test page loads, the video player window displays a "Camera not authorized" message.That is a permissions problem with my camera.
@SurferTim
Yes you have to allow your webcam on the page to see the error.
(09-28-2018, 01:47 PM)maniolias Wrote: [ -> ]@SurferTim
Yes you have to allow your webcam on the page to see the error.

How are you doing that?

Edit: I had to allow the page access to my camera in the address bar of the browser (little camera icon). I have the wecam displaying in the page window.
Read this post to download/install Chromium v67, widevine v67, and the Pepper video player.
https://tinkerboarding.co.uk/forum/threa...ml#pid7840
Thanks SuferTim,

For your information:
Widevine: no need for DRM for us (it's not a netflix/hulu use case, I can explained our use case if needed)
Pepper video player: pepper is used for flash video and it's not the case here

However I've installed Chromium v67, widevine v67, and the Pepper video player.

I get the same error as before, chromium frequently crash when accessing webcam with the same error:
Code:
linaro@tinkerboard:~$ DISPLAY=:0 chromium "https://www.onlinemictest.com/webcam-test/"
Fontconfig warning: ignoring UTF-8: not a valid region tag
[6101:6273:1001/124750.220976:ERROR:bus.cc(394)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[6146:6146:1001/124750.222615:ERROR:sandbox_linux.cc(378)] InitializeSandbox() called with multiple threads in process gpu-process.
[6101:6143:1001/124750.370294:ERROR:zygote_host_impl_linux.cc(267)] Failed to adjust OOM score of renderer with pid 6296: Permission denied (13)

(chromium:6101): LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus: Unknown or unsupported transport 'disabled' for address 'disabled:'
libpng warning: iCCP: known incorrect sRGB profile
[6101:6143:1001/124755.211362:ERROR:zygote_host_impl_linux.cc(267)] Failed to adjust OOM score of renderer with pid 6566: Permission denied (13)
[1:15:1001/124855.567232:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: open context failed"}
[1:15:1001/124855.571756:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: open context failed"}
[1:1:1001/124855.577254:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR DEMUXER_ERROR_COULD_NOT_OPEN
[1:1:1001/124855.595072:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR DEMUXER_ERROR_COULD_NOT_OPEN
Received signal 11 SEGV_MAPERR 0000fffc028e
#0 0x000080cfdef8 <unknown>
#1 0x000080cfe140 <unknown>
#2 0x0000b468dfe0 <unknown>
#3 0x000082d1595a <unknown>
#4 0x000080d6ea0a malloc
#5 0x0000811522c4 <unknown>
#6 0x00008115239e <unknown>
#7 0x0000811524c2 <unknown>
#8 0x00008113cfd6 <unknown>
#9 0x00008113d02e <unknown>
#10 0x00008113d058 <unknown>
#11 0x000080fbf7f8 <unknown>
#12 0x000080fbf8c4 <unknown>
#13 0x00008108712a <unknown>
#14 0x00008108b124 <unknown>
#15 0x00008108b1dc <unknown>
#16 0x000080046b12 <unknown>
#17 0x000080fc0018 <unknown>
#18 0x000080fc0fe4 <unknown>
#19 0x000080046b12 <unknown>
#20 0x0000810f20d0 <unknown>
#21 0x0000810f2690 <unknown>
#22 0x000080d15aa2 <unknown>
[end of stack trace]
Calling _exit(1). Core file will not be generated.
linaro@tinkerboard:~$ chromium --version
Chromium 67.0.3396.87 built on Debian 9.4, running on Debian 9.3
Mine also generates some errors in the terminal display, but my webcam always displays in the webpage.

This is the call I used in lxterminal.
Code:
chromium https://www.onlinemictest.com/webcam-test/
It is showing the webcam at what appears to be about 30 frames per second. I've tried it several times and it hasn't failed yet.
What webcam are you using?

For rappel my setup:
- Tinker Board S with 2.0.7 stock installed
- 5V 3A adaptor
- Webcam Logitech C270

Everything works fine on 2.0.4 and 2.0.5 with the same setup. I thinks that it's clearly a TinkerOS 2.0.7 problem.
Pages: 1 2