Fuzzer: Virtuoso 7.2.12 crashed at `qst_vec_set`.
It can also be reproduced with Version 7.2.13-dev.3239-pthreads as of Mar 17 2024 (da40b02).

PoC:
```SQL
SELECT ( 1 , NULL ) FROM ( SELECT CAST ( '+0.0' AS DOUBLE PRECISION ) x ) x GROUP BY 1 ORDER BY MIN ( DISTINCT d ( '2003-01-01T01:02:03Z' ) + CASE WHEN 1 THEN CAST ( ( CASE 1492 WHEN 1 THEN 'x' END ) AS REAL ) END );
```

backtrace:
```c
#0 0x889b1d (qst_vec_set+0x53d)
#1 0x52e50e (memcache_read_input+0x41e)
#2 0x4369b0 (chash_read_input+0x770)
#3 0x7b912e (qn_input+0x3ce)
#4 0x7b9596 (qn_send_output+0x236)
#5 0x7b912e (qn_input+0x3ce)
#6 0x7c68fb (fun_ref_node_input+0x36b)
#7 0x7b912e (qn_input+0x3ce)
#8 0x7b9596 (qn_send_output+0x236)
#9 0x82bd7d (set_ctr_vec_input+0x99d)
#10 0x7b912e (qn_input+0x3ce)
#11 0x7ca91b (qr_exec+0x11db)
#12 0x7d82b6 (sf_sql_execute+0x11a6)
#13 0x7d8dbe (sf_sql_execute_w+0x17e)
#14 0x7e1a7d (sf_sql_execute_wrapper+0x3d)
#15 0xe2a11c (future_wrapper+0x3fc)
#16 0xe31a1e (_thread_boot+0x11e)
#17 0x7fd7b5817609 (start_thread+0xd9)
#18 0x7fd7b55e7353 (clone+0x43)
```

ways to reproduce (write poc to the file /tmp/test.sql first):
```bash
# remove the old one
docker container rm virtdb_test -f
# start virtuoso through docker
docker run --name virtdb_test -itd --env DBA_PASSWORD=dba  pkleef/virtuoso-opensource-7
# wait the server starting
sleep 10
# check whether the simple query works
echo "SELECT 1;" | docker exec -i virtdb_test isql 1111 dba
# run the poc
cat /tmp/test.sql | docker exec -i virtdb_test isql 1111 dba
```
Fuzzer: Virtuoso 7.2.12 crashed at `qst_vec_set`
This is a GitHub Issue
repo:virtuoso-opensource
owner:openlink
Title : Fuzzer: Virtuoso 7.2.12 crashed at `qst_vec_set`
Issue date:

--- start body ---
Fuzzer: Virtuoso 7.2.12 crashed at `qst_vec_set`.
It can also be reproduced with Version 7.2.13-dev.3239-pthreads as of Mar 17 2024 (da40b02).

PoC:
```SQL
SELECT ( 1 , NULL ) FROM ( SELECT CAST ( '+0.0' AS DOUBLE PRECISION ) x ) x GROUP BY 1 ORDER BY MIN ( DISTINCT d ( '2003-01-01T01:02:03Z' ) + CASE WHEN 1 THEN CAST ( ( CASE 1492 WHEN 1 THEN 'x' END ) AS REAL ) END );
```

backtrace:
```c
#0 0x889b1d (qst_vec_set+0x53d)
#1 0x52e50e (memcache_read_input+0x41e)
#2 0x4369b0 (chash_read_input+0x770)
#3 0x7b912e (qn_input+0x3ce)
#4 0x7b9596 (qn_send_output+0x236)
#5 0x7b912e (qn_input+0x3ce)
#6 0x7c68fb (fun_ref_node_input+0x36b)
#7 0x7b912e (qn_input+0x3ce)
#8 0x7b9596 (qn_send_output+0x236)
#9 0x82bd7d (set_ctr_vec_input+0x99d)
#10 0x7b912e (qn_input+0x3ce)
#11 0x7ca91b (qr_exec+0x11db)
#12 0x7d82b6 (sf_sql_execute+0x11a6)
#13 0x7d8dbe (sf_sql_execute_w+0x17e)
#14 0x7e1a7d (sf_sql_execute_wrapper+0x3d)
#15 0xe2a11c (future_wrapper+0x3fc)
#16 0xe31a1e (_thread_boot+0x11e)
#17 0x7fd7b5817609 (start_thread+0xd9)
#18 0x7fd7b55e7353 (clone+0x43)
```

ways to reproduce (write poc to the file /tmp/test.sql first):
```bash
# remove the old one
docker container rm virtdb_test -f
# start virtuoso through docker
docker run --name virtdb_test -itd --env DBA_PASSWORD=dba  pkleef/virtuoso-opensource-7
# wait the server starting
sleep 10
# check whether the simple query works
echo "SELECT 1;" | docker exec -i virtdb_test isql 1111 dba
# run the poc
cat /tmp/test.sql | docker exec -i virtdb_test isql 1111 dba
```
--- end body ---
