Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

roachtest: sqlsmith/setup=empty/setting=no-mutations failed #53013

Closed
cockroach-teamcity opened this issue Aug 19, 2020 · 1 comment · Fixed by #53134
Closed

roachtest: sqlsmith/setup=empty/setting=no-mutations failed #53013

cockroach-teamcity opened this issue Aug 19, 2020 · 1 comment · Fixed by #53134
Assignees
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-roachtest O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked.
Milestone

Comments

@cockroach-teamcity
Copy link
Member

(roachtest).sqlsmith/setup=empty/setting=no-mutations failed on master@ebd5c732f83009acc9c6f5859ca95e74e5453a1c:

							AS tab_17016 (col_28759)
				),
			with_5209 (col_28760, col_28761)
				AS (
					SELECT
						*
					FROM
						(
							VALUES
								(
									NULL,
									'BOX(-0.40439981857178675 0.6781072935027506,0.6949787235657221 0.8930819269402888)':::BOX2D
								),
								(
									false,
									st_combinebbox(st_expand(NULL::BOX2D, 0.7845514859561931:::FLOAT8::FLOAT8)::BOX2D::BOX2D, '010200000000000000':::GEOMETRY::GEOMETRY)::BOX2D
								),
								(
									true,
									'BOX(0.0941177494013079 -1.0622775915852785,0.6058192854518174 1.895461820346103)':::BOX2D
								)
						)
							AS tab_17017 (col_28760, col_28761)
				),
			with_5210 (col_28762)
				AS (
					SELECT
						*
					FROM
						(VALUES ('1995-01-13':::DATE), ('1985-09-30':::DATE), ('1995-03-30':::DATE)) AS tab_17018 (col_28762)
					INTERSECT
						SELECT
							*
						FROM
							(
								VALUES
									('1971-05-18':::DATE),
									('1971-06-12':::DATE),
									('1989-10-15':::DATE),
									('1986-09-09':::DATE),
									('1975-02-12':::DATE)
							)
								AS tab_17019 (col_28763)
				)
		SELECT
			cte_ref_1510.col_28761 AS col_28764, cte_ref_1510.col_28760 AS col_28765
		FROM
			with_5209 AS cte_ref_1510
		LIMIT
			58:::INT8;

More

Artifacts: /sqlsmith/setup=empty/setting=no-mutations
Related:

See this test on roachdash
powered by pkg/cmd/internal/issues

@cockroach-teamcity cockroach-teamcity added branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-roachtest O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. labels Aug 19, 2020
@cockroach-teamcity cockroach-teamcity added this to the 20.2 milestone Aug 19, 2020
@yuzefovich
Copy link
Member

E200819 06:35:57.861303 2374 sql/sqltelemetry/report.go:56  [n1,client=34.73.157.223:60800,hostnossl,user=root] encountered internal error:
runtime error: invalid memory address or nil pointer dereference
(1) assertion failure
Wraps: (2) attached stack trace
  | github.com/cockroachdb/cockroach/pkg/util/errorutil.ShouldCatch
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/util/errorutil/catch.go:29
  | github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).Build.func1
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/builder.go:165
  | runtime.gopanic
  | 	/usr/local/go/src/runtime/panic.go:679
  | runtime.panicmem
  | 	/usr/local/go/src/runtime/panic.go:199
  | runtime.sigpanic
  | 	/usr/local/go/src/runtime/signal_unix.go:394
  | github.com/cockroachdb/cockroach/pkg/util/encoding.EncodeBox2DAscending
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/util/encoding/encoding.go:986
  | github.com/cockroachdb/cockroach/pkg/sql/sqlbase.EncodeTableKey
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/sqlbase/column_type_encoding.go:100
  | github.com/cockroachdb/cockroach/pkg/sql/opt/memo.encodeDatum
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/memo/interner.go:1078
  | github.com/cockroachdb/cockroach/pkg/sql/opt/memo.(*hasher).HashDatum
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/memo/interner.go:382
  | github.com/cockroachdb/cockroach/pkg/sql/opt/memo.(*interner).InternConst
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/memo/expr.og.go:23498
  | github.com/cockroachdb/cockroach/pkg/sql/opt/memo.(*Memo).MemoizeConst
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/memo/expr.og.go:18033
  | github.com/cockroachdb/cockroach/pkg/sql/opt/norm.(*Factory).ConstructConst
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/norm/factory.og.go:10291
  | github.com/cockroachdb/cockroach/pkg/sql/opt/norm.(*Factory).ConstructConstVal
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/norm/factory.go:394
  | github.com/cockroachdb/cockroach/pkg/sql/opt/norm.(*CustomFuncs).FoldFunction
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/norm/fold_constants_funcs.go:569
  | github.com/cockroachdb/cockroach/pkg/sql/opt/norm.(*Factory).ConstructFunction
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/norm/factory.og.go:16250
  | github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildFunction
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/scalar.go:506
  | github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildScalar
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/scalar.go:294
  | github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildValuesClause
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/values.go:86
  | github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildSelectStmtWithoutParens
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/select.go:999
  | github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildSelect.func1
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/select.go:964
  | github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).processWiths
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/with.go:29
  | github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildSelect
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/select.go:963
  | github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildSelectStmt
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/select.go:898
  | github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildDataSource
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/select.go:147
  | github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildDataSource
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/select.go:59
  | github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildFromTablesRightDeep
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/select.go:1218
  | github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildFromTables
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/select.go:1195
  | github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildFrom
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/select.go:1122
  | github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildSelectClause
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/select.go:1043
  | github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildSelectStmtWithoutParens
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/select.go:991
  | github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).buildSelect.func1
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/select.go:964
  | github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder.(*Builder).processWiths
  | 	/go/src/github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/with.go:29
Wraps: (3) runtime error: invalid memory address or nil pointer dereference
  | -- cause hidden behind barrier
  | runtime error: invalid memory address or nil pointer dereference
  | (1) runtime error: invalid memory address or nil pointer dereference
  | Error types: (1) runtime.errorString
Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierError

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-roachtest O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants