Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/go/pkg/tool/openbsd_386/compile...done.
[New process 289841]
[New process 474598]
[New process 302279]
[New process 412982]
[New process 596374]

warning: Unexpected size of section `.reg2/289841' in core file.
Core was generated by `compile'.
Program terminated with signal SIGSEGV, Segmentation fault.

warning: Unexpected size of section `.reg2/289841' in core file.
#0  <signal handler called>
[Current thread is 1 (process 289841)]
Loading Go Runtime support.
(gdb) bt
#0  <signal handler called>
#1  runtime.thrwakeup () at /usr/local/go/src/runtime/sys_openbsd_386.s:390
#2  0x0807508b in runtime.semawakeup (mp=0x9080000) at 
/usr/local/go/src/runtime/os_openbsd.go:176
#3  0x0805159b in runtime.notewakeup (n=0x8bfaddc <runtime.sched+188>) at 
/usr/local/go/src/runtime/lock_sema.go:161
#4  0x0807cc63 in runtime.runSafePointFn () at 
/usr/local/go/src/runtime/proc.go:1412
#5  0x0807fa60 in runtime.schedule () at /usr/local/go/src/runtime/proc.go:2622
#6  0x080800ae in runtime.goschedImpl (gp=0x93230a0) at 
/usr/local/go/src/runtime/proc.go:2852
#7  0x08080186 in runtime.gopreempt_m (gp=0x93230a0) at 
/usr/local/go/src/runtime/proc.go:2880
#8  0x0808e5d4 in runtime.newstack () at /usr/local/go/src/runtime/stack.go:1040
#9  0x080a3606 in runtime.morestack () at 
/usr/local/go/src/runtime/asm_386.s:471
#10 0x09000540 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)


On 2020/09/18 12:38, Stuart Henderson wrote:
> Seeing a low level of sporadic segfaults in ports written in go;
> three failures on my last i386 bulk:
> 
>     security/vault
>     sysutils/rclone
>     sysutils/terraform
> 
> And one so far in the current run (partway through)
> 
>     net/miniflux
> 
> Timing matches uvm_map_inentry but I can't be sure if that's it.
> 
> No particularly useful information in logs, just looks like this
> 
> github.com/hashicorp/vault/vendor/go.mongodb.org/mongo-driver/x/mongo/driver/topology
> go build 
> github.com/hashicorp/vault/vendor/go.mongodb.org/mongo-driver/x/mongo/driver/topology:
>  /usr/local/go/pkg/tool/openbsd_386/compile: signal: segmentation fault (core 
> dumped)   
> 
> ...followed by a bunch of other lines while it compiles more things
> because it doesn't terminate the build right away at failure (so I didn't
> notice the segfault at first, my log-emailing script just sends tail -50
> of failures).
> 
> Rebuilding has so far succeeded every time - I'm building vault in a
> loop now to try and get it to trigger a failure again to see if I can
> get anything from the coredump but haven't been able to prompt a
> failure yet.
> 

Reply via email to