I tested on the following version, so I thought it would exist on the release version of sqlite.

~: ./sqlite3
SQLite version 3.31.0 2019-11-17 02:41:06
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite> CREATE TABLE v0(v4 UNIQUE AS(v3), v2, v3);
sqlite> INSERT INTO v0(v2) VALUES(0);
sqlite> CREATE VIEW v5(v6) AS SELECT v4 FROM v0;
sqlite> SELECT 0 FROM v5 GROUP BY v6;
[1]    48773 segmentation fault (core dumped)  ./sqlite3