Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 768000 - www-client/chromium-89.0.4389.23 crashes few seconds after starting
Summary: www-client/chromium-89.0.4389.23 crashes few seconds after starting
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
: 769656 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-01-30 15:09 UTC by Michał Górny
Modified: 2023-09-24 06:11 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
head.txt (head.txt,61.07 KB, text/plain)
2021-01-30 15:34 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-01-30 15:09:14 UTC
Also with --user-data-dir set to a new directory, to ensure that my configs aren't the problem.  It runs for a few seconds, then crashes independently of whether I do something or don't do anything.

Please let me know if I should figure out some way to attach the build log (it exceeds 1 MiB compressed).


$ chromium --user-data-dir=/tmp/xxx
[21545:21545:0130/160354.278977:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
[21514:21537:0130/160354.410980:ERROR:nss_util.cc(286)] After loading Root Certs, loaded==false: NSS error code: -8018
Received signal 11 SEGV_MAPERR 000000000054
#0 0x55db461ea009 (/usr/lib64/chromium-browser/chrome+0x54df008)
#1 0x55db46134826 (/usr/lib64/chromium-browser/chrome+0x5429825)
#2 0x55db461e9a2b (/usr/lib64/chromium-browser/chrome+0x54dea2a)
#3 0x7f2e94df4ec0 (/lib64/libpthread-2.32.so+0x12ebf)
#4 0x7f2e91055731 (/lib64/libc-2.32.so+0x160730)
#5 0x55db48c8801a (/usr/lib64/chromium-browser/chrome+0x7f7d019)
#6 0x55db48c878ac (/usr/lib64/chromium-browser/chrome+0x7f7c8ab)
#7 0x55db48c862fc (/usr/lib64/chromium-browser/chrome+0x7f7b2fb)
#8 0x55db48c8670f (/usr/lib64/chromium-browser/chrome+0x7f7b70e)
#9 0x55db48c88fbe (/usr/lib64/chromium-browser/chrome+0x7f7dfbd)
#10 0x55db46a1500a (/usr/lib64/chromium-browser/chrome+0x5d0a009)
#11 0x55db461a4bf6 (/usr/lib64/chromium-browser/chrome+0x5499bf5)
#12 0x55db461bc1ce (/usr/lib64/chromium-browser/chrome+0x54b11cd)
#13 0x55db461bced6 (/usr/lib64/chromium-browser/chrome+0x54b1ed5)
#14 0x55db4621ddd9 (/usr/lib64/chromium-browser/chrome+0x5512dd8)
#15 0x55db461bb330 (/usr/lib64/chromium-browser/chrome+0x54b032f)
#16 0x55db461832ac (/usr/lib64/chromium-browser/chrome+0x54782ab)
#17 0x55db43660dca (/usr/lib64/chromium-browser/chrome+0x2955dc9)
#18 0x55db461d16a8 (/usr/lib64/chromium-browser/chrome+0x54c66a7)
#19 0x55db461fdbb6 (/usr/lib64/chromium-browser/chrome+0x54f2bb5)
#20 0x7f2e94de9fbe start_thread
#21 0x7f2e90ff2e3f clone
  r8: 0000000000000000  r9: 0000000000000383 r10: 0000000035ecef9e r11: 0000000000000001
 r12: 000035d656a87910 r13: 0000000000000054 r14: 00007f2e869dacf0 r15: 000035d656a0dc40
  di: 0000000000000054  si: 000055db4d95f187  bp: 00007f2e869daa80  bx: 000035d6564f3500
  dx: 0000000000000054  ax: 0000000000000100  cx: 0000000000000014  sp: 00007f2e869daa48
  ip: 00007f2e91055731 efl: 0000000000010283 cgf: 002b000000000033 erf: 0000000000000004
 trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000054
[end of stack trace]
Calling _exit(1). Core file will not be generated.
Comment 1 Stephan Hartmann (RETIRED) gentoo-dev 2021-01-30 15:24:04 UTC
At least head of build.log would be good, so I can see USE flags, compiler, C{XX}FLAGS. A build with FEATURES=nostrip and USE=-official should generate a better stack trace.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-01-30 15:34:12 UTC
Created attachment 685206 [details]
head.txt
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-01-30 15:35:54 UTC
Received signal 11 SEGV_MAPERR 000000000054
#0 0x55f7b63d2009 base::debug::CollectStackTrace()
#1 0x55f7b631c826 base::debug::StackTrace::StackTrace()
#2 0x55f7b63d1a2b base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x7f01b6edcec0 (/lib64/libpthread-2.32.so+0x12ebf)
#4 0x7f01b313d731 (/lib64/libc-2.32.so+0x160730)
#5 0x55f7b8e7001a cast_channel::KeepAliveHandler::HandleMessage()
#6 0x55f7b8e6f8ac cast_channel::KeepAliveDelegate::OnMessage()
#7 0x55f7b8e6e2fc cast_channel::CastTransportImpl::DoReadCallback()
#8 0x55f7b8e6e70f cast_channel::CastTransportImpl::OnReadResult()
#9 0x55f7b8e70fbe cast_channel::MojoDataPump::ReceiveMore()
#10 0x55f7b6bfd00a mojo::SimpleWatcher::OnHandleReady()
#11 0x55f7b638cbf6 base::TaskAnnotator::RunTask()
#12 0x55f7b63a41ce base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl()
#13 0x55f7b63a4ed6 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork()
#14 0x55f7b6405dd9 base::MessagePumpLibevent::Run()
#15 0x55f7b63a3330 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run()
#16 0x55f7b636b2ac base::RunLoop::Run()
#17 0x55f7b3848dca content::BrowserProcessSubThread::IOThreadRun()
#18 0x55f7b63b96a8 base::Thread::ThreadMain()
#19 0x55f7b63e5bb6 base::(anonymous namespace)::ThreadFunc()
#20 0x7f01b6ed1fbe start_thread
#21 0x7f01b30dae3f clone
  r8: 0000000000000000  r9: 0000000000000ae5 r10: 00000000a6898960 r11: 0000000000000001
 r12: 000004c089e14810 r13: 0000000000000054 r14: 00007f01a8ac2cf0 r15: 000004c089b8a280
  di: 0000000000000054  si: 000055f7bdb47187  bp: 00007f01a8ac2a80  bx: 000004c0894978c0
  dx: 0000000000000054  ax: 0000000000000100  cx: 0000000000000014  sp: 00007f01a8ac2a48
  ip: 00007f01b313d731 efl: 0000000000010283 cgf: 002b000000000033 erf: 0000000000000004
 trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000054
[end of stack trace]
Comment 4 Stephan Hartmann (RETIRED) gentoo-dev 2021-01-31 18:49:14 UTC
Do others have the same problem? I'm not able to reproduce this, because I don't have any cast (e.g. Chromecast) devices on my network. The crash happens in here: https://chromium.googlesource.com/chromium/src.git/+/refs/heads/master/components/cast_channel/keep_alive_handler.cc#76

Maybe someone could enable logging by passing something like '--v=0 --vmodule=keep_alive_handler=3 --enable-logging=stderr' to chromium and report which DVLOG is printed before the crash.
Comment 5 Benjamin Réveillé 2021-01-31 18:55:04 UTC
Yes I am seeing this to... Masked the version for now...

I do have 2 chromecast devices on the network.
Comment 6 Alexandre Ferreira 2021-01-31 22:38:49 UTC
I see this too and have 1 chromecast in my network. I tried compiling without the flag screencast and it also failed at the same spot it seems.
Comment 7 Stephan Hartmann (RETIRED) gentoo-dev 2021-02-01 12:53:33 UTC
(In reply to Alexandre Ferreira from comment #6)
> I see this too and have 1 chromecast in my network. I tried compiling
> without the flag screencast and it also failed at the same spot it seems.

USE=screencast is for Wayland only and is something different than the Cast protocol used by e.g. Chromecast.

Am I correct that you all use gcc-10.2 with AVX2 (Haswell/Zen or newer CPU) enabled?
Comment 8 Benjamin Réveillé 2021-02-01 13:42:15 UTC
Yes gcc 10.2 and zen2 (ryzen 7 3700X)
Comment 9 Stephan Hartmann (RETIRED) gentoo-dev 2021-02-01 13:58:25 UTC
(In reply to Benjamin Réveillé from comment #8)
> Yes gcc 10.2 and zen2 (ryzen 7 3700X)

Can you give gcc-9 a try?
Comment 10 Benjamin Réveillé 2021-02-02 20:27:15 UTC
Just recompiled with gcc-9.3.0-r2 --> no crashing...

Switching back and recompiling with gcc-10.2 to double check it crashes again...
Comment 11 Benjamin Réveillé 2021-02-02 20:30:59 UTC
Ignore last comment... emerge using gcc 9.3.0-r2 wasn't finished yet...
Comment 12 Benjamin Réveillé 2021-02-03 07:12:09 UTC
crashing when emerged with gcc 9.3.0-r2

> chromium
[19540:19540:0203/080825.576650:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
[19420:19466:0203/080829.855489:ERROR:object_proxy.cc(621)] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
[19420:19466:0203/080829.855521:ERROR:kwallet_dbus.cc(100)] Error contacting kwalletd5 (isEnabled)
[19420:19466:0203/080829.855885:ERROR:object_proxy.cc(621)] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.klauncher was not provided by any .service files
[19420:19466:0203/080829.855897:ERROR:kwallet_dbus.cc(72)] Error contacting klauncher to start kwalletd5
[19420:19466:0203/080829.913495:ERROR:object_proxy.cc(621)] Failed to call method: org.kde.KWallet.close: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
[19420:19466:0203/080829.913508:ERROR:kwallet_dbus.cc(418)] Error contacting kwalletd5 (close)
Received signal 11 SEGV_MAPERR 0000004c4b40
#0 0x559ba5799bc9 (/usr/lib64/chromium-browser/chrome+0x5a0bbc8)
#1 0x559ba56ef086 (/usr/lib64/chromium-browser/chrome+0x5961085)
#2 0x559ba579956d (/usr/lib64/chromium-browser/chrome+0x5a0b56c)
#3 0x559ba5799b5d (/usr/lib64/chromium-browser/chrome+0x5a0bb5c)
#4 0x7f9c1c61eec0 (/lib64/libpthread-2.32.so+0x12ebf)
#5 0x7f9c1a0cd9e1 (/lib64/libc-2.32.so+0x15b9e0)
#6 0x559ba82cd9aa (/usr/lib64/chromium-browser/chrome+0x853f9a9)
#7 0x559ba82cd2a6 (/usr/lib64/chromium-browser/chrome+0x853f2a5)
#8 0x559ba82ccbac (/usr/lib64/chromium-browser/chrome+0x853ebab)
#9 0x559ba82ccfa4 (/usr/lib64/chromium-browser/chrome+0x853efa3)
#10 0x559ba82ce51c (/usr/lib64/chromium-browser/chrome+0x854051b)
#11 0x559ba5f450bc (/usr/lib64/chromium-browser/chrome+0x61b70bb)
#12 0x559ba5f4584f (/usr/lib64/chromium-browser/chrome+0x61b784e)
#13 0x559ba5756586 (/usr/lib64/chromium-browser/chrome+0x59c8585)
#14 0x559ba576d80f (/usr/lib64/chromium-browser/chrome+0x59df80e)
#15 0x559ba576e257 (/usr/lib64/chromium-browser/chrome+0x59e0256)
#16 0x559ba57d2c19 (/usr/lib64/chromium-browser/chrome+0x5a44c18)
#17 0x559ba576ce6d (/usr/lib64/chromium-browser/chrome+0x59dee6c)
#18 0x559ba5737368 (/usr/lib64/chromium-browser/chrome+0x59a9367)
#19 0x559ba2ad88ea (/usr/lib64/chromium-browser/chrome+0x2d4a8e9)
#20 0x559ba57820f8 (/usr/lib64/chromium-browser/chrome+0x59f40f7)
#21 0x559ba57ada56 (/usr/lib64/chromium-browser/chrome+0x5a1fa55)
#22 0x7f9c1c613fbe start_thread
#23 0x7f9c1a06f6af clone
  r8: 0000000000000000  r9: 0000000001e36324 r10: 0000000ed17665a7 r11: 0000000000000001
 r12: 0000328cb1b79f10 r13: 00000000004c4b40 r14: 00007f9c128a21a0 r15: 00007f9c128a2420
  di: 00000000004c4b40  si: 0000559bacf16187  bp: 00007f9c128a1f40  bx: 0000328cb59fa910
  dx: 00000000004c4b40  ax: 0000000000000100  cx: 0000000000000000  sp: 00007f9c128a1f08
  ip: 00007f9c1a0cd9e1 efl: 0000000000010283 cgf: 002b000000000033 erf: 0000000000000004
 trp: 000000000000000e msk: 0000000000000000 cr2: 00000000004c4b40
[end of stack trace]
Calling _exit(1). Core file will not be generated.
Comment 13 Benjamin Réveillé 2021-02-03 07:34:07 UTC
emerged with gcc-3.0.r2 and FEATURES=nostrip and USE=-official

> chromium
[23693:23693:0203/083254.099766:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
[23662:23700:0203/083255.958244:ERROR:object_proxy.cc(621)] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
[23662:23700:0203/083255.958270:ERROR:kwallet_dbus.cc(100)] Error contacting kwalletd5 (isEnabled)
[23662:23700:0203/083255.958656:ERROR:object_proxy.cc(621)] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.klauncher was not provided by any .service files
[23662:23700:0203/083255.958667:ERROR:kwallet_dbus.cc(72)] Error contacting klauncher to start kwalletd5
[23662:23700:0203/083255.999199:ERROR:object_proxy.cc(621)] Failed to call method: org.kde.KWallet.close: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
[23662:23700:0203/083255.999220:ERROR:kwallet_dbus.cc(418)] Error contacting kwalletd5 (close)
Received signal 11 SEGV_MAPERR 0000004c4b40
#0 0x55f1e449cbc9 base::debug::CollectStackTrace()
#1 0x55f1e43f2086 base::debug::StackTrace::StackTrace()
#2 0x55f1e449c56d base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x55f1e449cb5d base::debug::(anonymous namespace)::StackDumpSignalHandler()
#4 0x7fb115b3dec0 (/lib64/libpthread-2.32.so+0x12ebf)
#5 0x7fb1135ec9e1 (/lib64/libc-2.32.so+0x15b9e0)
#6 0x55f1e6fd09aa cast_channel::KeepAliveHandler::HandleMessage()
#7 0x55f1e6fd02a6 cast_channel::KeepAliveDelegate::OnMessage()
#8 0x55f1e6fcfbac cast_channel::CastTransportImpl::DoReadCallback()
#9 0x55f1e6fcffa4 cast_channel::CastTransportImpl::OnReadResult()
#10 0x55f1e6fd151c cast_channel::MojoDataPump::ReceiveMore()
#11 0x55f1e4c480bc mojo::SimpleWatcher::OnHandleReady()
#12 0x55f1e4c4884f base::internal::Invoker<>::RunOnce()
#13 0x55f1e4459586 base::TaskAnnotator::RunTask()
#14 0x55f1e447080f base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl()
#15 0x55f1e4471257 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork()
#16 0x55f1e44d5c19 base::MessagePumpLibevent::Run()
#17 0x55f1e446fe6d base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run()
#18 0x55f1e443a368 base::RunLoop::Run()
#19 0x55f1e17db8ea content::BrowserProcessSubThread::IOThreadRun()
#20 0x55f1e44850f8 base::Thread::ThreadMain()
#21 0x55f1e44b0a56 base::(anonymous namespace)::ThreadFunc()
#22 0x7fb115b32fbe start_thread
#23 0x7fb11358e6af clone
  r8: 0000000000000000  r9: 0000000001ee081e r10: 0000000f28e9500f r11: 0000000000000001
 r12: 00000cf484d1aa10 r13: 00000000004c4b40 r14: 00007fb10c5c21a0 r15: 00007fb10c5c2420
  di: 00000000004c4b40  si: 000055f1ebc19187  bp: 00007fb10c5c1f40  bx: 00000cf484d084b0
  dx: 00000000004c4b40  ax: 0000000000000100  cx: 0000000000000000  sp: 00007fb10c5c1f08
  ip: 00007fb1135ec9e1 efl: 0000000000010283 cgf: 002b000000000033 erf: 0000000000000004
 trp: 000000000000000e msk: 0000000000000000 cr2: 00000000004c4b40
[end of stack trace]
Calling _exit(1). Core file will not be generated.
Comment 14 Benjamin Réveillé 2021-02-03 07:36:30 UTC
emerged with gcc-3.0.r2 and FEATURES=nostrip and USE=-official

> chromium --v=0 --vmodule=keep_alive_handler=3 --enable-logging=stderr
[24481:24481:0203/083514.524403:WARNING:extension.cc(777)] Failed to load extension.  Manifest JSON: {"background_page":"background.html","content_scripts":[{"all_frames":true,"js":["chromeLocal.js"],"matches":["http://*/*","https://*/*"],"run_at":"document_start"}],"description":"Adds a Download button to YouTube video pages. Download any video from YouTube with only the click of a button.","icons":{"128":"icons/icon128.png","16":"icons/icon16.png","48":"icons/icon48.png"},"key":"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDLKO+QUb5W8Jihib/DnsqMTwtnkZj2Pp+xMzZWncx8fcW09pAhKX08M4WvwY0yMeRSLM7PsuT3vM5QX6RZN8GuWhh6T0WMrWmREzZtuC2pBzC9ZKNmU84THj9z4ATgPsKlDXZQ0NrwCwaaXFmkSHyoX2oVKPbMZvOd+RR1A0hf2wIDAQAB","name":"YouTube Downloader","permissions":["management","http://*/*","https://*/*"],"update_url":"http://www.oxytube.com/ext/youtube_downloader_update.xml","version":"12.0"}
[24481:24481:0203/083514.524438:WARNING:load_error_reporter.cc(78)] Extension error: Échec du chargement de l'extension depuis : /home/dwardo/.config/chromium/Default/Extensions/baghcaokjpiflfgfddiobkomaaklphhg/12.0_0. The 'manifest_version' key must be present and set to 2 (without quotes). See developer.chrome.com/extensions/manifestVersion.html for details.
[24481:24481:0203/083514.526650:WARNING:extension.cc(777)] Failed to load extension.  Manifest JSON: {"background_page":"html/background.html","browser_action":{"default_icon":"img/icon-19.png","default_tile":"__MSG_app_name__"},"content_scripts":[{"css":["style/yt.css"],"js":["js/lib/jquery.js","js/contentscripts/core.js","js/contentscripts/yt.js"],"matches":["http://www.youtube.com/*","https://www.youtube.com/*"]}],"current_locale":"fr","default_locale":"en","description":"Un nouveau bouton dans YouTube qui permet de passer les publicités et de partir le vidéo principal.","icons":{"128":"img/icon-128.png","19":"img/icon-19.png","48":"img/icon-48.png"},"key":"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDsSV4nSgxEk0UVb/ZGs10XeMklyuoRzfmXCs0Ya/iXY718QgXDdihFeABTmVl7AU1FOIQdk9yxLm2qO/k0C3TZYPkacxznU6sRsSZJ6OWw49OFcpsbHJ2pi9EHgPQkPkxBPniVqx3z1tkuZBPkGguTUF8Og5unJwIefyIu8Sm4gQIDAQAB","name":"Passer les publicités sur YouTube","permissions":["tabs","http://www.youtube.com/"],"update_url":"http://clients2.google.com/service/update2/crx","version":"1.203"}
[24481:24481:0203/083514.526680:WARNING:load_error_reporter.cc(78)] Extension error: Échec du chargement de l'extension depuis : /home/dwardo/.config/chromium/Default/Extensions/epbmnbdplhcomkedpjfceakddnbgfjmf/1.203_0. The 'manifest_version' key must be present and set to 2 (without quotes). See developer.chrome.com/extensions/manifestVersion.html for details.
[24513:24513:0203/083514.625352:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
Received signal 11 SEGV_MAPERR 0000004c4b40
#0 0x562f54d14bc9 base::debug::CollectStackTrace()
#1 0x562f54c6a086 base::debug::StackTrace::StackTrace()
#2 0x562f54d1456d base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x562f54d14b5d base::debug::(anonymous namespace)::StackDumpSignalHandler()
#4 0x7f9455a3aec0 (/lib64/libpthread-2.32.so+0x12ebf)
#5 0x7f94534e99e1 (/lib64/libc-2.32.so+0x15b9e0)
#6 0x562f578489aa cast_channel::KeepAliveHandler::HandleMessage()
#7 0x562f578482a6 cast_channel::KeepAliveDelegate::OnMessage()
#8 0x562f57847bac cast_channel::CastTransportImpl::DoReadCallback()
#9 0x562f57847fa4 cast_channel::CastTransportImpl::OnReadResult()
#10 0x562f5784951c cast_channel::MojoDataPump::ReceiveMore()
#11 0x562f554c00bc mojo::SimpleWatcher::OnHandleReady()
#12 0x562f554c084f base::internal::Invoker<>::RunOnce()
#13 0x562f54cd1586 base::TaskAnnotator::RunTask()
#14 0x562f54ce880f base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl()
#15 0x562f54ce9257 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork()
#16 0x562f54d4dc19 base::MessagePumpLibevent::Run()
#17 0x562f54ce7e6d base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run()
#18 0x562f54cb2368 base::RunLoop::Run()
#19 0x562f520538ea content::BrowserProcessSubThread::IOThreadRun()
#20 0x562f54cfd0f8 base::Thread::ThreadMain()
#21 0x562f54d28a56 base::(anonymous namespace)::ThreadFunc()
#22 0x7f9455a2ffbe start_thread
#23 0x7f945348b6af clone
  r8: 0000000000000000  r9: 0000000001ef00a4 r10: 0000000f315eb7cc r11: 0000562f5c4910fe
 r12: 00001a6c5d440110 r13: 00000000004c4b40 r14: 00007f944c4bf1a0 r15: 00007f944c4bf420
  di: 00000000004c4b40  si: 0000562f5c491187  bp: 00007f944c4bef40  bx: 00001a6c621450f0
  dx: 00000000004c4b40  ax: 0000000000000100  cx: 0000000000000000  sp: 00007f944c4bef08
  ip: 00007f94534e99e1 efl: 0000000000010283 cgf: 002b000000000033 erf: 0000000000000004
 trp: 000000000000000e msk: 0000000000000000 cr2: 00000000004c4b40
[end of stack trace]
Calling _exit(1). Core file will not be generated.
Comment 15 Stephan Hartmann (RETIRED) gentoo-dev 2021-02-03 07:47:05 UTC
I can reproduce the issue with a components_unittests with gcc-9. Looks like ToString() is not working correctly:

https://chromium.googlesource.com/chromium/src/+/refs/heads/master/components/cast_channel/keep_alive_handler.cc#89
Comment 16 Preston Crow 2021-02-07 15:47:43 UTC
I tried unmasking the next version, and I had the same problem with 90.0.4400.8, so I'm back to 88 (which is having unrelated problems).
Comment 17 Alexandre Ferreira 2021-02-08 16:55:54 UTC
Same error with chromium-89.0.4389.40 as with chromium-89.0.4389.23.
Comment 18 foufou33 2021-02-08 22:54:45 UTC
I was able to workaround it by dropping all traffic from/to the Chromecast, thank !!
Comment 19 Erik Zeek 2021-02-09 03:12:50 UTC
I have 89.0.4389.40 currently running with "chromium-browser --vmodule=keep_alive_handler=3", and it hasn't crashed (yet). It also doesn't detect my chromecast.
Comment 20 Stephan Hartmann (RETIRED) gentoo-dev 2021-02-09 20:35:42 UTC
*** Bug 769656 has been marked as a duplicate of this bug. ***
Comment 21 Alexandre Ferreira 2021-02-10 13:33:38 UTC
It works now (no crash) in my installation by using suggestion from Erik Zeek at #19. Thanks.
Comment 22 Ionen Wolkens gentoo-dev 2021-02-12 15:23:14 UTC
*** Bug 770214 has been marked as a duplicate of this bug. ***
Comment 23 Helmut Jarausch 2021-02-12 15:35:18 UTC
(In reply to Alexandre Ferreira from comment #21)
> It works now (no crash) in my installation by using suggestion from Erik
> Zeek at #19. Thanks.

Unfortunately, the suggestion from Erik Zeek doesn't help here.
Comment 24 Larry the Git Cow gentoo-dev 2021-02-14 08:43:55 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c580af0345725e2d81819433a0de30629326e226

commit c580af0345725e2d81819433a0de30629326e226
Author:     Stephan Hartmann <sultan@gentoo.org>
AuthorDate: 2021-02-14 08:43:11 +0000
Commit:     Stephan Hartmann <sultan@gentoo.org>
CommitDate: 2021-02-14 08:43:48 +0000

    www-client/chromium: beta channel bump to 89.0.4389.47
    
    Add patch to workaround crash in cast message handling.
    
    Bug: https://bugs.gentoo.org/768000
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: Stephan Hartmann <sultan@gentoo.org>

 www-client/chromium/Manifest                       |  2 +-
 ...4389.40.ebuild => chromium-89.0.4389.47.ebuild} |  1 +
 .../files/chromium-89-EnumTable-crash.patch        | 71 ++++++++++++++++++++++
 3 files changed, 73 insertions(+), 1 deletion(-)
Comment 25 Alexandre Ferreira 2021-02-15 16:08:26 UTC
www-client/chromium-89.0.4389.47 fixed the problem for me. Thanks,
Comment 26 Larry the Git Cow gentoo-dev 2021-02-20 11:43:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fc137628e6b5afd416d1fa336be13c1210c2afc

commit 5fc137628e6b5afd416d1fa336be13c1210c2afc
Author:     Stephan Hartmann <sultan@gentoo.org>
AuthorDate: 2021-02-20 11:41:55 +0000
Commit:     Stephan Hartmann <sultan@gentoo.org>
CommitDate: 2021-02-20 11:42:35 +0000

    www-client/chromium: dev channel bump to 90.0.4421.5
    
    Bug: https://bugs.gentoo.org/768000
    Closes: https://bugs.gentoo.org/770214
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: Stephan Hartmann <sultan@gentoo.org>

 www-client/chromium/Manifest                       |  4 ++--
 ...0.4412.3.ebuild => chromium-90.0.4421.5.ebuild} | 18 ++++++++-------
 .../chromium/files/chromium-90-unbundle-zlib.patch | 27 ----------------------
 3 files changed, 12 insertions(+), 37 deletions(-)
Comment 27 Jason A. Donenfeld gentoo-dev 2021-03-05 22:24:27 UTC
I'm getting this on www-client/chromium-88.0.4324.182:

base::debug::CollectStackTrace(void**, unsigned long) + 8 in section .text of /usr/lib64/chromium-browser/chrome
base::debug::StackTrace::StackTrace() + 13 in section .text of /usr/lib64/chromium-browser/chrome
base::debug::(anonymous namespace)::StackDumpSignalHandler(int, siginfo_t*, void*) + 371 in section .text of /usr/lib64/chromium-browser/chrome
void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag) [clone .isra.0] + 49 in section .text of /usr/lib64/chromium-browser/chrome
base::Value::Value(base::BasicStringPiece<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >) + 115 in section .text of /usr/lib64/chromium-browser/chrome
cast_channel::(anonymous namespace)::CreateKeepAliveMessage(base::BasicStringPiece<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >) + 84 in section .text of /usr/lib64/chromium-browser/chrome
cast_channel::CreateKeepAlivePingMessage() + 122 in section .text of /usr/lib64/chromium-browser/chrome
cast_channel::KeepAliveHandler::KeepAliveHandler(cast_channel::CastSocket*, scoped_refptr<cast_channel::Logger>, base::TimeDelta, base::TimeDelta, base::RepeatingCallback<void (cast_channel::ChannelError)>) + 66 in section .text of /usr/lib64/chromium-browser/chrome
cast_channel::KeepAliveDelegate::KeepAliveDelegate(cast_channel::CastSocket*, scoped_refptr<cast_channel::Logger>, std::unique_ptr<cast_channel::CastTransport::Delegate, std::default_delete<cast_channel::CastTransport::Delegate> >, base::TimeDelta, base::TimeDelta) + 157 in section .text of /usr/lib64/chromium-browser/chrome
cast_channel::CastSocketImpl::DoConnectCallback() + 488 in section .text of /usr/lib64/chromium-browser/chrome
void base::internal::CancelableCallbackImpl<base::OnceCallback<void (int)> >::ForwardOnce<int>(int) + 42 in section .text of /usr/lib64/chromium-browser/chrome
base::internal::Invoker<base::internal::BindState<base::OnceCallback<void (int)>, int>, void ()>::RunOnce(base::internal::BindStateBase*) + 29 in section .text of /usr/lib64/chromium-browser/chrome
base::TaskAnnotator::RunTask(char const*, base::PendingTask*) + 261 in section .text of /usr/lib64/chromium-browser/chrome
base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*) + 458 in section .text of /usr/lib64/chromium-browser/chrome
base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() + 65 in section .text of /usr/lib64/chromium-browser/chrome
base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) + 96 in section .text of /usr/lib64/chromium-browser/chrome
base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) + 154 in section .text of /usr/lib64/chromium-browser/chrome
base::RunLoop::Run() [clone .part.0] + 556 in section .text of /usr/lib64/chromium-browser/chrome
content::BrowserProcessSubThread::IOThreadRun(base::RunLoop*) + 52 in section .text of /usr/lib64/chromium-browser/chrome
base::Thread::ThreadMain() + 807 in section .text of /usr/lib64/chromium-browser/chrome
base::(anonymous namespace)::ThreadFunc(void*) + 84 in section .text of /usr/lib64/chromium-browser/chrome
Comment 29 Stephan Hartmann (RETIRED) gentoo-dev 2021-03-07 14:58:37 UTC
(In reply to Jason A. Donenfeld from comment #28)
> Perhaps we need
> https://github.com/chromium/chromium/commit/
> 446e7e578b66687a67329523c5276bc2f0d1859f.patch

This one is in chromium-89 and it doesn't help. Does it still happen with chromium-89? I just left this one open, because my patch was not merged upstream.
Comment 30 Georgi 2022-10-30 11:17:02 UTC
Is this still relevant?

The fix introduced with commit 5fc1376 causes emerge to fail if clang is not emerged in advance.

That's so because although clang is pulled in, the pre-merge check fails as clang is still not emergend and thus not available.

However clang 12 is stable since long ago and this check seems to be obsolete. Can't this be resolved using the dependency list?


Best Regards
Georgi
Comment 31 Matt Jolly gentoo-dev 2023-09-24 06:11:37 UTC
I believe that this was resolved a long time ago between Stephan's fix and later clang versions. We can open a new ticket if a similar issue recurs.