cockroachdb/cgo_static_boom

Name: cgo_static_boom

Owner: CockroachDB

Description: cgo static binary boom

Created: 2015-12-03 20:03:41.0

Updated: 2015-12-03 20:04:16.0

Pushed: 2015-12-03 21:35:35.0

Homepage: null

Size: 2

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

segfaults!

 run -ldflags '-extldflags "-static"' .
l error: unexpected signal during runtime execution
nal 0xb code=0x1 addr=0xe5 pc=0x7fa688e17a5c]

ime stack:
ime.throw(0x6e1bc0, 0x2a)
/usr/local/go/src/runtime/panic.go:527 +0x90
ime.sigpanic()
/usr/local/go/src/runtime/sigpanic_unix.go:12 +0x5a

utine 5 [syscall, locked to thread]:
ime.cgocall(0x402170, 0xc82004dcd0, 0xc800000000)
/usr/local/go/src/runtime/cgocall.go:120 +0x11b fp=0xc82004dc80 sp=0xc82004dc50
ser._Cfunc_mygetpwuid_r(0x0, 0xc820017620, 0x1a7ef90, 0x400, 0xc82002a0e0, 0x0)
??:0 +0x39 fp=0xc82004dcd0 sp=0xc82004dc80
ser.lookupUnix(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/os/user/lookup_unix.go:99 +0x723 fp=0xc82004de40 sp=0xc82004dcd0
ser.current(0x0, 0x0, 0x0)
/usr/local/go/src/os/user/lookup_unix.go:39 +0x42 fp=0xc82004de80 sp=0xc82004de40
ser.Current(0x6a30e0, 0x0, 0x0)
/usr/local/go/src/os/user/lookup.go:9 +0x24 fp=0xc82004dea0 sp=0xc82004de80
ub.com/cockroachdb/cgo_static_boom.TestBoom(0xc820088090)
/go/src/github.com/cockroachdb/cgo_static_boom/boom_test.go:12 +0xaf fp=0xc82004df58 sp=0xc82004dea0
ing.tRunner(0xc820088090, 0x9c0e30)
/usr/local/go/src/testing/testing.go:456 +0x98 fp=0xc82004df90 sp=0xc82004df58
ime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82004df98 sp=0xc82004df90
ted by testing.RunTests
/usr/local/go/src/testing/testing.go:561 +0x86d

utine 1 [chan receive]:
ing.RunTests(0x6f8608, 0x9c0e30, 0x1, 0x1, 0x1)
/usr/local/go/src/testing/testing.go:562 +0x8ad
ing.(*M).Run(0xc82004bef8, 0x0)
/usr/local/go/src/testing/testing.go:494 +0x70
.main()
github.com/cockroachdb/cgo_static_boom/_test/_testmain.go:54 +0x116

utine 17 [syscall, locked to thread]:
ime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1696 +0x1
 status 2
    github.com/cockroachdb/cgo_static_boom  0.010s

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.