sqlite3Select in select.c in SQLite 3.30.1 allows a crash if a sub-select uses both DISTINCT and window functions, and also has certain ORDER BY usage.
Reference and upstream commit:
Created mingw-sqlite tracking bugs for this issue:
Affects: epel-7 [bug 1777951]
Affects: fedora-all [bug 1777952]
Created sqlite tracking bugs for this issue:
Affects: fedora-all [bug 1777950]