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

Panic: runtime error: invalid memory address or nil pointer dereference [Windows 10] #68

Closed
niutech opened this Issue Jul 9, 2018 · 7 comments

Comments

Projects
None yet
4 participants
@niutech

niutech commented Jul 9, 2018

When I run browsh_1.2.2_windows_amd64.exe on Windows 10 x64, Firefox opens, but the program crashes with:

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x8 pc=0x4b4cdd]
goroutine 6 [running]:
os.(*Process).signal(0x0, 0x7cd560, 0x91c3c8, 0xc04229a070, 0x0)

@tombh tombh added the duplicate label Jul 9, 2018

@tombh

This comment has been minimized.

Member

tombh commented Jul 9, 2018

This is a duplicate of #38

@tombh tombh closed this Jul 9, 2018

@niutech

This comment has been minimized.

niutech commented Jul 9, 2018

Is it really #38 In-browser help?

@mholt

This comment has been minimized.

mholt commented Jul 9, 2018

This is definitely NOT a duplicate of #38. (Maybe a typo?) I'm getting the error too on Fedora, with the same version.

It also leaves headless Firefox running in the background.

Looking forward to trying this though. :)

@smeggysmeg

This comment has been minimized.

smeggysmeg commented Jul 9, 2018

I'm getting the same problem on both Debian and Fedora.

@niutech

This comment has been minimized.

niutech commented Jul 10, 2018

Full stack:

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x8 pc=0x4b4cdd]

goroutine 6 [running]:
os.(*Process).signal(0x0, 0x7d2540, 0x9233c8, 0xc0421a6070, 0x0)
/home/travis/.gimme/versions/go1.10.3.linux.amd64/src/os/exec_windows.go:58 +0x2d
os.(*Process).Signal(0x0, 0x7d2540, 0x9233c8, 0xc042193e90, 0x18)
/home/travis/.gimme/versions/go1.10.3.linux.amd64/src/os/exec.go:129 +0x46
os.(*Process).kill(0x0, 0xc042036c28, 0xc042193e90)
/home/travis/.gimme/versions/go1.10.3.linux.amd64/src/os/exec_posix.go:54 +0x4a
os.(*Process).Kill(0x0, 0x4, 0x4)
/home/travis/.gimme/versions/go1.10.3.linux.amd64/src/os/exec.go:114 +0x32
browsh/interfacer/src/browsh.startHeadlessFirefox()
/home/travis/gopath/src/browsh/interfacer/src/browsh/firefox.go:84 +0x36c
created by browsh/interfacer/src/browsh.setupFirefox
/home/travis/gopath/src/browsh/interfacer/src/browsh/firefox.go:252 +0x3c

Why is there /home/travis/ when it is run on Windows?

@tombh

This comment has been minimized.

Member

tombh commented Jul 10, 2018

OMG! I'm so sorry. I meant #32!

@mholt

This comment has been minimized.

mholt commented Jul 10, 2018

Ah! :) That's more like it, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment