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

sql: v22.2.1: error in argument for ×: unsupported OID 2206 #94353

Closed
cockroach-teamcity opened this issue Dec 28, 2022 · 0 comments · Fixed by #94355
Closed

sql: v22.2.1: error in argument for ×: unsupported OID 2206 #94353

cockroach-teamcity opened this issue Dec 28, 2022 · 0 comments · Fixed by #94355
Labels
C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. O-sentry Originated from an in-the-wild panic report.

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Dec 28, 2022

This issue was autofiled by Sentry. It represents a crash or reported error on a live cluster with telemetry enabled.

Sentry link: https://sentry.io/organizations/cockroach-labs/issues/3839460375/?referrer=webhooks_plugin

Panic message:

encoding.go:853: error in argument for ×: unsupported OID 2206 with format code FormatBinary
(1) candidate pg code: 08P01
Wraps: (2) attached stack trace
-- stack trace:
| github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execBind.func2
| github.com/cockroachdb/cockroach/pkg/sql/conn_executor_prepare.go:429
| [...repeated from below...]
Wraps: (3) error in argument for ×
Wraps: (4) assertion failure
Wraps: (5) attached stack trace
-- stack trace:
| github.com/cockroachdb/cockroach/pkg/sql/pgwire/pgwirebase.DecodeDatum
| github.com/cockroachdb/cockroach/pkg/sql/pgwire/pgwirebase/encoding.go:853
| github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execBind.func2
| github.com/cockroachdb/cockroach/pkg/sql/conn_executor_prepare.go:422
| github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execBind
| github.com/cockroachdb/cockroach/pkg/sql/conn_executor_prepare.go:438
| github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execCmd
| github.com/cockroachdb/cockroach/pkg/sql/conn_executor.go:2037
| github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).run
| github.com/cockroachdb/cockroach/pkg/sql/conn_executor.go:1854
| github.com/cockroachdb/cockroach/pkg/sql.(*Server).ServeConn
| github.com/cockroachdb/cockroach/pkg/sql/conn_executor.go:832
| github.com/cockroachdb/cockroach/pkg/sql/pgwire.(*conn).processCommandsAsync.func1
| github.com/cockroachdb/cockroach/pkg/sql/pgwire/conn.go:728
| runtime.goexit
| src/runtime/asm_arm64.s:1172
Wraps: (6) unsupported OID 2206 with format code FormatBinary
Error types: (1) *pgerror.withCandidateCode (2) *withstack.withStack (3) *errutil.withPrefix (4) *assert.withAssertionFailure (5) *withstack.withStack (6) *errutil.leafError
-- report composition:
*errutil.leafError: unsupported OID 2206 with format code FormatBinary
encoding.go:853: *withstack.withStack (top exception)
*assert.withAssertionFailure
*errutil.withPrefix: error in argument for ×
conn_executor_prepare.go:429: *withstack.withStack (1)
*pgerror.withCandidateCode: 08P01
(check the extra data payloads)

Stacktrace (expand for inline code snippets):

if err != nil {
return pgerror.Wrapf(err, pgcode.ProtocolViolation, "error in argument for %s", k)
}
in pkg/sql.(*connExecutor).execBind.func2
// Use the existing transaction.
if err := resolve(ctx, ex.state.mu.txn); err != nil {
return retErr(err)
in pkg/sql.(*connExecutor).execBind
res = ex.clientComm.CreateBindResult(pos)
ev, payload = ex.execBind(ctx, tcmd)
case DeletePreparedStmt:
in pkg/sql.(*connExecutor).execCmd
var err error
if err = ex.execCmd(); err != nil {
if errors.IsAny(err, io.EOF, errDrainingComplete) {
in pkg/sql.(*connExecutor).run
}(ctx, h)
return h.ex.run(ctx, s.pool, reserved, cancel)
}
in pkg/sql.(*Server).ServeConn
reservedOwned = false // We're about to pass ownership away.
retErr = sqlServer.ServeConn(ctx, connHandler, reserved, cancelConn)
}()
in pkg/sql/pgwire.(*conn).processCommandsAsync.func1
src/runtime/asm_arm64.s#L1171-L1173 in runtime.goexit

pkg/sql/conn_executor_prepare.go in pkg/sql.(*connExecutor).execBind.func2 at line 429
pkg/sql/conn_executor_prepare.go in pkg/sql.(*connExecutor).execBind at line 438
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd at line 2037
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).run at line 1854
pkg/sql/conn_executor.go in pkg/sql.(*Server).ServeConn at line 832
pkg/sql/pgwire/conn.go in pkg/sql/pgwire.(*conn).processCommandsAsync.func1 at line 728
src/runtime/asm_arm64.s in runtime.goexit at line 1172
Tag Value
Cockroach Release v22.2.1
Cockroach SHA: cf1e7e6
Platform linux arm64
Distribution CCL
Environment v22.2.1
Command start-single-node
Go Version ``
# of CPUs
# of Goroutines

Jira issue: CRDB-22843

@cockroach-teamcity cockroach-teamcity added C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. O-sentry Originated from an in-the-wild panic report. labels Dec 28, 2022
@yuzefovich yuzefovich changed the title sentry: encoding.go:853: error in argument for ×: unsupported OID 2206 with format code FormatBinary (1) candidate pg code: 08P01 Wraps: (2) attached stack trace -- stack trace: | github.com/cockroachdb/c... sql: v22.2.1: error in argument for ×: unsupported OID 2206 Jan 4, 2023
@craig craig bot closed this as completed in b6434c9 Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. O-sentry Originated from an in-the-wild panic report.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant