I just installed Spotify two days ago and it worked perfectly. After one day, when I started my computer and opened Spotify, it worked ok, but after closing it and opening it again it crashes. A blank screen appears for 1 second and then closes. I have the free version of Spotify and I'm running Ubuntu 20.04.
edit: If I open Spotify from the terminal this happens:
Gtk-Message: 09:29:30.910: Failed to load module "gail"
Gtk-Message: 09:29:30.910: Failed to load module "atk-bridge"
Gtk-Message: 09:29:30.918: Failed to load module "canberra-gtk-module"
[1012/092931.627932:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap (core dumped)
I forgot to say that I recently used an ad blocker. I saw that it's illegal and I removed it. Firstly I tried to remove ads as shown in this video. It didn't work, so I installed "Spotify adkiller", then I saw it's illegal to remove ads from Spotify and I removed it (at least I think so).
I want to mention that if I turn on my computer, the first time I open Spotify it works perfectly, but if I close Spotify and open it again it crashes. It looks like Spotify wants to open but another application opens over Spotify and closes it. Llike a Spotify closer.
while true; do spotify && exit; done