> what you did was compile pprof (not shown...) great!, and then when you ran
> it,
> it failed... on the same machine?? but surely a cross plan 9, cross
> compiler/lnker/env
> is for getting plan 9 binaries going...
> or is your prompt modified??

I'll annotate the error message a bit for clarification:

> Building packages and commands for host, linux/amd64.

The failure occurred while building all of go for linux, on linux.

> # cmd/vendor/github.com/google/pprof/third_party/d3

This output line reports which package was being built when the failure 
occurred.

> unexpected fault address 0x607c60
> fatal error: fault
> [signal SIGBUS: bus error code=0x2 addr=0x607c60 pc=0x607c60]

There was a memory fault related to address 0x607c60 which is the same
as the program counter, suggesting the fault was a failure to fetch
the instruction at that address.

> goroutine 1 [running]:
> runtime.throw({0xce1702, 0xc00008d870})
>         /sys/lib/go1.17/src/runtime/panic.go:1198 +0x71 fp=0xc00008d828
> sp=0xc00008d7f8 pc=0x435331
> runtime.sigpanic()
>         /sys/lib/go1.17/src/runtime/signal_unix.go:732 +0x125
> fp=0xc00008d878 sp=0xc00008d828 pc=0x44b325
> cmd/compile/internal/typecheck.(*iexporter).pushDecl(0xc6e9c0,
> 0xc0000a2120)
>         /sys/lib/go1.17/src/cmd/compile/internal/typecheck/iexport.go:403
> ...
> cmd/compile/internal/gc.Main(0xd16458)
>         /sys/lib/go1.17/src/cmd/compile/internal/gc/main.go:307 +0x105b
> fp=0xc00008df20 sp=0xc00008dc98 pc=0xc0495b
> main.main()
>         /sys/lib/go1.17/src/cmd/compile/main.go:55 +0xdd fp=0xc00008df80

The go runtime traceback suggests that the running binary is the go compiler,
which is being executed from the v9fs file system on the Plan 9 server.
The pc value 0x607c60 is within the text segment of the program, so I'm
guessing there was some problem fetching the page, which the linux kernel
reports as a "bus error" (a generic term for "something went wrong related
to memory").

There's plenty of disk space on the server.



------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tb065f4df67a8bab9-Mb6b34812de6756eda30d2665
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to