Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes firefox somehow on Arch Linux #14

Open
cole-rogers opened this issue Mar 1, 2019 · 3 comments
Open

Crashes firefox somehow on Arch Linux #14

cole-rogers opened this issue Mar 1, 2019 · 3 comments

Comments

@cole-rogers
Copy link

cole-rogers commented Mar 1, 2019

When enabled via GNOME tweaks, firefox seems to have a high chance of randomly crashing on startup, because it complains libgobject is broken and sometimes throws an error about using libcurl instead of curl. I have no idea how this is possible, but when changing to arc or adawatia, it consistently works. Tested on multiple user accounts.

@cole-rogers
Copy link
Author

cole-rogers commented Mar 1, 2019

Here is a stack trace from journalctl:

  Coredump: Process 7844 (firefox) of user 1000 dumped core.
                                      Stack trace of thread 7844:
                                      #0  0x00007f4b9a75b6df g_type_check_value (libgobject-2.0.so.0)
                                      #1  0x00007f4b9b3123f4 n/a (libgtk-3.so.0)
                                      #2  0x00007f4b9b310d54 n/a (libgtk-3.so.0)
                                      #3  0x00007f4b9b3073ab n/a (libgtk-3.so.0)
                                      #4  0x00007f4b9b30856c gtk_css_provider_load_from_file (libgtk-3.so.0)
                                      #5  0x00007f4b9b308625 gtk_css_provider_load_from_path (libgtk-3.so.0)
                                      #6  0x00007f4b9b308932 n/a (libgtk-3.so.0)
                                      #7  0x00007f4b9b44aa57 n/a (libgtk-3.so.0)
                                      #8  0x00007f4b9b44e0cd n/a (libgtk-3.so.0)
                                      #9  0x00007f4b9b3d91f9 n/a (libgtk-3.so.0)
                                      #10 0x00007f4b9a77b3c5 g_closure_invoke (libgobject-2.0.so.0)
                                      #11 0x00007f4b9a768195 n/a (libgobject-2.0.so.0)
                                      #12 0x00007f4b9a76c01e g_signal_emit_valist (libgobject-2.0.so.0)
                                      #13 0x00007f4b9a76ca80 g_signal_emit (libgobject-2.0.so.0)
                                      #14 0x00007f4b9a77b3c5 g_closure_invoke (libgobject-2.0.so.0)
                                      #15 0x00007f4b9a76799f n/a (libgobject-2.0.so.0)
                                      #16 0x00007f4b9a76c01e g_signal_emit_valist (libgobject-2.0.so.0)
                                      #16 0x00007f4b9a76c01e g_signal_emit_valist (libgobject-2.0.so.0)
                                      #17 0x00007f4b9a76c762 g_signal_emit_by_name (libgobject-2.0.so.0)
                                      #18 0x00007f4b9b0e295c n/a (libgdk-3.so.0)
                                      #19 0x00007f4b9b0b5f17 gdk_display_manager_open_display (libgdk-3.so.0)
                                      #20 0x00007f4b94462a4f n/a (libxul.so)
                                      #21 0x00007f4b9446813e n/a (libxul.so)
                                      #22 0x00007f4b94468633 n/a (libxul.so)
                                      #23 0x000055ef9cf8d3cc n/a (firefox)
                                      #24 0x000055ef9cf8d196 n/a (firefox)
                                      #25 0x00007f4b9c054223 __libc_start_main (libc.so.6)
                                      #26 0x000055ef9cf9edde _start (firefox)
                                      
                                      Stack trace of thread 7850:
                                      #0  0x00007f4b9c120c21 __poll (libc.so.6)
                                      #1  0x00007f4b9a695540 n/a (libglib-2.0.so.0)
                                      #2  0x00007f4b9a6965c2 g_main_loop_run (libglib-2.0.so.0)
                                      #3  0x00007f4b9a941cb8 n/a (libgio-2.0.so.0)
                                      #4  0x00007f4b9a67067b n/a (libglib-2.0.so.0)
                                      #5  0x00007f4b9c1fba9d start_thread (libpthread.so.0)
                                      #6  0x00007f4b9c12bb23 __clone (libc.so.6)
                                      
                                      Stack trace of thread 7849:
                                      #0  0x00007f4b9c120c21 __poll (libc.so.6)
                                      #1  0x00007f4b9a695540 n/a (libglib-2.0.so.0)
                                      #2  0x00007f4b9a69562e g_main_context_iteration (libglib-2.0.so.0)
                                      #3  0x00007f4b9a695682 n/a (libglib-2.0.so.0)
                                      #4  0x00007f4b9a67067b n/a (libglib-2.0.so.0)
                                      #5  0x00007f4b9c1fba9d start_thread (libpth

@hprem
Copy link

hprem commented May 7, 2019

I have also started seeing this crash with Telinkrin theme. Firefox works fine on changing the theme

May 07 18:07:37 prem-lnx systemd-coredump[5321]: Process 5315 (firefox) of user 1001 dumped core.                                             
                                                 Stack trace of thread 5315:
                                                 #0  0x00007ffb6b9345af g_type_check_value (libgobject-2.0.so.0)

@SyntevoAlex
Copy link

SyntevoAlex commented Nov 21, 2019

This crash is caused by GTK bug:
https://gitlab.gnome.org/GNOME/gtk/issues/751

Workaround: do not use multiple colors in border CSS property.
border ignores multiple colors anyways and if it doesn't crash, it will use the last color for all 4 sides, see GTK sources parse_border().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants