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

[YCQL] Tserver crashes on executing query #23004

Open
yugabyte-ci opened this issue Jun 25, 2024 · 0 comments
Open

[YCQL] Tserver crashes on executing query #23004

yugabyte-ci opened this issue Jun 25, 2024 · 0 comments
Labels
jira-originated kind/bug This issue is a bug priority/high High Priority status/awaiting-triage Issue awaiting triage

Comments

@yugabyte-ci
Copy link
Contributor

yugabyte-ci commented Jun 25, 2024

Jira Link: DB-11926

@yugabyte-ci yugabyte-ci added jira-originated kind/bug This issue is a bug priority/high High Priority status/awaiting-triage Issue awaiting triage labels Jun 25, 2024
swapshivam3 added a commit that referenced this issue Jun 26, 2024
Summary:
On executing the query
```
SELECT ? from system.peers;
```
The tserver crashes as it tries to dereference a NULL pointer when it is analyzing the parse tree (specifically during ConstructSelectedSchema)
This revision makes the function QLName for PTBindVar return the default_bindvar_name in case both name_ and user_pos_ return NULL.
It was assumed that PTBindVar::Analyze assigns a default name using the semantic context in case the name is a null pointer, but the semantic context itself does not have a bindvar name assigned to it when executing this query. (See D6245)
Jira: DB-11926

Test Plan: ./yb_build.sh --java-test org.yb.cql.TestBindVariable

Reviewers: skumar, stiwary

Reviewed By: skumar

Subscribers: yql

Differential Revision: https://phorge.dev.yugabyte.com/D35860
jasonyb pushed a commit that referenced this issue Jun 27, 2024
Summary:
 411a32e [DB-11813] Rename ysql_conn_mgr_idle_or_pending_clients metric name
 c2e13ef [#15682] YSQL: Fix stack_is_too_deep function in ASAN
 ef31455 [PLAT-14188] Fixing upgrade disk availability check
 db6b1b7 [#23004] YCQL: Fix tserver crash due to NULL pointer dereference
 0ada80a [PLAT-14433] Use correct kubeconfig for edit provider validation
 eccbc10 [PLAT-14414] Enable Kubernetes provider validation by default
 199f679 [PLAT-14324]: Move all node agent based flags from BETA to INTERNAL in Provider Conf keys file
 86a865d [PLAT-14443] YBA Installer wait for ready time configurable.
 ac184a8 [#22882] YSQL: Fix deadlock in DDL atomicity
 a4218fb [Docs] Sort feature to tables (Where fulfills the criteria) (#22836)
 2f267ca [#22996] xCluster: Add SOURCE_UNREACHABLE and SYSTEM_ERROR enums

Skipped due to conflict:
dee7691 [#21534] docdb: Set owner correctly for cloned databases
34632ba [PLAT-14495] Set up the node_exporter for ynp
7c99ff9 [#22876][#22773] CDCSDK: Add new yb-admin command to remove user table from CDCSDK stream
4e9a81c [#22876][#22835][#22773] CDCSDK: Remove non-eligible tables for CDC from existing CDCSDK stream
f2e574e [#23013] xClusterDDLRepl: Allow table_ids for GetXClusterStreams

Test Plan: Jenkins: rebase: pg15-cherrypicks

Reviewers: tfoucher, sanketh, jenkins-bot

Subscribers: yql

Differential Revision: https://phorge.dev.yugabyte.com/D36184
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira-originated kind/bug This issue is a bug priority/high High Priority status/awaiting-triage Issue awaiting triage
Projects
None yet
Development

No branches or pull requests

1 participant