go-python / gpython

gpython is a python interpreter written in go "batteries not included"
BSD 3-Clause "New" or "Revised" License
879 stars 94 forks source link

Broken, SIGSEGV #161

Closed williammortl closed 2 years ago

williammortl commented 2 years ago

The current repo is broken...

after "go build"

wmortl@Discovery:/mnt/e/Code/gpython$ ./gpython
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5986b1]

goroutine 1 [running]:
main.main()
        /mnt/e/Code/gpython/main.go:49 +0x171

Seems to be context related from line 49

sbinet commented 2 years ago

thanls for the report. this should be fixed w/ #162.

we ought to do a better job at testing the gpython binary...

williammortl commented 2 years ago

@sbinet no worries! I'm going to be around here a lot, as I am packaging gpython into a plugin as part of a new type of compute cluster that I am creating for my PhD dissertation!

sbinet commented 2 years ago

sounds fun :) (and welcome)