On Mon, Aug 22, 2016 at 12:10 PM, Prateek Gaur <prtkga...@gmail.com> wrote:
> In order to use one of the go packages I updates my golang version from
> 1.5.2 to 1.7.
>
> But after update my go binaries seem to be segfaulting with following output
> :
> [1]    19583 segmentation fault (core dumped)  ./go/bin/<binary name>
>
> The core file gives following bt:
>
> #0  _dl_runtime_resolve () at ../sysdeps/x86_64/dl-trampoline.S:56
> #1  0x0000000000934624 in get_xid ()
> #2  0x000000000093708d in __libc_csu_init ()
> #3  0x00007fb238dc571f in __libc_start_main () from
> path/crosstool/v4/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/lib/libc.so.6
> #4  0x0000000000407f59 in _start ()
>
> Do we know what could be causing this problem?

That doesn't look like a Go problem at all.  Looks like you have a Go
program that uses cgo, and there is some problem at process
initialization time.  Perhaps a discrepancy in C libraries, perhaps
some disagreement between the C linker and the library.  The Go
upgrade may have caused the problem to appear but it seems unlikely
that it actually caused the problem.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to