Skip to content

Instantly share code, notes, and snippets.

View benesch's full-sized avatar

Nikhil Benesch benesch

View GitHub Profile
goroutine 47626 [running]:
runtime/pprof.writeGoroutineStacks(0x7fca3d973178, 0xc445862140, 0x30, 0xc46749cf30)
/usr/local/go/src/runtime/pprof/pprof.go:603 +0x79
runtime/pprof.writeGoroutine(0x7fca3d973178, 0xc445862140, 0x2, 0xc421175978, 0x5bef38)
/usr/local/go/src/runtime/pprof/pprof.go:592 +0x44
runtime/pprof.(*Profile).WriteTo(0x2a2de40, 0x7fca3d973178, 0xc445862140, 0x2, 0xc445862140, 0xc421175ba8)
/usr/local/go/src/runtime/pprof/pprof.go:302 +0x3b5
net/http/pprof.handler.ServeHTTP(0xc46749ce51, 0x9, 0x2a633c0, 0xc445862140, 0xc42062ef00)
/usr/local/go/src/net/http/pprof/pprof.go:209 +0x1d1
net/http/pprof.Index(0x2a633c0, 0xc445862140, 0xc42062ef00)
This file has been truncated, but you can view the full file.
goroutine 107810 [running]:
runtime/pprof.writeGoroutineStacks(0x7f3c5003e4a0, 0xc433f4d6e0, 0x30, 0xc45d8d0750)
/usr/local/go/src/runtime/pprof/pprof.go:603 +0x79
runtime/pprof.writeGoroutine(0x7f3c5003e4a0, 0xc433f4d6e0, 0x2, 0xc44187b978, 0x5bef38)
/usr/local/go/src/runtime/pprof/pprof.go:592 +0x44
runtime/pprof.(*Profile).WriteTo(0x2a2de40, 0x7f3c5003e4a0, 0xc433f4d6e0, 0x2, 0xc433f4d6e0, 0xc44187bba8)
/usr/local/go/src/runtime/pprof/pprof.go:302 +0x3b5
net/http/pprof.handler.ServeHTTP(0xc45d8d0671, 0x9, 0x2a633c0, 0xc433f4d6e0, 0xc46224f300)
/usr/local/go/src/net/http/pprof/pprof.go:209 +0x1d1
net/http/pprof.Index(0x2a633c0, 0xc433f4d6e0, 0xc46224f300)
This file has been truncated, but you can view the full file.
I170822 21:19:05.170822 1 util/log/clog.go:977 [config] file created at: 2017/08/22 21:19:05
I170822 21:19:05.170822 1 util/log/clog.go:977 [config] running on machine: restore2tb-awesomehugle-cockroach-1
I170822 21:19:05.170822 1 util/log/clog.go:977 [config] binary: CockroachDB CCL 06b8a18-dirty (linux amd64, built 2017/08/22 21:17:09, go1.8.3)
I170822 21:19:05.170822 1 util/log/clog.go:977 [config] arguments: [./cockroach start --store=/mnt/data0 --insecure --listening-url-file cockroachdb-url --pid-file cockroachdb-pid --cache=2GiB --log-dir logs/cockroach]
I170822 21:19:05.170822 1 util/log/clog.go:977 line format: [IWEF]yymmdd hh:mm:ss.uuuuuu goid file:line msg utf8=✓
W170822 21:19:05.170821 1 cli/start.go:601 RUNNING IN INSECURE MODE!
- Your cluster is open for any client that can access <all your IP addresses>.
- Any user, even root, can log in without providing a password.
- Any user, connecting as root, can read or write any data in your cluster.
This file has been truncated, but you can view the full file.
I170823 16:31:18.790270 1 util/log/clog.go:977 [config] file created at: 2017/08/23 16:31:18
I170823 16:31:18.790270 1 util/log/clog.go:977 [config] running on machine: restore2tb-ecstaticgates-cockroach-1
I170823 16:31:18.790270 1 util/log/clog.go:977 [config] binary: CockroachDB CCL f642c2b-dirty (linux amd64, built 2017/08/23 16:28:50, go1.8.3)
I170823 16:31:18.790270 1 util/log/clog.go:977 [config] arguments: [./cockroach start --store=/mnt/data0 --insecure --listening-url-file cockroachdb-url --pid-file cockroachdb-pid --cache=2GiB --log-dir logs/cockroach]
I170823 16:31:18.790270 1 util/log/clog.go:977 line format: [IWEF]yymmdd hh:mm:ss.uuuuuu goid file:line msg utf8=✓
W170823 16:31:18.790269 1 cli/start.go:601 RUNNING IN INSECURE MODE!
- Your cluster is open for any client that can access <all your IP addresses>.
- Any user, even root, can log in without providing a password.
- Any user, connecting as root, can read or write any data in your cluster.
(gdb) bt
#0 0x00007f3856c7f30d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007f3856cb0d54 in usleep (useconds=<optimized out>) at ../sysdeps/posix/usleep.c:32
#2 0x00000000016db757 in rocksdb::DBImpl::DelayWrite(unsigned long, rocksdb::WriteOptions const&) ()
#3 0x00000000016dd6bc in rocksdb::DBImpl::PreprocessWrite(rocksdb::WriteOptions const&, bool*, rocksdb::DBImpl::WriteContext*) ()
#4 0x00000000016dfcb2 in rocksdb::DBImpl::WriteImpl(rocksdb::WriteOptions const&, rocksdb::WriteBatch*, rocksdb::WriteCallback*, unsigned long*, unsigned long, bool) ()
#5 0x00000000016e0ffb in rocksdb::DBImpl::Write(rocksdb::WriteOptions const&, rocksdb::WriteBatch*) ()
#6 0x0000000001695a38 in DBImpl::ApplyBatchRepr(DBSlice, bool) ()
#7 0x000000000168eaad in DBApplyBatchRepr ()
#8 0x000000000162ff79 in _cgo_983e885e771f_Cfunc_DBApplyBatchRepr ()
goroutine profile: total 336
32 @ 0x576e2a 0x576f0e 0x587e7b 0x5b9c49 0xfefe3c 0x102c10e 0xc953a7 0x5a44e1
# 0x587e7a sync.runtime_notifyListWait+0x10a /home/radu/go1.8/src/runtime/sema.go:297
# 0x5b9c48 sync.(*Cond).Wait+0x88 /home/radu/go1.8/src/sync/cond.go:57
# 0xfefe3b github.com/cockroachdb/cockroach/pkg/storage.(*raftScheduler).worker+0xab /home/radu/go/src/github.com/cockroachdb/cockroach/pkg/storage/scheduler.go:198
# 0x102c10d github.com/cockroachdb/cockroach/pkg/storage.(*raftScheduler).Start.func2+0x3d /home/radu/go/src/github.com/cockroachdb/cockroach/pkg/storage/scheduler.go:167
# 0xc953a6 github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunWorker.func1+0xf6 /home/radu/go/src/github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:198
32 @ 0x576e2a 0x586234 0x584e9c 0x143e014 0xc953a7 0x5a44e1
# 0x143e013 github.com/cockroachdb/cockroach/pkg/sql.(*distSQLPlanner).initRunners.func1+0x183 /home/radu/go/src/github.com/cockroachdb/cockroach/pkg/sql/distsql_running.go:86
// crdbInternalZonesTable exposes the zone config overrides in the system.
// inter-descriptor dependencies.
var crdbInternalZonesTable = virtualSchemaTable{
schema: `
CREATE TABLE crdb_internal.zones (
id INT,
cli_name STRING,
config BYTES
)
`,
This file has been truncated, but you can view the full file.
GOPATH set to /go
Running make with -j8
git submodule update --init
GEN pkg/cli/zcgo_flags.go
GEN pkg/server/status/zcgo_flags.go
GEN pkg/storage/engine/zcgo_flags.go
GEN pkg/ccl/storageccl/engineccl/zcgo_flags.go
GEN pkg/cli/zcgo_flags_x86_64_pc_linux_gnu.go
GEN pkg/server/status/zcgo_flags_x86_64_pc_linux_gnu.go
GEN pkg/storage/engine/zcgo_flags_x86_64_pc_linux_gnu.go
This file has been truncated, but you can view the full file.
agent@azure-agent-40102:~/work/.go/src/github.com/cockroachdb/cockroach$ cat artifacts/acceptance/acceptance.log
I171018 19:54:22.978996 1 rand.go:74 Random seed: 1424464214911443898
=== RUN TestUpreplicate_1To3Small
--- SKIP: TestUpreplicate_1To3Small (0.00s)
test_log_scope.go:78: test logs captured to: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/acceptance/logTestUpreplicate_1To3Small054698685
test_log_scope.go:61: use -show-logs to present logs inline
util.go:70: skipping since not run against remote cluster
=== RUN TestRebalance_3To5Small_WithSchemaChanges
--- SKIP: TestRebalance_3To5Small_WithSchemaChanges (0.00s)
test_log_scope.go:78: test logs captured to: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/acceptance/logTestRebalance_3To5Small_WithSchemaChanges999847160
@benesch
benesch / gist:c26e65ad0f62a1b9954e5b6836714378
Created January 8, 2018 15:34
Go 1.10 segfault while building CockroachDB
WORK=/var/folders/2m/klw683vj1575nyyymnc0mr280000gn/T/go-build649534972
mkdir -p $WORK/b256/
cat >$WORK/b256/importcfg << 'EOF' # internal
importmap github.com/gogo/protobuf/proto=github.com/cockroachdb/cockroach/vendor/github.com/gogo/protobuf/proto
importmap github.com/opentracing/opentracing-go=github.com/cockroachdb/cockroach/vendor/github.com/opentracing/opentracing-go
importmap github.com/pkg/errors=github.com/cockroachdb/cockroach/vendor/github.com/pkg/errors
importmap golang.org/x/sync/errgroup=github.com/cockroachdb/cockroach/vendor/golang.org/x/sync/errgroup
packagefile bufio=/usr/local/Cellar/go/HEAD-a62071a/libexec/pkg/darwin_amd64/bufio.a
packagefile bytes=/usr/local/Cellar/go/HEAD-a62071a/libexec/pkg/darwin_amd64/bytes.a
packagefile context=/usr/local/Cellar/go/HEAD-a62071a/libexec/pkg/darwin_amd64/context.a