browsh-org / browsh

A fully-modern text-based browser, rendering to TTY and browsers
https://www.brow.sh
GNU Lesser General Public License v2.1
16.94k stars 413 forks source link

browsh_1.8.2_linux_amd64 crashes on Ubuntu 22.04.3 LTS #509

Open mdear opened 8 months ago

mdear commented 8 months ago

I launch Browsh with no arguments, the terminal screen blanks, and it crashes ten seconds later. Running with the --debug flag makes no difference.

I'm using Git Bash for Windows (MINGW64) and logging onto my Ubuntu bare metal cloud server.

root@cloudserver:~# uname -a Linux cloudserver 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

root@cloudserver:~# cat /etc/issue Ubuntu 22.04.3 LTS \n \l

Link to a screenshot:

https://www.dropbox.com/scl/fi/5x373p0yq4z09kowxezsz/BrowshCrashesOnUbuntu22_04_3_LTS_Screenshot-2024-01-19-203246.jpg?rlkey=h6tdrqj3emlf3ts7udg94cku3&dl=0

JMPSequeira commented 7 months ago

Likewise

jhdavis8 commented 7 months ago

Same here, Kubuntu 22.04.3 LTS x86_64

waito3209 commented 7 months ago

same here in Ubuntu

Qerdo97 commented 7 months ago

Same issue on 24.04 and 1.8.0 Screenshot from 2024-02-13 11-33-05

░▒▓   ~   11:31  
❯ neofetch 
            .-/+oossssoo+/-.                
        `:+ssssssssssssssssss+:`           -------------- 
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu Noble Numbat (development branch) x86_64 
    .ossssssssssssssssssdMMMNysssso.       Host: Vostro 14 5410 
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 6.6.0-14-generic 
  +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 1 day, 1 hour, 14 mins 
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Packages: 3694 (dpkg), 40 (snap) 
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Shell: bash 5.2.21 
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Resolution: 1440x2560, 3440x1440 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   DE: GNOME 45.3 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   WM: Mutter 
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   WM Theme: Adwaita 
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Theme: Yaru-dark [GTK2/3] 
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/    Icons: Yaru [GTK2/3] 
  +sssssssssdmydMMMMMMMMddddyssssssss+     Terminal: terminator 
   /ssssssssssshdmNNNNmyNMMMMhssssss/      CPU: 11th Gen Intel i5-11300H (8) @ 4.400GHz 
^[[A.ossssssssssssssssssdMMMNysssso.           GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics] 
      -+sssssssssssssssssyyyssss+-         Memory: 10625MiB / 31839MiB 
        `:+ssssssssssssssssss+:`
            .-/+oossssoo+/-.                                       

░▒▓   ~   11:31  
❯ browsh --version
1.8.0
jobe451 commented 3 months ago

same issue here, tried on a few Ubuntu 23.10 and 24.04 releases, also on a powerfull desktop with firefox installed

Efus10n commented 3 months ago

@jobe451 @mdear - is firefox installed as a snap? the snap version of firefox doesn't play nice with browsh. I had to uninstall the snap version and install the deb package from the mozilla ppa. https://askubuntu.com/questions/1399383/how-to-install-firefox-as-a-traditional-deb-package-without-snap-in-ubuntu-22/

guybrush-threepwood-the-third commented 2 months ago

Also tried removing snap firefox and installing the deb package, but same error.

Efus10n commented 2 months ago

@guybrush-threepwood-the-third you might check 'snap list' again. snaps have a nasty habit of getting re-installed

mcclure commented 1 month ago

Same issue, browsh_1.8.0_linux_amd64.deb on Ubuntu 24.04 LTS with the firefox Snap.

I understand that your program will not work on all systems, and that Snap can create compatibility issues. However, my "expected behavior" is that when launched in an incompatible environment your app will print an actionable error message and then quit cleanly, rather than spewing internal Go errors and then messing up the terminal. The current failure mode could be improved.