Bug 29519 - Chromium-browser crash when 'default browser' banner is dismissed 'X'
Summary: Chromium-browser crash when 'default browser' banner is dismissed 'X'
Status: RESOLVED WORKSFORME
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Christiaan Welvaart
QA Contact:
URL: https://bugs.mageia.org/show_bug.cgi?...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-03 19:02 CEST by katnatek
Modified: 2021-11-20 23:32 CET (History)
5 users (show)

See Also:
Source RPM: chromium-browser-stable-94.0.4606.81-1.mga8
CVE:
Status comment:


Attachments

Description katnatek 2021-10-03 19:02:40 CEST
Description of problem:

This issue raise on the test phase of chromium-browser version 94.0.4606.61 
Looks like a combination of hardware+software

When you have other browser set as default and start chromium-browser the application shows a banner asking to Set as default Browser, if i try to close the banner clicking on the X the application crash with

chromium-browser 
libva error: /usr/lib/dri/i965_drv_video.so init failed
[10075:10075:0929/131710.168896:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
[10038:10059:0929/131715.930229:ERROR:chrome_browser_main_extra_parts_metrics.cc(228)] crbug.com/1216328: Checking Bluetooth availability started. Please report if there is no report that this ends.
[10038:10059:0929/131715.930317:ERROR:chrome_browser_main_extra_parts_metrics.cc(231)] crbug.com/1216328: Checking Bluetooth availability ended.
[10038:10059:0929/131715.930348:ERROR:chrome_browser_main_extra_parts_metrics.cc(234)] crbug.com/1216328: Checking default browser status started. Please report if there is no report that this ends.
[10038:10059:0929/131716.087943:ERROR:chrome_browser_main_extra_parts_metrics.cc(238)] crbug.com/1216328: Checking default browser status ended.
[0929/131717.636694:ERROR:elf_dynamic_array_reader.h(61)] tag not found
[0929/131717.636999:ERROR:elf_dynamic_array_reader.h(61)] tag not found
Received signal 11 SEGV_MAPERR 00006e74616b
Violación de segmento (`core' generado)

inxi -G
Graphics:  Device-1: Intel Mobile GM965/GL960 Integrated Graphics driver: i915 v: kernel 
           Device-2: Chicony integrated USB webcam type: USB driver: uvcvideo 
           Display: server: Mageia X.org 1.20.12 driver: intel,v4l resolution: 1360x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel 965GM (CL) v: 2.1 Mesa 21.2.3 


Disable the option to use hardware acceleration and other tips tried also not helps

https://bugs.mageia.org/show_bug.cgi?id=28732#c34
https://bugs.mageia.org/show_bug.cgi?id=28732#c46
https://bugs.mageia.org/show_bug.cgi?id=28732#c51
Comment 1 Lewis Smith 2021-10-03 21:15:53 CEST
Thank you for the report.

I have just installed this thing to try (under Mate):
 chromium-browser-stable-94.0.4606.61-1.mga8
 $ inxi -SGxx    [my system]
System:
  Host: localhost Kernel: 5.10.62-desktop-1.mga8 x86_64 bits: 64 
  compiler: gcc v: 10.3.0 Desktop: MATE 1.24.2 wm: marco dm: LightDM, LXDM 
  Distro: Mageia 8 mga8 
Graphics:
  Device-1: AMD Wrestler [Radeon HD 7310] vendor: Acer Incorporated ALI 
  driver: radeon v: kernel bus ID: 00:01.0 chip ID: 1002:9809 
  Display: x11 server: Mageia X.org 1.20.12 compositor: marco 
  driver: ati,radeon,v4l resolution: 1366x768~60Hz s-dpi: 96 
  OpenGL: 
  renderer: AMD PALM (DRM 2.50.0 / 5.10.62-desktop-1.mga8 LLVM 11.0.1) 
  v: 3.3 Mesa 21.2.1 compat-v: 3.1 direct render: Yes 

and Lo! Clicking the 'X' button to dismiss the default browser popup did indeed crash it, but not like for katnatek; the 'sandbox' is a mystery to me:

 $ chromium-browser
[6857:6857:1003/204848.572006:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
[6821:6852:1003/204854.074404:ERROR:chrome_browser_main_extra_parts_metrics.cc(228)] crbug.com/1216328: Checking Bluetooth availability started. Please report if there is no report that this ends.
[6821:6852:1003/204854.074534:ERROR:chrome_browser_main_extra_parts_metrics.cc(231)] crbug.com/1216328: Checking Bluetooth availability ended.
[6821:6852:1003/204854.074570:ERROR:chrome_browser_main_extra_parts_metrics.cc(234)] crbug.com/1216328: Checking default browser status started. Please report if there is no report that this ends.
[6821:6852:1003/204854.351933:ERROR:chrome_browser_main_extra_parts_metrics.cc(238)] crbug.com/1216328: Checking default browser status ended.
[1003/204908.064825:ERROR:elf_dynamic_array_reader.h(61)] tag not found
Received signal 11 SEGV_MAPERR 562cf7bce16d
#0 0x562988c85509 base::debug::CollectStackTrace()
#1 0x562988bcede6 base::debug::StackTrace::StackTrace()
#2 0x562988c84a9b base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x7fee29530180 (/usr/lib64/libpthread-2.32.so+0x1317f)
#4 0x56298ba53f44 views::InkDropHost::RemoveInkDropLayer()
#5 0x56298ba55c3b views::InkDropImpl::~InkDropImpl()
#6 0x56298ba55cd2 views::InkDropImpl::~InkDropImpl()
#7 0x56298ba54340 views::InkDropHost::~InkDropHost()
#8 0x56298ba543d2 views::InkDropHost::~InkDropHost()
#9 0x56298912a961 ui::PropertyHandler::ClearProperties()
#10 0x56298ba19c24 views::View::~View()
#11 0x56298b9cfca5 views::ImageButton::~ImageButton()
#12 0x56298ba19e3b views::View::~View()
#13 0x56298be98137 InfoBarView::~InfoBarView()
#14 0x56298be952e2 ConfirmInfoBar::~ConfirmInfoBar()
#15 0x56298976a807 gfx::AnimationContainer::Run()
#16 0x56298976ae1a gfx::AnimationRunner::Step()
#17 0x56298a39d6ac ui::Compositor::BeginMainFrame()
#18 0x562989f9602a cc::SingleThreadProxy::DoBeginMainFrame()
#19 0x562989f96294 cc::SingleThreadProxy::BeginMainFrame()
#20 0x562988c43b22 base::TaskAnnotator::RunTask()
#21 0x562988c5ad4a base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl()
#22 0x562988c5b8b7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork()
#23 0x562988bf112e base::(anonymous namespace)::WorkSourceDispatch()
#24 0x7fee294419be g_main_context_dispatch
#25 0x7fee29441d18 (/usr/lib64/libglib-2.0.so.0.6600.8+0x50d17)
#26 0x7fee29441dbf g_main_context_iteration
#27 0x562988bf0f8f base::MessagePumpGlib::Run()
#28 0x562988c59eb0 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run()
#29 0x562988c234ff base::RunLoop::Run()
#30 0x56298561379e content::BrowserMainLoop::RunMainMessageLoop()
#31 0x562985616705 content::BrowserMainRunnerImpl::Run()
#32 0x562985611684 content::BrowserMain()
#33 0x56298839464d content::ContentMainRunnerImpl::Run()
#34 0x562988391c3b content::RunContentProcess()
#35 0x5629883923d0 content::ContentMain()
#36 0x5629837da6b9 ChromeMain
#37 0x7fee262d7e1a __libc_start_main
#38 0x5629837da53a _start
  r8: 0000000000000007  r9: 00005629952e69e0 r10: 000000000000013a r11: 00007fee26436a50
 r12: 0000562995148f00 r13: 00007ffffe1293f0 r14: 0000562994de3350 r15: 0000562995280948
  di: 00005629953956f0  si: 00007ffffe1293f0  bp: 00007ffffe129420  bx: 0000562994de3250
  dx: 0000000000000001  ax: 0000562cf7bce125  cx: 0000000000000000  sp: 00007ffffe1293f0
  ip: 000056298ba53f44 efl: 0000000000010206 cgf: 002b000000000033 erf: 0000000000000004
 trp: 000000000000000e msk: 0000000000000000 cr2: 0000562cf7bce16d
[end of stack trace]
Segmentation fault (core dumped)

However, when it is re-launched, it pops up "Restore pages? Chromium didn't shut down correctly".
If I dismiss that 'X', it leaves the opening display with the 'default browser' question (dismissing which -> crash).
OTOH If I click the 'Restore' button, the browser stays up. A workaround:

 $ chromium-browser
[7678:7678:1003/205629.656634:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
[7643:7663:1003/205639.410802:ERROR:chrome_browser_main_extra_parts_metrics.cc(228)] crbug.com/1216328: Checking Bluetooth availability started. Please report if there is no report that this ends.
[7643:7663:1003/205639.414737:ERROR:chrome_browser_main_extra_parts_metrics.cc(231)] crbug.com/1216328: Checking Bluetooth availability ended.
[7643:7663:1003/205639.414876:ERROR:chrome_browser_main_extra_parts_metrics.cc(234)] crbug.com/1216328: Checking default browser status started. Please report if there is no report that this ends.
[7643:7663:1003/205639.712809:ERROR:chrome_browser_main_extra_parts_metrics.cc(238)] crbug.com/1216328: Checking default browser status ended.
...

Assigning to Christiaan, CC'ing NicolasS for this version, Dave for the previous bug.

Assignee: bugsquad => cjw
CC: (none) => davidwhodgins, lewyssmith, nicolas.salguero

Comment 2 Lewis Smith 2021-10-03 21:25:37 CEST
Original title was "Chromium-browser crash on i586 with integrated Intel Mobile GM965/GL960 ".

Summary: Chromium-browser crash on i586 with integrated Intel Mobile GM965/GL960 => Chromium-browser crash when 'default browser' banner is dismissed 'X'

katnatek 2021-10-05 17:34:12 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=29522

Comment 3 Jose Manuel López 2021-10-07 17:44:03 CEST
Hi,

I have checked this, in Mageia Plasma, x86_64, and the issue appears too.

Chromium crash.

My computer is a I5 with 8 GB ram and Radeon RX550 series.

Greetings!!

CC: (none) => joselpddj

Comment 4 Christiaan Welvaart 2021-10-07 19:53:00 CEST
It should be possible to disable the check using command-line option --no-default-browser-check . This problem looks similar to the crash when closing media controls.
Comment 5 katnatek 2021-10-08 02:52:21 CEST
(In reply to Christiaan Welvaart from comment #4)
> It should be possible to disable the check using command-line option
> --no-default-browser-check . This problem looks similar to the crash when
> closing media controls.

The option is an acceptable workaround for the reported issue, if will check about media controls if you give some instructions of what to test
Comment 6 Morgan Leijström 2021-10-08 08:08:25 CEST
Wanted to verify, but I dont get that banner about default browser.
And i can not find where to enable it...?
Firefox is my default.  Plasma.

CC: (none) => fri

Comment 7 Jose Manuel López 2021-10-08 08:24:21 CEST
Hi,

You can tried to uninstall chromium, delete or rename the old profile, and re-install chromium-browser.

Greetings!
Comment 8 katnatek 2021-10-08 18:52:53 CEST
(In reply to Morgan Leijström from comment #6)
> Wanted to verify, but I dont get that banner about default browser.
> And i can not find where to enable it...?
> Firefox is my default.  Plasma.

In some cases i have to set Firefox as default in the browser options and systemsettings5 -> Personalization -> Applications -> Web Browser
Comment 9 Morgan Leijström 2021-10-08 19:21:04 CEST
Ah thanks.
In systemsettings5 I now changed it to Chromium, saved, then back to Firefox, launched Chromium, and now the banner is there (probably i have disabled it somehow earlier and it remembered it) 

I get the same results as Lewis in comment 1
Plasma, 64 bit, nvidia-current.

One additional note: The button in that banner select to use Chromium as default, does not work;  On next launch Chronium still ask the same, and links in thunderbird are still launched in Firefox.
Comment 10 Morgan Leijström 2021-10-08 19:28:10 CEST
(In reply to Jose Manuel López from comment #7)
> You can tried to uninstall chromium, delete or rename the old profile, and
> re-install chromium-browser.

If you by profile mean ~/.config.chromium,
Now i tried that too, not better.
Morgan Leijström 2021-10-08 19:29:29 CEST

Hardware: i586 => All
Source RPM: chromium-browser-stable-94.0.4606.61-1.mga8.src.rpm , vaapi-driver-intel-2.4.1-1.mga8.src.rpm => chromium-browser-stable-94.0.4606.71-1.mga8

Comment 11 Morgan Leijström 2021-10-08 19:31:29 CEST
(In reply to Christiaan Welvaart from comment #4)
> It should be possible to disable the check using command-line option
> --no-default-browser-check

Confirming.
Comment 12 katnatek 2021-10-12 01:00:43 CEST
Testing with chromium-browser-stable-94.0.4606.81 on testing repositories, the application still crash

chromium-browser 
[13975:13975:1011/174826.863520:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is swiftshader, ANGLE is 
[13939:13958:1011/174853.731090:ERROR:chrome_browser_main_extra_parts_metrics.cc(228)] crbug.com/1216328: Checking Bluetooth availability started. Please report if there is no report that this ends.
[13939:13958:1011/174853.732592:ERROR:chrome_browser_main_extra_parts_metrics.cc(231)] crbug.com/1216328: Checking Bluetooth availability ended.
[13939:13958:1011/174853.732674:ERROR:chrome_browser_main_extra_parts_metrics.cc(234)] crbug.com/1216328: Checking default browser status started. Please report if there is no report that this ends.
[13939:13958:1011/174853.977192:ERROR:chrome_browser_main_extra_parts_metrics.cc(238)] crbug.com/1216328: Checking default browser status ended.
[1011/174856.523101:ERROR:elf_dynamic_array_reader.h(61)] tag not found
[1011/174856.523632:ERROR:elf_dynamic_array_reader.h(61)] tag not found
Received signal 11 SEGV_ACCERR 00008f5414bc
#0 0x0000062225cc base::debug::CollectStackTrace()
#1 0x00000616116f base::debug::StackTrace::StackTrace()
#2 0x000006222b42 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x0000b7f3e560 ([vdso]+0x55f)
#4 0x00008f5414bc <unknown>
  gs: 00000033  fs: 00000000  es: 0000007b  ds: 0000007b
 edi: 150095d0 esi: 15265f30 ebp: 140af638 esp: bfd7f98c
 ebx: 140af638 edx: 152745ae ecx: 00000000 eax: 8f5414bc
 trp: 0000000e err: 00000015  ip: 8f5414bc  cs: 00000073
 efl: 00010282 usp: bfd7f98c  ss: 0000007b
[end of stack trace]
Violación de segmento (`core' generado)

The workaround on comment #4 works

Source RPM: chromium-browser-stable-94.0.4606.71-1.mga8 => chromium-browser-stable-94.0.4606.81-1.mga8
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=29541

Comment 13 katnatek 2021-11-20 23:32:52 CET
As the workaround is integrated on new version https://bugs.mageia.org/show_bug.cgi?id=29541#c17 i consider this as WORKSFORME

BTW if remove --no-default-browser-check from the script that launch chromium-browser the issue persist

Resolution: (none) => WORKSFORME
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.