Skip to content

Instantly share code, notes, and snippets.

@tamird
tamird / stacks.txt
Created August 30, 2016 15:28
deadlock 8868
panic: test timed out after 5m0s
goroutine 297786 [running]:
panic(0x1ab1ae0, 0xc420c52880)
/usr/local/go/src/runtime/panic.go:500 +0x1ae
testing.startAlarm.func1()
/usr/local/go/src/testing/testing.go:918 +0x14e
created by time.goFunc
/usr/local/go/src/time/sleep.go:154 +0x78
commit 2d9cd0a9ce5d3dcb815468b7150700d16f1d1057
Author: Tamir Duberstein <[email protected]>
Date: Fri Aug 12 15:23:18 2016 -0400
libgo/go/cmd/go: deduplicate gccgo afiles by package path, not *Package
This code was fixed a while ago to ensure that xtest and fake packages came
first on the link line, but golang.org/cl/16775 added --whole-archive ...
--no-whole-archive around all the .a files and rendered this fix useless.

Keybase proof

I hereby claim:

  • I am tamird on github.
  • I am tamird (https://keybase.io/tamird) on keybase.
  • I have a public key whose fingerprint is FEE2 9072 C5A2 1108 F567 AB84 1C1E 98CC 8E17 BB89

To claim this, I am signing this object:

[2016-06-28 10:08:41] Configuring Rubinius...
[2016-06-28 10:08:41] Command line: "--prefix=/Users/tamird/.rubies/rbx-3.42 --with-opt-dir=/usr/local/opt/openssl:/usr/local/opt/readline:/usr/local/opt/libyaml:/usr/local/opt/gdbm"
[2016-06-28 10:08:42] Checking clang:
[2016-06-28 10:08:42] found
[2016-06-28 10:08:42] Checking clang++:
[2016-06-28 10:08:42] found
[2016-06-28 10:08:42] ---
Detected old configuration settings, forcing a clean build
---
module Rubinius
config = {}
config[:config_file] = "/Users/tamird/src/rubinius-3.42/config.rb"
config[:command_line] = ["--prefix=/Users/tamird/.rubies/rbx-3.42", "--with-opt-dir=/usr/local/opt/openssl:/usr/local/opt/readline:/usr/local/opt/libyaml:/usr/local/opt/gdbm"]
config[:build_make] = "make"
config[:build_rake] = "rake"
config[:build_perl] = "perl"
config[:llvm_path] = nil
config[:llvm_system_name] = nil
config[:llvm_configure] = "/usr/local/opt/llvm/bin/llvm-config"
$ ruby-install rbx
>>> Installing rbx 3.42 into /Users/tamird/.rubies/rbx-3.42 ...
>>> Installing dependencies for rbx 3.42 ...
Warning: openssl-1.0.2h_1 already installed
Warning: readline-6.3.8 already installed
Warning: libyaml-0.1.6_1 already installed
Warning: gdbm-1.12 already installed
>>> Downloading https://rubinius-releases-rubinius-com.s3.amazonaws.com/rubinius-3.42.tar.bz2 into /Users/tamird/src ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
commit cc405381d37371aff8043cd87a0a787599661a4a
Author: Tamir Duberstein <[email protected]>
Date: Mon Apr 25 15:41:24 2016 -0400
implement some Secure Template Overloads
See https://msdn.microsoft.com/en-us/library/5dae5d43.aspx
Fixes https://sourceforge.net/p/mingw-w64/bugs/535.
diff --git a/sql/errors.go b/sql/errors.go
index 8bf61c2..036e545 100644
--- a/sql/errors.go
+++ b/sql/errors.go
@@ -150,11 +150,6 @@ func convertBatchError(tableDesc *TableDescriptor, b client.Batch, origPErr *roa
if err != nil {
return roachpb.NewError(err)
}
- if !index.Unique {
- // We can get what looks like a uniqueness violation on a
WORK=/var/folders/lf/1_qqs3815tzgkhtrbrjs913m0000gn/T/go-build995484653
mkdir -p $WORK/github.com/cockroachdb/c-rocksdb/_obj/
mkdir -p $WORK/github.com/cockroachdb/
cd /Users/tamird/src/go/src/github.com/cockroachdb/c-rocksdb
CGO_LDFLAGS="-v" /Users/tamird/src/go1.6/pkg/tool/darwin_amd64/cgo -objdir $WORK/github.com/cockroachdb/c-rocksdb/_obj/ -importpath github.com/cockroachdb/c-rocksdb -- -Iinternal -Iinternal/include -Iinternal/db -Iinternal/util -Iinternal/utilities/merge_operators/string_append -I../c-snappy/internal -I../c-lz4/internal/lib -DNDEBUG -DROCKSDB_PLATFORM_POSIX -DROCKSDB_LIB_IO_POSIX -DSNAPPY -DOS_MACOSX -I $WORK/github.com/cockroachdb/c-rocksdb/_obj/ cgo_flags.go
clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common -Iinternal -Iinternal/include -Iinternal/db -Iinternal/util -Iinternal/utilities/merge_operators/string_append -I../c-snappy/internal -I../c-lz4/internal/lib -DNDEBUG -DROCKSDB_PLATFORM_POSIX -DROCKSDB_LIB_IO_POSIX -DSNAPPY -DOS_
WORK=/var/folders/lf/1_qqs3815tzgkhtrbrjs913m0000gn/T/go-build024635265
mkdir -p $WORK/github.com/cockroachdb/c-rocksdb/_obj/
mkdir -p $WORK/github.com/cockroachdb/
cd /Users/tamird/src/go/src/github.com/cockroachdb/c-rocksdb
CGO_LDFLAGS="-v" /Users/tamird/src/go1.6/pkg/tool/darwin_amd64/cgo -objdir $WORK/github.com/cockroachdb/c-rocksdb/_obj/ -importpath github.com/cockroachdb/c-rocksdb -- -Iinternal -Iinternal/include -Iinternal/db -Iinternal/util -Iinternal/utilities/merge_operators/string_append -I../c-snappy/internal -I../c-lz4/internal/lib -DNDEBUG -DROCKSDB_PLATFORM_POSIX -DROCKSDB_LIB_IO_POSIX -DSNAPPY -DOS_MACOSX -I $WORK/github.com/cockroachdb/c-rocksdb/_obj/ cgo_flags.go
clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common -Iinternal -Iinternal/include -Iinternal/db -Iinternal/util -Iinternal/utilities/merge_operators/string_append -I../c-snappy/internal -I../c-lz4/internal/lib -DNDEBUG -DROCKSDB_PLATFORM_POSIX -DROCKSDB_LIB_IO_POSIX -DSNAPPY -DOS_