Bug 2147344 - Firefox does not start after upgrading from Fedora 36
Summary: Firefox does not start after upgrading from Fedora 36
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 37
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2166185 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-23 18:23 UTC by Dean Hunter
Modified: 2023-09-19 04:30 UTC (History)
14 users (show)

Fixed In Version: firefox-109.0.1-1.fc37 firefox-109.0.1-1.fc36 firefox-110.0-2.fc39 firefox-110.0-3.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-03 01:25:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
gdb console output when trying to obtain a crash stack trace (286.76 KB, text/plain)
2022-11-23 23:01 UTC, Dean Hunter
no flags Details
glxinfo output (79.84 KB, text/plain)
2022-11-27 00:30 UTC, Dean Hunter
no flags Details
about:support page (58.66 KB, application/xhtml+xml)
2022-11-27 00:31 UTC, Dean Hunter
no flags Details
glx output from Michael Black (79.89 KB, text/plain)
2022-12-21 12:04 UTC, Michael Black
no flags Details
vainfo (1.11 KB, text/plain)
2023-01-30 16:07 UTC, Eugene Kanter
no flags Details

Description Dean Hunter 2022-11-23 18:23:43 UTC
Description of problem:

Clicking on the Firefox icon on the Activities page causes the cursor to spin for a little while then nothing.  The following processes are left running:

dhunter     2534    1681  0 11:06 ?        00:00:01 /usr/lib64/firefox/firefox
dhunter     2540    1518  0 11:06 ?        00:00:00 /usr/libexec/cgroupify app-gnome-firefox-2534.scope
dhunter     2562    2534  0 11:06 ?        00:00:00 /usr/lib64/firefox/firefox
dhunter     2572    2562  0 11:06 ?        00:00:00 /usr/lib64/firefox/firefox

There is no error notification only a warning of processes still running when Fedora is shutdown or restarted.

Version-Release number of selected component (if applicable):

Firefox 106.0.4

How reproducible:

Consistent

Steps to Reproduce:
1. Click the Firefox icon pinned to the dash
2.
3.

Actual results:

Cursor spins for a little while then nothing

Expected results:

Open window with Firefox

Additional info:

Comment 1 Martin Stransky 2022-11-23 20:52:04 UTC
1) Please run Firefox from terminal
2) Try to get backtrace from frozen Firefox: https://fedoraproject.org/wiki/Debugging_guidelines_for_Mozilla_products#Attach_debugger_to_running_application
Thanks.

Comment 2 Dean Hunter 2022-11-23 22:29:21 UTC
1) Running Firefox from the Terminal results in an endlessly blinking cursor
2) coredumpctl list show no entries for Firefox

Comment 3 Dean Hunter 2022-11-23 22:41:12 UTC
Running Firefox in the debugger shows:

dhunter@hp-xs6600 ~]$ firefox -g -d gdb
  LD_LIBRARY_PATH=/usr/lib64/firefox:/usr/lib64/firefox/plugins:/usr/lib64/firefox
DISPLAY=:0
FONTCONFIG_PATH=/etc/fonts:/usr/lib64/firefox/res/Xft
DYLD_LIBRARY_PATH=/usr/lib64/firefox:/usr/lib64/firefox
     LIBRARY_PATH=
       SHLIB_PATH=/usr/lib64/firefox:/usr/lib64/firefox
          LIBPATH=/usr/lib64/firefox:/usr/lib64/firefox
       ADDON_PATH=
      MOZ_PROGRAM=/usr/lib64/firefox/firefox
      MOZ_TOOLKIT=
        moz_debug=1
     moz_debugger=gdb
moz_debugger_args=
/usr/bin/gdb  --args /usr/lib64/firefox/firefox
GNU gdb (GDB) Fedora Linux 12.1-6.fc37
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib64/firefox/firefox...
Reading symbols from /usr/lib/debug/usr/lib64/firefox/firefox-106.0.4-1.fc37.x86_64.debug...
(gdb) run
Starting program: /usr/lib64/firefox/firefox 

