The PoC is generated by my DBMS fuzzer. It can also be reproduced in the beta docker image.
```SQL
CREATE TABLE v0 ( v1 INTEGER CHECK ( ( SELECT ( SELECT v1 + v1 AS b_plus_one ) ) ) ) ; 
 INSERT INTO v0 SELECT TOP 0 1 FROM v0 WHERE 'xwvutsr' < 0 GROUP BY CUBE ( v1 , 1 ) ; 
```

backtrace:
```c
#0 0x74acd4 (st_compare+0x34)
#1 0x7fe1456776ef (bsearch+0x10ff)
#2 0x7fe145677d66 (qsort_r+0x2e6)
#3 0x744da5 (make_grouping_bitmap_set+0xb5)
#4 0x742c2d (sqlg_make_sort_nodes+0x68d)
#5 0x7465bd (sqlg_group_node+0x55d)
#6 0x748e26 (sqlg_dt_query_1+0x906)
#7 0x739381 (sqlg_make_dt+0x461)
#8 0x74912e (sqlg_dt_query_1+0xc0e)
#9 0x74a9e7 (sqlg_top_1+0x107)
#10 0x7101c1 (sqlo_query_spec+0x1b1)
#11 0x7dd0f1 (sqlc_insert+0x1441)
#12 0x6b9c37 (sql_stmt_comp+0x987)
#13 0x6bc9d2 (sql_compile_1+0x1a62)
#14 0x7cba60 (stmt_set_query+0x340)
#15 0x7cd952 (sf_sql_execute+0x922)
#16 0x7cecde (sf_sql_execute_w+0x17e)
#17 0x7d799d (sf_sql_execute_wrapper+0x3d)
#18 0xe214bc (future_wrapper+0x3fc)
#19 0xe28dbe (_thread_boot+0x11e)
#20 0x7fe145981609 (start_thread+0xd9)
#21 0x7fe145751133 (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.11 crashed at `st_compare`
This is a GitHub Issue
repo:virtuoso-opensource
owner:openlink
Title : Fuzzer: Virtuoso 7.2.11 crashed at `st_compare`
Issue date:

--- start body ---
The PoC is generated by my DBMS fuzzer. It can also be reproduced in the beta docker image.
```SQL
CREATE TABLE v0 ( v1 INTEGER CHECK ( ( SELECT ( SELECT v1 + v1 AS b_plus_one ) ) ) ) ; 
 INSERT INTO v0 SELECT TOP 0 1 FROM v0 WHERE 'xwvutsr' < 0 GROUP BY CUBE ( v1 , 1 ) ; 
```

backtrace:
```c
#0 0x74acd4 (st_compare+0x34)
#1 0x7fe1456776ef (bsearch+0x10ff)
#2 0x7fe145677d66 (qsort_r+0x2e6)
#3 0x744da5 (make_grouping_bitmap_set+0xb5)
#4 0x742c2d (sqlg_make_sort_nodes+0x68d)
#5 0x7465bd (sqlg_group_node+0x55d)
#6 0x748e26 (sqlg_dt_query_1+0x906)
#7 0x739381 (sqlg_make_dt+0x461)
#8 0x74912e (sqlg_dt_query_1+0xc0e)
#9 0x74a9e7 (sqlg_top_1+0x107)
#10 0x7101c1 (sqlo_query_spec+0x1b1)
#11 0x7dd0f1 (sqlc_insert+0x1441)
#12 0x6b9c37 (sql_stmt_comp+0x987)
#13 0x6bc9d2 (sql_compile_1+0x1a62)
#14 0x7cba60 (stmt_set_query+0x340)
#15 0x7cd952 (sf_sql_execute+0x922)
#16 0x7cecde (sf_sql_execute_w+0x17e)
#17 0x7d799d (sf_sql_execute_wrapper+0x3d)
#18 0xe214bc (future_wrapper+0x3fc)
#19 0xe28dbe (_thread_boot+0x11e)
#20 0x7fe145981609 (start_thread+0xd9)
#21 0x7fe145751133 (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 ---
