flathub / com.brave.Browser

https://flathub.org/apps/details/com.brave.Browser
Mozilla Public License 2.0
42 stars 17 forks source link

Crash when opened from GUI, didn't when opened from terminal #523

Open abuturabofficial opened 6 months ago

abuturabofficial commented 6 months ago

When I try to run Brave-browser from a GUI, it will crash after few seconds. When I run it from terminal flatpak run com.brave.Browser, it doesn't crash.

Here is the log, when run from the terminal:

Gtk-Message: 18:29:45.671: Failed to load module "canberra-gtk-module"
Gtk-Message: 18:29:45.671: Failed to load module "pk-gtk-module"
Gtk-Message: 18:29:45.672: Failed to load module "canberra-gtk-module"
Gtk-Message: 18:29:45.673: Failed to load module "pk-gtk-module"
[2:2:0205/182945.796929:ERROR:policy_logger.cc(156)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(161) Cloud management controller initialization aborted as CBCM is not enabled. Please use the `--enable-chrome-browser-cloud-management` command line flag to enable it if you are not using the official Google Chrome build.
[2:2:0205/182946.366611:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not part of the idle inhibition specification: https://specifications.freedesktop.org/idle-inhibit-spec/latest/
[2:40:0205/182946.901030:ERROR:cert_verify_proc_builtin.cc(766)] CertVerifyProcBuiltin for variations.brave.com failed:
----- Certificate i=2 (CN=NextDNS Blockpage CA,O=NextDNS Inc.) -----
ERROR: No matching issuer found

[60:66:0205/182946.901847:ERROR:ssl_client_socket_impl.cc(974)] handshake failed; returned -1, SSL error code 1, net_error -202
[56:56:0205/182954.740242:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[56:56:0205/182954.743745:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[56:56:0205/182956.474145:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

System Details Report


Report details

Hardware Information:

Software Information:

abuturabofficial commented 6 months ago

I think I have found the probable cause:

When I revoke the Run in Background permission, the GUI starts crashing after seconds of opening.

De-Clan-C commented 5 months ago

I just got a similar issue today. It won't open, and it doesn't seem to be related to that permission. I'm on Fedora 39 as well

Here's the terminal output.

Gtk-Message: 10:09:34.596: Failed to load module pk-gtk-module

Gtk-Message: 10:09:34.597: Failed to load module pk-gtk-module

[2:2:0304/100934.712124:ERROR:policy_logger.cc(157)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(161) Cloud management controller initialization aborted as CBCM is not enabled. Please use the  command line flag to enable it if you are not using the official Google Chrome build.

[2:2:0304/100935.354710:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not part of the idle inhibition specification: https://specifications.freedesktop.org/idle-inhibit-spec/latest/

[56:56:0304/100936.375295:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[56:56:0304/100936.375425:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264ConstrainedBaseline and entrypoint VAEntrypointVLD

[56:56:0304/100936.375544:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[56:56:0304/100936.375595:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264Main and entrypoint VAEntrypointVLD

[56:56:0304/100936.375663:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[56:56:0304/100936.375741:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264High and entrypoint VAEntrypointVLD

[0304/100936.376045:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)

[2:2:0304/100936.763061:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=139

[140:140:0304/100936.854701:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[140:140:0304/100936.854831:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264ConstrainedBaseline and entrypoint VAEntrypointVLD

[140:140:0304/100936.854908:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[140:140:0304/100936.854954:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264Main and entrypoint VAEntrypointVLD

[140:140:0304/100936.855002:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[140:140:0304/100936.855046:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264High and entrypoint VAEntrypointVLD

[0304/100936.855212:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)

[2:2:0304/100937.251279:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=139

[158:158:0304/100937.363097:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[158:158:0304/100937.363406:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264ConstrainedBaseline and entrypoint VAEntrypointVLD

[158:158:0304/100937.363627:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[158:158:0304/100937.363834:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264Main and entrypoint VAEntrypointVLD

[158:158:0304/100937.363969:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[158:158:0304/100937.364160:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264High and entrypoint VAEntrypointVLD

[0304/100937.365499:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)

[2:2:0304/100938.020458:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=139

[181:181:0304/100938.127980:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[181:181:0304/100938.128266:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264ConstrainedBaseline and entrypoint VAEntrypointVLD

[181:181:0304/100938.128441:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[181:181:0304/100938.128580:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264Main and entrypoint VAEntrypointVLD

[181:181:0304/100938.129812:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[181:181:0304/100938.129996:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264High and entrypoint VAEntrypointVLD

[0304/100938.130525:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)

[2:2:0304/100938.754460:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=139

[201:201:0304/100938.846502:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[201:201:0304/100938.846819:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264ConstrainedBaseline and entrypoint VAEntrypointVLD

[201:201:0304/100938.846932:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[201:201:0304/100938.847761:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264Main and entrypoint VAEntrypointVLD

[201:201:0304/100938.848030:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[201:201:0304/100938.848136:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264High and entrypoint VAEntrypointVLD

[0304/100938.848505:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)

[2:2:0304/100939.428401:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=139

[221:221:0304/100939.516348:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[221:221:0304/100939.516674:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264ConstrainedBaseline and entrypoint VAEntrypointVLD

[221:221:0304/100939.516955:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[221:221:0304/100939.517114:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264Main and entrypoint VAEntrypointVLD

[221:221:0304/100939.517189:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[221:221:0304/100939.517301:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264High and entrypoint VAEntrypointVLD

[0304/100939.520308:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)

[2:2:0304/100940.138728:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=139

[241:241:0304/100940.235933:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[241:241:0304/100940.237641:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264ConstrainedBaseline and entrypoint VAEntrypointVLD

[241:241:0304/100940.237912:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[241:241:0304/100940.238071:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264Main and entrypoint VAEntrypointVLD

[241:241:0304/100940.238225:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[241:241:0304/100940.238350:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264High and entrypoint VAEntrypointVLD

[0304/100940.241744:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)

[2:2:0304/100940.744475:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=139

[256:256:0304/100940.790030:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[256:256:0304/100940.790229:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264ConstrainedBaseline and entrypoint VAEntrypointVLD

[256:256:0304/100940.790316:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[256:256:0304/100940.790381:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264Main and entrypoint VAEntrypointVLD

[256:256:0304/100940.790445:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[256:256:0304/100940.790528:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264High and entrypoint VAEntrypointVLD

[0304/100940.792067:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)

[2:2:0304/100941.241888:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=139

[270:270:0304/100941.309980:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[270:270:0304/100941.310207:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264ConstrainedBaseline and entrypoint VAEntrypointVLD

[270:270:0304/100941.310331:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[270:270:0304/100941.310416:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264Main and entrypoint VAEntrypointVLD

[270:270:0304/100941.310496:ERROR:vaapi_wrapper.cc(1221)] Empty codec maximum resolution

[270:270:0304/100941.310576:ERROR:vaapi_wrapper.cc(1130)] FillProfileInfo_Locked failed for va_profile VAProfileH264High and entrypoint VAEntrypointVLD

[0304/100941.311723:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)

[2:2:0304/100941.757073:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=139

[2:2:0304/100941.757310:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.

[0304/100941.757532:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
abuturabofficial commented 5 months ago

@De-Clan-C have you changed any permissions through flatseal or manually? Click on reset button, it fixed for me. Apparently Brave flatpak version doesn't like the user messing with permissions.

De-Clan-C commented 5 months ago

@De-Clan-C have you changed any permissions through flatseal or manually? Click on reset button, it fixed for me. Apparently Brave flatpak version doesn't like the user messing with permissions.

I haven't touched a thing. I got to school the other day and my browser wouldn't open haha. I'll have to troubleshoot some more.

abuturabofficial commented 5 months ago

I haven't touched a thing. I got to school the other day and my browser wouldn't open haha. I'll have to troubleshoot some more.

Strange, maybe try reinstalling. Flatpak maintainer of the Brave doesn't look active on issues.

rany2 commented 4 months ago

I'm trying to sort this issue out but I can't reproduce it.

abuturabofficial commented 4 months ago

I'm trying to sort this issue out but I can't reproduce it.

I haven't confirmed it recently, but at that time it was only happening when you have changed some permissions with Flatseal (like limiting access to only downloads folder etc.).

Edit: I can confirm, the issue is still there, just turn off this setting from the flatseal, and here it crashes

image