This GDB supports auto-downloading debuginfo from the following URLs:
https://debuginfod.fedoraproject.org/ 
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
Downloading 0.03 MB separate debug info for system-supplied DSO at 0x7ffff7fc7000
Downloading 14.72 MB separate debug info for /lib64/libstdc++.so.6                             
Downloading 40.60 MB separate debug info for /home/dhunter/.cache/debuginfod_client/3ef8edaa608a7bd7e2d8165665b7874284cf5f20/debuginfo
Downloading 0.39 MB separate debug info for /lib64/libgcc_s.so.1                               
Downloading 7.35 MB separate debug info for /lib64/libc.so.6                                   
[Thread debugging using libthread_db enabled]                                                  
Using host libthread_db library "/lib64/libthread_db.so.1".
Downloading 2.28 MB separate debug info for /lib64/libm.so.6
[New Thread 0x7ffff77ff6c0 (LWP 4124)]                                                         
[Thread 0x7ffff77ff6c0 (LWP 4124) exited]
Downloading 0.77 MB separate debug info for /lib64/libnspr4.so
Downloading 0.32 MB separate debug info for /home/dhunter/.cache/debuginfod_client/15b726e2ccdd3490d7a9d557dc7fcf3332d8e35b/debuginfo
[Detaching after fork from child process 4125]                                                 
Downloading 22.09 MB separate debug info for /lib64/libgtk-3.so.0
Downloading 0.34 MB separate debug info for /home/dhunter/.cache/debuginfod_client/861af9a185010d21c8f14a81d2e35a6cbdee6319/debuginfo
Downloading 3.47 MB separate debug info for /lib64/libgdk-3.so.0                               
Downloading 0.02 MB separate debug info for /lib64/libgmodule-2.0.so.0                         
Downloading 0.32 MB separate debug info for /home/dhunter/.cache/debuginfod_client/96a9fd2bb241550a525c810efc1be53dd6a5e0f7/debuginfo
Downloading 3.40 MB separate debug info for /lib64/libglib-2.0.so.0                            
Downloading 1.32 MB separate debug info for /lib64/libgobject-2.0.so.0                         
Downloading 7.20 MB separate debug info for /lib64/libgio-2.0.so.0                             
Downloading 0.18 MB separate debug info for /lib64/libpangocairo-1.0.so.0                      
Downloading 0.04 MB separate debug info for /home/dhunter/.cache/debuginfod_client/5d249094b70c91b398a79042674d5ea910dda930/debuginfo
Downloading 1.21 MB separate debug info for /lib64/libpango-1.0.so.0
Downloading 15.65 MB separate debug info for /lib64/libharfbuzz.so.0                           
Downloading 3.16 MB separate debug info for /home/dhunter/.cache/debuginfod_client/73da1d09c25d0f030141510ba2cd4e2fdb019fa6/debuginfo
Downloading 5.08 MB separate debug info for /lib64/libcairo.so.2                               
Downloading 0.34 MB separate debug info for /lib64/libpangoft2-1.0.so.0                        
Downloading 1.07 MB separate debug info for /lib64/libfontconfig.so.1                          
Downloading 0.12 MB separate debug info for /lib64/libfribidi.so.0                             
Downloading 0.00 MB separate debug info for /home/dhunter/.cache/debuginfod_client/fb6ac526e00e643b53e2f0c4c171b98aab7cf560/debuginfo
Downloading 0.01 MB separate debug info for /lib64/libcairo-gobject.so.2
Downloading 0.05 MB separate debug info for /home/dhunter/.cache/debuginfod_client/b89b35953d5a7357955571c575810d8d3086c07f/debuginfo
Downloading 0.58 MB separate debug info for /lib64/libgdk_pixbuf-2.0.so.0                      
Downloading 0.04 MB separate debug info for /home/dhunter/.cache/debuginfod_client/e5c58db78ea07d5c6ea4960eae044d3be4f00f10/debuginfo
Downloading 0.52 MB separate debug info for /lib64/libatk-1.0.so.0                             
Downloading 4.71 MB separate debug info for /lib64/libepoxy.so.0                               
Downloading 0.32 MB separate debug info for /lib64/libXi.so.6                                  
Downloading 3.23 MB separate debug info for /lib64/libX11.so.6                                 
Downloading 0.60 MB separate debug info for /lib64/libatk-bridge-2.0.so.0                      
Downloading 0.30 MB separate debug info for /lib64/libcloudproviders.so.0                      
Downloading 2.91 MB separate debug info for /lib64/libtracker-sparql-3.0.so.0                  
Downloading 0.36 MB separate debug info for /home/dhunter/.cache/debuginfod_client/d1081f326014ecf3fbd6731e16214057ab2fd20e/debuginfo
Downloading 0.14 MB separate debug info for /lib64/libwayland-client.so.0                      
Downloading 0.01 MB separate debug info for /home/dhunter/.cache/debuginfod_client/891f28ee3f18632fb8f6a69add03c92e15e42e28/debuginfo
Downloading 0.10 MB separate debug info for /lib64/libXfixes.so.3
Downloading 0.67 MB separate debug info for /lib64/libxkbcommon.so.0                           
Downloading 0.01 MB separate debug info for /home/dhunter/.cache/debuginfod_client/5a97444a6ac87677604029270bd926315dd533b8/debuginfo
Downloading 0.02 MB separate debug info for /lib64/libwayland-cursor.so.0
Downloading 0.00 MB separate debug info for /lib64/libwayland-egl.so.1
Downloading 0.28 MB separate debug info for /lib64/libXext.so.6
Downloading 0.15 MB separate debug info for /lib64/libXcursor.so.1                             
Downloading 0.02 MB separate debug info for /lib64/libXdamage.so.1                             
Downloading 0.02 MB separate debug info for /lib64/libXcomposite.so.1
Downloading 0.18 MB separate debug info for /lib64/libXrandr.so.2
Downloading 0.02 MB separate debug info for /lib64/libXinerama.so.1                            
Downloading 1.43 MB separate debug info for /lib64/libpcre2-8.so.0
Downloading 0.03 MB separate debug info for /home/dhunter/.cache/debuginfod_client/51cf2b0dc0884111cd6107b8b84bc1dc9e896de6/debuginfo
Downloading 0.13 MB separate debug info for /lib64/libffi.so.8
Downloading 0.21 MB separate debug info for /lib64/libz.so.1                                   
Downloading 0.90 MB separate debug info for /lib64/libmount.so.1                               
Downloading 0.21 MB separate debug info for /home/dhunter/.cache/debuginfod_client/cbe744c886c143f7a882cd8f69499753c6f024d6/debuginfo
Downloading 0.58 MB separate debug info for /lib64/libselinux.so.1                             
Downloading 0.08 MB separate debug info for /home/dhunter/.cache/debuginfod_client/5d8ce032a7d7e48c206e1274ffba675e58e56df9/debuginfo
Downloading 0.12 MB separate debug info for /lib64/libthai.so.0                                
Downloading 3.16 MB separate debug info for /lib64/libfreetype.so.6                            
Downloading 0.09 MB separate debug info for /home/dhunter/.cache/debuginfod_client/83f13de859bb20839ca7cd7930c3a7f3424a2996/debuginfo
Downloading 1.08 MB separate debug info for /lib64/libgraphite2.so.3                           
Downloading 0.73 MB separate debug info for /lib64/libpng16.so.16                              
Downloading 0.16 MB separate debug info for /lib64/libXrender.so.1                             
Downloading 0.62 MB separate debug info for /lib64/libxcb.so.1                                 
Downloading 0.19 MB separate debug info for /lib64/libxcb-render.so.0                          
Downloading 0.00 MB separate debug info for /home/dhunter/.cache/debuginfod_client/0bc3afee99e2127979a364af56e5ddde6c5264f2/debuginfo
Downloading 0.01 MB separate debug info for /lib64/libxcb-shm.so.0
Downloading 5.07 MB separate debug info for /lib64/libpixman-1.so.0
Downloading 3.81 MB separate debug info for /lib64/libxml2.so.2                                
Downloading 0.02 MB separate debug info for /home/dhunter/.cache/debuginfod_client/946e0bba5825d11471d055a39041747e2db65d7a/debuginfo
Downloading 0.81 MB separate debug info for /lib64/libjpeg.so.62
Downloading 0.15 MB separate debug info for /home/dhunter/.cache/debuginfod_client/842830621cff6e97e06c166712e2c8903960be1b/debuginfo
Downloading 1.17 MB separate debug info for /lib64/libdbus-1.so.3                              
Downloading 0.11 MB separate debug info for /home/dhunter/.cache/debuginfod_client/d0687c050fb1599e99195661d70fdbbe6bf9c4b1/debuginfo
Downloading 0.66 MB separate debug info for /lib64/libatspi.so.0                               
Downloading 0.02 MB separate debug info for /home/dhunter/.cache/debuginfod_client/62c94aa0bc23c6d131160f48caaef6afdc7625ca/debuginfo
Downloading 0.94 MB separate debug info for /lib64/libstemmer.so.0
Downloading 7.51 MB separate debug info for /lib64/libicuuc.so.71                              
Downloading 0.40 MB separate debug info for /home/dhunter/.cache/debuginfod_client/f0a97a601f057dd0739c60482ff1b33c5e054456/debuginfo
Downloading 16.15 MB separate debug info for /lib64/libicui18n.so.71                           
Downloading 0.54 MB separate debug info for /lib64/libjson-glib-1.0.so.0                       
Downloading 0.01 MB separate debug info for /home/dhunter/.cache/debuginfod_client/e21ae41532eae88d92bd3b18dd7cba5d3873f960/debuginfo
Downloading 4.13 MB separate debug info for /lib64/libsqlite3.so.0
Downloading 0.51 MB separate debug info for /home/dhunter/.cache/debuginfod_client/931d94ba5734f5d1a4b24af1283af44c786ef5d0/debuginfo
Downloading 0.90 MB separate debug info for /lib64/libblkid.so.1                               
Downloading 0.11 MB separate debug info for /lib64/libdatrie.so.1                              
Downloading 0.16 MB separate debug info for /lib64/libbz2.so.1                                 
Downloading 0.00 MB separate debug info for /home/dhunter/.cache/debuginfod_client/101a76ab214af7a108f9a601fd298bcf405eff5d/debuginfo
Downloading 0.17 MB separate debug info for /lib64/libbrotlidec.so.1                           
Downloading 1.06 MB separate debug info for /home/dhunter/.cache/debuginfod_client/5fc05a35af263c2149bb2c0fae2533c2ebe0a225/debuginfo
Downloading 0.01 MB separate debug info for /lib64/libXau.so.6                                 
Downloading 0.68 MB separate debug info for /lib64/liblzma.so.5
Downloading 3.62 MB separate debug info for /lib64/libsystemd.so.0                             
Downloading 2.41 MB separate debug info for /home/dhunter/.cache/debuginfod_client/77a8cd6d743722bcba10ddd73af35dad325c5d70/debuginfo
Downloading 0.00 MB separate debug info for /lib64/libicudata.so.71                            
Downloading 0.01 MB separate debug info for /lib64/libbrotlicommon.so.1                        
Downloading 0.03 MB separate debug info for /lib64/libcap.so.2
Downloading 0.00 MB separate debug info for /home/dhunter/.cache/debuginfod_client/f3f24bb6e411e3885602e753eda1e764fc1f5bfb/debuginfo
Downloading 4.38 MB separate debug info for /lib64/libzstd.so.1
Downloading 0.25 MB separate debug info for /home/dhunter/.cache/debuginfod_client/2b3060a28a992246fb32e1412965c3195dc15558/debuginfo
Downloading 0.86 MB separate debug info for /lib64/liblz4.so.1                                 
Downloading 0.01 MB separate debug info for /home/dhunter/.cache/debuginfod_client/b3a26c6ebe103f178f7c989a545426ecd5eacb81/debuginfo
Downloading 3.71 MB separate debug info for /lib64/libasound.so.2                              
Downloading 0.09 MB separate debug info for /lib64/libXtst.so.6                                
Downloading 0.02 MB separate debug info for /lib64/libplc4.so                                  
Downloading 1.39 MB separate debug info for /lib64/libssl3.so
Downloading 0.74 MB separate debug info for /lib64/libsmime3.so                                
Downloading 4.68 MB separate debug info for /lib64/libnss3.so                                  
Downloading 0.51 MB separate debug info for /lib64/libnssutil3.so                              
Downloading 0.98 MB separate debug info for /lib64/libevent-2.1.so.7                           
Downloading 0.17 MB separate debug info for /home/dhunter/.cache/debuginfod_client/28bfec845c8925c44ec3ce25826b6b5b95bb11b4/debuginfo
Downloading 0.54 MB separate debug info for /lib64/libdbus-glib-1.so.2                         
Downloading 0.02 MB separate debug info for /home/dhunter/.cache/debuginfod_client/e1611b9a555188e2055fd0e8217e7dd40e97d11d/debuginfo
Downloading 0.03 MB separate debug info for /lib64/libX11-xcb.so.1
Downloading 0.01 MB separate debug info for /home/dhunter/.cache/debuginfod_client/5d09b564a3f5c146d17900fe9d96418201de1fed/debuginfo
Downloading 0.01 MB separate debug info for /lib64/libplds4.so
[Detaching after fork from child process 4133]
[New Thread 0x7ffff77ff6c0 (LWP 4134)]
[New Thread 0x7fffdbeff6c0 (LWP 4135)]
Downloading 0.19 MB separate debug info for /usr/lib64/gio/modules/libdconfsettings.so
Downloading 0.03 MB separate debug info for /home/dhunter/.cache/debuginfod_client/08e41432bd5cec0b0dd36158402ce963c711e46f/debuginfo
[New Thread 0x7fffdb6fe6c0 (LWP 4147)]
[New Thread 0x7fffdaefd6c0 (LWP 4148)]
Downloading 0.71 MB separate debug info for /usr/lib64/gio/modules/libgvfsdbus.so
Downloading 0.29 MB separate debug info for /home/dhunter/.cache/debuginfod_client/0e588ecaf43c6df90957bc991ea3dad2f9e1eded/debuginfo
Downloading 0.79 MB separate debug info for /usr/lib64/gvfs/libgvfscommon.so                   
Downloading 1.00 MB separate debug info for /lib64/libnss_myhostname.so.2                      
Downloading 0.29 MB separate debug info for /lib64/libICE.so.6                                 
Downloading 0.04 MB separate debug info for /lib64/libSM.so.6                                  
Downloading 0.08 MB separate debug info for /lib64/libuuid.so.1
[New Thread 0x7fffda3ff6c0 (LWP 4150)]                                                         
[New Thread 0x7fffd85ff6c0 (LWP 4151)]
[New Thread 0x7fffd85be6c0 (LWP 4152)]
[New Thread 0x7fffd857d6c0 (LWP 4153)]
[New Thread 0x7fffd5cff6c0 (LWP 4154)]
[New Thread 0x7fffd5cbe6c0 (LWP 4155)]
[New Thread 0x7fffd5c7d6c0 (LWP 4156)]
[Thread 0x7fffd5c7d6c0 (LWP 4156) exited]
[New Thread 0x7fffd57ff6c0 (LWP 4157)]
[Thread 0x7fffd57ff6c0 (LWP 4157) exited]
[New Thread 0x7fffda62e6c0 (LWP 4158)]
[New Thread 0x7fffd4fc16c0 (LWP 4159)]
[New Thread 0x7fffd48226c0 (LWP 4160)]
[New Thread 0x7fffd46236c0 (LWP 4161)]
[New Thread 0x7fffd44246c0 (LWP 4162)]
[New Thread 0x7fffd42256c0 (LWP 4163)]
[New Thread 0x7fffd40266c0 (LWP 4164)]
[New Thread 0x7fffd3e276c0 (LWP 4165)]
[New Thread 0x7fffd3c286c0 (LWP 4166)]
[New Thread 0x7fffd3a296c0 (LWP 4167)]
[New Thread 0x7fffd4f806c0 (LWP 4168)]
[New Thread 0x7fffda3b66c0 (LWP 4169)]
[New Thread 0x7fffd382a6c0 (LWP 4170)]
[New Thread 0x7fffd57ff6c0 (LWP 4171)]
[New Thread 0x7fffd37e96c0 (LWP 4172)]
[New Thread 0x7fffd29ff6c0 (LWP 4173)]
[New Thread 0x7fffd29be6c0 (LWP 4174)]
[New Thread 0x7fffd26ff6c0 (LWP 4176)]
[Thread 0x7fffd26ff6c0 (LWP 4176) exited]
[New Thread 0x7fffd26ff6c0 (LWP 4177)]
[New Thread 0x7fffd1efe6c0 (LWP 4178)]
[Thread 0x7fffd26ff6c0 (LWP 4177) exited]
[Thread 0x7fffd1efe6c0 (LWP 4178) exited]
[Thread 0x7fffdbeff6c0 (LWP 4135) exited]

