We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
get_rel_count
Describe the bug MonetDB server crashes in get_rel_count.
To Reproduce
SELECT CASE WHEN ( SELECT 2 WHERE FALSE ) > ANY ( 1 ) THEN 1 END GROUP BY 1;
Backtrace of the Crash
#0 0x7fde17972420 (get_rel_count+0x30) #1 0x7fde179971e7 (rel_propagate_statistics+0x1327) #2 0x7fde17969a65 (exp_visitor+0xc45) #3 0x7fde179685e9 (exps_exp_visitor_bottomup+0xf9) #4 0x7fde17991ca1 (rel_get_statistics_+0x351) #5 0x7fde17967de7 (rel_visitor_bottomup+0x3e7) #6 0x7fde17967c78 (rel_visitor_bottomup+0x278) #7 0x7fde17967cd7 (rel_visitor_bottomup+0x2d7) #8 0x7fde179917bf (rel_get_statistics+0x5f) #9 0x7fde1798e235 (rel_optimizer+0x935) #10 0x7fde178f04a7 (sql_processrelation+0xc7) #11 0x7fde176f8edb (sql_symbol2relation+0x1bb) #12 0x7fde17725a82 (SQLparser+0x802) #13 0x7fde17724a0a (SQLengine_+0xa5a) #14 0x7fde177221fe (SQLengine+0x3e) #15 0x7fde17ca6b2f (runScenario+0x6f) #16 0x7fde17ca7cfe (MSscheduleClient+0xb6e) #17 0x7fde17deb6c2 (doChallenge+0x132) #18 0x7fde18c08b38 (thread_starter+0x318) #19 0x7fde17619609 (start_thread+0xd9) #20 0x7fde1753c353 (clone+0x43)
Software versions
An example of steps to reproduce in docker container (write the poc into /tmp/test.sql first):
docker container rm monetdb_test -f docker run -e MDB_DB_ADMIN_PASS=monetdb --name monetdb_test -itd monetdb/monetdb:Dec2023 docker exec monetdb_test bash -c 'echo -n -e "user=monetdb\npassword=monetdb\n" > /root/.monetdb' sleep 10 cat /tmp/test.sql | timeout 5s docker exec -i monetdb_test mclient monetdb # run test case if docker exec monetdb_test bash -c "grep '[m]server5' /proc/*/cmdline -lR"; then echo "[INFO] Server normal." else echo "[CRASH] Mserver5 process does NOT exist." fi
It can also be reproduced on the docker image monetdb/dev-builds:default.
monetdb/dev-builds:default
Issue labeling bug
The text was updated successfully, but these errors were encountered:
Add test for bug #7480
534edf8
fixed by recent changes
Sorry, something went wrong.
bug #7480 was fixed by recent changes
7c0deaa
njnes
No branches or pull requests
Describe the bug
MonetDB server crashes in
get_rel_count
.To Reproduce
Backtrace of the Crash
Software versions
An example of steps to reproduce in docker container (write the poc into /tmp/test.sql first):
It can also be reproduced on the docker image
monetdb/dev-builds:default
.Issue labeling
bug
The text was updated successfully, but these errors were encountered: