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

PoC:
```SQL
SELECT ( SELECT x FROM ( SELECT ( '127.0.0.1' ) x FROM ( SELECT x ) x GROUP BY CUBE ( NULL ) ) x WHERE x > '2010-01-01T00:00:00Z' ) x FROM ( SELECT CASE WHEN 'foo.boo[]' THEN 1 END x ) x GROUP BY ( x );
```

backtrace:
```c
#0 0x425974 (chash_array+0x834)
#1 0x4276b5 (gb_values+0xf45)
#2 0x42d7aa (setp_chash_run+0x4aa)
#3 0x4313ea (setp_chash_group+0x44a)
#4 0x63c978 (setp_node_run+0x658)
#5 0x63d263 (setp_node_input+0x33)
#6 0x7b912e (qn_input+0x3ce)
#7 0x7c583d (gs_union_node_input+0x7d)
#8 0x7b912e (qn_input+0x3ce)
#9 0x7b9596 (qn_send_output+0x236)
#10 0x82c545 (subq_node_vec_input+0x4a5)
#11 0x7b912e (qn_input+0x3ce)
#12 0x7c68fb (fun_ref_node_input+0x36b)
#13 0x7b912e (qn_input+0x3ce)
#14 0x7594a8 (subq_next+0x258)
#15 0x82c38b (subq_node_vec_input+0x2eb)
#16 0x7b912e (qn_input+0x3ce)
#17 0x7b9596 (qn_send_output+0x236)
#18 0x82bd7d (set_ctr_vec_input+0x99d)
#19 0x7b912e (qn_input+0x3ce)
#20 0x7594a8 (subq_next+0x258)
#21 0x82aa62 (ins_vec_subq+0x2a2)
#22 0x75b3db (code_vec_run_v+0x9bb)
#23 0x7b90ef (qn_input+0x38f)
#24 0x7b9596 (qn_send_output+0x236)
#25 0x82c545 (subq_node_vec_input+0x4a5)
#26 0x7b912e (qn_input+0x3ce)
#27 0x7c68fb (fun_ref_node_input+0x36b)
#28 0x7b912e (qn_input+0x3ce)
#29 0x7b9596 (qn_send_output+0x236)
#30 0x82bd7d (set_ctr_vec_input+0x99d)
#31 0x7b912e (qn_input+0x3ce)
#32 0x7ca91b (qr_exec+0x11db)
#33 0x7d82b6 (sf_sql_execute+0x11a6)
#34 0x7d8dbe (sf_sql_execute_w+0x17e)
#35 0x7e1a7d (sf_sql_execute_wrapper+0x3d)
#36 0xe2a11c (future_wrapper+0x3fc)
#37 0xe31a1e (_thread_boot+0x11e)
#38 0x7f7d87525609 (start_thread+0xd9)
#39 0x7f7d872f5353 (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 `chash_array`
This is a GitHub Issue
repo:virtuoso-opensource
owner:openlink
Title : Fuzzer: Virtuoso 7.2.12 crashed at `chash_array`
Issue date:

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

PoC:
```SQL
SELECT ( SELECT x FROM ( SELECT ( '127.0.0.1' ) x FROM ( SELECT x ) x GROUP BY CUBE ( NULL ) ) x WHERE x > '2010-01-01T00:00:00Z' ) x FROM ( SELECT CASE WHEN 'foo.boo[]' THEN 1 END x ) x GROUP BY ( x );
```

backtrace:
```c
#0 0x425974 (chash_array+0x834)
#1 0x4276b5 (gb_values+0xf45)
#2 0x42d7aa (setp_chash_run+0x4aa)
#3 0x4313ea (setp_chash_group+0x44a)
#4 0x63c978 (setp_node_run+0x658)
#5 0x63d263 (setp_node_input+0x33)
#6 0x7b912e (qn_input+0x3ce)
#7 0x7c583d (gs_union_node_input+0x7d)
#8 0x7b912e (qn_input+0x3ce)
#9 0x7b9596 (qn_send_output+0x236)
#10 0x82c545 (subq_node_vec_input+0x4a5)
#11 0x7b912e (qn_input+0x3ce)
#12 0x7c68fb (fun_ref_node_input+0x36b)
#13 0x7b912e (qn_input+0x3ce)
#14 0x7594a8 (subq_next+0x258)
#15 0x82c38b (subq_node_vec_input+0x2eb)
#16 0x7b912e (qn_input+0x3ce)
#17 0x7b9596 (qn_send_output+0x236)
#18 0x82bd7d (set_ctr_vec_input+0x99d)
#19 0x7b912e (qn_input+0x3ce)
#20 0x7594a8 (subq_next+0x258)
#21 0x82aa62 (ins_vec_subq+0x2a2)
#22 0x75b3db (code_vec_run_v+0x9bb)
#23 0x7b90ef (qn_input+0x38f)
#24 0x7b9596 (qn_send_output+0x236)
#25 0x82c545 (subq_node_vec_input+0x4a5)
#26 0x7b912e (qn_input+0x3ce)
#27 0x7c68fb (fun_ref_node_input+0x36b)
#28 0x7b912e (qn_input+0x3ce)
#29 0x7b9596 (qn_send_output+0x236)
#30 0x82bd7d (set_ctr_vec_input+0x99d)
#31 0x7b912e (qn_input+0x3ce)
#32 0x7ca91b (qr_exec+0x11db)
#33 0x7d82b6 (sf_sql_execute+0x11a6)
#34 0x7d8dbe (sf_sql_execute_w+0x17e)
#35 0x7e1a7d (sf_sql_execute_wrapper+0x3d)
#36 0xe2a11c (future_wrapper+0x3fc)
#37 0xe31a1e (_thread_boot+0x11e)
#38 0x7f7d87525609 (start_thread+0xd9)
#39 0x7f7d872f5353 (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 ---
