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

Better error message to know if browsh or firefox is segfaulting. #525

Open
gl-yziquel opened this issue Jun 17, 2024 · 2 comments
Open

Comments

@gl-yziquel
Copy link

gl-yziquel commented Jun 17, 2024

Hello.

I build browsh from source and git HEAD. And also firefox. So it's not entirely surprising that I get segfaults. However, I here wish to complain about the error message system. I get:

panic: runtime error: invalid memory address or nil pointer dereference
                                                                       [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4cc50e]

                                                                                                                                             goroutine 9 [running]:
                                                                                                                                                                   os.(*Process).signal(0x4?, {0x968268?, 0xb75058?})
                                                                                                                                                                                                                        /home/mini-me/.goenv/v


ni-me/.goenv/versions/1.22.3/src/os/exec.go:140
                                               os.(*Process).kill(...)
                                                                        /home/mini-me/.goenv/versions/1.22.3/src/os/exec_posix.go:67
                                                                                                                                    os.(*Process).Kill(...)
                                                                                                                                                                /home/mini-me/.goenv/versions/1.22.3/src/os/exec.go:125
                                                                                                                                                                                                                       github.com/browsh-org/b

ard/hephaestus/browsh-master/interfacer/src/browsh/firefox.go:93 +0x5fa
                                                                       created by github.com/browsh-org/browsh/interfacer/src/browsh.setupFirefox in goroutine 1
                                                                                                                                                                        /home/mini-me/home/backyard/hephaestus/browsh-master/interfacer/src/br

So. 1. The layout is problematic. 2. It's really hard to tell, at first glance whether it is browsh or firefox that is segfaulting.

Could error handling and reporting be improved ?

@x66ccff
Copy link

x66ccff commented Sep 9, 2024

i got the same error, i install by using .deb , 1.8.0 and 1.8.2 both run into this. Can not figure out why.

@ebenoist
Copy link

ebenoist commented Nov 4, 2024

Same here on Ununtu 24.04.1

[~/.config]❥ neofetch
            .-/+oossssoo+/-.               erik@bestia
        `:+ssssssssssssssssss+:`           -----------
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 24.04.1 LTS x86_64
    .ossssssssssssssssssdMMMNysssso.       Host: B760 DS3H AC DDR4 -CF
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 6.8.0-48-generic
  +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 3 days, 2 hours, 28 mins
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Packages: 2984 (dpkg), 15 (flatpak), 23 (snap)
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Shell: bash 5.2.21
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Resolution: 3840x2160, 3200x5120
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   DE: GNOME 46.0
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   WM: Mutter
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   WM Theme: Adwaita
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Theme: Yaru [GTK2/3]
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/    Icons: Yaru [GTK2/3]
  +sssssssssdmydMMMMMMMMddddyssssssss+     Terminal: zellij
   /ssssssssssshdmNNNNmyNMMMMhssssss/      CPU: 13th Gen Intel i7-13700K (24) @ 5.300GHz
    .ossssssssssssssssssdMMMNysssso.       GPU: Intel Raptor Lake-S GT1 [UHD Graphics 770]
      -+sssssssssssssssssyyyssss+-         GPU: AMD ATI Radeon RX 470/480/570/570X/580/580X/590
        `:+ssssssssssssssssss+:`           GPU: NVIDIA GeForce RTX 3060
            .-/+oossssoo+/-.               Memory: 13766MiB / 128579MiB


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