and the the infinitely blinking cursor.  I hope this helps.

Comment 4 Dean Hunter 2022-11-23 23:01:06 UTC
Created attachment 1926839 [details]
gdb console output when trying to obtain a crash stack trace

Comment 5 Martin Stransky 2022-11-24 07:36:47 UTC
Looks like problem with GPU detection. Please attach about:support page.
Thanks.

Comment 6 Dean Hunter 2022-11-24 19:48:02 UTC
Please, I do not understand where to find the about:support page you are requesting.

Comment 7 Dean Hunter 2022-11-24 19:59:22 UTC
I do not know if this is what you need, but here is some information that might help:

[dhunter@hp-xs6600 ~]$ lspci -k | grep -EA3 VGA
80:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde PRO [Radeon HD 7750/8740 / R7 250E]
	Subsystem: VISIONTEK Device 7750
	Kernel driver in use: radeon
	Kernel modules: radeon, amdgpu
[dhunter@hp-xs6600 ~]$

Comment 8 Martin Stransky 2022-11-24 20:08:36 UTC
(In reply to Dean Hunter from comment #6)
> Please, I do not understand where to find the about:support page you are
> requesting.

Just browse to about:support web page. It's an internal web page provided by browser itself.

Comment 10 Dean Hunter 2022-11-24 20:17:01 UTC
I am using Google Chrome, because Firefox does not start a browser, hence this bug report.

Comment 11 Martin Stransky 2022-11-24 21:27:19 UTC
I see, that makes sense. Can you please test Mozilla binary directly?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_Mozilla_binaries
Thanks.

Comment 12 Martin Stransky 2022-11-24 21:29:55 UTC
Btw. According to backtrace it's frozen at 

```
#0  __GI___libc_read (nbytes=2047, buf=0x7fffffff9890, fd=3) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=3, buf=buf@entry=0x7fffffff9890, nbytes=nbytes@entry=2047) at ../sysdeps/unix/sysv/linux/read.c:24
No locals.
#2  0x00007fffed1f8a34 in read (__nbytes=2047, __buf=0x7fffffff9890, __fd=<optimized out>) at /usr/include/bits/unistd.h:38
#3  mozilla::widget::GfxInfo::GetData (this=0x7fffdbf2be20) at /usr/src/debug/firefox-106.0.4-1.fc37.x86_64/widget/gtk/GfxInfo.cpp:96
```

which is gfx init code. It reads data from OpenGL detection routines. Can you attach output of glxinfo terminal command?

Comment 13 Dean Hunter 2022-11-27 00:30:05 UTC
Created attachment 1927752 [details]
glxinfo output

Comment 14 Dean Hunter 2022-11-27 00:31:21 UTC
Created attachment 1927753 [details]
about:support page

Comment 15 Dean Hunter 2022-11-27 00:34:03 UTC
When I started Linux a few minutes ago, without thinking I downloaded and applied all updates.  They included Firefox 107.  I am now able to open a browser and retrieve the about:support page.  I guess you could consider my problem as resolved.

Comment 16 Martin Stransky 2022-11-28 08:20:59 UTC
Okay, Thanks.

Comment 17 Dean Hunter 2022-12-17 22:37:18 UTC
After applying recent updates, the problem has returned.

Comment 18 Dean Hunter 2022-12-17 22:41:09 UTC
[dhunter@hp-xs6600 ~]$ firefox -v
Mozilla Firefox 108.0

Comment 19 Michael Black 2022-12-19 16:32:10 UTC
I have the same problem after upgrading to Fedora 37.  I tried running Fedora 37 from a live USB but it didn't open.   Chromium browser takes a very long time to open.  I upgraded firefox to version 108.0 but it is no better.  I too have a radeon graphics card.

Comment 20 Martin Stransky 2022-12-21 10:09:39 UTC
Can you attach output of glxinfo terminal command? Can be an issue with gfx card configuration.

Comment 21 Michael Black 2022-12-21 12:04:17 UTC
Created attachment 1933904 [details]
glx output from Michael Black

As requested

Comment 22 Martin Stransky 2022-12-22 12:22:51 UTC
Thanks.

This looks like problem with gfx detection of old AMD GPU. Please try latest Mozilla nightly:
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems?rd=Bug_info_Firefox#Testing_Mozilla_binaries

And if you can reproduce it please file at bugzilla.mozilla.org/ under Core / Graphics component and CC me there' We'd need gfx Mozilla folks to look into it.

Comment 23 Eugene Kanter 2023-01-17 03:13:41 UTC
I've been having the same problems daily when powering up my desktop. AMD GPU, latest mesa drivers from rpmfusion installed.
After much trial and error I found a workaround: start chromium, exit, start Firefox.
Has the mozzila bug been filed already?

(In reply to Martin Stransky from comment #22)
> Thanks.
> 
> This looks like problem with gfx detection of old AMD GPU. Please try latest
> Mozilla nightly:
> https://fedoraproject.org/wiki/
> How_to_debug_Firefox_problems?rd=Bug_info_Firefox#Testing_Mozilla_binaries
> 
> And if you can reproduce it please file at bugzilla.mozilla.org/ under Core
> / Graphics component and CC me there' We'd need gfx Mozilla folks to look
> into it.

Comment 24 Michael Black 2023-01-18 11:48:39 UTC
(In reply to Eugene Kanter from comment #23)
> I've been having the same problems daily when powering up my desktop. AMD
> GPU, latest mesa drivers from rpmfusion installed.
> After much trial and error I found a workaround: start chromium, exit, start
> Firefox.
> Has the mozzila bug been filed already?
> 
> (In reply to Martin Stransky from comment #22)
> > Thanks.
> > 
> > This looks like problem with gfx detection of old AMD GPU. Please try latest
> > Mozilla nightly:
> > https://fedoraproject.org/wiki/
> > How_to_debug_Firefox_problems?rd=Bug_info_Firefox#Testing_Mozilla_binaries
> > 
> > And if you can reproduce it please file at bugzilla.mozilla.org/ under Core
> > / Graphics component and CC me there' We'd need gfx Mozilla folks to look
> > into it.

Starting Chromium first worked for me when I first noticed the problem, but it doesn't work now.

Comment 25 Eugene Kanter 2023-01-22 16:52:10 UTC
I found one existing mozilla bug that mentions mozilla::widget::GfxInfo::GetData() https://bugzilla.mozilla.org/show_bug.cgi?id=1739884 and added my comment.

Comment 26 Eugene Kanter 2023-01-22 16:56:57 UTC
(In reply to Michael Black from comment #24)
> Starting Chromium first worked for me when I first noticed the problem, but
> it doesn't work now.
Same to me here today, found a way to always start firefox bypassing glx:

ssh -Y localhost firefox

Finally after several remote and debugging attempts firefox started as usual.

Comment 27 Martin Stransky 2023-01-25 10:00:46 UTC
Can you try to attach gdb to frozen Firefox after start? Use gdb as Fedora package does not use mozilla crashreporter right now.

Use Fedora binaries, install Firefox debuginfo packages and use:
https://fedoraproject.org/wiki/Debugging_guidelines_for_Mozilla_products#Attach_debugger_to_running_application

Thanks.

Comment 28 Eugene Kanter 2023-01-28 16:16:36 UTC
(In reply to Martin Stransky from comment #27)
> Can you try to attach gdb to frozen Firefox after start? Use gdb as Fedora
> package does not use mozilla crashreporter right now.
uploaded to https://bugzilla.mozilla.org/show_bug.cgi?id=1739884 several days ago.
Does it help?

Comment 29 Eugene Kanter 2023-01-28 16:25:59 UTC
Found an acceptable workaround - kill glxtest child process.
When glxtest process hangs the process tree looks like this:

$ pstree -psla 7390
systemd,1 rhgb rhgb --switched-root --system --deserialize 35
  └─systemd,3732 --user
      └─gnome-shell,4133
          └─firefox,7366
              └─firefox,7381
                  └─firefox,7390
                      ├─{firefox},7392
                      ├─{firefox},7393
                      ├─{firefox},7394
                      ├─{firefox},7395
                      └─{firefox},7396

There are three main processes. Terminate the third one, in this case 7390

Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: VA-API test failed: process crashed. Please check your VA-API drivers. (t=97.497) [GFX1-]: glxtest: VA-API test failed: process crashed. Please check your VA-API drivers.

and firefox will continue starting as usual.

Comment 30 Eugene Kanter 2023-01-28 23:28:22 UTC
This https://retrace.fedoraproject.org/faf/reports/608452/ is a retrace attempt from kill -11 7390 above if helps.

Comment 31 Dean Hunter 2023-01-29 00:44:02 UTC
Terminating the third process allowed firefox to open a browser window for me also.  Why is the process hanging for some graphics adapters and not terminating with a diagnostic?

Comment 32 Martin Stransky 2023-01-30 11:12:48 UTC
Thanks for your investigation! Looks like you hit a variant of https://bugzilla.mozilla.org/show_bug.cgi?id=1787182 / https://bugzilla.mozilla.org/show_bug.cgi?id=1799747
i.e. Firefox tries to probe hardware on every launch which is not good.

Comment 33 Martin Stransky 2023-01-30 11:13:47 UTC
Yes, looks like we need to add a timeout to HW probe and don't let Firefox to hang there.

Comment 34 Martin Stransky 2023-01-30 11:25:21 UTC
Just out of curiosity, can you attach output of 'vainfo' command? It's similar to what Firefox run on start, I expect it hangs on your system.
Thanks.

Comment 35 Eugene Kanter 2023-01-30 16:07:25 UTC
Created attachment 1941122 [details]
vainfo

Comment 36 Eugene Kanter 2023-01-30 16:10:46 UTC
vainfo does not hang at all.
in addition, firefox startup problem goes away after a short number of a launch, kill offending thread to continue, exit sequences.
after a reboot firefox startup problem shows up again and goes away after several attempts.

Comment 37 Dean Hunter 2023-01-30 17:39:11 UTC
$ sudo dnf install vainfo
...
No match for argument: vainfo
Error: Unable to find a match: vainfo
$

Comment 38 Dean Hunter 2023-01-30 18:00:48 UTC
The behavior when starting firefox from the command line has changed since this bug was opened:

$ firefox
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: VA-API test failed: no supported VAAPI profile found. (t=1.19923) [GFX1-]: glxtest: VA-API test failed: no supported VAAPI profile found.

And then the browser window opens.

However, firefox still hangs when starting from the icon in Activities.

Comment 39 Eugene Kanter 2023-01-30 22:32:34 UTC
(In reply to Dean Hunter from comment #37)
> $ sudo dnf install vainfo
> ...
> No match for argument: vainfo
> Error: Unable to find a match: vainfo
> $

$ rpm -qf `which vainfo`
libva-utils-2.16.0-1.fc37.x86_64
$

Comment 40 Dean Hunter 2023-01-30 22:41:52 UTC
I discovered that vainfo is part of package libva-utils (before I saw Eugene's comment above), installed it, and now firefox does not hang when starting from the Activities icon.  Starting from the command line returns the same dialog as noted above.  Here is the report from vainfo:

$ vainfo
Trying display: wayland
libva info: VA-API version 1.16.0
libva info: Trying to open /usr/lib64/dri/r600_drv_video.so
libva info: Found init function __vaDriverInit_1_16
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.16 (libva 2.16.0)
vainfo: Driver version: Mesa Gallium driver 22.3.3 for VERDE (, LLVM 15.0.6, DRM 2.50, 6.1.6-200.fc37.x86_64)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc
$

Comment 41 Tony Wariner 2023-01-30 22:51:30 UTC
I am seeing this issue persist on three different machines running Fedora 37 and firefox-109.0-4.fc37.x86_64 post the most recent Fedora update. I do not have this problem on firefox-109.0-1.fc37.x86_64. All three machines are using different Graphics cards and are of a different Vendor all together. This is a firefox bug and should be rolled into the next Fedora update, please! I need access to my Firefox asap, as I rely on my LastPass extension to manage my accounts. Without it, my hands are extremely tied. I'm going to move away from this going forward, but I need access in order to export all of my accounts. Please help and thank you for your assistance.

Comment 42 Eugene Kanter 2023-01-31 00:55:22 UTC
(In reply to Tony Wariner from comment #41)
> I am seeing this issue persist on three different machines running Fedora 37
> and firefox-109.0-4.fc37.x86_64 post the most recent Fedora update. I do not
> have this problem on firefox-109.0-1.fc37.x86_64. All three machines are
> using different Graphics cards and are of a different Vendor all together.
> This is a firefox bug and should be rolled into the next Fedora update,
> please! I need access to my Firefox asap, as I rely on my LastPass extension
> to manage my accounts. Without it, my hands are extremely tied. I'm going to
> move away from this going forward, but I need access in order to export all
> of my accounts. Please help and thank you for your assistance.

If you get stuck please try instructions in comment #29
I also crafted a quick and dirty command to do it:

$ pstree -psl `pidof firefox | sort -n | cut -d ' ' -f 3` | head -1 | sed -e 's/.*(\([0-9]\+\))/\1/' | xargs kill

gets a list of three firefox processes and sends interrupt signal to the youngest one.
not ideal but definitely works after fresh restart.

Comment 43 Tony Wariner 2023-01-31 02:12:41 UTC
(In reply to Eugene Kanter from comment #42)
> (In reply to Tony Wariner from comment #41)
> > I am seeing this issue persist on three different machines running Fedora 37
> > and firefox-109.0-4.fc37.x86_64 post the most recent Fedora update. I do not
> > have this problem on firefox-109.0-1.fc37.x86_64. All three machines are
> > using different Graphics cards and are of a different Vendor all together.
> > This is a firefox bug and should be rolled into the next Fedora update,
> > please! I need access to my Firefox asap, as I rely on my LastPass extension
> > to manage my accounts. Without it, my hands are extremely tied. I'm going to
> > move away from this going forward, but I need access in order to export all
> > of my accounts. Please help and thank you for your assistance.
> 
> If you get stuck please try instructions in comment #29
> I also crafted a quick and dirty command to do it:
> 
> $ pstree -psl `pidof firefox | sort -n | cut -d ' ' -f 3` | head -1 | sed -e
> 's/.*(\([0-9]\+\))/\1/' | xargs kill
> 
> gets a list of three firefox processes and sends interrupt signal to the
> youngest one.
> not ideal but definitely works after fresh restart.

----

Eugene, that's really smart and it worked! That's a nice workaround, ty. Nonetheless, it should start normally from the action menu and this bug should be addressed. It appears to be getting ignored for quite sometime.

Comment 44 Martin Stransky 2023-01-31 07:41:29 UTC
That's very interesting bug, it's quite surprising that the init process hangs by such way and libva-utils package can affect it (libva may be installed as dependency?).
Anyway, will update Fedora package ASAP when I submit upstream patches for it. There are two issues here:

1) gfx probe code hangs which block Firefox start - https://bugzilla.mozilla.org/show_bug.cgi?id=1813500
2) Firefox launches gfx probe code on every start, even when remote is used - https://bugzilla.mozilla.org/show_bug.cgi?id=1787182

Comment 45 Martin Stransky 2023-02-01 20:06:13 UTC
*** Bug 2166185 has been marked as a duplicate of this bug. ***

Comment 46 Fedora Update System 2023-02-02 20:08:01 UTC
FEDORA-2023-6b80eceecd has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-6b80eceecd

Comment 47 Fedora Update System 2023-02-02 20:08:02 UTC
FEDORA-2023-71229cd6e1 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-71229cd6e1

Comment 48 Dean Hunter 2023-02-02 20:40:02 UTC
After applying the latest system updates, firefox now starts without fail from both the Activities icon and the command line.  Starting from the Activities icon results the the spinner in the top line of the display continuing to run after the first page is displayed and browsing begun.  It stops after about half a minute.  Starting from the command line continues to display the crash annotation as noted in comment #38.

Comment 49 Fedora Update System 2023-02-03 01:25:49 UTC
FEDORA-2023-71229cd6e1 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 50 Fedora Update System 2023-02-03 01:53:07 UTC
FEDORA-2023-6b80eceecd has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-6b80eceecd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-6b80eceecd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 51 Eugene Kanter 2023-02-03 13:59:42 UTC
Firefox does start now but:

Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: failed to read data from glxtest, we may fallback to software rendering
 (t=4.16368) [GFX1-]: glxtest: failed to read data from glxtest, we may fallback to software rendering

Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: failed to read data from glxtest, we may fallback to software rendering
 (t=4.16368) |[1][GFX1-]: No GPUs detected via PCI (t=4.16374) [GFX1-]: No GPUs detected via PCI

All other glx based tools, namely vainfo, glxgears and others appear to work correctly.

Comment 52 Fedora Update System 2023-02-05 01:53:13 UTC
FEDORA-2023-6b80eceecd has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 53 Fedora Update System 2023-02-14 04:38:16 UTC
FEDORA-2023-69c5066615 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-69c5066615

Comment 54 Fedora Update System 2023-02-14 04:44:03 UTC
FEDORA-2023-69c5066615 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 55 Fedora Update System 2023-02-14 12:41:20 UTC
FEDORA-2023-499b6a8729 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-499b6a8729

Comment 56 Fedora Update System 2023-02-14 12:47:09 UTC
FEDORA-2023-499b6a8729 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 57 Red Hat Bugzilla 2023-09-19 04:30:26 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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