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
exp_atom
Describe the bug MonetDB server crashes in exp_atom.
To Reproduce
CREATE TABLE v0 ( v1 VARCHAR ( 217 ) ); UPDATE v0 SET v1 = ( SELECT ( v1 IN ( SELECT COUNT ( * ) WHERE v1 = 1 ) ) AS new_column ) ;
Backtrace of the Crash
#0 0x7f63fe6362c0 (exp_atom+0x80) #1 0x7f63fe667f1f (rewrite_fix_count+0x2ef) #2 0x7f63fe655c97 (rel_visitor_bottomup+0x3e7) #3 0x7f63fe655b87 (rel_visitor_bottomup+0x2d7) #4 0x7f63fe655b28 (rel_visitor_bottomup+0x278) #5 0x7f63fe655b87 (rel_visitor_bottomup+0x2d7) #6 0x7f63fe655b87 (rel_visitor_bottomup+0x2d7) #7 0x7f63fe655b28 (rel_visitor_bottomup+0x278) #8 0x7f63fe660b28 (rel_unnest+0xe8) #9 0x7f63fe5dceef (sql_processrelation+0x4f) #10 0x7f63fe3e6e1b (sql_symbol2relation+0x1bb) #11 0x7f63fe413b84 (SQLparser+0x624) #12 0x7f63fe412cbc (SQLengine_+0xa5c) #13 0x7f63fe4104fe (SQLengine+0x3e) #14 0x7f63fe98e2cf (runScenario+0x6f) #15 0x7f63fe98f4de (MSscheduleClient+0xb6e) #16 0x7f63feac6182 (doChallenge+0x132) #17 0x7f63ff7ef8a7 (thread_starter+0xc7) #18 0x7f63fe30a609 (start_thread+0xd9) #19 0x7f63fe22d133 (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:
fixes for issues #7433 and #7438
781a8c3
only set type of atom expressions a converted count isn't a count expression.
njnes
No branches or pull requests
Describe the bug
MonetDB server crashes in
exp_atom
.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: