-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
optbuilder: internal error: comparison overload not found (eq, unknown, unknown) in BuildSharedProps()
#130399
Comments
Hi @ycybfhb, please add branch-* labels to identify which branch(es) this C-bug affects. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
Hello, I am Blathers. I am here to help you get the issue triaged. Hoot - a bug! Though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here. I have CC'd a few people who may be able to assist you:
If we have not gotten back to your issue within a few business days, you can try the following:
🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
Initial reduction: CREATE TABLE t_ow0g_ (c_deesne_t STRING);
SELECT 1
FROM (SELECT pg_catalog.unknownrecv(NULL) AS c5) AS subq_0
WHERE EXISTS(
SELECT NULL WHERE subq_0.c5 NOT IN (SELECT NULL FROM t_ow0g_ UNION (SELECT NULL))
)
UNION (SELECT NULL); Here's the stack on master:
Looks like this has been around since v20.2. We've also seen similar bug reports. Marking as P-3. |
BuildSharedProps()
BuildSharedProps()
Describe the problem
internal error: comparison overload not found (eq, unknown, unknown) in
BuildSharedProps()
To Reproduce
SQL to init database
init.sql.txt
SQL that causes error
Expected behavior
Expect no crashes
Additional data / screenshots
Here is the crash stack trace:
Environment:
Linux a002 6.5.0-18-generic #18~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 7 11:40:03 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
docker compose file:
about us
We are the BASS team from the School of Cyber Science and Technology at Beihang University. Our main focus is on system software security, operating systems, and program analysis research, as well as the development of automated program testing frameworks for detecting software defects. Using our self-developed database vulnerability testing tool, we have identified the above-mentioned possible vulnerabilities that may lead to database crashes.
Jira issue: CRDB-42033
The text was updated successfully, but these errors were encountered: