You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
MonetDB server crashes in bind_col_exp.
To Reproduce
CREATETABLEv0 ( v1 BIGINTNOT NULLPRIMARY KEY ) ;
SELECT0IS NOT NULLFROM v0 ORDER BYAVG ( max ( 331 ) ) OVER ( ORDER BY634 NULLS FIRST ) NULLS LAST ;
SELECT*FROM v0 ORDER BY v1 ;
An example of steps to reproduce in docker container (write the poc into /tmp/test.sql first):
docker container rm monetdb_test -f # remove the old one
docker run -e MDB_DB_ADMIN_PASS=monetdb --name monetdb_test -itd monetdb/monetdb:Jun2023-SP2
# start monetdb in docker
docker exec monetdb_test bash -c 'echo -n -e "user=monetdb\npassword=monetdb\n" > /root/.monetdb'# set username and password
sleep 10 # wait the server start
docker exec monetdb_test bash -c "grep '/usr/bin/[m]server5' /proc/*/cmdline -lR"# check the existence of mserver5 process
cat /tmp/test.sql | docker exec -i monetdb_test mclient monetdb # run test case
docker exec monetdb_test bash -c "grep '/usr/bin/[m]server5' /proc/*/cmdline -lR"|| { echo"[CRASH] Mserver5 process does NOT exist.";exit 1; }
# check the existence of mserver5 processecho"[INFO] Server normal."
It can also be reproduced on MonetDB Dec2023_root, self-compiled by CC=clang-12 CXX=clang++-12 cmake /root/monetdb -DCMAKE_BUILD_TYPE=RelWithDebInfo.
Issue labeling
bug
The text was updated successfully, but these errors were encountered:
Describe the bug
MonetDB server crashes in
bind_col_exp
.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 MonetDB Dec2023_root, self-compiled by
CC=clang-12 CXX=clang++-12 cmake /root/monetdb -DCMAKE_BUILD_TYPE=RelWithDebInfo
.Issue labeling
bug
The text was updated successfully, but these errors were encountered: